On Tue, Apr 5, 2016 at 7:50 PM, Cameron Simpson <[email protected]> wrote:
> On 05Apr2016 16:28, Patrick Shanahan <[email protected]> wrote:
>>
>> * Chris Green <[email protected]> [04-05-16 14:21]:
>>>
>>> On Tue, Apr 05, 2016 at 12:47:03PM -0400, Xu Wang wrote:
>>> > I am so used to using notmuch integrated into mutt (via mutt-kz), that
>>> > I would like to be able to understand how someone does *not* use
>>> > notmuch. How do you search for a certain message? Is it simply a
>>> > matter of the following?
>>> >
>>> > 1. remember which folder it is in
>>> > 2. change to that folder
>>> > 3. use mutt's search
>
>
> Like others, most of my mailboxes are closely aligned with mailing lists, so
> (1) is usually (but not always) fairly easy. Unless I've deleted (move to
> archive folder) the relevant messages.
>
>>> > Further, what if you want all messages from Billy and those messages
>>> > are spread across different folders. What are steps to see all
>>> > messages from Billy?
>>> >
>>> I just have a script that calls mairix:-
>>>     mairix $*
>
>
> Consider using ${1+"$@"}, which preserves quoting.
>
>>>     mutt -f ~/Mail/Tm/mairix
>
>
> And making a per-search temp folder. I've got a script "notmuch-search" for
> the same purpose that makes a temp folder for the result, opens mutt,
> discards the folder.
>
>  https://bitbucket.org/cameron_simpson/css/src/tip/bin/notmuch-search
>
> Of course, that may not be your desired workflow.
>
> For usability, since I open mutt via an alias named "+", eg "+ mutt" to open
> the mutt folder, I have aliases "++" to invoke "notmuch-search -S
> search-terms..." and "+++" to update the notmuch indices.
>
> So I always do this from outside mutt in an spare window.
>
>>> This has a big advantage over anything running in an existing mutt
>>> window as I can search for something in another window then refer to
>>> it while I'm composing a mail in the current mutt window.
>
>
> Me too.
>
> The other tweak I have is that my mutt compose sessions are transparently
> spawned into detachable tmux (or screen) sessions so if I block on a new
> message I can detach from it and return the the main mutt index. I can open
> the compose session in another window and proceed. Possibly weeks later :-(
>
> For example, right now my tmux listing includes:
>
>   18 mutt-06apr2016-09_41-Re__How_do_you_survive_without_notmuch_: 1 windows
> (created Wed Apr  6 09:41:41 2016) [178x50] (attached)
>
> which is this message.
>
> Cheers,
> Cameron Simpson <[email protected]>

Thank you everyone for your replies!!! It is good to know that
alternatives are out. That is great thing about mutt community.

Kind regards,

Xu

Reply via email to