GNU bug report logs -
#44614
26.3; bibtex convert case undefined
Previous Next
Reported by: Francesco Potortì <pot <at> gnu.org>
Date: Fri, 13 Nov 2020 11:06:02 UTC
Severity: normal
Tags: fixed
Found in version 26.3
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2020-05-17, modified by Debian
bibtex.el offers the opportunity of unifying the case of fields (see the
string unify-case). Unfortunately the docs and comments do not tell
what is the chosen case. In practice, I see that entries are downcased.
An old version of bibtex.el (last copyright 1997) uniquified cases based
on the bibtex-unify-case-convert variable, which is now removed.
This is unfortunate, and in my opinion a bug.
Looking at the old code, I see that the current behaviour is the same as
the old 'identity value for the mentioned variable. I am working on a
local patch for reverting to the old behaviour. After I finish, I can
provide it, if there is any hope of it to be accepted.
Here is the old definition:
(defcustom bibtex-unify-case-convert 'downcase
"*Function called when unifying case on entry and field names.
This variable is buffer-local."
:group 'bibtex
:type '(choice (const :tag "Same case as in `bibtex-field-alist'" identity)
(const :tag "Downcase" downcase)
(const :tag "Capitalize" capitalize)
(const :tag "Upcase" upcase)
(function :tag "Conversion function")))
(make-variable-buffer-local 'bibtex-unify-case-convert)
This bug report was last modified 4 years and 191 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.