Andrew O'Callaghan [[EMAIL PROTECTED]] wrote:
> 1. I would like to be able to create a macro to save mails to my most
> commonly used mailboxes. I don't want the mails to be automatically
> stored in separate mailboxes because I like to read them all in the inbox
> before deciding whether to delete them or save them. I tried:
>
> macro index "SL" "s ~/mail/linux\n"
^
>
> but this didn't seem to work, as it tried to add ~/mail/linux to the end
> of the mailbox the save command thought the mail should go in.
The space between the 's' char and the start of the mailbox name is your
problem. Hitting a space after Mutt gives you a suggested filename causes
the rest of what you type to be appended to the suggestion, whereas just
typing what you want replaces the suggestion. So you want:
macro index "SL" "s~/mail/linux\n"
instead.
> 2. I would like to have a macro that allows me to specify the recipient
> and the subject when I want to write a new message, ie. I would type:
>
> m <alias of mail recipient> <subject>
> Then when I press return, these fields are already set in my mail so I
> don't have to edit them...
If your goal is to have the benefit of edit_headers, but still just type
the To: and Subject: fields, try using 'unset autoedit' and see if you like
the results.
--
Jeremy Blosser | [EMAIL PROTECTED] | http://jblosser.firinn.org/
-----------------+-------------------------+------------------------------
"If Microsoft can change and compete on quality, I've won." -- L. Torvalds
PGP signature