omit inbox tag on sent folder
by R. Andrew Bailey
I've been using mutt-kz for several months and absolutely love it. I
suspect this is a dumb question, so apologies in advance.
I use 'set record="+sent"', and I find that my sent mail is
automatically indexed (good), but that it gets tagged as +inbox. I
considered adding sent to the new.ignore option in notmuch-config, but
I definitely like having it indexed.
I'm thinking I can ignore sent and then use a post send hook to index
my sentmail folder without adding +inbox, but I'm guessing there may
be some simpler way to do this. Any advice appreciated.
.andy
10 years, 6 months
[PATCH] notmuch: hide signed and encrypted tags by default
by David Sterba
Mutt shows signed/encrypted status in another way and occupies only 1
char in index line. Hide the tags by default and leave more space for
other tags.
Signed-off-by: David Sterba <dsterba(a)suse.cz>
---
init.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init.h b/init.h
index 478ea5b..2edb02a 100644
--- a/init.h
+++ b/init.h
@@ -1607,7 +1607,7 @@ struct option_t MuttVars[] = {
** notmuch://<absolute path>.
*/
- { "nm_hidden_tags", DT_STR, R_NONE, UL &NotmuchHiddenTags, UL "unread,draft,flagged,passed,replied,attachment" },
+ { "nm_hidden_tags", DT_STR, R_NONE, UL &NotmuchHiddenTags, UL "unread,draft,flagged,passed,replied,attachment,signed,encrypted" },
/*
** .pp
** This variable specifies private notmuch tags which should not be printed
--
1.8.0.2
10 years, 6 months
Upstream tracking
by Raghavendra D Prabhu
Hi,
I see that mutt (hg) -- http://dev.mutt.org/hg/mutt/ -- seems to
be active again. So, are these upstream changes merged into mutt-kz periodically?
Regards,
--
Raghavendra Prabhu
GPG Id : 0xD72BE977
Fingerprint: B93F EBCB 8E05 7039 CD3C A4B8 A616 DCA1 D72B E977
www: wnohang.net
10 years, 8 months
virtual date range folders
by Ethan Schoonover
I've added two virtual date-range folders as a test. They work great and I
thought others might find them useful (I'm excluding my spam folder here,
but others might want to use tags/other)
(in virtual-mailboxes definition)
"Last 24 hours" "notmuch://?query=`date +%s --date='yesterday'`.. and
NOT folder:spam" \
"Last 7 days" "notmuch://?query=`date +%s --date='last week'`.. and NOT
folder:spam"
Note that the second element of the date range (after the ..) is not
included as it is only read at mutt startup and thus no new mail would ever
show up in these folders.
This leads to a question: since the date timestamp is only calculated when
the muttrc is read in, these two folders will *expand* in date range over
time (the start timestamp is static, actual space-time isn't), can anyone
come up with a way to refresh this query syntax occasionally?
I thought about breaking out my virtual folder definitions into a separate
muttrc file and sourcing it via a folder-hook (so every time I change
folders, all queries would be udpated) but this merely adds an entirely new
set of identically named virtual folders to the sidebar. (mutt-kz seems to
"collapse" identical query folders to just the last defined folder, but in
this case the timestamps make each sourcing of the folder a unique query).
Best,
Ethan
http://ethanschoonover.com/solarized
10 years, 10 months
Issues with modify-labels-then-hide and unbinding/rebinding new commands
by John Gafnea
Hello,
Apologies first if these issues are documented somewhere. I looked through
master/doc and haven't been able to find anything.
Is there a way to do what these do:
macro index A "<modify-labels-then-hide>+archive -inbox\n<sync-mailbox>"
macro index I "<modify-labels-then-hide>-inbox\n<sync-mailbox>"
but without predefining the label changes you'd like to make? I tried
binding 'modify-labels-then-hide' to S
start mutt
selecting a message
pressing S
specifying the label changes
pressing $ to 'sync-mailbox'
and everything appears to work (the mail is removed from the current
view/virtual folder and moved to the appropriate virtual folders) but after
quitting and restarting mutt the email is back in the original location
with the original notmuch tags.
Also, are the binds for new commands (change-vfolder, modify-labels, etc)
stored in a file somewhere and can they be changed? I'm able to bind the
new commands to keys but I can't seem to unbind them using the usual
bind index ` noop
even after doing
bind ` index exit
the key still seems to be bound to the original 'modify-labels'
Am I doing something wrong in either of these cases?
Thanks
10 years, 11 months