From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#46621: Copy line Date: Sun, 21 Feb 2021 01:16:52 -0500 Message-ID: References: <87tuq99ova.fsf@mail.linkov.net> <87y2fkrypp.fsf@gnus.org> <87ft1qq4b6.fsf@gnus.org> <87o8ge8ugr.fsf@mail.linkov.net> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23153"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46621@debbugs.gnu.org, larsi@gnus.org, mardani29@yahoo.es To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 21 07:18:12 2021 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 1lDi4J-0005vb-BX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 07:18:11 +0100 Original-Received: from localhost ([::1]:33492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDi4I-0003zm-CC for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 01:18:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDi4A-0003xG-Qc for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 01:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41838) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDi4A-0004tj-HT for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 01:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDi4A-0002hN-Co for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 01:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Feb 2021 06:18: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.161388822610311 (code B ref 46621); Sun, 21 Feb 2021 06:18:02 +0000 Original-Received: (at 46621) by debbugs.gnu.org; 21 Feb 2021 06:17:06 +0000 Original-Received: from localhost ([127.0.0.1]:53384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDi3G-0002gF-5X for submit@debbugs.gnu.org; Sun, 21 Feb 2021 01:17:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDi3E-0002fg-Aq for 46621@debbugs.gnu.org; Sun, 21 Feb 2021 01:17:04 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58173) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDi37-0004Ji-Iq; Sun, 21 Feb 2021 01:16:58 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1lDi32-00055a-IY; Sun, 21 Feb 2021 01:16:53 -0500 In-Reply-To: <87o8ge8ugr.fsf@mail.linkov.net> (message from Juri Linkov on Sat, 20 Feb 2021 20:28:20 +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:200468 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > >> In programming modes, if you need to declare a bunch of variables, you > >> may duplicate the current line several times and then proceed to rename > >> them. I see the proposed new command may be useful in that scenario. Once in a while I want to do that. It is easy: C-a C-k C-k, they C-y as many times as needed. Instead of a command to duplicate the current line repeatedly, how about a command to yank the current kill repeatedly? That would be useful in a much broader range of situations. I wonder if the current meaning of the numeric argument to C-y (reach back in the kill ring) is actually useful. Would it be better for it to repeat the yank in this way? -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)