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#68477: 29.1; bibtex-braced-string-syntax-table should handle non-ASCII parentheses Date: Thu, 02 Jan 2025 14:58:45 -0600 Message-ID: <87frm1exve.fsf@gnu.org> References: <86o7dmo7uj.fsf@p200300d62730c892f021caab3c1ebecc.dip0.t-ipconnect.de> <87o70pf2x6.fsf@gnu.org> <86pll5ht34.fsf@gnu.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="33463"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joostkremers@fastmail.fm, 68477@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 21:59:18 2025 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 1tTSHl-0008Xb-0T for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 21:59:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTSHY-0006xr-5H; Thu, 02 Jan 2025 15:59:04 -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 1tTSHW-0006xN-9E for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 15:59:02 -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 1tTSHW-0007kZ-0j for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 15:59:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=4Zd+Q4DPxFeOdooRZKv0zWw/b+F9kQiMdjIFz6swQLw=; b=n0s8dDo1rUOIEKR/zGGYWMFwgKpqJQXXIJINuz5ANHC35zBtvgSzZKoY7H1C9B0Adwg9QCPwlG13f/SjbT+TD7QnukdbZjQ6xh5tu8UFcIa3OLbR9KLiHxVV5pxdIzfLS9mJlFUtV9lh5eHzYzL0Wb/ehwx8uAfXhpbvEa7xWBdLEvsidxbpBp5JG245bJDdsl0w+va/EFdciWBU78kXhAu4UYrg7G8HvcI9X52rvXeLh4XbJvdbVa7fK0WxJKk1HptAZKkRgCVyOcOVIsODgmQBN2cMDr5yNOZRs5v8/b8wf/bvuBmA+ANmDpheDaz5qddQ0VlEA+PaFIa1GtYogQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTSHV-0008Q2-Qn for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 15:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Roland Winkler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2025 20:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68477 X-GNU-PR-Package: emacs Original-Received: via spool by 68477-submit@debbugs.gnu.org id=B68477.173585153832349 (code B ref 68477); Thu, 02 Jan 2025 20:59:01 +0000 Original-Received: (at 68477) by debbugs.gnu.org; 2 Jan 2025 20:58:58 +0000 Original-Received: from localhost ([127.0.0.1]:46926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTSHS-0008Ph-EF for submit@debbugs.gnu.org; Thu, 02 Jan 2025 15:58:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35380) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTSHQ-0008PQ-O0 for 68477@debbugs.gnu.org; Thu, 02 Jan 2025 15:58:57 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTSHL-0007jt-AM; Thu, 02 Jan 2025 15:58:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=4Zd+Q4DPxFeOdooRZKv0zWw/b+F9kQiMdjIFz6swQLw=; b=VBO6ztNlRzSLufbiuH4I RhbTp/TxAKwKvL/erxXwPhc/RpRIGWd1YHm06HiyhogmErgmtmAKm/jXECbE64oFzVcq0GaxEv6nl Dx9SK4eVIRI2xli2SE96yDYjUe9v7fuI6A4dm3uyWyMvsjev/aCvdPeTdfX9iS9b3u87syEGKKIn3 o+OR6cSSFL/Y3cpjxFHJnzXC14makHXY3JKAbtLMtYMKvx8w/bojqWpq/A7B5HhRDBVYxB2L5yh4E l/9An+lIZ6oLpXbYnOSDpkdh1iHIL8R7xQaISujmEsMoUPxYvAbH3j27kBojJqWiD3QymTNc7lYCf M5YGtNeDUvyeeA==; In-Reply-To: <86pll5ht34.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Jan 2025 22:13:51 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298239 Archived-At: On Thu, Jan 02 2025, Eli Zaretskii wrote: >> Cc: 68477@debbugs.gnu.org >> From: Roland Winkler >> Date: Thu, 02 Jan 2025 13:09:41 -0600 >> >> I only discovered this bug report now. I believe utf-8 defines lots of >> pairs of parentheses to which this bug report applies. Is there a >> generic way to modify the syntax of "all" pairs of parentheses (except >> the curly brackets "{" and "}") to punctuation so that parsing will >> ignore such unpaired parentheses? > > Emacs should already set up the syntax of those characters, see > char-syntax. Is that what you were looking for? Here the goal is the other way round: Emacs should treat these extra parentheses not as parentheses, but as punctuation, so that imbalanced parentheses do not break the parsing of BibTeX fields that only care about "{" and "}", and nothing else.