all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Francesco Potortì" <pot@gnu.org>
To: 44614@debbugs.gnu.org
Subject: bug#44614: 26.3; bibtex convert case undefined
Date: Fri, 13 Nov 2020 12:05:05 +0100	[thread overview]
Message-ID: <E1kdWt7-00EE0o-Tc@tucano.isti.cnr.it> (raw)

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)





             reply	other threads:[~2020-11-13 11:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-13 11:05 Francesco Potortì [this message]
2020-11-14 16:33 ` bug#44614: 26.3; bibtex convert case undefined Lars Ingebrigtsen
2020-11-14 18:47   ` Francesco Potortì
2020-11-16 21:36     ` Lars Ingebrigtsen

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=E1kdWt7-00EE0o-Tc@tucano.isti.cnr.it \
    --to=pot@gnu.org \
    --cc=44614@debbugs.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.