On 09Jun2009 17:55, David Champion <d...@uchicago.edu> 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.ga18...@cskk.homeip.net><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 <c...@zip.com.au> 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 <trau...@rapnet.sanders.lockheed.com>