bug-auctex
[Top][All Lists]
Advanced

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

bug#39479: Wrong behaviour of bibtex-autokey-name-change-strings


From: Arash Esbati
Subject: bug#39479: Wrong behaviour of bibtex-autokey-name-change-strings
Date: Fri, 14 Feb 2020 19:57:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50

Hi,

thanks for your report.  The function in question is part of `bibtex.el'
which in return is part of Emacs itself and not AUCTeX.  I'm CC'ing
bibtex maintainer asking him if he could have a look at your
suggestion.  If you don't receive an answer in due time, please consider
reporting this issue as an Emacs bug.

@Roland: Can you please have a look at the report below?  TIA.

I will close this report since it doesn't apply to AUCTeX.

Best, Arash

gojjoe2--- via bug-auctex via Bug reporting list for AUCTeX <address@hidden> 
writes:

> Hi,
>
> The bibtex-generate-autokey function uses
> 'bibtex-autokey-name-change-strings' to substitute special or accented
> characters or ligatures with ascii characters.
>
> I noticed that it doesn't lead to the intended behaviour for '\oe' and
> '\OE', which get converted to 'oee' rather than 'oe'. On the other
> hand, '\o', '\"o', and their capitalized counterparts are correctly
> converted to 'oe' (and also '\ae' to 'ae').
>
> This quirk seems to be fixed if '\o' and '\oe' are swapped in
> bibtex-autokey-name-change-strings. Then all variants are correctly
> converted.
>
> So I propose to change the current bibtex-autokey-name-change-strings into
>
> '(("\\\\aa" . "a")
>   ("\\\\AA" . "A")
>   ("\\\"a\\|\\\\\\\"a\\|\\\\ae" . "ae")
>   ("\\\"A\\|\\\\\\\"A\\|\\\\AE" . "Ae")
>   ("\\\\i" . "i")
>   ("\\\\j" . "j")
>   ("\\\\l" . "l")
>   ("\\\\L" . "L")
>   ("\\\"o\\|\\\\\\\"o\\|\\\\oe\\|\\\\o" . "oe")
>   ("\\\"O\\|\\\\\\\"O\\|\\\\OE\\|\\\\O" . "Oe")
>   ("\\\"s\\|\\\\\\\"s\\|\\\\3" . "ss")
>   ("\\\"u\\|\\\\\\\"u" . "ue")
>   ("\\\"U\\|\\\\\\\"U" . "Ue")
>   
> ("\\\\`\\|\\\\'\\|\\\\\\^\\|\\\\~\\|\\\\=\\|\\\\\\.\\|\\\\u\\|\\\\v\\|\\\\H\\|\\\\t\\|\\\\c\\|\\\\d\\|\\\\b"
> . "")
>   ("[`'\"{}#]" . "")
>   ("\\\\-" . "")
>   ("\\\\?[    \n]+\\|~" . " "))
>
> Cheers!
>
> _______________________________________________
> bug-auctex mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-auctex





reply via email to

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