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


Message #11 received at 79047 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Eli Zaretskii <eliz <at> gnu.org>,
 Elijah Gabe Pérez <eg642616 <at> gmail.com>
Cc: 79047 <at> debbugs.gnu.org, acm <at> muc.de, John Muhl <jm <at> pub.pink>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#79047: Add some multi-character pairs to some major modes.
Date: Sat, 19 Jul 2025 11:00:21 +0000
Hello, Eli.

Thanks for the heads up!

On Sat, Jul 19, 2025 at 09:42:52 +0300, Eli Zaretskii wrote:
> > From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
> > 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
> >      "/*" "*/"

Elijah, I'm speaking here from the point of view of CC Mode.

What exactly do you mean by "adding" these multi-character pairs?  What
would the user see that she doesn't already see?

Or are you talking about doing something we already do, but in a
different way?

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

> > What do you think?

> When discussing in a bug report issues related to some specific
> packages, it is usually a good idea to CC the authors/developers of
> those packages, because we cannot be sure they track the bug-gnu-emacs
> list all the time.

> I've now added people who I think are relevant to your proposal.

> Thanks.

-- 
Alan Mackenzie (Nuremberg, Germany).




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.