From 4eb6e71bd456e9a470d2cf990fba9a104ab5bf8d Mon Sep 17 00:00:00 2001 From: Branislav Gerazov Date: Fri, 14 Apr 2023 21:43:29 +0200 Subject: add highlighting for flagged emails --- share/mutt-wizard.muttrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'share/mutt-wizard.muttrc') diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc index 47d48c3..fdb94d8 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -133,6 +133,11 @@ color index brightyellow blue "~T" color index_author brightred blue "~T" color index_subject brightcyan blue "~T" +# Flagged mail is highlighted: +color index brightgreen default "~F" +color index_subject brightgreen default "~F" +color index_author brightgreen default "~F" + # Other colors and aesthetic settings: mono bold bold mono underline underline -- cgit v1.2.3 From abec887fc202f586139c23bfe82b76ac7fc750d5 Mon Sep 17 00:00:00 2001 From: Branislav Gerazov Date: Fri, 14 Apr 2023 21:58:40 +0200 Subject: forward email body as text --- share/mutt-wizard.muttrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share/mutt-wizard.muttrc') diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc index 47d48c3..dd97583 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -15,7 +15,8 @@ set rfc2047_parameters = yes set sleep_time = 0 # Pause 0 seconds for informational messages set markers = no # Disables the `+` displayed at line wraps set mark_old = no # Unread mail stay unread until read -set mime_forward = yes # attachments are forwarded with mail +set mime_forward = no # mail body is forwarded as text +set forward_attachments = yes # attachments are forwarded with mail set wait_key = no # mutt won't ask "press key to continue" set fast_reply # skip to compose when replying set fcc_attach # save attachments with the body -- cgit v1.2.3 From 6c13d3213a22ef74e71941aba44507e072078e1e Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 11 May 2023 10:28:20 -0400 Subject: fix #935 --- 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 47d48c3..2acaca1 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -99,7 +99,7 @@ macro index \eh "$prefix/libexec/gpg-wks-client --receive | msmtp macro index,pager a "set my_pipe_decode=\$pipe_decode pipe_decodeabook --add-emailset pipe_decode=\$my_pipe_decode; unset my_pipe_decode" "add the sender address to abook" macro index \Cr "T~UN." "mark all messages as read" -macro index O "mw -Y" "run mw -Y to sync all mail" +macro index O "mailsync" "run mailsync to sync all mail" macro index \Cf "unset wait_keyprintf 'Enter a search term to find with notmuch: '; read 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)" -- cgit v1.2.3 From 64454c2d4d8b8e773f14655b446c248426e2837d Mon Sep 17 00:00:00 2001 From: Satya Benson Date: Mon, 15 May 2023 18:18:29 -0400 Subject: fix typo in set crypt_auto_sign --- 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 316a572..95a9ae9 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -91,7 +91,7 @@ macro index,pager ga "=Archive" "go to archive" macro index,pager Ma ";=Archive" "move mail to archive" macro index,pager Ca ";=Archive" "copy mail to archive" -#set crypt_autosign = yes +#set crypt_auto_sign = yes #set crypt_opportunistic_encrypt = yes #set pgp_self_encrypt = yes #set pgp_default_key = 'your@gpgemailaddre.ss' -- cgit v1.2.3 From 0cb17135b9ed52c89f20e671b03decd94ab7b2fe Mon Sep 17 00:00:00 2001 From: burbschat Date: Fri, 24 Nov 2023 21:39:31 +0100 Subject: Fix escaping in message IDs from notmuch `+` was properly escaped but only once. `$` was not escaped at all. This would result in messages with message IDs containing more than one `+` or at least on `$` to not be shown after limiting. `$` itself has to be escaped presumably for the shell. This results in three prepended backslashes in the limit string and six in the config file, as there backslashes themselves have to be escaped. --- 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 95a9ae9..27ae216 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -101,7 +101,7 @@ macro index \eh "$prefix/libexec/gpg-wks-client --receive | msmtp macro index,pager a "set my_pipe_decode=\$pipe_decode pipe_decodeabook --add-emailset pipe_decode=\$my_pipe_decode; unset my_pipe_decode" "add the sender address to abook" macro index \Cr "T~UN." "mark all messages as read" macro index O "mailsync" "run mailsync to sync all mail" -macro index \Cf "unset wait_keyprintf 'Enter a search term to find with notmuch: '; read 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 \Cf "unset wait_keyprintf 'Enter a search term to find with notmuch: '; read 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/\\+/\\\\+/g for@a; s/\\$/\\\\\\$/g 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 86a1f1d66fb463a8745c3957d8a47037ac9e6ff6 Mon Sep 17 00:00:00 2001 From: Yaroslav Chvanov Date: Wed, 14 Aug 2024 18:54:04 +0300 Subject: muttrc: use XDG_CACHE_HOME in notmuch integration Fixes `sh: 1: cannot create /home//.cache/mutt_terms: Directory nonexistent`. --- 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 27ae216..f236bc4 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -101,7 +101,7 @@ macro index \eh "$prefix/libexec/gpg-wks-client --receive | msmtp macro index,pager a "set my_pipe_decode=\$pipe_decode pipe_decodeabook --add-emailset pipe_decode=\$my_pipe_decode; unset my_pipe_decode" "add the sender address to abook" macro index \Cr "T~UN." "mark all messages as read" macro index O "mailsync" "run mailsync to sync all mail" -macro index \Cf "unset wait_keyprintf 'Enter a search term to find with notmuch: '; read 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/\\+/\\\\+/g for@a; s/\\$/\\\\\\$/g for@a;print@a' \`\"" "show only messages matching a notmuch pattern" +macro index \Cf "unset wait_keyprintf 'Enter a search term to find with notmuch: '; read x; echo \$x >\"\${XDG_CACHE_HOME:-\$HOME/.cache}/mutt_terms\"~i \"\`notmuch search --output=messages \$(cat \"\${XDG_CACHE_HOME:-\$HOME/.cache}/mutt_terms\") | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/g for@a; s/\\$/\\\\\\$/g 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