From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#69266: 30.0.50; bibtex-parse-entry misreads escaped \} Date: Mon, 19 Feb 2024 09:14:24 +0000 Message-ID: <87cysshl3j.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28371"; mail-complaints-to="usenet@ciao.gmane.io" To: 69266@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 19 10:11:58 2024 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 1rbzgs-000799-6m for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Feb 2024 10:11:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbzgd-0001Xg-Iy; Mon, 19 Feb 2024 04:11:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbzgb-0001XI-Ok for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 04:11:41 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbzgb-0001L6-E7 for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 04:11:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbzgw-00017b-6i for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 04:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Feb 2024 09:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69266 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17083338774221 (code B ref -1); Mon, 19 Feb 2024 09:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Feb 2024 09:11:17 +0000 Original-Received: from localhost ([127.0.0.1]:40322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbzgB-00015y-3e for submit@debbugs.gnu.org; Mon, 19 Feb 2024 04:11:17 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:58048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbzg6-00015j-30 for submit@debbugs.gnu.org; Mon, 19 Feb 2024 04:11:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbzfk-0000jG-3J for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 04:10:48 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbzfg-0001Cw-3U for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 04:10:47 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 62D0A240027 for ; Mon, 19 Feb 2024 10:10:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708333841; bh=qh3L4LPpPVG/z7vINeeVjbjQmKe1w6B1fFOlxO+posI=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=TlBgUkSkzcsUm74nycMAlMFVuNmSrBRT6kNOzlJ/gMBJH3AtqVy3CvqKUO4IfRDP1 z/JihazBozDBCzrP9toa0zSjcx+9jxc2tqXwKVixcvfLRBQSzxoqXWhCPYLOiPOmDG KNLo57MjF0wVt0iYT/m41+awfhWumZkDz+yYgKzKLRw+7N8cdrqbvHUQOjF8m7nZht e5pLUGO7FpO1eg83s/Bm23oTA+x3LNxqp+La+wXNQSFnHhTmbquZaMLQ9B/9u8kLM9 TvRP+i6Wir/NiwSAPSDGHZEl2HbLPtlJde0E2b7XGFYDLhBcxSwCrsPpoVFpEyfd1X 3RgN8LY+ViftA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TdcFr2Pxtz9rxN for ; Mon, 19 Feb 2024 10:10:39 +0100 (CET) Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280238 Archived-At: Consider the following bibtex entry: @InCollection{Geyer2011, title = {Introduction to Markov Chain Monte \} Carlo}, pages = 45, } According to https://www.bibtex.org/SpecialSymbols/, characters that conflict with Bibtex format description can be \-escaped. In the above, with point at the beginning of the entry, M-: (bibtex-parse-entry t), yields ("=type=" . "InCollection") ("=key=" . "Geyer2011") ("title" . "Introduction to Markov Chain Monte \\") The escaped \} is treated as closing }, which is incorrect. Expected: escaping is properly processed. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-02-18 built on localhost Repository revision: 951379a0983ea66b1396d07628bb726f033ea24b Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101011 System Description: Gentoo Linux -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at