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

To reply to this bug, email your comments to 39255 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#39255; Package auctex. (Thu, 23 Jan 2020 15:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Benedikt Tissot <benedikt <at> tissot.de>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Thu, 23 Jan 2020 15:23:02 GMT) Full text and rfc822 format available.

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 4 years and 306 days ago.

Previous Next


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