From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: C-n and C-a Date: Sat, 31 Jan 2009 14:35:28 -0800 Message-ID: <000601c983f4$387e7400$0200a8c0@us.oracle.com> References: <87wscdfxfs.fsf@jurta.org><8763jx1fvb.fsf@justinbogner.com> <873aez5tp8.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233441361 12485 80.91.229.12 (31 Jan 2009 22:36:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Jan 2009 22:36:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Juri Linkov'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 31 23:37:15 2009 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 1LTOSd-0005c9-Nu for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2009 23:37:11 +0100 Original-Received: from localhost ([127.0.0.1]:45870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTORL-0005sD-7x for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2009 17:35:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTORG-0005qL-J0 for emacs-devel@gnu.org; Sat, 31 Jan 2009 17:35:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTORE-0005oi-K8 for emacs-devel@gnu.org; Sat, 31 Jan 2009 17:35:45 -0500 Original-Received: from [199.232.76.173] (port=56031 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTORE-0005o4-E7 for emacs-devel@gnu.org; Sat, 31 Jan 2009 17:35:44 -0500 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:35379) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LTORD-00064D-2R for emacs-devel@gnu.org; Sat, 31 Jan 2009 17:35:43 -0500 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n0VMZb6e010655 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 31 Jan 2009 22:35:38 GMT Original-Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n0VMZW1b000582; Sat, 31 Jan 2009 22:35:33 GMT Original-Received: from dradamslap1 (/24.5.128.33) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 31 Jan 2009 14:35:31 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <873aez5tp8.fsf@jurta.org> Thread-Index: AcmDzdwKTmS3yVKiQ4ypjRoiBbLZMQAJFnEw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt703.oracle.com [141.146.40.81] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4984D237.002E:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:108482 Archived-At: > >> I think `C-up' and `C-down' are better keys for real line > >> motion commands when `up'/`C-p' and `down'/`C-n' are used > >> for screen line motion commands. > > > > C-up and C-down are too far away from the regular position > > of fingers to be useful as the only option for anything, one > > needs a C-p/C-n like equivalent binding. > > If we can't find key bindings equivalent to C-n/C-p/C-a/C-e/C-k > for real line commands in visual line mode then we should find > a key sequence to toggle visual line mode easily. 1. I don't use this mode and am ignorant of it. But when it is active, do you still also need the ordinary line movement bindings? If not, then why not reuse/co-opt those when the mode is active? 2. If you must use a binding for the mode toggle, then please set that binding only by visual-line mode itself. Let some command in the mode initialize the binding for the mode command (even if that binding is in the global map), so that users who never use the mode do not lose that binding to it. Somewhat a la mode `ffap-bindings'. > I propose `C-x n v' (similar to the related key `C-x C-n' plus `v' > that stands for "visual") or `C-x l v' (with the mnemonics of > "line visual"). 3. C-x n is the narrowing/widening prefix. This seems unrelated to narrowing. C-x n d narrow-to-defun C-x n n narrow-to-region C-x n p narrow-to-page C-x n w widen ... (future) 4. C-x l is count-lines-page.