From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: `C-b' is backward-char, `left' is left-char - why? Date: Thu, 02 Jun 2011 09:23:37 +0200 Organization: Organization?!? Message-ID: <87mxi07l3a.fsf@fencepost.gnu.org> References: <6F4054004B154CFB8E2753172D316C13@us.oracle.com> <4DE4F8D0.7010800@lanl.gov> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1306999637 25309 80.91.229.12 (2 Jun 2011 07:27:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2011 07:27:17 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 02 09:27:14 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 1QS2JF-0005EV-2J for ged-emacs-devel@m.gmane.org; Thu, 02 Jun 2011 09:27:13 +0200 Original-Received: from localhost ([::1]:59976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS2JE-0002JP-1B for ged-emacs-devel@m.gmane.org; Thu, 02 Jun 2011 03:27:12 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS2G1-0001dN-CN for emacs-devel@gnu.org; Thu, 02 Jun 2011 03:23:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QS2Fz-00072v-DN for emacs-devel@gnu.org; Thu, 02 Jun 2011 03:23:53 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:42469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS2Fy-00071o-J2 for emacs-devel@gnu.org; Thu, 02 Jun 2011 03:23:51 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QS2Fx-00041c-7r for emacs-devel@gnu.org; Thu, 02 Jun 2011 09:23:49 +0200 Original-Received: from p508ed33d.dip.t-dialin.net ([80.142.211.61]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Jun 2011 09:23:49 +0200 Original-Received: from dak by p508ed33d.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Jun 2011 09:23:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p508ed33d.dip.t-dialin.net X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:FB69aOdW00+8mtEQ4LsqaQxGqoU= 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:140050 Archived-At: Eli Zaretskii writes: >> From: Andy Moreton >> Date: Wed, 01 Jun 2011 12:48:15 +0100 >> >> The help strings for 'left-char and 'backward-char could use some work. >> It is unclear which moves according to screen display order and which >> moves according to buffer character order. > > I don't feel a need to invest "some work" on the doc string of > `backward-char', because that function has not changed in ages, > certainly not now. If its doc string is unclear, then I wonder how > did we all manage to use it all these years. > > Of course, I don't object if someone wants to work on that doc string. > > Regarding `left-char' and `right-char', the doc string says: > > Depending on the bidirectional context, this may move either > backward or forward in the buffer. > > Believe it or not, but I tried to make it more precise for a long > time, and this is the best I could come up with. Correct me if I am wrong, but may it not also _jump_ backward or forward in the buffer? If I use right-char to move in an L2R context from L2R text into a short embedded R2L text, I would expect it to move one position to the right, namely _jump_ to the end of the R2L text, move backwards over it till it comes to its beginning on the right, then _jump_ to the following L2R text after its end on the left. -- David Kastrup