Sean Whitton <[email protected]> writes:
> Hello,
>
> On Mon 02 Sep 2024 at 08:39pm GMT, Philip Kaludercic wrote:
>
>> How about this suggestion: We add a generic kill-region-or-word
>> command, and a user option for a function (set to either
>> `backward-kill-word' or Sean's `unix-word-rubout'). I can prepare a
>> patch with the simpler version, and then Sean can add his behaviour in a
>> second patch so that the attribution remains correct.
>
> I think a tristate option is preferable to this.
It would still be a user options with three states:
- nil (default, don't delete a word)
- #'backward-kill-word
- #'unix-word-rubout
> If the user wants something of their own they can just write their own
> command.
Sure, but going by that logic we don't need this change at all.
--
Philip Kaludercic on peregrine