GNU bug report logs - #79047
Add some multi-character pairs to some major modes.

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Sat, 19 Jul 2025 02:05:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: 79047 <at> debbugs.gnu.org
Subject: bug#79047: Add some multi-character pairs to some major modes.
Date: Fri, 18 Jul 2025 20:04:12 -0600
Since `electric-pair-mode` now supports multi-character pairs, it would
be better if some major modes add some of these pairs.

Before making the patch for this (and to avoid doing another regression
like bug#77823), here is a list of the modes and their possible pairs:

 - c-like modes
     "/*" "*/"
 - lua-ts-mode
     "--[" "--]"
 - texinfo-mode (idk which others one) (based in a Stefan Monnier idea)
     "``" "''"
 - lisp-mode (common-lisp-mode)
    "#|" "|#"

What do you think?

-- 
- E.G via GNU Emacs and Org.




This bug report was last modified 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.