From 22cdcee1a6cf4913dc48ff1212318cd7f51ba12a Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 23 Jun 2023 16:15:15 +0100 Subject: Implements easy searching with notmuch using correct mail folder using double backslash --- muttrc | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/muttrc b/muttrc index 8a487fc..d351206 100644 --- a/muttrc +++ b/muttrc @@ -232,25 +232,31 @@ macro index T "mutt2task purelymail/INBOX.Arc #new notmuch-mutt for linux -macro index \ -"set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key\ -notmuch-mutt -r --prompt search\ -`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`\ -set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key" \ - "notmuch: search mail" - -macro index \ -"set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key\ -notmuch-mutt -r thread\ -`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`\ -set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key" \ - "notmuch: reconstruct thread" - -macro index \ -"set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key\ -notmuch-mutt tag -- -inbox\ -set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key" \ - "notmuch: remove message from inbox" +# Notmuch +set virtual_spoolfile=yes +macro index \\\\ "" + +# neomutt does not require notmuch-mutt, so this lot is commented out + +# macro index \ +# "set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key\ +# notmuch-mutt -r --prompt search\ +# `echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`\ +# set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key" \ +# "notmuch: search mail" + +# macro index \ +# "set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key\ +# notmuch-mutt -r thread\ +# `echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`\ +# set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key" \ +# "notmuch: reconstruct thread" + +# macro index \ +# "set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key\ +# notmuch-mutt tag -- -inbox\ +# set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key" \ +# "notmuch: remove message from inbox" # old Losh OSX-based orientation -- cgit v1.2.3