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: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 77823 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#77823: 31.0.50; M-j regression since commit 4c6b1712a4d
Date: Tue, 22 Apr 2025 13:36:09 -0600
[Message part 1 (text/plain, inline)]
Sean Whitton writes:

> Hello,
>
> Okay, thanks, I understand better now what you're trying to accomplish.
>
> 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?
>

Honestly, I always had in mind that it would be for comments.

So if your type /*, it will automatically insert
/*  */
  ^ cursor in middle both spaces

(including spaces an maybe newlines)

It was similar to what I saw in the cc modes and smartparens-mode

If that's right, then I'm not sure a new electric minor mode is the
> right thing.  We already have abbrevs and skeletons which work for this
> sort of thing.  Indeed, this is exactly how sh-case is already
> implemented.


But those do not expand immediately AFAIK; like if you type "{"
[Message part 2 (text/html, inline)]

This bug report was last modified 23 days ago.

Previous Next


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