How to use "next-unread-mailbox" ?

2010-03-10 Thread peng shao
Hi everybody, I am using mutt 1.5.20 under gentoo with a
combination:mutt, getmail, procmail, msmtp, The following is part of
my .muttrc

set mbox_type=Maildir
set folder=$HOME/MuttMail
set spoolfile=+inbox
set postponed=+postponed
set record=+sent
save-hook .* =saved
mailboxes !
mailboxes =inbox
mailboxes =friends
macro index c "?"

Question

I found next-unread-mailbox can jump to mailboxes containing NEW
mails. This is really annoying because usually I have some mailboxes
containing OLD mails only. Is it possible to set up a key so that I
could jump to the next mailboxes containing both NEW and OLD mails?

I think if would be much better if after I type y to display all the
mailboxes I can see the number of unread mails for each mailbox, just
like evolution/thunderbird, so that I can clearly know which mailbox
contains unread mail.

Thanks a lot.

Peng


Re: How to use "next-unread-mailbox" ?

2010-03-10 Thread Patrick Shanahan
* peng shao  [03-10-10 05:42]:
> Hi everybody, I am using mutt 1.5.20 under gentoo with a
> combination:mutt, getmail, procmail, msmtp, The following is part of
> my .muttrc
> 
> set mbox_type=Maildir
> set folder=$HOME/MuttMail
> set spoolfile=+inbox
> set postponed=+postponed
> set record=+sent
> save-hook .* =saved
> mailboxes !
> mailboxes =inbox
> mailboxes =friends
> macro index c "?"
> 
> Question
> 
> I found next-unread-mailbox can jump to mailboxes containing NEW
> mails. This is really annoying because usually I have some mailboxes
> containing OLD mails only. Is it possible to set up a key so that I
> could jump to the next mailboxes containing both NEW and OLD mails?
> 
> I think if would be much better if after I type y to display all the
> mailboxes I can see the number of unread mails for each mailbox, just
> like evolution/thunderbird, so that I can clearly know which mailbox
> contains unread mail.

in you ~/.muttrc add
unset mark_old

Now you will only have "N", new/unread messages.
-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


Re: How to use "next-unread-mailbox" ?

2010-03-10 Thread peng shao
On Wed, Mar 10, 2010 at 9:08 AM, Patrick Shanahan  wrote:
> * peng shao  [03-10-10 05:42]:
>> Hi everybody, I am using mutt 1.5.20 under gentoo with a
>> combination:mutt, getmail, procmail, msmtp, The following is part of
>> my .muttrc
>>
>> set mbox_type=Maildir
>> set folder=$HOME/MuttMail

>
> in you ~/.muttrc add
> unset mark_old
>
> Now you will only have "N", new/unread messages.
> --
> Patrick Shanahan         Plainfield, Indiana, USA        HOG # US1244711
> http://wahoo.no-ip.org     Photo Album:  http://wahoo.no-ip.org/gallery2
> Registered Linux User #207535                    @ http://counter.li.org
>
It is helpful. Thank you.

Peng


Re: send-hook and forward_format

2010-03-10 Thread E. Prom

Have you found the solution?
Is it the regexp or the set that fails?


On Wednesday, 03 March 2010, 08:39:49 +0100,
Alexandre  wrote:
> Hi,
> I want to set forward_format when I send mail to XXX.
> 
> Then, my muttrc should be something like this:
> send-hook ^.*XXX.*$   'set forward_format="[TAG] %s"'
> 
> But my forward_format is still like this:
> set forward_format="[%a: %s]"
> (actually in results of my tests.)
> 
> How do you customize this ?
> 
> Thank you for advices.
> -- 
> Alexandre Delanoë