unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: 22594@debbugs.gnu.org
Subject: bug#22594: 25.1.50; mail-extract-address-components doesn't work on single-named people
Date: Mon, 08 Feb 2016 16:46:12 +1100	[thread overview]
Message-ID: <87pow7eouz.fsf@gnus.org> (raw)
In-Reply-To: <87pow8hrfn.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 08 Feb 2016 13:22:20 +1100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> (mail-extract-address-components "Rasmus <rasmus@gmx.us>")
> => (nil "rasmus@gmx.us")
>
> There's the weird
>
> (setq mail-extr-ignore-single-names t)
>
> variable, but there is no difference in the result.

It was because the user name and the full name were the same.  I've now
changed it to return the name, anyway (if mail-extr-ignore-single-names
isn't set).

That's one weird and huge function with a *lot* of functionality...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2016-02-08  5:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08  2:22 bug#22594: 25.1.50; mail-extract-address-components doesn't work on single-named people Lars Ingebrigtsen
2016-02-08  5:46 ` Lars Ingebrigtsen [this message]
2016-02-08 20:54   ` Rasmus
2016-02-08 22:47     ` Lars Ingebrigtsen
2016-02-08 23:06       ` Rasmus

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pow7eouz.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=22594@debbugs.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).