From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#46621: Copy line Date: Tue, 21 Jun 2022 20:41:30 +0300 Organization: LINKOV.NET Message-ID: <861qvikk4l.fsf@mail.linkov.net> References: <87tuq99ova.fsf@mail.linkov.net> <07496A25-CD5D-46E6-8F1C-7BD29143F3C8@acm.org> <87o7yoyj38.fsf@gnus.org> <449B2624-107D-4083-AE74-989F39C93936@acm.org> <871qvkvft6.fsf@gnus.org> <181B4CC3-B934-45AE-A7E8-9AF2B70C302E@acm.org> <87bkum1eyc.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7728"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 46621@debbugs.gnu.org, Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Simen =?UTF-8?Q?Heggest=C3=B8yl?= To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 21 20:11:50 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1o3iLu-0001uA-CZ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Jun 2022 20:11:50 +0200 Original-Received: from localhost ([::1]:35596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3iLs-0008Ti-Mg for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Jun 2022 14:11:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3iL9-0008PG-0j for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 14:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39339) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3iL8-0008FX-NJ for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 14:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3iL8-0006sa-Gs for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 14:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Jun 2022 18:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46621 X-GNU-PR-Package: emacs Original-Received: via spool by 46621-submit@debbugs.gnu.org id=B46621.165583500926326 (code B ref 46621); Tue, 21 Jun 2022 18:11:02 +0000 Original-Received: (at 46621) by debbugs.gnu.org; 21 Jun 2022 18:10:09 +0000 Original-Received: from localhost ([127.0.0.1]:33227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3iKG-0006qY-Vi for submit@debbugs.gnu.org; Tue, 21 Jun 2022 14:10:09 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:42695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3iKD-0006pu-Jo for 46621@debbugs.gnu.org; Tue, 21 Jun 2022 14:10:08 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 49C201BF206; Tue, 21 Jun 2022 18:09:56 +0000 (UTC) In-Reply-To: <87bkum1eyc.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 21 Jun 2022 12:35:55 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234973 Archived-At: > I found the concept of "an easy command to duplicate the current line a > number of times" to be slightly useful in general, but I'm not sure > about whether extending it to regions makes much sense. If you have a > region already, then `M-w C-y' will be more convenient to say, anyway. This would also mean that the problem is a missing command that saves the current line to the kill-ring? If such a command existed, then duplicating the line would take two keys as well: the first key to save the current line to the kill-ring, and the second key to yank it.