> From: Philip Kaludercic <phil...@posteo.net> > Cc: spwhit...@spwhitton.name, stefankan...@gmail.com, acora...@gnu.org, > j...@linkov.net, r...@gnu.org, 69...@debbugs.gnu.org > Date: Tue, 03 Sep 2024 16:32:46 +0000 > > I've added the NEWS entry from the last iteration of the patch (now > actually as a patch, not just a diff):
Thanks. > +--- > +** New user option 'kill-word-if-no-region'. ^^^^^^^^^^^^^^^^^^^^^^ This is not the right name... > +(defcustom kill-region-dwim nil > + "Behaviour when `kill-region' is invoked without an active region. > +If set to nil (default), then an error occurs and nothing is killed. If > +set to `emacs-word', then kill a the last word as defined by the current ^^^^^^^^^^ The "a" part should be removed. > +major mode. If set to `unix-word', then kill the last word in the style > +of a shell like Bash, disregarding the major mode." > + :type '(choice (const :tag "Kill a word like `backward-kill-word'" > emacs-word) > + (const :tag "Kill a word like Bash would" unix-word) > + (const :tag "Do not kill anything" nil)) > + :group 'killing) :version still missing.