From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#46621: Copy line Date: Sat, 20 Feb 2021 14:03:41 +0100 Message-ID: <87ft1qq4b6.fsf@gnus.org> References: <87tuq99ova.fsf@mail.linkov.net> <87y2fkrypp.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19584"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46621@debbugs.gnu.org, Juri Linkov To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 20 14:04:18 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 1lDRvm-0004xJ-L0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 14:04:18 +0100 Original-Received: from localhost ([::1]:49346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDRvl-0001WZ-Ji for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 08:04:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDRvV-0001WG-VK for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 08:04:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDRvV-0007Pc-OD for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 08:04:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDRvV-0000bS-L0 for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 08:04:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Feb 2021 13:04:01 +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.16138262352306 (code B ref 46621); Sat, 20 Feb 2021 13:04:01 +0000 Original-Received: (at 46621) by debbugs.gnu.org; 20 Feb 2021 13:03:55 +0000 Original-Received: from localhost ([127.0.0.1]:51241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDRvP-0000b8-Dx for submit@debbugs.gnu.org; Sat, 20 Feb 2021 08:03:55 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:42864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDRvM-0000at-ID for 46621@debbugs.gnu.org; Sat, 20 Feb 2021 08:03:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=r2JWVZQQ/ia40Z4GOhw99LUHWnbc0E5ssJAAumWCFsM=; b=jUHZDvmm2TS8Sv+gF0BVifGUVp /SrjdTJ9Acu7DM32ULF17dhdo6IKbyZkHFXH79B32DiUVeVGoBvvRwSPzITTVp/Z5Qe1I0GcKzGyB DqvX3rdIOsIXdPyS6Ytf9TYPLnHvaQ/KHvgsGrh8CC1SDtUb9PbhrZHeY7rRzD0jiKfU=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lDRvC-0005rN-Vq; Sat, 20 Feb 2021 14:03:46 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAABVQTFRF rY92W0xALCYhDQwKi3NfnYFr////pUJmeQAAAAFiS0dEBmFmuH0AAAAHdElNRQflAhQNATVoltUI AAAA6ElEQVQ4y83UQQ6DIBAFUNqUfTEcoMIJCheQBPYsnPtfpcwMWKuS1KSL/sSF88aBBFWIH+Zi DnIvcPUHefwvOHsWvOlBd1RvcXMaursyxrv6lLHelMvbBx+Uw7NxWKxp4LcHWMF69y0YBt8B3E3n LVnu1dCDkj2Mo1JNGHjpWqYMqyfwXocmC3B7jCQ6hgpqUFxACTq8gdp1mmPLxIvzmAgQmy1QpiSA DAnW8MT+REBZgcZ+kABNKugynj67Uswiw1xhjElkBkkNcs4EZT+bDxYYEmyBgvBZkQ2m3g+gDJRx m6q33Ut6Hl74Mpq2QplZ5wAAABBlWElmSUkqAAgAAAAAAAAAAAAAAJw8uSgAAAAldEVYdGRhdGU6 Y3JlYXRlADIwMjEtMDItMjBUMTM6MDE6NTIrMDA6MDCrRG3PAAAAJXRFWHRkYXRlOm1vZGlmeQAy MDIxLTAyLTIwVDEzOjAxOjUyKzAwOjAw2hnVcwAAADh0RVh0aWNjOmNvcHlyaWdodABDb3B5cmln aHQgKGMpIDE5OTggSGV3bGV0dC1QYWNrYXJkIENvbXBhbnn5V3k3AAAAIXRFWHRpY2M6ZGVzY3Jp cHRpb24Ac1JHQiBJRUM2MTk2Ni0yLjFXrdpHAAAAJnRFWHRpY2M6bWFudWZhY3R1cmVyAElFQyBo dHRwOi8vd3d3LmllYy5jaBx/AEwAAAA3dEVYdGljYzptb2RlbABJRUMgNjE5NjYtMi4xIERlZmF1 bHQgUkdCIGNvbG91ciBzcGFjZSAtIHNSR0JEU0ipAAAAAElFTkSuQmCC X-Now-Playing: David Allred's _Felt The Transition_: "Randy and Susan (Solo Piano)" In-Reply-To: ("Daniel =?UTF-8?Q?Mart=C3=ADn?="'s message of "Fri, 19 Feb 2021 21:27:09 +0100") 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:200427 Archived-At: Daniel Mart=C3=ADn writes: > 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. Right; makes sense. > This has been a hot topic in Q&A sites: > https://stackoverflow.com/questions/88399/how-do-i-duplicate-a-whole-line= -in-emacs OK, so there seems to be some general demand for this command, so I think we should go ahead and add it, unless somebody strongly objects. > Also, why not name the command `duplicate-line'? I think it's a more > descriptive name and more discoverable via apropos (along with > `delete-duplicate-lines', for example). That does seem like an even better name for the command. What do you think, Juri? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no