unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: [External] : Re: master 6362f65474: Add new command `duplicate-line'
Date: Tue, 21 Jun 2022 07:06:47 +0200	[thread overview]
Message-ID: <CAO48Bk9y=OvpP47g=kPraShdGaGVydh9m8=BrKmcQdFDFe7=xg@mail.gmail.com> (raw)
In-Reply-To: <83h74fmw3b.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]

As such it is not a problem, but it's convenient. Say I want to duplicate a
line and paste something I yanked before after the first word in the line.
With my bindings:
Ctrl-a (beginning of line)
Ctrl-c D (duplicate line)
Esc-f (forward-word)
Ctrl-Y (paste)
Which is somehow quick and convenient.

I've been using this duplicate-line stuff for some time and it's only
afterwards that I have become aware of it being offered in other editors.

/PA

On Mon, 20 Jun 2022 at 13:08, Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> > Date: Mon, 20 Jun 2022 07:56:15 +0200
> >
> > If I wrote the duplicate-line-or-region, it wasn't because of any other
> editor having whatever... It was just
> > because I sometimes need to duplicate things and don't want them to
> appear in the kill-ring.
>
> Why is it a problem for something to appear in the kill-ring?
>


-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet

[-- Attachment #2: Type: text/html, Size: 1861 bytes --]

  reply	other threads:[~2022-06-21  5:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20  5:56 RE: [External] : Re: master 6362f65474: Add new command `duplicate-line' Pedro Andres Aranda Gutierrez
2022-06-20 11:07 ` Eli Zaretskii
2022-06-21  5:06   ` Pedro Andres Aranda Gutierrez [this message]
2022-06-21 10:19     ` Eli Zaretskii
2022-06-21 12:50       ` \\[universal-argument] not working? Robert Pluim
2022-06-21 13:02         ` Stefan Kangas
2022-06-21 13:12           ` Robert Pluim
2022-06-21 13:02         ` Eli Zaretskii
2022-06-21 13:13         ` Lars Ingebrigtsen
2022-06-22  5:34       ` [External] : Re: master 6362f65474: Add new command `duplicate-line' Pedro Andres Aranda Gutierrez
     [not found] <165548727183.24473.6170306052807994962@vcs2.savannah.gnu.org>
     [not found] ` <20220617173432.17B6FC00BAF@vcs2.savannah.gnu.org>
2022-06-17 17:44   ` Visuwesh
2022-06-18 16:30     ` Ergus
2022-06-19 11:06       ` Lars Ingebrigtsen
2022-06-19 17:10         ` [External] : " Drew Adams

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='CAO48Bk9y=OvpP47g=kPraShdGaGVydh9m8=BrKmcQdFDFe7=xg@mail.gmail.com' \
    --to=paaguti@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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).