Subject: bug#79047: closed (Re: bug#79047: Add some multi-character pairs to some major modes.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 09 Aug 2025 10:46:02 +0000

Your bug report

#79047: Add some multi-character pairs to some major modes.

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
79047: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79047
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#79047: Add some multi-character pairs to some major modes.
From: Eli Zaretskii <[email-masked]>
To: Elijah Gabe Pérez <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked], [email-masked]
Date: Sat, 09 Aug 2025 13:44:56 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Elijah Gabe Pérez <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked],  [email-masked]
> 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.)

Subject: Add some multi-character pairs to some major modes.
From: Elijah Gabe Pérez <[email-masked]>
To: [email-masked]
Date: Fri, 18 Jul 2025 20:04:12 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

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.