GNU bug report logs -
#69097
[PATCH] Add 'kill-region-or-word' command
Previous Next
Reported by: Philip Kaludercic <philipk <at> posteo.net>
Date: Tue, 13 Feb 2024 09:57:02 UTC
Severity: normal
Tags: patch
Done: Sean Whitton <spwhitton <at> spwhitton.name>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Philip Kaludercic <philipk <at> posteo.net>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, stefankangas <at> gmail.com,
> acorallo <at> gnu.org, juri <at> linkov.net, rms <at> gnu.org, 69097 <at> debbugs.gnu.org
> Date: Mon, 09 Sep 2024 19:23:32 +0000
>
> > Hello Eli,
> >
> > Any comments on v4? I'd like to commit to unblock Philip. Thanks!
>
> Here is my updated patch. If you want to, you can push both at once so
> that we can close the issue more quickly as soon as Eli has time to take
> a look:
I'm okay with installing both patches, but please first fix the few
minor nits below:
> +---
> +** New user option 'kill-word-dwim'.
> +This option will modify the fall-back behaviour of 'kill-region' if no
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"This option, if non-nil, modifies the fall-back behavior..."
> +region is active, and will kill the last word instead of raising an
> +error.
This should also say explicitly that users who turn off Transient Mark
mode will need to either activate the region ("C-x C-x" etc.) or
invoke the new word-rubout commands by hand, since otherwise the
region is never active for them.
> +(defcustom kill-region-dwim nil
> + "Behaviour when `kill-region' is invoked without an active region.
> +If set to nil (default), the behaviour of `kill-region' stays the same.
^^^^^^^^^ ^^^^^^^^^^^^^^
"behavior", US English spelling.
The same as what?
Thanks.
This bug report was last modified 243 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.