GNU bug report logs - #39255
small inconsistency in reftex-get-bib-names

Previous Next

Package: auctex;

Reported by: Benedikt Tissot <benedikt <at> tissot.de>

Date: Thu, 23 Jan 2020 15:23:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Benedikt Tissot <benedikt <at> tissot.de>
To: bug-auctex <at> gnu.org
Subject: small inconsistency in reftex-get-bib-names
Date: Thu, 23 Jan 2020 09:15:34 +0100
Hello,

I just wanted to point out that `reftex-get-bib-names` returns only the
last names for most cases of author fields, but for fields of the form
"Firstname Middlename Lastname" all names are returned.
If you think that this should be changed, simply adding another regexp
(after beginning and trailing whitespaces are removed, ie. after line
453 or 455) of the form
(while (string-match "^[\\.a-zA-Z\\-]+[ \t]+" names)
                    (setq names (replace-match "" nil t names)))
removes the first (and middlenames) in all remaining cases I could
think of.

Thanks for maintaining auctex.
Best Regards,
Benedikt





This bug report was last modified 5 years and 145 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.