GNU bug report logs - #56418
Add duplicate-dwim [PATCH]

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattiase <at> acm.org>

Date: Wed, 6 Jul 2022 08:30:02 UTC

Severity: wishlist

Tags: patch

Done: Mattias Engdegård <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


Message #27 received at 56418 <at> debbugs.gnu.org (full text, mbox):

From: Mattias Engdegård <mattiase <at> acm.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 56418 <at> debbugs.gnu.org, Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#56418: Add duplicate-dwim [PATCH]
Date: Wed, 27 Jul 2022 11:01:36 +0200
26 juli 2022 kl. 14.56 skrev Robert Pluim <rpluim <at> gmail.com>:

>    Stefan> How about simply replacing 'duplicate-line' with
>    Stefan> 'duplicate-dwim'?
> 
> I think both have merit, sometimes I just want to duplicate a line
> with worrying about the region.

While I have no particular wish to revisit this now, I will note that:

* Having two functions makes it harder to supply an standard key binding: we would have to select one of them since spending two key bindings is out of the question.

* As many other users I've bound M-u to upcase-dwim (etc) and not once has it bothered me that I can't upcase a word while marking a region.

* I'm not aware of any complaints whatsoever that the standard bindings for M-; and backspace force users to "worry about the region", 

However, peace and consensus is of higher importance and as far as I'm concerned this bug is closed, at least for now.





This bug report was last modified 2 years and 281 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.