From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: master 6362f65474: Add new command `duplicate-line' Date: Tue, 21 Jun 2022 13:19:59 +0300 Message-ID: <83czf2l3n4.fsf@gnu.org> References: <83h74fmw3b.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26709"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Pedro Andres Aranda Gutierrez Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 21 12:21:17 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 1o3b0X-0006nq-ID for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Jun 2022 12:21:17 +0200 Original-Received: from localhost ([::1]:55188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3b0W-00011K-8p for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Jun 2022 06:21:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3azT-0008BF-QK for emacs-devel@gnu.org; Tue, 21 Jun 2022 06:20:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3azT-0004QJ-HO; Tue, 21 Jun 2022 06:20:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=AxwwkjlOI+WqmGMo8cgDDjpLvyb3KEyCG3Rngc+Zxjg=; b=TgqxJIWJE7xh Jr8ImtbX8GidAnOIr4ybk8VEOYOBCrAb93sn8OAA1Jt+jTI2v5FXIW6R1M1+I2nzhUjaERMk0+RrB gdjtTeXaQjL+/0ClXWmhTayxlPU8lX180YAv5N28FwgLGzvLtHJvy+kgcJNi0KzNHfJUFAk19aIQi +Po6coO8PYPdwF7boIE7fjJ23xLDecqW1mymhixqibik0h1dXWS7/DOQ0ZSp811om3GCphDp6QM5t Hu8FtDmDJx8DX2dlG2vXdzJEwllsRuiaMH+E+SGmgEEdPTKZh0Jqm/+xBTZokMuYERi7twTqyiXiP 8v+aWJTj55zpiWsKo9ThJw==; Original-Received: from [87.69.77.57] (port=1315 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3azS-0007dw-If; Tue, 21 Jun 2022 06:20:11 -0400 In-Reply-To: (message from Pedro Andres Aranda Gutierrez on Tue, 21 Jun 2022 07:06:47 +0200) 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:291486 Archived-At: > From: Pedro Andres Aranda Gutierrez > Date: Tue, 21 Jun 2022 07:06:47 +0200 > Cc: emacs-devel > > 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. You mean, the problem is to say "C-u C-y" instead?