bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whites


From: Eli Zaretskii
Subject: bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted
Date: Thu, 12 May 2022 08:40:53 +0300

> Cc: 19267@debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Thu, 12 May 2022 04:16:06 +0200
> 
> > i.e., it first M-SPC only deletes whitespace after point but not before.
> > I don't really care if that's the first state (although that would be
> > plausible, i.e., states are cycled from more space to less spaces), but
> > at least it should be a reachable state.
> 
> (I'm going through old bug reports that unfortunately weren't resolved
> at the time.)
> 
> I think that sounds like a good feature -- we don't have any other
> commands for "delete all whitespace after point", do we?
> 
> We could implement this as a new third state for `cycle-spacing', and
> move the "restore" to the fourth state.  Does anybody think that will be
> annoying for people?

Is cycle-spacing bound to some key sequence in some modes?  If so, we
should ask users of those modes, because as long as cycle-spacing can
only be invoked via M-x, I don't believe another state would matter
much.





reply via email to

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