From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: right-char and left-char Date: Thu, 6 Oct 2011 15:45:53 -0700 Message-ID: <7468A6AF024347A3A3E25EC092F18570@us.oracle.com> References: <87k48it6g3.fsf@stupidchicken.com> <83pqiagew4.fsf@gnu.org> <8762k1ojy0.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317941179 28034 80.91.229.12 (6 Oct 2011 22:46:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 22:46:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Chong Yidong'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 07 00:46:15 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 1RBwhi-0003uH-Is for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2011 00:46:14 +0200 Original-Received: from localhost ([::1]:39462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBwhh-00029z-Re for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2011 18:46:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBwhf-00029n-D4 for emacs-devel@gnu.org; Thu, 06 Oct 2011 18:46:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBwha-000353-04 for emacs-devel@gnu.org; Thu, 06 Oct 2011 18:46:11 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:65288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBwhZ-00034z-Ng for emacs-devel@gnu.org; Thu, 06 Oct 2011 18:46:05 -0400 Original-Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p96Mk24S014382 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 6 Oct 2011 22:46:04 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p96Mk1TX010195 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Oct 2011 22:46:02 GMT Original-Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p96MjtDR009687; Thu, 6 Oct 2011 17:45:56 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 06 Oct 2011 15:45:55 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <8762k1ojy0.fsf@stupidchicken.com> Thread-Index: AcyEdAatYD/HNWt1RQyloicQcJZvNQAAkf2Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090202.4E8E2FAC.00EB,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 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:144655 Archived-At: > This lands us in the unfortunate situation where a command named > `left-char' sometimes moves right, and a command named `right-char' > sometimes moves left. Their names seem to imply that what > distinguishes these commands from `forward-char'/`backward-char' > is their directionality. http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00836.html Wrt the _key_ named `left', Eli said: "Because `left' and `right' behave differently depending on the bidirectional context,"... and "if `left' sometimes moves _forward_ in the buffer, binding it to a command called `backward-char' [would be] a lie." [Of course back then he also said, "[Bidi] _is_ optional: you can set bidi-display-reordering to nil" (his emphasis). Now he says that that variable is not to make bidi optional for users but is only for bidi debugging. (I hope the paraphrase is accurate.)] > Another question: how come C- is bound to `right-word' but > M- is still bound to `forward-word'? An oversight? Eli spoke to that to some extent, as well: "the same "problem" exists with `M-f'/`M-b' and `C-'/`C-' as well. We even discussed the possibility to make `' and `' behaving differently" It can perhaps help to read the whole thread ("`C-b' is backward-char, `left' is left-char - why?"), if the doc is not clear enough about some of these things.