From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Roland Winkler Newsgroups: gmane.emacs.bugs Subject: bug#57712: 29.0.50; bibtex.el: Should `bibtex-parse-entry' handle curly braces inside fields? Date: Sat, 10 Sep 2022 11:07:13 -0500 Message-ID: <87zgf75i32.fsf@gnu.org> References: <87k06b26iu.fsf@localhost> <87r10jrgf4.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24275"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57712@debbugs.gnu.org, Ihor Radchenko To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 10 18:08:12 2022 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 1oX31f-0006A3-Oq for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Sep 2022 18:08:11 +0200 Original-Received: from localhost ([::1]:52884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oX31e-0003UA-N2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Sep 2022 12:08:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oX31X-0003SG-0W for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2022 12:08:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oX31W-0003dd-NL for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2022 12:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oX31W-0003uB-Is for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2022 12:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Roland Winkler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Sep 2022 16:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57712 X-GNU-PR-Package: emacs Original-Received: via spool by 57712-submit@debbugs.gnu.org id=B57712.166282604414958 (code B ref 57712); Sat, 10 Sep 2022 16:08:02 +0000 Original-Received: (at 57712) by debbugs.gnu.org; 10 Sep 2022 16:07:24 +0000 Original-Received: from localhost ([127.0.0.1]:40245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oX30t-0003tB-Kp for submit@debbugs.gnu.org; Sat, 10 Sep 2022 12:07:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oX30r-0003sy-AU for 57712@debbugs.gnu.org; Sat, 10 Sep 2022 12:07:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oX30l-0003NP-KY; Sat, 10 Sep 2022 12:07:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=qEkdQ17hAZT0kZlzjqneKt7+A5Uk7h6AVXVIm0KbXoc=; b=mZEUsJpAIthll8h1SOSG eF3VIXdg4kHxbAM+pQarhx9VcSDhqTS1af/bG6mT+2i5wUgqCWdEwJhV4y0ILqeHW6108wqH5tTlc B5EIu08P+5C19ZvpciqGYxzguJueEa6fRCYphquhEiqqpp/WpUJdWsKU6BRXxEMYTlv1h6IgHt/FS RtgLlWcGkSN1RbFb2U1yXpJnwCmUgUJP+H6Uv1KmBRyE+is7lp+Q6kXjOjT066JYyejKvJl/xxA4J ezQ0miOb45OC7/WWXwi44HQa+2+1Za5Q/0fZ+CNrP1wukv1synEZRrAZG7OLF0k0y7Aje/iWjg7wd Ncry8c0dl0zNhg==; Original-Received: from [2600:1700:5650:f790::42] (port=51000 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oX30l-0001pf-Bg; Sat, 10 Sep 2022 12:07:15 -0400 In-Reply-To: <87r10jrgf4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 10 Sep 2022 06:39:59 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:242109 Archived-At: > It would be useful if bibtex-parse-entry could process the escapes when, > say, its first optional argument CONTENT is set to 'parse. I must be missing something. With `emacs -q' (28.1) and the proposed test case bibtex-parse-entry honors all braces. Same with any other entries I tested. Try M-: (bibtex-parse-entries) Certainly, stripping off the braces would turn valid LaTeX code into gibberish. There is also bibtex-autokey-get-field that comes with an optional arg CHANGE-LIST which is most often bibtex-autokey-transcriptions. This massages the field values in all kinds of ways. But it serves an entirely different purpose.