unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mattias Engdegård" <mattiase@acm.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: 56418@debbugs.gnu.org, Stefan Kangas <stefan@marxist.se>
Subject: bug#56418: Add duplicate-dwim [PATCH]
Date: Wed, 27 Jul 2022 11:01:36 +0200	[thread overview]
Message-ID: <3B75963B-773A-4646-A414-0D46C2E4D61F@acm.org> (raw)
In-Reply-To: <87tu746nhg.fsf@gmail.com>

26 juli 2022 kl. 14.56 skrev Robert Pluim <rpluim@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.






  reply	other threads:[~2022-07-27  9:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06  8:29 bug#56418: Add duplicate-dwim [PATCH] Mattias Engdegård
2022-07-08 10:05 ` Mattias Engdegård
2022-07-26 12:26   ` Mattias Engdegård
2022-07-26 12:46     ` Stefan Kangas
2022-07-26 12:56       ` Robert Pluim
2022-07-27  9:01         ` Mattias Engdegård [this message]
2022-07-29  3:54           ` Richard Stallman
2022-07-29  6:11             ` Eli Zaretskii
2022-08-04  4:01               ` Richard Stallman
2022-08-04 18:43                 ` Mattias Engdegård
2022-08-16 11:08                   ` Robert Pluim
2022-07-31  8:36             ` Mattias Engdegård
2022-08-01  3:33               ` Richard Stallman
2022-08-01 11:29                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B75963B-773A-4646-A414-0D46C2E4D61F@acm.org \
    --to=mattiase@acm.org \
    --cc=56418@debbugs.gnu.org \
    --cc=rpluim@gmail.com \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).