Re: German umlauts and alternates in Mutt.

2001-01-18 Thread Jimmy Kaplowitz

I can only answer number 2, but alternates is a regular expression, so you have
to do like ([EMAIL PROTECTED]|[EMAIL PROTECTED]) to get it to recognize
two addresses. If you're being strict in your regular expression pattern, you
will want to put a ^ before the ( and a $ after the ), so that the addresses are
matched exactly.

Hope this helps.

- Jimmy Kaplowitz
[EMAIL PROTECTED]

On Thu, Jan 18, 2001 at 09:27:41PM +0100, Jens Paulus wrote:
 Hi there, I have two questions.
 
 1.) How can I configure Mutt and teach it to display German umlauts? I could
 not find any instructions in Mutt's manual about this topic. In the default
 settings, it always replaces these special characters by a question mark (`?')
 in the builtin pager and by a dot (`.') in the normal index and compose index.
 
 2.) If I use "set [EMAIL PROTECTED]", Mutt considers
 [EMAIL PROTECTED] as one of my email addresses. But now I want Mutt consider
 two or more addresses as belonging to me, how can I do this?
 "set [EMAIL PROTECTED],[EMAIL PROTECTED]" doesn't work.
 
 If you could give me an advice how to change these settings I would be
 thankful. I'm still using Mutt 1.0.1i (2000-01-18).
 
 -Jens
 



Re: Help with 'alternates' setting and regexes

2001-01-15 Thread Jimmy Kaplowitz

Thank you very much; this worked perfectly. I actually put a ^( in front and
a )$ at the end so that it would match only those email addresses, and I have
a working alternates setting.

Thanks again.

- Jimmy Kaplowitz
[EMAIL PROTECTED]

On Sun, Jan 14, 2001 at 06:44:13PM +0100, Michael Tatge wrote:
 Jimmy Kaplowitz muttered:
  I'm having trouble getting the 'alternates' variable setting to
  recognize who I am I use the following email addresses:
  
  Jimmy Kaplowitz [EMAIL PROTECTED]
  Jimmy Kaplowitz [EMAIL PROTECTED]
  Landas [EMAIL PROTECTED]
  
  I have tried doing:
  
  set alternates="^(Jimmy Kaplowitz 
([EMAIL PROTECTED]|[EMAIL PROTECTED])|Landas [EMAIL PROTECTED])$"
  
  But it doesn't recognize me. no success.
 
 Leave out the realname part. $alternates only matches your email, not
 your name.
 alternates="[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]"
 should work.
 
  set alternates="(Jimmy|Landas)"
  
  it recognizes me fine, but that is a little vague for my tastes.
 
 That is, because jimmy and landas are parts of the addresses you use.
 alternates is _not_ casesensitive.
 
 HTH,
 
 Michael
 -- 
 "We all know Linux is great...it does infinite loops in 5 seconds."
 (Linus Torvalds about the superiority of Linux on the Amterdam
 Linux Symposium)
 
 PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Help with 'alternates' setting and regexes

2001-01-14 Thread Jimmy Kaplowitz

Hello. I am using Mutt 1.3.12, and I'm having trouble getting the 'alternates'
variable setting to recognize who I am so that for my messages it shows the
recipient instead of the sender, me. I use the following email addresses:

Jimmy Kaplowitz [EMAIL PROTECTED]
Jimmy Kaplowitz [EMAIL PROTECTED]
Landas [EMAIL PROTECTED]

(Landas is an online nickname.) I have tried doing:

set alternates="^(Jimmy Kaplowitz ([EMAIL PROTECTED]|[EMAIL PROTECTED])|Landas 
[EMAIL PROTECTED])$"

But it doesn't recognize me. I've tried one other variation on that theme, with
no success. When I do

set alternates="(Jimmy|Landas)"

it recognizes me fine, but that is a little vague for my tastes. For example,
what if I receive a message from someone else named Jimmy?

Please help me get the regexp just right so that my email addresses, and none
other, are recognized as me.

- Jimmy Kaplowitz
[EMAIL PROTECTED]