Public bug reported:
Binary package hint: emacs22
RELEASE: Ubuntu 8.04
VERSION: emacs22: 22.1-0ubuntu10.1
What I Expected to Happen
====================
This affects the BibTeX mode. Emacs 20 changed the behaviour, thus:
*** Autokey generation now uses all words from the title, not just
capitalized words. To avoid conflicts with existing customizations,
bibtex-autokey-titleword-ignore is set up such that words starting with
lowerkey characters will still be ignored. Thus, if you want to use
lowercase words from the title, you will have to overwrite the
bibtex-autokey-titleword-ignore standard setting.
So for an entry
@InProceedings{,
author = {Ganter, Bernhard and Kuznetsov, Sergei O.},
title = {Stepwise Construction of the {Dedekind-MacNeille}
Completion},
year = 1998,
booktitle = {ICCS '98: Proceedings of the 6th International Conference
on Conceptual Structures},
pages = {295--302},
address = {Montpellier, France},
publisher = {Springer-Verlag},
isbn = {3-540-64791-0}
}
pressing C-c C-c should generate and add the key
ganter98:_stepw_const_dedek_macneil_compl
instead it generates
ganter98:_stepw_const_of_dedek_macneil_compl
In emacs21
=========
The variable `bibtex-autokey-titleword-ignore` is set to
'("A" "An" "On" "The" "Eine?" "Der" "Die" "Das"
"[^A-Z].*" ".*[^a-zA-Z0-9].*")
and it works as expected.
In emacs22
=========
The variable `bibtex-autokey-titleword-ignore` is set to
'("A" "An" "On" "The" "Eine?" "Der" "Die" "Das"
"[^[:upper:]].*" ".*[^[:upper:]0-9].*")
and it does not work as expected.
Workaround
=========
The old value from emacs21 does not solve the problem, instead I have to
enumerate all prepositions and conjunctions.
** Affects: emacs22 (Ubuntu)
Importance: Undecided
Status: New
--
bibtex autokey no longer ignores uncapitalized title words
https://bugs.launchpad.net/bugs/243156
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs