Changement des synchro en bg, affichage en thread des messages

main
Gil 2023-08-16 15:12:11 +02:00
parent b3629cc8ce
commit 9c67d96142
3 changed files with 7 additions and 5 deletions

View File

@ -19,5 +19,5 @@ set postponed = "+Drafts"
set trash = "+Trash" set trash = "+Trash"
set record = "+Sent" set record = "+Sent"
macro index o "<shell-escape>mailsync gil.portenseigne@nereide.biz<enter>" "sync gil.portenseigne@nereide.biz" macro index o "<shell-escape>mailsync gil.portenseigne@nereide.biz &<enter>" "sync gil.portenseigne@nereide.biz"
mailboxes "=INBOX.INBOX.Junk" "=INBOX.INBOX.Drafts" "=INBOX.INBOX.Trash" "=INBOX.INBOX.Sent" "=INBOX.Trash" mailboxes "=INBOX.INBOX.Junk" "=INBOX.INBOX.Drafts" "=INBOX.INBOX.Trash" "=INBOX.INBOX.Sent" "=INBOX.Trash"

View File

@ -19,5 +19,5 @@ set postponed = "+Drafts"
set trash = "+Trash" set trash = "+Trash"
set record = "+Sent" set record = "+Sent"
macro index o "<shell-escape>mailsync gil.portenseigne@nereide.fr<enter>" "sync gil.portenseigne@nereide.fr" macro index o "<shell-escape>mailsync gil.portenseigne@nereide.fr &<enter>" "sync gil.portenseigne@nereide.fr"
mailboxes "=INBOX" "=Drafts" "=Trash" "=Sent" "=Corbeille" "=Junk" "=Archives" mailboxes "=INBOX" "=Drafts" "=Trash" "=Sent" "=Corbeille" "=Junk" "=Archives"

View File

@ -6,9 +6,11 @@
set send_charset="us-ascii:utf-8" set send_charset="us-ascii:utf-8"
set mailcap_path = $HOME/.config/mutt/mailcap:$mailcap_path set mailcap_path = $HOME/.config/mutt/mailcap:$mailcap_path
set mime_type_query_command = "file --mime-type -b %s" set mime_type_query_command = "file --mime-type -b %s"
set date_format="%y/%m/%d %I:%M%p" set date_format="%d/%m/%y %I:%M%p"
set index_format="%2C %Z %?X?A& ? %D %-15.15F %s (%-4.4c)" set index_format="%2C %Z %?X?A& ? %D %-15.15F %s (%-4.4c)"
set sort = 'reverse-date' set sort = 'threads'
set sort_aux = 'reverse-date'
set editor = '/usr/bin/vim'
#set smtp_authenticators = 'login' #set smtp_authenticators = 'login'
set query_command = "abook --mutt-query '%s'" set query_command = "abook --mutt-query '%s'"
set rfc2047_parameters = yes set rfc2047_parameters = yes
@ -99,7 +101,7 @@ macro index \eh "<pipe-message>$prefix/libexec/gpg-wks-client --receive | msmtp
macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook" macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook"
macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read" macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
macro index O "<shell-escape>mailsync<enter>" "run mailsync to sync all mail" macro index O "<shell-escape>mailsync &<enter>" "run mailsync to sync all mail"
macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms<enter><limit>~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' \`\"<enter>" "show only messages matching a notmuch pattern" macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms<enter><limit>~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' \`\"<enter>" "show only messages matching a notmuch pattern"
macro index A "<limit>all\n" "show all messages (undo limit)" macro index A "<limit>all\n" "show all messages (undo limit)"