From 9738316ab5e9a39dd31ea891f34a2409c711216c Mon Sep 17 00:00:00 2001 From: Oleksandr Vlasiuk Date: Thu, 6 Jun 2019 19:53:58 +0300 Subject: Handle + in notmuch queries (#233) --- share/mutt-wizard.muttrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/mutt-wizard.muttrc') diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc index c8b7b59..a6a19f3 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -61,7 +61,7 @@ bind editor complete-query macro index,pager a "|abook --add-email\n" 'add sender to abook' macro index \Cr "T~UN." "mark all messages as read" macro index O "mailsync -Va" "run offlineimap to sync all mail" -macro index \Cf "unset wait_keyread -p 'Enter a search term to find with notmuch: ' x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"" "show only messages matching a notmuch pattern" +macro index \Cf "unset wait_keyread -p 'Enter a search term to find with notmuch: ' x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"" "show only messages matching a notmuch pattern" macro index A "all\n" "show all messages (undo limit)" # Sidebar mappings -- cgit v1.2.3 From b3ce4277abf0f9332c740bf574760f7b6d7bf2a6 Mon Sep 17 00:00:00 2001 From: badmrfrosty <49749436+badmrfrosty@users.noreply.github.com> Date: Sun, 16 Jun 2019 22:30:57 +0200 Subject: Avoid lags with some email providers while using IMAP (#238) I contacted MUTT irc channel to solve severe lags while navigating mailboxes of certain email providers with IMAP) (the emails were not stored locally). After extensive testing, changing the default value of mail_check from 5 to 60 solved my problem. I propose this change because several other people might encounter the same problem (especially yahoo users) --- share/mutt-wizard.muttrc | 1 + 1 file changed, 1 insertion(+) (limited to 'share/mutt-wizard.muttrc') diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc index a6a19f3..1ca0503 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -22,6 +22,7 @@ set forward_format = "Fwd: %s" # format of subject when forwarding set forward_quote # include message in forwards set reverse_name # reply as whomever it was to set include # include message in replies +set mail_check=60 # to avoid lags using IMAP with some email providers (yahoo for example) auto_view text/html # automatically show html (mailcap uses w3m) auto_view application/pgp-encrypted alternative_order text/plain text/enriched text/html -- cgit v1.2.3