From: Reiner Steib <reinersteib+gmane@imap.cc>
To: info-gnus-english@gnu.org
Subject: Re: hiding some of address
Date: Thu, 01 Nov 2007 09:36:43 +0100 [thread overview]
Message-ID: <v97il21hwk.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87mytyeu2v.fsf@moley.moleskin.org>
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/
next prev parent reply other threads:[~2007-11-01 8:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-31 17:23 Slackrat
2007-10-31 22:08 ` Reiner Steib
2007-10-31 23:35 ` Sebastian Tennant
2007-11-01 8:36 ` Reiner Steib [this message]
2007-11-01 10:52 ` Sebastian Tennant
2007-10-31 23:25 ` Sebastian Tennant
[not found] ` <mailman.2820.1193873148.18990.info-gnus-english@gnu.org>
2007-11-01 7:09 ` Slackrat
2007-11-01 10:45 ` Sebastian Tennant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v97il21hwk.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).