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: `C-b' is backward-char, `left' is left-char - why? Date: Tue, 31 May 2011 10:39:14 -0400 Message-ID: References: <6F4054004B154CFB8E2753172D316C13@us.oracle.com> <4DE4F8D0.7010800@lanl.gov> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1306852775 18918 80.91.229.12 (31 May 2011 14:39:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 May 2011 14:39:35 +0000 (UTC) Cc: monnier@iro.umontreal.ca, drew.adams@oracle.com, emacs-devel@gnu.org To: Davis Herring Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 31 16:39:30 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 1QRQ6S-0006g6-1y for ged-emacs-devel@m.gmane.org; Tue, 31 May 2011 16:39:28 +0200 Original-Received: from localhost ([::1]:59868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRQ6R-0007su-MM for ged-emacs-devel@m.gmane.org; Tue, 31 May 2011 10:39:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRQ6L-0007oz-79 for emacs-devel@gnu.org; Tue, 31 May 2011 10:39:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRQ6F-0005bt-8o for emacs-devel@gnu.org; Tue, 31 May 2011 10:39:21 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:57695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRQ6F-0005bp-7O for emacs-devel@gnu.org; Tue, 31 May 2011 10:39:15 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QRQ6E-0008TS-9p; Tue, 31 May 2011 10:39:14 -0400 In-reply-to: <4DE4F8D0.7010800@lanl.gov> (message from Davis Herring on Tue, 31 May 2011 08:18:56 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:139974 Archived-At: > Date: Tue, 31 May 2011 08:18:56 -0600 > From: Davis Herring > Cc: Drew Adams , emacs-devel@gnu.org > > ;; ...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. > > along the lines of the other "preference detection" code like that for > unibyte. > > I don't know if this is a good idea, but it does solve his problem > without introducing `magic-backward/left-dwim-char' bound to C-b and . A "good solution", if it exists, should solve the problem of 2 different commands not only for Drew, but for users of bidi as well. If the problems raised by Drew are serious, they cannot be solved only for some users, and should certainly be solved in the default configuration.