Re: send-hook and forward_format

2010-03-11 Thread Alexandre
Le jeudi 11 mars de l'année 2010, vers 01 heures et 17 minutes, E. Prom 
écrivait:
> 
> Have you found the solution?

Not really, I found another way:

macro index,pager z ":set mime_forward=no\n:set forward_format='[TAG]'\n:set 
mime_forward_decode=no\n"

> Is it the regexp or the set that fails?

I think that the set fails.

-- 
Alexandre Delanoë


Maildir, hostname as a part of file names

2010-03-11 Thread E. Prom

Hi,

I use Maildir, and I find it very convenient when synchronizing between
my 2 computers with unison.

Each email is a file. My problem is that the file name contains the name
of the computer. If I first synchronize a maildir with new mail, then
mark old the same mails on both computers, then synchronize again, I end
up having these mails twice : the files are exactly identical on both
computers, but as their names are different they get replicated.

It's easy to delete them with ~= ; but I'd like to
change the way mutt deals with maildir.

Is it possible?


How to append address to a group alias?

2010-03-11 Thread peng shao
Hi, I did some search on google but didn't find any native solution
for mutt. If I press a in the index then mutt will ask me if I would
like to append this address to alias. Sometimes I want to define a
group alias which contains several contacts. I wish there would be
such a function: when I press a, mutt as usual asks me to append it to
alias, and if here I input an existing alias then mutt would
automatically append this address to that alias, to make that alias a
group. I tried but found without any further configuration mutt
doesn't support this by default. How should I realize such function?
Thank you.

Peng


Re: send-hook and forward_format

2010-03-11 Thread Alexandre
Le jeudi 11 mars de l'année 2010, vers 11 heures et 08 minutes, Alexandre 
Delanoë écrivait:
> Le jeudi 11 mars de l'année 2010, vers 01 heures et 17 minutes, E. Prom 
> écrivait:
> > 
> > Have you found the solution?
> 
> Not really, I found another way:
> 
> macro index,pager z ":set mime_forward=no\n:set forward_format='[TAG]'\n:set 
> mime_forward_decode=no\n"


New set seems to work:
send-hook ^.*adresses.*$ "set forward_format='[TAG]'"

> > Is it the regexp or the set that fails?
> 
> I think that the set fails.

Not really indeed.

send-hook does not match aliases but only e-mail adress ?
For example, be aliases:
alias test TEST 
send-hook ^.*TEST.*$ "set forward_format='[TAG]'"
does not match the alias...

How to configure it ?

Thank you for help.

-- 
Alexandre Delanoë