From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: arrow keys vs. C-f/b/n/p Date: Sat, 12 Jun 2010 13:28:25 +0300 Message-ID: <834oh8lf3q.fsf@gnu.org> References: <87d3w2ncqs.fsf_-_@lola.goethe.zz> <87iq5py7xk.fsf@stupidchicken.com> <6D176B89214E4EE2B2B376B182E5B80F@us.oracle.com> <19474.43413.742000.105784@gargle.gargle.HOWL> <1CFE4B21FCDB47739DED41440630E106@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1276338529 31345 80.91.229.12 (12 Jun 2010 10:28:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Jun 2010 10:28:49 +0000 (UTC) Cc: u.s.reddy@cs.bham.ac.uk, emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 12 12:28:47 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1ONNxH-0001wA-0V for ged-emacs-devel@m.gmane.org; Sat, 12 Jun 2010 12:28:47 +0200 Original-Received: from localhost ([127.0.0.1]:52815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONNxG-0008Ph-Bu for ged-emacs-devel@m.gmane.org; Sat, 12 Jun 2010 06:28:46 -0400 Original-Received: from [140.186.70.92] (port=50024 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONNwy-0008Ja-Qx for emacs-devel@gnu.org; Sat, 12 Jun 2010 06:28:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONNwx-0000g8-BX for emacs-devel@gnu.org; Sat, 12 Jun 2010 06:28:28 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:39577) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONNwx-0000fw-5C for emacs-devel@gnu.org; Sat, 12 Jun 2010 06:28:27 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L3W00600CW3VF00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 12 Jun 2010 13:28:25 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.119.36]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L3W005M9D3CJT40@a-mtaout22.012.net.il>; Sat, 12 Jun 2010 13:28:25 +0300 (IDT) In-reply-to: <1CFE4B21FCDB47739DED41440630E106@us.oracle.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:125801 Archived-At: > From: "Drew Adams" > Date: Fri, 11 Jun 2010 15:46:18 -0700 > Cc: emacs-devel@gnu.org > > And if we go with a preconceived idea that C-f should change directions > depending on the text surrounding the cursor (R2L vs L2R), then we are also > likely to go wrong. C-f does not change directions. It always goes forward in the buffer. The effect on the cursor position on the screen and direction of its change is another matter. > BTW, what do we do when point is at a boundary (R2L/L2R or L2R/R2L)? Which way > is forward? Same as always: towards the next buffer position. > I imagine that these questions are not new for R2L folks. Hasn't some sort of > standard behavior been worked out for buffers/documents that combine R2L and L2R > text? If so, how does that conventional behavior fit with Emacs? What's currently implemented in Emacs is what this "prior art" does and expects. > Will `forward-char' be DWIMed to fit R2L It shouldn't. forward-char should always go to the next character in buffer's logical order. If we don't do that, most Emacs features will stop working. > Eventually someone who knows better will chime in and set things > straight. ;-) I hope I did.