Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Sebastian Tennant <sebyte@smolny.plus.com>
To: info-gnus-english@gnu.org
Subject: Re: hiding some of address
Date: Thu, 01 Nov 2007 12:52:35 +0200	[thread overview]
Message-ID: <87hck6utjg.fsf@moley.moleskin.org> (raw)
In-Reply-To: <v97il21hwk.fsf@marauder.physik.uni-ulm.de>

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	other threads:[~2007-11-01 10:52 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
2007-11-01 10:52       ` Sebastian Tennant [this message]
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=87hck6utjg.fsf@moley.moleskin.org \
    --to=sebyte@smolny.plus.com \
    --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).