From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: mail-extract-address-components extract modified full name
Date: Mon, 26 Jul 2004 20:09:39 +0900 [thread overview]
Message-ID: <b9yy8l76n4c.fsf@namazu.org> (raw)
In-Reply-To: m3u0vvuudd.fsf@quimbies.gnus.org
>>>>> In <m3u0vvuudd.fsf@quimbies.gnus.org>
>>>>> Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
> I think in most instances using `mail-extract-address-components' is
> probably the wrong thing.
I agree with you. m-e-a-c is being used in not a few places in
Gnus, and it sometimes causes funny result, although it is not
serious so far as far as I know. For instance, when I reply to
the address "手塚 治 <foo@bar.com>", the buffer named "*reply to
手塚 治.*" is created.
> It doesn't really do RFC(2)822 parsing --
> it just takes something that looks pretty much like a mail address
> and a name and tries to do something pleasing with it, even if it
> isn't in the least valid as a RFC2822 address.
> "手塚 治 <foo@bar.com>", for instance, isn't a valid address. (It
> has to be encoded first.)
> So I'm not sure that this function should be altered.
> On the other hand, if what you want is RFC2822 address parsing, we
> have `mail-header-parse-address', which does strict parsing, and
> nothing else.
mail-header-parse-address doesn't support non-ASCII characters,
so a function like gnus-extract-address-components is also
needed.
P.S. In last message, I mixed up mail-extract-address-components
and mail-header-parse-address about non-ASCII characters, sorry.
--
Katsumi Yamaoka <yamaoka@jpl.org>
next prev parent reply other threads:[~2004-07-26 11:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-25 4:41 mail-extract-address-components extract modified full name Yoichi NAKAYAMA
2004-07-26 1:29 ` Richard Stallman
2004-07-26 2:08 ` Katsumi Yamaoka
2004-07-26 3:09 ` Katsumi Yamaoka
2004-07-26 3:39 ` Katsumi Yamaoka
2004-07-26 4:58 ` Miles Bader
2004-07-26 6:59 ` Lars Magne Ingebrigtsen
2004-07-26 11:09 ` Katsumi Yamaoka [this message]
2004-07-27 7:11 ` Katsumi Yamaoka
2004-07-27 9:29 ` Simon Josefsson
2004-07-27 12:39 ` Katsumi Yamaoka
2004-07-27 14:19 ` Stefan Monnier
2004-07-27 16:28 ` Simon Josefsson
2004-07-28 3:33 ` Katsumi Yamaoka
2004-07-29 3:57 ` Yoichi NAKAYAMA
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=b9yy8l76n4c.fsf@namazu.org \
--to=yamaoka@jpl.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.