On Wed, Mar 20, 2002 at 12:39:23PM -0500, David T-G wrote: > Nathaniel -- > > ...and then Nathaniel Irons said... > % > % I'm trying to write a simple shortcut to save tagged messages to a > % specific file. It looks like this: > % > % macro index S ";s righthere.mbox" "Save to this here mailbox" > % > % and doesn't work, because mutt prepends the selected message's > % author's username to the save path. I'd appreciate suggestions for > % overriding this username default for the macro, or disabling it > % altogether. > > You could either turn off $save_name, but have to remember to turn it > back on, but have to figure out whether or not it was really on before in > case it wasn't and you shouldn't, or you could just clear the line in > your macro. I believe if you insert a ctrl-u before specifying the > mailbox name you'll get what you want.
Or you can just eliminate the space in your macro. Either of these will work: macro index S ";srighthere.mbox" "Save to this here mailbox" macro index S ";<save-message>righthere.mbox" "Save to this here mailbox" I don't know why the space does that, but it's nice to know that it does. I'll be using that feature a lot from now on. I had been appending to the suggested mailbox name by first backspacing over the last character, then replacing it. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |