From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: bug#39686: 25.2; Wrong behaviour of bibtex-autokey-name-change-strings Date: Fri, 21 Feb 2020 08:13:51 -0600 Message-ID: <58783.27471.62850.24143@gargle.gargle.HOWL> References: <4367.92615.138020.24142@gargle.gargle.HOWL> <4941.12888.304926.24142@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="117433"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gojjoe2@googlemail.com To: 39686@debbugs.gnu.org, Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 21 15:14:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j594G-000UQt-Ha for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Feb 2020 15:14:12 +0100 Original-Received: from localhost ([::1]:58786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j594F-0001XU-IC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Feb 2020 09:14:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43598) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5947-0001X7-Qu for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 09:14:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5946-0004WM-Ob for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 09:14:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40590) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5946-0004W9-L3 for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 09:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j5946-0007mo-Gg for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 09:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Roland Winkler" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Feb 2020 14:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39686 X-GNU-PR-Package: emacs Original-Received: via spool by 39686-submit@debbugs.gnu.org id=B39686.158229443929914 (code B ref 39686); Fri, 21 Feb 2020 14:14:02 +0000 Original-Received: (at 39686) by debbugs.gnu.org; 21 Feb 2020 14:13:59 +0000 Original-Received: from localhost ([127.0.0.1]:46563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5943-0007mQ-Jw for submit@debbugs.gnu.org; Fri, 21 Feb 2020 09:13:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5941-0007mE-Ub for 39686@debbugs.gnu.org; Fri, 21 Feb 2020 09:13:58 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j593w-0004PK-QT; Fri, 21 Feb 2020 09:13:52 -0500 Original-Received: from [2601:240:8300:d3d0:248b:bf11:be2e:5309] (port=54340 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1j593v-00054s-Nx; Fri, 21 Feb 2020 09:13:52 -0500 In-Reply-To: <4941.12888.304926.24142@gargle.gargle.HOWL> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176362 Archived-At: Hi Eli I do not know the exact status of Emacs 27. Is it OK to install the patch below into the Emacs 27 branch? The patch fixes a bug that must have existed for at least about 20 years. So likely it will not affect many users. But even if the patch has a hidden new bug, it should not break anything crucial for users either. Roland (defvar bibtex-autokey-transcriptions (nconc (mapcar (lambda (a) (cons (regexp-opt (car a)) (cdr a))) '(;; language specific characters (("\\aa") . "a") ; \aa -> a (("\\AA") . "A") ; \AA -> A (("\"a" "\\\"a" "\\ae") . "ae") ; "a,\"a,\ae -> ae (("\"A" "\\\"A" "\\AE") . "Ae") ; "A,\"A,\AE -> Ae (("\\i") . "i") ; \i -> i (("\\j") . "j") ; \j -> j (("\\l") . "l") ; \l -> l (("\\L") . "L") ; \L -> L (("\"o" "\\\"o" "\\o" "\\oe") . "oe") ; "o,\"o,\o,\oe -> oe (("\"O" "\\\"O" "\\O" "\\OE") . "Oe") ; "O,\"O,\O,\OE -> Oe (("\"s" "\\\"s" "\\3") . "ss") ; "s,\"s,\3 -> ss (("\"u" "\\\"u") . "ue") ; "u,\"u -> ue (("\"U" "\\\"U") . "Ue") ; "U,\"U -> Ue ;; hyphen, accents (("\\-" "\\`" "\\'" "\\^" "\\~" "\\=" "\\." "\\u" "\\v" "\\H" "\\t" "\\c" "\\d" "\\b") . "") ;; space (("~") . " "))) ;; more spaces '(("[\s\t\n]*\\(?:\\\\\\)?[\s\t\n]+" . " ") ;; braces, quotes, concatenation. ("[`'\"{}#]" . ""))) "Alist of (OLD-REGEXP . NEW-STRING) pairs. Used by the default values of `bibtex-autokey-name-change-strings' and `bibtex-autokey-titleword-change-strings'. Defaults to translating some language specific characters to their ASCII transcriptions, and removing any character accents.")