all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jesper Harder <harder@myrealbox.com>
Subject: Re: Bug in mail-extract-address-components (mail-extr.el)?
Date: Mon, 23 Sep 2002 14:57:27 +0200	[thread overview]
Message-ID: <m31y7kg8y0.fsf@defun.localdomain> (raw)
In-Reply-To: v9n0q8riyo.fsf@marauder.physik.uni-ulm.de

Reiner Steib <4uce.02.r.steib@gmx.net> writes:

> Recently I noticed, that the function fails for the following From:
> line (which seem to be correct according to RFC-822):
>
> | From: "Harald H.-J. Bongartz" <bongie@gmx.net>
>
> Instead of "Harald H.-J. Bongartz" I get "Harald H.":
>
> Is this a bug in `mail-extract-address-components' or should I use a
> different function to get the full name?

In this particular case `gnus-extract-address-components' works better:

(gnus-extract-address-components "\"Harald H.-J. Bongartz\" <bongie@gmx.net>")
==> ("Harald H.-J. Bongartz" "bongie@gmx.net")

But usually `mail-extract-address-components' is more reliable (but also
really complicated).

  reply	other threads:[~2002-09-23 12:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-23 12:25 Bug in mail-extract-address-components (mail-extr.el)? Reiner Steib
2002-09-23 12:57 ` Jesper Harder [this message]
2002-09-23 14:29   ` Reiner Steib
2002-09-23 14:48     ` lawrence mitchell
2002-09-24 21:30       ` Simon Josefsson
2002-09-24 22:06 ` Simon Josefsson

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=m31y7kg8y0.fsf@defun.localdomain \
    --to=harder@myrealbox.com \
    /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.