unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#44614: 26.3; bibtex convert case undefined
@ 2020-11-13 11:05 Francesco Potortì
  2020-11-14 16:33 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Francesco Potortì @ 2020-11-13 11:05 UTC (permalink / raw)
  To: 44614

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)





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-16 21:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-13 11:05 bug#44614: 26.3; bibtex convert case undefined Francesco Potortì
2020-11-14 16:33 ` Lars Ingebrigtsen
2020-11-14 18:47   ` Francesco Potortì
2020-11-16 21:36     ` Lars Ingebrigtsen

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).