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

Re: How to save to a default mail directory?



Re: Joel Parker Henderson in <20040405235345.GC10533@xxxxxxxxxxxxxxx>
> 1. I want to press "s" to save a message, type "foo" (a folder name)
>    and have mutt save within my default dir like ~/Maildir/foo/cur
>    I know "=foo" works, but I need to do it without the equals sign.

That's what I'm using:
macro   index   =       s=              'Save to ~/mail/'
macro   pager   =       s=              'Save to ~/mail/'

You could do something like
macro index s <save-message>=
or similar...

> 2. I know how to map keys to actions, but can't seem to 
>    map "ctrl-c" to abort... currently mutt uses "ctrl-g"

Ctrl-C isn't a "real" key but catched by the tty driver and sent as a
signal to Mutt. Binding it would require major changes to the Mutt code;
Mutt would have to call signal(2) and friends very often. (Ctrl-C works
in its normal way to abort gpg subprocesses, so you cannot override it
completely.)

Christoph
-- 
cb@xxxxxxxx | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature