From unknown Fri Jun 20 07:15:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#68477 <68477@debbugs.gnu.org> To: bug#68477 <68477@debbugs.gnu.org> Subject: Status: 29.1; bibtex-braced-string-syntax-table should handle non-ASCII parentheses Reply-To: bug#68477 <68477@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:15:24 +0000 retitle 68477 29.1; bibtex-braced-string-syntax-table should handle non-ASC= II parentheses reassign 68477 emacs submitter 68477 Joost Kremers severity 68477 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 15 11:54:48 2024 Received: (at submit) by debbugs.gnu.org; 15 Jan 2024 16:54:48 +0000 Received: from localhost ([127.0.0.1]:46764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPQEZ-00019i-D5 for submit@debbugs.gnu.org; Mon, 15 Jan 2024 11:54:48 -0500 Received: from lists.gnu.org ([2001:470:142::17]:48502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPQEU-00019Q-L3 for submit@debbugs.gnu.org; Mon, 15 Jan 2024 11:54:46 -0500 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 1rPQEP-0005yM-8l for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2024 11:54:37 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPQEM-00011J-MH for bug-gnu-emacs@gnu.org; Mon, 15 Jan 2024 11:54:37 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id A095C5C0116 for ; Mon, 15 Jan 2024 11:54:32 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 15 Jan 2024 11:54:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm3; t=1705337672; x=1705424072; bh=hfOnLeVlyb a4Exns2p4EGcMBcOrx/gtErECdvIo6JKw=; b=apaHa35+OtdLhBq8CjML6ApnBm HBQwSRa1pFnYgO0O3VVrcb1US5LQjBY+xxcKEqzGZlyQGuiWgvYmo62zZGGqhR0B NJ20WIkb12KqJ+OZbikZCfL87Br11p+d15Lc73bbJzWIWS2r6WnttbpxomAtknvV v8Kj1T7fq2sDSD9ZgyhvCkY+Jt/I2HGeCcrceiZiLQMPNOONDI3Qyblrg05xQSi2 a4W7TEc3hm8bpzbcNlah+KALWYUhR8Q+aLeSBfMDCjqeuoAHtcZqCHPAVfZ+Dr8X IazDR9TujLO4bntZ1hbNyJvKl5ybfqmwdx94K5b7I36o0A9aVFemDNtwOwaA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1705337672; x=1705424072; bh=hfOnLeVlyba4Exns2p4EGcMBcOrx /gtErECdvIo6JKw=; b=xzqJpbzIBxlaYgAVgrPuXKFSEDz96AfJOEZ4hG9aSf5n jm6GNUbJgEtk2O4jBVQQa+SNqPb6Xs4KzPwuK6iGPecs9AH2kTbnn8f3FzmMnOZn bGX8Lo9QyeGB+lIgU6NjNKzhWUoqz3OEBkoT09A223SvcafAhZqGNm+rYY0+q1RK uipOZVZWt+XoMKKgaLIwWK8LF0zATboJvQOTk3OgOn2vxUNjoXqoEF6T0sq/W+nG VGUukICA/FHcXn8ot67ClcLXtofA8sYguvQwvJlGUJuayLdC7wRBql5wZLBHxlXx xelxyJ1plVPFPUGxsavhzi3jjNdxlMadqtpnBaI3Cg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejuddgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgfgsehtqhertd dtreejnecuhfhrohhmpeflohhoshhtucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgv rhhssehfrghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeekfeejveetfeekke duvdefgffgteekgeehieffffdtudefjedtudevudeigfelvdenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfh grshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ie15541ac:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 15 Jan 2024 11:54:31 -0500 (EST) User-agent: mu4e 1.10.7; emacs 29.1 From: Joost Kremers To: bug-gnu-emacs@gnu.org Subject: 29.1; bibtex-braced-string-syntax-table should handle non-ASCII parentheses Date: Mon, 15 Jan 2024 17:43:50 +0100 Message-ID: <86o7dmo7uj.fsf@p200300d62730c892f021caab3c1ebecc.dip0.t-ipconnect.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=66.111.4.25; envelope-from=joostkremers@fastmail.fm; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Consider the following BibTeX entry: ``` @article{Title, title =3D {{Title}}, author =3D {Author}, year =3D 1970, abstract =3D {=EF=BC=88}, journal =3D {Journal}, } ``` Note that the `abstract` field has a single opening FULLWIDTH OPENING PARENTHESIS (code point #xff08), not the (ASCII) LEFT PARENTHESIS. bibtex-m= ode cannot parse this entry correctly. (Do, e.g., `C-c C-c` on the entry, bound= to `bibtex-clean-entry` and you'll get a user error "Syntactically incorrect B= ibTeX entry starts here".) If the field contains an unmatched LEFT PARENTHESIS (code point #x28), bibtex-mode has to trouble parsing the entry. This is ultimately due to the fact that `bibtex-braced-string-syntax-table` contains an entry for the ASCII parentheses, setting them to 'punctuation',= but there is no similar entry for non-ASCII parentheses.=20 In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) Windowing system distributor 'The X.Org Foundation', version 11.0.12302003 System Description: Arch Linux Configured using: 'configure --sysconfdir=3D/etc --prefix=3D/usr --libexecdir=3D/usr/lib --with-tree-sitter --localstatedir=3D/var --with-cairo --disable-build-det= ails --with-harfbuzz --with-libsystemd --with-modules --with-x-toolkit=3Dgtk3 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3D2 -Wformat -Werror=3Dformat-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug/emacs -flto=3Dauto' 'LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=3Dauto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG= RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11= XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: TeX-PDF-mode: t TeX-source-correlate-mode: t display-fill-column-indicator-mode: t flycheck-indicator-mode: t global-flycheck-eglot-mode: t flycheck-posframe-mode: t flycheck-mode: t eldoc-box-hover-mode: t magit-auto-revert-mode: t mu4e-modeline-mode: t company-box-mode: t csv-field-index-mode: t minions-mode: t doom-modeline-mode: t which-key-mode: t global-atomic-chrome-edit-mode: t marginalia-mode: t all-the-icons-completion-mode: t company-prescient-mode: t prescient-persist-mode: t vertico-multiform-mode: t vertico-mode: t paredit-mode: t global-diff-hl-mode: t diff-hl-mode: t global-git-commit-mode: t aggressive-indent-mode: t flyspell-mode: t outline-minor-mode: t shell-dirtrack-mode: t hl-line-mode: t goggles-mode: t company-quickhelp-mode: t company-quickhelp-local-mode: t global-company-mode: t company-mode: t server-mode: t electric-pair-mode: t recentf-mode: t delete-selection-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t auto-save-visited-mode: t Load-path shadows: ~/.emacs.d/lisp/custom hides /usr/share/emacs/29.1/lisp/custom /home/joost/.emacs.d/elpa/transient-20240113.1627/transient hides /usr/shar= e/emacs/29.1/lisp/transient /home/joost/.emacs.d/elpa/use-package-20230426.2324/use-package hides /usr/= share/emacs/29.1/lisp/use-package/use-package /home/joost/.emacs.d/elpa/use-package-20230426.2324/use-package-lint hides = /usr/share/emacs/29.1/lisp/use-package/use-package-lint /home/joost/.emacs.d/elpa/use-package-20230426.2324/use-package-diminish hi= des /usr/share/emacs/29.1/lisp/use-package/use-package-diminish /home/joost/.emacs.d/elpa/bind-key-20230203.2004/bind-key hides /usr/share/= emacs/29.1/lisp/use-package/bind-key /home/joost/.emacs.d/elpa/use-package-20230426.2324/use-package-delight hid= es /usr/share/emacs/29.1/lisp/use-package/use-package-delight /home/joost/.emacs.d/elpa/use-package-20230426.2324/use-package-ensure hide= s /usr/share/emacs/29.1/lisp/use-package/use-package-ensure /home/joost/.emacs.d/elpa/use-package-20230426.2324/use-package-jump hides = /usr/share/emacs/29.1/lisp/use-package/use-package-jump /home/joost/.emacs.d/elpa/use-package-20230426.2324/use-package-core hides = /usr/share/emacs/29.1/lisp/use-package/use-package-core /home/joost/.emacs.d/elpa/use-package-20230426.2324/use-package-bind-key hi= des /usr/share/emacs/29.1/lisp/use-package/use-package-bind-key /home/joost/.emacs.d/elpa/eglot-20221020.1010/eglot hides /usr/share/emacs/= 29.1/lisp/progmodes/eglot /home/joost/.emacs.d/elpa/seq-2.24/seq hides /usr/share/emacs/29.1/lisp/ema= cs-lisp/seq Features: (shadow emacsbug vundo latex-mode-expansions auctex-settings latex latex-fl= ymake tex-ispell tex-style tex texmathp descr-text expand-region yaml-mode-expans= ions text-mode-expansions the-org-mode-expansions python-el-fgallina-expansions er-basic-expansions expand-region-core expand-region-custom edebug shortdoc org-ebib ebib-settings ebib ebib-reading-list ebib-notes ebib-filters ebib-keywords ebib-utils ebib-db parsebib tramp-sh view cl-print help-fns radix-tree display-fill-column-indicator flycheck-indicator flycheck-ledger flycheck-eglot flycheck-posframe flycheck eldoc-box magit-bookmark magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff magit-core magit-autorevert magit-margin magit-transient magit-process magit-mode ace-window avy vertico-buffer consult vc-git jump-char tabify org-autolist org-indent oc-b= asic ol-eww eww mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link= -doi org-capture qp smiley gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check visual-fill-column mu4e-settings gnus-dired mu4e mu4e-org mu4e-notification mu4e-main mu4e-view gnus-art mm-= uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader range mu4e-headers mu4e-compose mu4e-draft mu4e-actions smtpmail mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message flow-fill mu4e-contacts mu4e-update mu4e-folders mu4e-context mu4e-query-items mu4e-server mu4e-modeline mu4e-vars mu4e-helpers mu4e-conf= ig mu4e-window mu4e-obsolete misearch multi-isearch cus-edit cus-start cus-load mm-archive mule-util gnutls network-stream url-cache display-line-numbers jk-input-methods quail company-box company-box-doc frame-local company-box-= icons company-amelia amelia hi-lock go-translate gts-engine-youdao gts-engine-sta= rdict gts-engine-deepl gts-engine-google-rpc gts-engine-google gts-engine-bing gts-implements gts-faces gts-core wgrep-ag wgrep csv2ledger csv-mode sort parse-csv vterm bookmark term disp-table ehelp vterm-module term/xterm xterm nushell-ts-mode ielm minions doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path f nerd-icons nerd-icons-fa= ces nerd-icons-data nerd-icons-data-mdicon nerd-icons-data-flicon nerd-icons-data-codicon nerd-icons-data-devicon nerd-icons-data-sucicon nerd-icons-data-wicon nerd-icons-data-faicon nerd-icons-data-powerline nerd-icons-data-octicon nerd-icons-data-pomicon nerd-icons-data-ipsicon which-key atomic-chrome iimage image+ image-file image-converter marginalia all-the-icons-completion company-prescient prescient char-fold orderless vertico-multiform vertico dockerfile-mode sh-script smie executable impatient-mode htmlize jupyter python-pytest projectile lisp-mnt grep ibuf-= ext ibuffer ibuffer-loaddefs paredit eglot array jsonrpc ert debug backtrace flymake-proc flymake thingatpt warnings imenu ag vc-svn compile find-dired s diff-hl log-view vc-dir ewoc vc vc-dispatcher diff-mode git-commit magit-git magit-base magit-section cursor-sensor crm with-editor transient log-edit message yank-media rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader pcvs-util add-log autorevert filenotify aggressive-indent sendmail mail-uti= ls nswbuff finder-inf yaml-mode yaml guess-language flyspell ispell reftex reftex-loaddefs reftex-vars tab-jump-out yasnippet-snippets yasnippet company-org-block org-settings org-clock ob-jupyter jupyter-tramp tramp-cac= he time-stamp jupyter-server jupyter-server-kernel jupyter-rest-api url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr u= rl-gw nsm jupyter-org-extensions jupyter-org-client jupyter-repl jupyter-widget-c= lient websocket bindat simple-httpd pp jupyter-client jupyter-kernel jupyter-mona= ds thunk jupyter-messages hmac-def jupyter-mime shr text-property-search pixel= -fill kinsoku puny svg jupyter-kernelspec jupyter-env jupyter-base eieio-base ob-= shell ob-scheme ob-clojure ob-python python compat treesit org-element org-persis= t xdg org-id org-refile avl-tree dom org ob ob-tangle ob-ref ob-lob ob-table ob-e= xp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities noutline outline icons ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs find-func cal-= menu calendar cal-loaddefs org-version org-compat org-macs denote dired dired-loaddefs tramp tramp-loaddefs trampver tramp-integration tramp-compat= rx shell pcomplete comint ansi-osc ansi-color parse-time format-spec mixed-pit= ch face-remap biblio biblio-download biblio-dissemin biblio-ieee biblio-hal biblio-dblp biblio-crossref biblio-arxiv timezone biblio-doi biblio-core let-alist url-queue url-file ido hl-line bibtex iso8601 time-date adaptive-= wrap goggles pulse posframe hydra lv company-quickhelp pos-tip all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-file= icons data-faicons data-alltheicons company-keywords company-etags etags fileloop= xref project ring company-gtags company-dabbrev-code company-dabbrev company-ipa company-files company-clang company-cmake company-semantic company-template company-css company-capf company solarized-light-theme solarized-theme sola= rized solarized-faces color whitespace jk-functions advice dash eshell esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh= -util files-x notifications dbus xml cl-extra help-mode edmacro kmacro server elec-pair recentf tree-widget wid-edit delsel use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key use-package-core all-the-icons-completion-autoloads all-the-icons-autoloads apheleia-autoloads easy-mmode async-autoloads avy-autoloads clojure-mode-autoloads auctex-autoloads tex-site company-box-autoloads company-prescient-autoloads company-quickhelp-autoloads denote-autoloads devdocs-browser-autoloads diff-hl-autoloads docker-autoloads doom-modeline-autoloads eldoc-box-autoloads embark-consult-autoloads consult-autoloads embark-autoloads expand-region-autoloads flycheck-eglot-autoloads go-translate-autoloads goggles-autoloads groovy-mode-autoloads hydra-autoloads impatient-mode-autoloads company-auto= loads js2-mode-autoloads json-process-client-autoloads jsonian-autoloads jupyter-autoloads ledger-mode-autoloads lv-autoloads magit-autoloads git-commit-autoloads magit-section-autoloads marginalia-autoloads markdown-mode-autoloads minions-autoloads multiple-cursors-autoloads nerd-icons-autoloads numpydoc-autoloads nushell-ts-mode-autoloads orderless-autoloads org-modern-autoloads pdf-tools-autoloads popup-autoloads pos-tip-autoloads posframe-autoloads prescient-autoloads python-pytest-auto= loads projectile-autoloads f-autoloads simple-httpd-autoloads sly-overlay-autoloa= ds sly-autoloads solarized-theme-autoloads tab-jump-out-autoloads tablist-auto= loads tide-autoloads flycheck-autoloads dash-autoloads transient-autoloads use-package-autoloads vertico-autoloads vterm-autoloads vundo-autoloads web-mode-autoloads websocket-autoloads which-key-autoloads with-editor-auto= loads info compat-autoloads seq-autoloads yaml-autoloads yaml-mode-autoloads yasnippet-snippets-autoloads yasnippet-autoloads zmq-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-= parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib pcase rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomm= ent text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow is= earch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-v= iet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech eur= opean ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom w= idget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar = gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 2653847 352543) (symbols 48 76261 35) (strings 32 534865 15540) (string-bytes 1 15506595) (vectors 16 180209) (vector-slots 8 3582941 292982) (floats 8 2017 1459) (intervals 56 255629 6319) (buffers 984 50)) --=20 Joost Kremers Life has its moments From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 02 14:09:51 2025 Received: (at 68477) by debbugs.gnu.org; 2 Jan 2025 19:09:52 +0000 Received: from localhost ([127.0.0.1]:46697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTQZq-0001u7-UM for submit@debbugs.gnu.org; Thu, 02 Jan 2025 14:09:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44884) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTQZp-0001tk-5T for 68477@debbugs.gnu.org; Thu, 02 Jan 2025 14:09:49 -0500 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 1tTQZj-0005Ze-QA; Thu, 02 Jan 2025 14:09:43 -0500 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=nzqX7UfiMyA9AMFXZNUem2aHxxPuXP09aBKulU8zeB8=; b=Mtn3tAgtwNdCUipzerd1 ZW5RFi7azhKvNWe4ePyTFHTqaxNU/DPIVwadfHzIoXHSMqJYIsovAOL6AAC0lWQaCEzrwkzrZPp7a qm2Y9RjEDtTShceP+vRKBqzRPrlq3fRm16J5ndYhSnPBhzW9OQ2MhiRdHRXGJURQANh1oL7OUH/h/ K1JZck1+SAPicK+VIpNjCpuqU5aQWw9M1O4ZkyF7rL4ivnaANax3SSFUaYDbegpARrlhN/rJszFpn pDmh16FHoLgK7tP/Idd7nqm+TqFee9Tj7zAbUufSesOPFb57+S19tTM0wFogckf2p7UsRUXYBe6ox 9JQKjBYeM0rBiw==; From: Roland Winkler To: Joost Kremers Subject: Re: bug#68477: 29.1; bibtex-braced-string-syntax-table should handle non-ASCII parentheses References: <86o7dmo7uj.fsf@p200300d62730c892f021caab3c1ebecc.dip0.t-ipconnect.de> Date: Thu, 02 Jan 2025 13:09:41 -0600 In-Reply-To: <86o7dmo7uj.fsf@p200300d62730c892f021caab3c1ebecc.dip0.t-ipconnect.de> (Joost Kremers's message of "Mon, 15 Jan 2024 17:43:50 +0100") Message-ID: <87o70pf2x6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68477 Cc: 68477@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Mon, Jan 15 2024, Joost Kremers wrote: > Consider the following BibTeX entry: > > ``` > @article{Title, > title =3D {{Title}}, > author =3D {Author}, > year =3D 1970, > abstract =3D {=EF=BC=88}, > journal =3D {Journal}, > } > ``` > > Note that the `abstract` field has a single opening FULLWIDTH OPENING > PARENTHESIS (code point #xff08), not the (ASCII) LEFT > PARENTHESIS. bibtex-mode cannot parse this entry correctly. (Do, e.g., > `C-c C-c` on the entry, bound to `bibtex-clean-entry` and you'll get a > user error "Syntactically incorrect BibTeX entry starts here".) > > If the field contains an unmatched LEFT PARENTHESIS (code point #x28), > bibtex-mode has no trouble parsing the entry. > > This is ultimately due to the fact that > `bibtex-braced-string-syntax-table` contains an entry for the ASCII > parentheses, setting them to 'punctuation', but there is no similar > entry for non-ASCII parentheses. 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? (Though, I do not know how common a problem are such unpaired non-ascii parentheses in BibTeX files.) From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 02 15:14:03 2025 Received: (at 68477) by debbugs.gnu.org; 2 Jan 2025 20:14:04 +0000 Received: from localhost ([127.0.0.1]:46858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTRZy-0005jI-J6 for submit@debbugs.gnu.org; Thu, 02 Jan 2025 15:14:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35482) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTRZx-0005io-1R for 68477@debbugs.gnu.org; Thu, 02 Jan 2025 15:14:01 -0500 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 1tTRZr-0001GY-Np; Thu, 02 Jan 2025 15:13:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Z/IyIsB21MFZ8o9g09RWUVz2BrgyzVtd7+ge2MWx+xA=; b=ApFHuY+LFTnO NiKVucvrDJrZE+cZf7XMrOpCGA68Ro6CFYLIxR/Zte/GGBOKK2d6LMYcETxvrtb9C9tMykqJteSwi SplABXe+OchHVBLQuc9Q8vixN6/Lexs9uYUC74OXFtBN3zZkoMoiG6Sqpz2t8FsYACDub9u2B/nbP z6nYSWVxKONtZbufMmOP3Ga5h/Q474MmjEatlxvgbr7irgApPvOssETMbNDxwzPpgvRiDAUJVyeR4 eWgEha8oxQN2+BKN30zP1rFCIGXkImyojNQIUSOHKV+bLkPxOPgDeNyPvzvnIgdxEuW34PRSpy7Cp WlWSvDMXtOObBRDrOyWpFA==; Date: Thu, 02 Jan 2025 22:13:51 +0200 Message-Id: <86pll5ht34.fsf@gnu.org> From: Eli Zaretskii To: Roland Winkler In-Reply-To: <87o70pf2x6.fsf@gnu.org> (message from Roland Winkler on Thu, 02 Jan 2025 13:09:41 -0600) Subject: Re: bug#68477: 29.1; bibtex-braced-string-syntax-table should handle non-ASCII parentheses References: <86o7dmo7uj.fsf@p200300d62730c892f021caab3c1ebecc.dip0.t-ipconnect.de> <87o70pf2x6.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68477 Cc: joostkremers@fastmail.fm, 68477@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 68477@debbugs.gnu.org > From: Roland Winkler > Date: Thu, 02 Jan 2025 13:09:41 -0600 > > > Note that the `abstract` field has a single opening FULLWIDTH OPENING > > PARENTHESIS (code point #xff08), not the (ASCII) LEFT > > PARENTHESIS. bibtex-mode cannot parse this entry correctly. (Do, e.g., > > `C-c C-c` on the entry, bound to `bibtex-clean-entry` and you'll get a > > user error "Syntactically incorrect BibTeX entry starts here".) > > > > If the field contains an unmatched LEFT PARENTHESIS (code point #x28), > > bibtex-mode has no trouble parsing the entry. > > > > This is ultimately due to the fact that > > `bibtex-braced-string-syntax-table` contains an entry for the ASCII > > parentheses, setting them to 'punctuation', but there is no similar > > entry for non-ASCII parentheses. > > 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? From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 02 15:58:58 2025 Received: (at 68477) by debbugs.gnu.org; 2 Jan 2025 20:58:58 +0000 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 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 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==; From: Roland Winkler To: Eli Zaretskii Subject: Re: bug#68477: 29.1; bibtex-braced-string-syntax-table should handle non-ASCII parentheses In-Reply-To: <86pll5ht34.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Jan 2025 22:13:51 +0200") References: <86o7dmo7uj.fsf@p200300d62730c892f021caab3c1ebecc.dip0.t-ipconnect.de> <87o70pf2x6.fsf@gnu.org> <86pll5ht34.fsf@gnu.org> Date: Thu, 02 Jan 2025 14:58:45 -0600 Message-ID: <87frm1exve.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68477 Cc: joostkremers@fastmail.fm, 68477@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 03 01:40:46 2025 Received: (at 68477) by debbugs.gnu.org; 3 Jan 2025 06:40:46 +0000 Received: from localhost ([127.0.0.1]:49254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTbMQ-0004OO-R3 for submit@debbugs.gnu.org; Fri, 03 Jan 2025 01:40:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58820) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTbMO-0004OB-QB for 68477@debbugs.gnu.org; Fri, 03 Jan 2025 01:40:41 -0500 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 1tTbMJ-000373-8y; Fri, 03 Jan 2025 01:40:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2CENO8Qvrg/np+ywJijNsViqnrzdrip3YHmCG8nQNyw=; b=b4k43H+Vl+2J S/IOZ9jcmGSnjKToiw4aHacxElYhLJWb6lCoWvoVU8qLUFQ1XoQDpco8W4eXBrV7Qfy4pogn2iax8 8M+af+c2ddm5tr3Pqsxl1cmSVFQesiqX4zxW8DC9I+ROvM94MaSyOmlkyRezTtjNfDqXybfyoe8zs zacIiKZVzxu0Kuay8e+13A/5f4fHuv2MuHZJEamp1CKMXPlUyaplAQYGXlw1IXb7aIpGP4lBsV4Sf U20vsnsNIGjW5JJotFYbobHXmZ77M7ENYyF459NhT0S+R2GCVDml+7kmCTnZ1Cz87lF/kdB1zymLV vYdmLwJ+EwwWjFATtxulAw==; Date: Fri, 03 Jan 2025 08:40:30 +0200 Message-Id: <86bjwoien5.fsf@gnu.org> From: Eli Zaretskii To: Roland Winkler In-Reply-To: <87frm1exve.fsf@gnu.org> (message from Roland Winkler on Thu, 02 Jan 2025 14:58:45 -0600) Subject: Re: bug#68477: 29.1; bibtex-braced-string-syntax-table should handle non-ASCII parentheses References: <86o7dmo7uj.fsf@p200300d62730c892f021caab3c1ebecc.dip0.t-ipconnect.de> <87o70pf2x6.fsf@gnu.org> <86pll5ht34.fsf@gnu.org> <87frm1exve.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68477 Cc: joostkremers@fastmail.fm, 68477@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Roland Winkler > Cc: joostkremers@fastmail.fm, 68477@debbugs.gnu.org > Date: Thu, 02 Jan 2025 14:58:45 -0600 > > 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. Please elaborate on "treat these extra parentheses as punctuation". Also, does map-char-table provide you with the means to do what is needed for bibtex? Syntax table is a char-table, so if you want to do something with all the characters of a certain syntax, you can do that using map-char-table, I think. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 03 09:24:47 2025 Received: (at 68477) by debbugs.gnu.org; 3 Jan 2025 14:24:47 +0000 Received: from localhost ([127.0.0.1]:50125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTibR-0001oe-2v for submit@debbugs.gnu.org; Fri, 03 Jan 2025 09:24:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37994) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTibG-0001oE-Qc for 68477@debbugs.gnu.org; Fri, 03 Jan 2025 09:24:36 -0500 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 1tTibA-0000DW-Q6; Fri, 03 Jan 2025 09:24:24 -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=wBJf2MJlGNhKqzZ2Z1LjWPZ0QGOGRzrOgIGCSQLt4Wo=; b=XhO0pTUYh1lqWHWi0gb0 rfD5AaCT47BVN9pKTersOrHDOsjnAubuGsdiECynhdn4iHO2kwblq60TJ5qRXX1LwV2/nUtyalDru xCr574ACmi8iPRSqKrQ2dA69UrDwJBYjMkYJmKHmmIzTzjnL3HqXj90uWsuh90MdZSV6ii5Gdp+AO RsJhySw3x7Ne5d3T34U25RNrDuBL71aEA2cj52FphZPUCAcKW5Il9lLq3rHH4tY+g+rvs/kcu8dBf XPIdKQ2T9d8EtwOJTNHgGCL0oLXdthowyvpyb7mgxTZvGXuhA6lktakp/Jzoii6Cgxtsoe5Gt20NK nmKV4Tuwbp+liw==; From: Roland Winkler To: Eli Zaretskii Subject: Re: bug#68477: 29.1; bibtex-braced-string-syntax-table should handle non-ASCII parentheses In-Reply-To: <86bjwoien5.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 03 Jan 2025 08:40:30 +0200") References: <86o7dmo7uj.fsf@p200300d62730c892f021caab3c1ebecc.dip0.t-ipconnect.de> <87o70pf2x6.fsf@gnu.org> <86pll5ht34.fsf@gnu.org> <87frm1exve.fsf@gnu.org> <86bjwoien5.fsf@gnu.org> Date: Fri, 03 Jan 2025 08:23:48 -0600 Message-ID: <87ttagc6x7.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68477 Cc: joostkremers@fastmail.fm, 68477@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Fri, Jan 03 2025, Eli Zaretskii wrote: > Please elaborate on "treat these extra parentheses as punctuation". bibtex-braced-string-syntax-table gives curly braces the syntax of parenthesis characters using (modify-syntax-entry ?\{ "(}" st) (modify-syntax-entry ?\} "){" st) but square and round parentheses are treated as punctuation using (modify-syntax-entry ?\[ "." st) (modify-syntax-entry ?\] "." st) (modify-syntax-entry ?\( "." st) (modify-syntax-entry ?\) "." st) The goal is to do the latter with all non-ascii parentheses. > Also, does map-char-table provide you with the means to do what is > needed for bibtex? Syntax table is a char-table, so if you want to do > something with all the characters of a certain syntax, you can do that > using map-char-table, I think. Thanks, yes, map-char-table should be exactly what is needed for bibtex-braced-string-syntax-table: for any non-ascii character where char-syntax says it belongs to the syntax class of parenthesis characters, its syntax needs to be changed to punctuation. (When I was looking for a solution I had checked the section on syntax tables in the elisp manual. But map-char-table is obviously in the section on character tables.) From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 07 14:51:07 2025 Received: (at 68477-done) by debbugs.gnu.org; 7 Jan 2025 19:51:07 +0000 Received: from localhost ([127.0.0.1]:44779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVFbX-0002j7-Bj for submit@debbugs.gnu.org; Tue, 07 Jan 2025 14:51:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40692) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVFbV-0002iZ-Or for 68477-done@debbugs.gnu.org; Tue, 07 Jan 2025 14:51:06 -0500 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 1tVFbQ-0002Hd-Bj; Tue, 07 Jan 2025 14:51:00 -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=xiBg5jWMbBONgY2uTWLSKnjz53f4at8GTE732Xb0FRo=; b=JcrvQubMoIixB3iRgxlM tjH0wUIY5M7F6Tbx6enfq6tngvlgnqtVHrXk0hEn7N7IHILJZvdF9nBWigbD/3TgQ9vq/d166kimY LmmOGfgkSd5N7s+yBFNrFS5U7+Rbtjm3JeQh5lxVZFQncwbpNZbSqGlLK9TEfMlSEMuQsSuyTNjQi bknThYlgfcbNR3mVSgNzl0j8RU5SBlYvk2+gfWCQ9C+BW68aj6CQ45tSGbV/ZnsDkquEiVK+Vs5r9 QkkF7IlMmgI/zTssbYpN71QdVoH/Z5AjAgMCTKCgixil4Us1ttTvGiH1OiC4HXgV9HayHcu9qg2Fa 3O8eUN7qCOQhDA==; From: Roland Winkler To: Eli Zaretskii Subject: Re: bug#68477: 29.1; bibtex-braced-string-syntax-table should handle non-ASCII parentheses In-Reply-To: <87ttagc6x7.fsf@gnu.org> (Roland Winkler's message of "Fri, 03 Jan 2025 08:23:48 -0600") References: <86o7dmo7uj.fsf@p200300d62730c892f021caab3c1ebecc.dip0.t-ipconnect.de> <87o70pf2x6.fsf@gnu.org> <86pll5ht34.fsf@gnu.org> <87frm1exve.fsf@gnu.org> <86bjwoien5.fsf@gnu.org> <87ttagc6x7.fsf@gnu.org> Date: Tue, 07 Jan 2025 13:50:58 -0600 Message-ID: <8734hu5rod.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68477-done Cc: joostkremers@fastmail.fm, 68477-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Fri, Jan 03 2025, Roland Winkler wrote: > On Fri, Jan 03 2025, Eli Zaretskii wrote: >> Also, does map-char-table provide you with the means to do what is >> needed for bibtex? Syntax table is a char-table, so if you want to do >> something with all the characters of a certain syntax, you can do that >> using map-char-table, I think. > > Thanks, yes, map-char-table should be exactly what is needed for > bibtex-braced-string-syntax-table: for any non-ascii character where > char-syntax says it belongs to the syntax class of parenthesis > characters, its syntax needs to be changed to punctuation. Thanks again, map-char-table solved the problem. Commit 1ef7deb2f72 Closing. From unknown Fri Jun 20 07:15:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 05 Feb 2025 12:24:15 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator