From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: master 6362f65474: Add new command `duplicate-line' Date: Tue, 21 Jun 2022 07:06:47 +0200 Message-ID: References: <83h74fmw3b.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008c48ef05e1ee313e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22216"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 21 07:09:33 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3W8r-0005fp-4Q for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Jun 2022 07:09:33 +0200 Original-Received: from localhost ([::1]:36796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3W8q-0000jf-3Y for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Jun 2022 01:09:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3W6e-0007jS-NK for emacs-devel@gnu.org; Tue, 21 Jun 2022 01:07:22 -0400 Original-Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:34599) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3W6d-000753-5L; Tue, 21 Jun 2022 01:07:16 -0400 Original-Received: by mail-ed1-x532.google.com with SMTP id o10so17744974edi.1; Mon, 20 Jun 2022 22:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=broZg1efI3hdEeYisofxEJD3uUDtXLcXYGNulkyUEu0=; b=cxbnXuf6RTFP0JUjEzapCdhENp3fe7YPQVmAVHOJUQdYl+qxRQQQ2DqBVDGKvDi15J OREGGPCfzAJn8YV19N5nq40SsIKqkgoyfrP/VK35f9TEE0p7DO5QzoWzAOo+82P0ig69 j5UeCGv6xI2CAe024bvP5VLQB2fuBYEvtDJvIjHIOLhYb7RD8ZjLjiQJsC0ria2mseo0 eIR1ysyhPvxAmdcjtzGyn4+giZOvz5286G+xThcvzTblVbHcH/6i2fJADrt0K2d3qf3w FU4JmOnlOeW7a6GeUA6yJU+NgknEY4XYnRCcVHrIFItRDv2HwN7uG+KbLSuwo49LSLjU kFMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=broZg1efI3hdEeYisofxEJD3uUDtXLcXYGNulkyUEu0=; b=CV+7Lp/EnlonVyT/xbto+PpobcALxCo9BUfjXhSs/puOme2F4tzM18yXDfLYFniqqt WkJJpPQtkwa7z82v/RCChgyzyU6csAoIsptrjBoK9yOwQbUU8zQkhrshGRQ0nd8gAvQE OVOzUO7jPp1lATZJuCZHBjJasMLl9H8K+QyXRUxh71X08EIowqGeo9+/cjxUti9qL70J agsWsBUJ7DyuxI6z0JAnkPs5zODc3it1njFe/9GFVKdyzSTag4Jlb09VKSzbF4uimsuw 8Z6j30RD6+frJaO90AiVJiYcLJ9rdzouL+ABW4fH/yL+6/j8qFonMe6+IC4HsTsvJcWu XPTg== X-Gm-Message-State: AJIora/cKjVR7FdpoXJLbPCJksrnvDM+rnhZYz/juKLl7MK0QhLZkqjU jUPKWPbLlXPS8NGJMzIn9tg0bNHY1cehjtcZlmTyFDjXuaw= X-Google-Smtp-Source: AGRyM1vfEpQq5HcT1oNpCG5R4L1G/fwye22WJwECrfL7SDF1HiNbsskfj9BU/ewOosBcqqtSOp5khg0UOVQhn6SKYJc= X-Received: by 2002:a05:6402:2806:b0:431:87c8:b45e with SMTP id h6-20020a056402280600b0043187c8b45emr33804429ede.130.1655788033295; Mon, 20 Jun 2022 22:07:13 -0700 (PDT) In-Reply-To: <83h74fmw3b.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=paaguti@gmail.com; helo=mail-ed1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291482 Archived-At: --0000000000008c48ef05e1ee313e Content-Type: text/plain; charset="UTF-8" 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 wrote: > > From: Pedro Andres Aranda Gutierrez > > 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 --0000000000008c48ef05e1ee313e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 t= he first word in the line.
With my bindings:
Ctrl-a (be= ginning of line)
Ctrl-c D (duplicate line)
Esc-f (forwa= rd-word)
Ctrl-Y (paste)
Which is somehow quick and conv= enient.

I've been using this duplicate-line st= uff 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 t= o appear in the kill-ring.

Why is it a problem for something to appear in the kill-ring?


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

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

=
--0000000000008c48ef05e1ee313e--