unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: mattiase@acm.org, 56418@debbugs.gnu.org
Subject: bug#56418: Add duplicate-dwim [PATCH]
Date: Mon, 01 Aug 2022 14:29:52 +0300	[thread overview]
Message-ID: <8335eg42xb.fsf@gnu.org> (raw)
In-Reply-To: <E1oIMBG-0003ZS-A0@fencepost.gnu.org> (message from Richard Stallman on Sun, 31 Jul 2022 23:33:22 -0400)

> Cc: 56418@debbugs.gnu.org
> From: Richard Stallman <rms@gnu.org>
> Date: Sun, 31 Jul 2022 23:33:22 -0400
> 
>   > Roughly, duplicate-dwim is to duplicate-line as upcase-dwim is to upcase-word. Ie, the -dwim commands operate on the region if active.
> 
> I think there are already several commands that operate on the region
> if it is active, otherwise on some other textual unit.  Would it be
> bad for duplicate-line to do this?  Then we wouldn't need a separate
> duplicate-dwim.

That was suggested, but turned out to be too controversial.





      reply	other threads:[~2022-08-01 11:29 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
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 [this message]

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=8335eg42xb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=56418@debbugs.gnu.org \
    --cc=mattiase@acm.org \
    --cc=rms@gnu.org \
    /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).