info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hiding some of address


From: Reiner Steib
Subject: Re: hiding some of address
Date: Thu, 01 Nov 2007 09:36:43 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

On Thu, Nov 01 2007, Sebastian Tennant wrote:

> Quoth Reiner Steib <reinersteib+gmane@imap.cc>:
>> (car (mail-extract-address-components
>>        (mail-header-from message-reply-headers)))
>
> Hmm... I thought to myself "I bet there are some existing gnus routines
> that do this" while I was writing my hack.
[...]
>             (i (or (string-match " [<[(]?[A-z0-9_-.]+@" unobscured) -1))

That's too simple.  See e.g. the `+' in my address.  There's a reason
that `mail-extract-address-components' has ~750 lines of code. ;-)
And it isn't even complete, IIRC.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]