all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Accidental change of behaviour for electric-layout-mode?
@ 2024-09-23 20:58 Morgan Willcock
  2024-09-24 11:23 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Morgan Willcock @ 2024-09-23 20:58 UTC (permalink / raw)
  To: emacs-devel

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.)

Morgan

-- 
Morgan Willcock



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-09-25 15:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23 20:58 Accidental change of behaviour for electric-layout-mode? Morgan Willcock
2024-09-24 11:23 ` Eli Zaretskii
2024-09-24 12:12   ` João Távora
2024-09-24 12:59     ` Eli Zaretskii
2024-09-24 18:59       ` Morgan Willcock
2024-09-24 19:03         ` Eli Zaretskii
2024-09-24 19:39           ` Morgan Willcock
2024-09-25 11:27             ` Eli Zaretskii
2024-09-25 13:50               ` Morgan Willcock
2024-09-25 15:57                 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.