From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: keybinding to duplicate the current line. Date: Mon, 18 Jan 2010 10:45:39 +0900 Message-ID: <87ljfwjid8.fsf@uwakimon.sk.tsukuba.ac.jp> References: <15900710.694901263748625688.JavaMail.www@wwinf4614> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263778676 11682 80.91.229.12 (18 Jan 2010 01:37:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Jan 2010 01:37:56 +0000 (UTC) Cc: Teemu Likonen , "Emacs Dev \[emacs-devel\]" To: alinsoar@voila.fr Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 18 02:37:48 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NWgYu-00081d-0V for ged-emacs-devel@m.gmane.org; Mon, 18 Jan 2010 02:37:48 +0100 Original-Received: from localhost ([127.0.0.1]:57136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWgYu-0004Jv-VK for ged-emacs-devel@m.gmane.org; Sun, 17 Jan 2010 20:37:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWgYq-0004JV-0k for emacs-devel@gnu.org; Sun, 17 Jan 2010 20:37:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWgYk-0004Fz-4X for emacs-devel@gnu.org; Sun, 17 Jan 2010 20:37:42 -0500 Original-Received: from [199.232.76.173] (port=45490 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWgYk-0004Fw-14 for emacs-devel@gnu.org; Sun, 17 Jan 2010 20:37:38 -0500 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:33864) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWgYj-0003aU-Ii for emacs-devel@gnu.org; Sun, 17 Jan 2010 20:37:37 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id 496E31537B5; Mon, 18 Jan 2010 10:37:35 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id B680B1A35F6; Mon, 18 Jan 2010 10:45:39 +0900 (JST) In-Reply-To: <15900710.694901263748625688.JavaMail.www@wwinf4614> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" a03421eb562b XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120179 Archived-At: A. Soare writes: > > > On 2010-01-17 16:32 (+0100), A. Soare wrote: > > > > >> C-a C-SPC C-n M-w C-y > > > > > > and this is true when line-move-visual is nil. > > > > I use it even when I have line-move-visual=t. > > Then you do something bad, or at least bad for me. True, that is a matter of personal preference and the data in front of you (eg, you might have line-move-visual on, but be working on code from a project with a strict line-length limit). But AIUI line-move-visual mode, doesn't C-a C-SPC C-e C-f M-w C-y do the wrong thing for you too? I almost never use long lines, but I would find it very strange if C-a and C-e didn't have the same concept of "line" as C-n and C-p do.