From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: `C-b' is backward-char, `left' is left-char - why? Date: Thu, 02 Jun 2011 13:59:48 +0100 Message-ID: References: <6F4054004B154CFB8E2753172D316C13@us.oracle.com> <4DE4F8D0.7010800@lanl.gov> <82y61l16bg.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1307023107 2083 80.91.229.12 (2 Jun 2011 13:58:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2011 13:58:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 02 15:58:21 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QS8Pk-0000x4-Ni for ged-emacs-devel@m.gmane.org; Thu, 02 Jun 2011 15:58:20 +0200 Original-Received: from localhost ([::1]:50045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS8Pk-0003ag-3C for ged-emacs-devel@m.gmane.org; Thu, 02 Jun 2011 09:58:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS7V3-0005fJ-65 for emacs-devel@gnu.org; Thu, 02 Jun 2011 08:59:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QS7V1-00011C-BK for emacs-devel@gnu.org; Thu, 02 Jun 2011 08:59:44 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:50744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS7V1-00010m-08 for emacs-devel@gnu.org; Thu, 02 Jun 2011 08:59:43 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QS7Uy-0002FZ-B2 for emacs-devel@gnu.org; Thu, 02 Jun 2011 14:59:40 +0200 Original-Received: from 193.34.186.16 ([193.34.186.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Jun 2011 14:59:40 +0200 Original-Received: from andrewjmoreton by 193.34.186.16 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Jun 2011 14:59:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.34.186.16 Cancel-Lock: sha1:gXcrNTFY4/Oxt1gU/KIfp7pEk1s= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140064 Archived-At: On Thu 02 Jun 2011, Eli Zaretskii wrote: >> From: Andy Moreton >> Date: Thu, 02 Jun 2011 11:38:12 +0100 >> >> On Thu 02 Jun 2011, Eli Zaretskii wrote: > Maybe the following variant of the 2nd sentence sounds better: > > The effect on the screen is to place the cursor on the character N > buffer positions forward, which could be to the left or to the > right, depending on the bidirectional context. > > That's because Emacs doesn't really move point one character at a > time (when N is more than 1). I think that is definitely clearer than what we have now. Similar wording is also needed for backward-char, left-char and right-char as well. E.g. for right-char: --8<---------------cut here---------------start------------->8--- (right-char &optional N) Move point N characters to the right (to the left if N is negative). On reaching beginning or end of buffer, stop and signal error. The effect on the buffer is to place the cursor on the character N screen positions to the right, which could be forward or backward from the current position, depending on the bidirectional context. --8<---------------cut here---------------end--------------->8--- AndyM