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: Sebastian Tennant
Subject: Re: hiding some of address
Date: Thu, 01 Nov 2007 12:52:35 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Quoth Reiner Steib <reinersteib+gmane@imap.cc>:
> 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.

Absolutely.  I couldn't agree more.  I wasn't aware of
mail-extract-address-components until now.

Sebastian





reply via email to

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