GNU bug report logs - #77823
31.0.50; M-j regression since commit 4c6b1712a4d

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Tue, 15 Apr 2025 11:29:02 UTC

Severity: normal

Found in version 31.0.50

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Elijah Gabe PƩrez <eg642616 <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 77823 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>, Sean Whitton <spwhitton <at> spwhitton.name>
Subject: bug#77823: 31.0.50; M-j regression since commit 4c6b1712a4d
Date: Tue, 22 Apr 2025 13:52:31 -0600
[Message part 1 (text/plain, inline)]
Juri Linkov <juri <at> linkov.net> escribió:

> > This isn't fundamentally about comments at all.  For example, these
> > multichar pairs could include the opening "case" and closing "esac" in a
> > shell script, right?
>
> Maybe 'electric-pair-mode' should support string delimiters
> in addition to characters, e.g.
>
>   (setopt electric-pair-pairs `(("case" . "esac")))
>

Right, but using case for this would be a downside from my POV, if you
write `case' in a comment for documentation it will auto insert `esac',
another idea is define a variable in electric-pairs for this kind of pairs
which specifies if a pair can be expanded in comments/strings.

>
[Message part 2 (text/html, inline)]

This bug report was last modified 24 days ago.

Previous Next


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