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

Re: A few mutt questions



On 26 Jan 2008 09:50 +0100, by dunno@xxxxxxxxxxxxx (Dan H.):
> 1. I'd like to have new or unread mail (what's the difference, anyway?)
>    flagged somehow. Occasionally I see an N next to some messages, but in

Assuming that you have a color-capable terminal:

color index brightyellow black ~N # new mail
color index yellow black ~O # old unread mail


> 2. Is there a way to specify a "default-recipient" to be inserted when
>    composing a new message? As I'm subscribed to several mailing lists

Try something like this:

set recall=no
folder-hook . 'bind index m mail'
folder-hook '+mutt-users/?$' 'macro index m 
"<mail><kill-line>mutt-users@xxxxxxxx"'

The /? at the end makes sure it matches no matter how you open the
mailbox if it is not in mbox format. If you use mbox, you can remove
that part, but it does not hurt. '$' simply anchors it at the end. The
"." folder-hook simply ensures that there is no lingering "default"
recipient.

If you want to compose a message to some other recipient, all the
extra work you need to do is hit Ctrl+U to clear the line.

-- 
Michael Kjörling .. michael@xxxxxxxxxxx .. http://michael.kjorling.se
* ..... No bird soars too high if he soars with his own wings ..... *
* ENCRYPTED email preferred -- OpenPGP key ID: 0x(758F8749)BDE9ADA6 *
* ASCII Ribbon Campaign: Against HTML mail, proprietary attachments *

Attachment: pgpEoMP6Hh47G.pgp
Description: PGP signature