[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: |
Robert Pluim |
Subject: |
bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted |
Date: |
Thu, 12 May 2022 10:25:03 +0200 |
>>>>> On Thu, 12 May 2022 08:40:53 +0300, Eli Zaretskii <eliz@gnu.org> said:
>> 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?
Eli> Is cycle-spacing bound to some key sequence in some modes? If so, we
Eli> should ask users of those modes, because as long as cycle-spacing can
Eli> only be invoked via M-x, I don't believe another state would matter
Eli> much.
Not as far as I can tell. Having tried it, Iʼd even be tempted to make
`cycle-spacing' be the default for M-SPC (itʼs only been around for a
decade or so, how did I never know about it?)
Robert
--
- bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted, (continued)
- bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted, Tassilo Horn, 2022/05/16
- bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted, Lars Ingebrigtsen, 2022/05/16
- bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted, Tassilo Horn, 2022/05/16
- bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted, Robert Pluim, 2022/05/17
- bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted, Robert Pluim, 2022/05/17
- bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted, Tassilo Horn, 2022/05/17
- bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted, Robert Pluim, 2022/05/17
- bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted, Robert Pluim, 2022/05/16
- bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted, Tassilo Horn, 2022/05/12
bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted, Eli Zaretskii, 2022/05/12