emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accidental change of behaviour for electric-layout-mode?


From: João Távora
Subject: Re: Accidental change of behaviour for electric-layout-mode?
Date: Tue, 24 Sep 2024 13:12:24 +0100

No, it wasn't.  I was probably experimenting with something.

You can revert it (or make it optional), etc.

João

On Tue, Sep 24, 2024 at 12:24 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Morgan Willcock <morgan@ice9.digital>
> > Date: Mon, 23 Sep 2024 21:58:13 +0100
> >
> > It looks like Emacs 30 is now allowing electric-layout-mode to insert
> > newlines inside comments and strings, whereas previous versions seem to
> > explicitly stop this from happening.
> >
> > The commit that does it is b1f8d98a119ab8845d25d80c480cde6e385d8749
> > (Eglot: rework eglot-imenu) which doesn't mention electric-layout-mode
> > in the commit message or the associated bug report (58431).
> >
> > I think it may have been done accidentally and is likely not a backwards
> > compatible change.
> >
> > (I actually wanted the new behaviour and only found this because my
> > tests for newline insertion failed on Emacs 27, 28, and 29.  Making the
> > new behaviour opt-in would be nice, so I could send a patch to do that
> > if the previous change does look to have been accidental.)
>
> João, was that change intentional, and if so, what was its reasons?
>
> Thanks.



-- 
João Távora



reply via email to

[Prev in Thread] Current Thread [Next in Thread]