From: Richard Stallman <rms@gnu.org>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: mail-extract-address-components with "Ver Surname, Given"
Date: Fri, 17 Jun 2005 22:21:19 -0400 [thread overview]
Message-ID: <E1DjSxT-0003W6-4r@fencepost.gnu.org> (raw)
In-Reply-To: <d8seo0$554$1@sea.gmane.org> (message from Kevin Rodgers on Thu, 16 Jun 2005 12:05:49 -0600)
This change fixes it. What I am not sure is whether the
criterion is now too general so that it would give bad results
in some other case.
*** mail-extr.el 10 Feb 2005 01:13:43 -0500 1.47
--- mail-extr.el 17 Jun 2005 20:03:46 -0400
***************
*** 1594,1600 ****
;; Check for initial last name followed by comma
((and (eq ?, (following-char))
! (eq word-count 1))
(forward-char 1)
(setq last-name-comma-flag t)
(or (eq ?\ (following-char))
--- 1594,1605 ----
;; Check for initial last name followed by comma
((and (eq ?, (following-char))
! (not last-name-comma-flag))
! ;; This used to check for (eq word-count 1),
! ;; but that failed for the case
! ;; (mail-extract-address-components
! ;; "\"Ver Surname, Given\" <given.ver.surname@example.com>")
! ;; However, not checking at all may make this too general.
(forward-char 1)
(setq last-name-comma-flag t)
(or (eq ?\ (following-char))
prev parent reply other threads:[~2005-06-18 2:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-16 18:05 mail-extract-address-components with "Ver Surname, Given" Kevin Rodgers
2005-06-16 18:57 ` Kevin Rodgers
2005-06-18 2:21 ` Richard Stallman [this message]
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=E1DjSxT-0003W6-4r@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=bug-gnu-emacs@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 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.