<<< Date Index >>>     <<< Thread Index >>>

Re: Bookmarks?



On 09Jun2009 17:55, David Champion <dgc@xxxxxxxxxxxx> wrote:
| * On 08 Jun 2009, Cameron Simpson wrote:
| > Personally I wish I could go to a message by Message-ID. Then stuff
| > could be build on top of that as "open mailbox, go to message-id".
| 
| Different from this? ;)
| 
| <search>~i <20090609040352.GA18267@xxxxxxxxxxxxxxx><enter>

Thank you, that's exactly what I wished for. I can't believe I hadn't
noticed this:-(

| I use this pattern in a patch that lets me bind a macro to the current
| message, so that I can return to it later or alternate between two
| points in my mailbox.

I've been considering exactly this use case this morning in the shower.

| (In case that's interesting, it's here:
| http://home.uchicago.edu/~dgc/sw/mutt/patch-1.5.1.dgc.markmsg.2 .)
| This or even more complex things (such as you suggest) might be possible
| with a macro that copies the message to a file, runs a script on it, and
| evaluates the output.

I was considering a macro to pipe the current message to a script that
sucks out the message id and writes a current-mailbox/.curr.mutt file
that I write at mailbox quit time and source at mailbox entry time.
That avoids the need for a patch, at a small performance hit (external
script).

I was thinking about bookmarks with a similar macro for saving the
message-id to a file (one file per bookmark, perhaps in a categoried
tree is this ever gets heavily used) and using a macro thus:

  macro index G ':source ~/rc/mail/bookmarks/<tab>'

but I can't seem to fire off filename completion of the file browser at
that point; if I could that's an instant "bookmark browser" built right
into mutt. Suggestions?

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

I'm a volunteer EMT-I on our local ambulance service; one of our Paramedics
calls squid style motorcycle accidents "ZoomSplats", as in "we had a good
ZoomSplat the other night". ;-)
        - Scott <traurig@xxxxxxxxxxxxxxxxxxxxxxxxxxx>