From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: gojjoe2--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#39686: 25.2; Wrong behaviour of bibtex-autokey-name-change-strings Date: Fri, 21 Feb 2020 10:22:45 +0100 Message-ID: <86569ef7-ff5f-4a3a-bbbd-3e1a3990bce9@gmail.com> References: <4367.92615.138020.24142@gargle.gargle.HOWL> <4941.12888.304926.24142@gargle.gargle.HOWL> Reply-To: gojjoe2@googlemail.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="110276"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 Cc: Roland Winkler To: 39686@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 21 16:33:31 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 1j5AIx-000SVI-UY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Feb 2020 16:33:27 +0100 Original-Received: from localhost ([::1]:59868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5AIw-0003nU-Td for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Feb 2020 10:33:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37172) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5AIa-0003hO-25 for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 10:33:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5AIZ-00056h-0B for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 10:33:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41861) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5AIY-00056a-PM for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 10:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j5AIY-0005eF-Mm for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 10:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: gojjoe2@googlemail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Feb 2020 15:33: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.158229915721650 (code B ref 39686); Fri, 21 Feb 2020 15:33:02 +0000 Original-Received: (at 39686) by debbugs.gnu.org; 21 Feb 2020 15:32:37 +0000 Original-Received: from localhost ([127.0.0.1]:47830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5AI8-0005d7-VE for submit@debbugs.gnu.org; Fri, 21 Feb 2020 10:32:37 -0500 Original-Received: from mail-lj1-f177.google.com ([209.85.208.177]:40869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j54WN-0004g0-PE for 39686@debbugs.gnu.org; Fri, 21 Feb 2020 04:22:56 -0500 Original-Received: by mail-lj1-f177.google.com with SMTP id n18so1447803ljo.7 for <39686@debbugs.gnu.org>; Fri, 21 Feb 2020 01:22:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=IVJkkkefZbbSqlb42QwImaiN+yThSBrPq7B9z+kxuVg=; b=TEAyWYWme97meoReGdo3PikQ3pK2o/4qSu9YJINt9Cfjc1zh/pNcy289++fU3FON7P S1t6a/erq5zLhmTg+bzPy+pTDN8wIwIJVBr2PKUiQ0r3eyow+4sieAikT8w+WNIaqJ8W x3yH064H648BU9b43LVuLTKJMXOoHqYLCCxqcj+PbMWnLwUld7yLoYRvBCd2P0gyETeq 9ImGT1crXj3srnGQ5LN0HNGPLnxF6oVEoKwjq5qIAVHYp1ZG9NO/6UpNuLQFyk3CI7eb RNoufrCeLAuMPm7KAynQTthLOXQ3qnqB8ifI8iqw+kt4QAkZbZ5TGI5WVrcSciPdEEP8 j1rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IVJkkkefZbbSqlb42QwImaiN+yThSBrPq7B9z+kxuVg=; b=HwC6t9pFVrEChitxL6HX3QKxapDcnfTqtwNsh2MP1RIrOtECmXhmO/f+sMwRytVqLw OD0l8W2Nd4sp6ec8lHKcF+i4h/f/41UAnaVvtu3DN4jTi5IPuuNHXTTPSTZMrxNvfVky DOv18bTT+9YbLT3RCHIaxFx/aH9RBAMBNt2WyrdEq0iv1tWHKNs6q8VrMh+0C7U5Etrp fuSVd+dyaLyMgNisq895ms+Ce8YRp3d+vgSKczL1TVxx0VF4pJwGnc3lY23DzgCl5aVU 5eK4tpEYTBQpazMTebsLlcX4kOqzy7As4A1rk37ifowXMqDuloOrwdfCJsaNl5bMUC08 I5JQ== X-Gm-Message-State: APjAAAUfbKbJ8aOb44Vryn9fO2pM+y6vU7NViN+qshZUACuarxr/oeLx Fkz+Nz5cJKhwnrJdcor348g= X-Google-Smtp-Source: APXvYqyKAqN6BClX2hfXzsT4HtkwPxui0s7Ft2vWfR2NyxxM0e2Q6Hgitcb35rnH36b56FNgbfZgxA== X-Received: by 2002:a2e:80d1:: with SMTP id r17mr21764823ljg.292.1582276969614; Fri, 21 Feb 2020 01:22:49 -0800 (PST) Original-Received: from [10.24.87.163] (129-241-230-62-gw.cgn.ntnu.no. [129.241.230.62]) by smtp.gmail.com with ESMTPSA id g15sm1280006ljl.10.2020.02.21.01.22.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Feb 2020 01:22:48 -0800 (PST) X-Google-Original-From: gojjoe2@gmail.com In-Reply-To: <4941.12888.304926.24142@gargle.gargle.HOWL> Content-Language: en-CA X-Mailman-Approved-At: Fri, 21 Feb 2020 10:32:36 -0500 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:176365 Archived-At: Hi Roland, thank you for looking into this. > I suggest that the value of bibtex-autokey-transcriptions should be > calculated by regexp-opt. That makes the code more readable and it > fixes this problem for free. > > Can you confirm that the following works as it should? Yes it does, at least for the specific problem I found with "\oe". Thank you very much! Can you tell me where to insert this redefinition in my init file, while I wait for the next Emacs version? I tried adding it to my own bibtex-hook and to "eval-after-load 'bibtex ...", but it doesn't seem to have any effect in either. At the moment is called directly in the init file. Cheers, Luca