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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#79047: closed (Add some multi-character pairs to some major
 modes.)
Date: Sat, 09 Aug 2025 10:46:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 09 Aug 2025 13:44:56 +0300
with message-id <86bjoon593.fsf <at> gnu.org>
and subject line Re: bug#79047: Add some multi-character pairs to some major modes.
has caused the debbugs.gnu.org bug report #79047,
regarding Add some multi-character pairs to some major modes.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
79047: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79047
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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.


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Elijah Gabe Pérez <eg642616 <at> gmail.com>
Cc: 79047-done <at> debbugs.gnu.org, acm <at> muc.de, jm <at> pub.pink,
 monnier <at> iro.umontreal.ca
Subject: Re: bug#79047: Add some multi-character pairs to some major modes.
Date: Sat, 09 Aug 2025 13:44:56 +0300
> From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
> Cc: 79047 <at> debbugs.gnu.org,  acm <at> muc.de,  jm <at> pub.pink,  monnier <at> iro.umontreal.ca
> Date: Thu, 07 Aug 2025 23:37:35 -0600
> 
> >> Here is the patch:
> >
> > Thanks.  It LGTM, but why isn't the change in Texinfo called out in
> > NEWS, like you did with lua-ts-mode?
> 
> I'm not sure it needs to be in NEWS, it's a very small change.  In
> lua-ts-mode I announced it because it uses a new option to enable the
> feature.
> 
> However if it needs to be in NEWS, here is a patch which includes it:

Thanks, installed on the master branch and closing the bug.  (Please
in the future make sure to mention the bug number in the commit log
messages.)


This bug report was last modified 1 day ago.

Previous Next


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