Re: Mutt site
- From: Alain Bench <albench.NOSP@xxxxxxxxxxxxxxx>
- Date: Thu, 18 May 2006 17:08:23 +0200 (CEST)
Hello,
On Wednesday, May 17, 2006 at 15:43:40 +0200, Gufo wrote:
It's online a small page with my experience with mutt's configuration.
I'll be glad to have some feedback about it, and hope someone'll find
it useful. http://gufo.dontexist.org/mutt.php
First thank you for sharing your experience: You can be sure it's
useful. Please feel free to link your page from the Mutt Wiki. Some
comments and suggestions now:
-1) You should not hardcode $charset in muttrc, but let it
automatically take the good value from whatever is the current locale.
Example if LANG=it_IT.UTF-8 then ":set ?charset" prints "utf-8".
-2) There are much more sophisticated $reply_regexp and URL coloring
regexps in the cmm and mutt-users archives.
-3) Using TERM=nsterm-16color with Terminal.app would give you both
<F7> and color15. Available in recent terminfo database.
-4) "c?<tab>" is better spelled "<change-folder>?<toggle-mailboxes>".
Using function names is longer, but more readable and portable.
-6) A static profile is needed for when hooks aren't triggered. I can
guess from comments that you call one, but it's not made clear enough.
-7) A default folder-hook before the other ones is needed to reset the
default profile:
| folder-hook . "source ~/.mutt/profiles/default"
| folder-hook =IlgufoGmail\\.com$ "source ~/.mutt/profiles/ilgufo"
| folder-hook =Mailing_Lists/ "source ~/.mutt/profiles/mailing-list"
-8) The pattern in send-hooks is implicitly ~C (all recipients), the
strictest possible regexps are better, and you absolutely need a default
send-hook to reset the profile:
| send-hook . "source ~/.mutt/profiles/default"
| send-hook ^someone@domain\\.it$ "source ~/.mutt/profiles/profileX"
Note that the macro/folder-hook sourced profiles, and send-hook
sourced profiles, have differing design constraints: Using the same
files has some drawbacks (breaks $reverse_name feature, doesn't act for
<bounce-message> function, and doesn't ease reset to whatever previous
profile after a send-hook override).
If applicable, try another scheme:
· change $from and $realname in your macro/folder-hook profile files,
instead of forcing "my_hdr From:".
· Override with "my_hdr From:" in specific send-hook profile files.
While the default send-hook placed first does "unmy_hdr From:".
Bye! Alain.
--
When you want to reply to a mailing list, please avoid doing so with
Openwave WebEngine. This lacks necessary references and breaks threads.
.
- Follow-Ups:
- Re: Mutt site
- From: Eike Rathke
- Re: Mutt site
- From: Gufo
- Re: Mutt site
- From: Gufo
- Re: Mutt site
- References:
- Mutt site
- From: Gufo
- Mutt site
- Prev by Date: Re: copy and paste within mutt?
- Next by Date: Filing en masse
- Previous by thread: Mutt site
- Next by thread: Re: Mutt site
- Index(es):
Relevant Pages
|
Loading