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: Wed, 01 Jun 2011 12:48:15 +0100 Message-ID: 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 1306929360 25465 80.91.229.12 (1 Jun 2011 11:56:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2011 11:56:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 01 13:55:56 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 1QRk1k-0008J1-4W for ged-emacs-devel@m.gmane.org; Wed, 01 Jun 2011 13:55:56 +0200 Original-Received: from localhost ([::1]:33227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRk1j-0003zn-5k for ged-emacs-devel@m.gmane.org; Wed, 01 Jun 2011 07:55:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRjuR-0002M1-E5 for emacs-devel@gnu.org; Wed, 01 Jun 2011 07:48:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRjuP-0003NJ-TM for emacs-devel@gnu.org; Wed, 01 Jun 2011 07:48:23 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRjuP-0003GY-FP for emacs-devel@gnu.org; Wed, 01 Jun 2011 07:48:21 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QRjuG-0004FO-SU for emacs-devel@gnu.org; Wed, 01 Jun 2011 13:48:12 +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 ; Wed, 01 Jun 2011 13:48:12 +0200 Original-Received: from andrewjmoreton by 193.34.186.16 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Jun 2011 13:48:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.34.186.16 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:Twj5vw6sfMXG+YiU4NRwQBYhdbo= 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:140018 Archived-At: On Tue 31 May 2011, Davis Herring wrote: > On 05/29/2011 09:57 PM, Stefan Monnier wrote: >>>> I can see why you'd want that, >>> Well, good. Is there a way to get it? That's the question. >> >> AFAICT, there is no way to get it in the general and default case (when >> bidi-display-reordering is non-nil), which is the only case which would >> make sense to solve. > > I think what Drew wants is to have in startup.el something like > > ;; ...load .emacs > (if (default-value 'bidi-display-reordering) > (global-set-key (kbd "") 'left-char) > (global-set-key (kbd "") 'backward-char)) > ;; ...and C-f, M-b, M-f, etc. 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. AndyM