bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2385: marked as done (bibtex autokey no longer ignores uncapitalize


From: Emacs bug Tracking System
Subject: bug#2385: marked as done (bibtex autokey no longer ignores uncapitalized title words)
Date: Fri, 20 Feb 2009 04:30:03 +0000

Your message dated Fri, 20 Feb 2009 05:26:00 +0100
with message-id <18846.12504.320622.911721@tfkp07.physik.uni-erlangen.de>
and subject line Re: bug#2385: bibtex autokey no longer ignores uncapitalized 
title words
has caused the Emacs bug report #2385,
regarding bibtex autokey no longer ignores uncapitalized title words
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2385: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2385
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
--- Begin Message --- Subject: bibtex autokey no longer ignores uncapitalized title words Date: Thu, 19 Feb 2009 15:47:15 +0200
Package: emacs
Version: 23.0.90.1

I'm taking the liberty to forward the following bug from the Ubuntu
Launchpad:

https://bugs.launchpad.net/ubuntu/+source/emacs22/+bug/243156

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

I have verified this bug with Emacs snapshot 1:20090207-1~intrepid1 from
https://launchpad.net/~ubuntu-elisp/+archive/ppa

Attached below please find a patch for Emacs 23.

/* era */

-- 
If this were a real .signature, it would suck less.  Well, maybe not.

Attachment: bibtex-snapshot-el.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#2385: bibtex autokey no longer ignores uncapitalized title words Date: Fri, 20 Feb 2009 05:26:00 +0100
> > In general, the patch makes sense to me and I am willing to install it.
> 
> Please install it then and close the bug, thank you.

I installed the patch (including a comment in the docstring for
bibtex-autokey-titleword-ignore that case is significant.)


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]