From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: RTL text and the new `indent-rigidly' Date: Sat, 21 Dec 2013 13:59:26 +0800 Message-ID: <87ppoqsq0x.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387605583 26308 80.91.229.3 (21 Dec 2013 05:59:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Dec 2013 05:59:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 21 06:59:50 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VuFbK-0000IY-0P for ged-emacs-devel@m.gmane.org; Sat, 21 Dec 2013 06:59:50 +0100 Original-Received: from localhost ([::1]:52923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuFbJ-0005kE-ND for ged-emacs-devel@m.gmane.org; Sat, 21 Dec 2013 00:59:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuFb8-0005h2-Oq for emacs-devel@gnu.org; Sat, 21 Dec 2013 00:59:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VuFb0-0005vE-Cz for emacs-devel@gnu.org; Sat, 21 Dec 2013 00:59:38 -0500 Original-Received: from mail-pd0-x235.google.com ([2607:f8b0:400e:c02::235]:55408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuFb0-0005uy-69 for emacs-devel@gnu.org; Sat, 21 Dec 2013 00:59:30 -0500 Original-Received: by mail-pd0-f181.google.com with SMTP id p10so3322590pdj.26 for ; Fri, 20 Dec 2013 21:59:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=TNu3abWPIrpnDptdUcqQKfby18tHUZfLic3cYnPuQkw=; b=U+gpOQKnYHTvY4pe0+lwHok17PsT2qpn5VIp9lPPS2GMFJF872wtC+WUdwd67A4FSa pufvbKbo7+l2AfdygYn2Hpyn+OG+1kUOZSHY9MF4w69jDkXXT7O7YjUItHp18LJeYL2a itfryIwZ/F4klffotfzw7JV5TvRr0AnakT2TFXhzUkZ1wxV665hNceuS0rVk7Vk5rpDN pT1TA3wFTA4TZsoUql7Na+lZj94T6b9A71hdeCfw8WMzjImEyzfScygfm6WMQ6NIpqsp q0Y4lNrH2YhHTsymM0yNr+0xEBv5Vv1P6ZMRCKJm5mTEkDq2+t7Sk63Q9TB7/o+wIOVE r1pA== X-Received: by 10.67.21.130 with SMTP id hk2mr13055684pad.76.1387605569187; Fri, 20 Dec 2013 21:59:29 -0800 (PST) Original-Received: from tsparkle (cm233.delta179.maxonline.com.sg. [59.189.179.233]) by mx.google.com with ESMTPSA id rz6sm24248232pab.22.2013.12.20.21.59.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Dec 2013 21:59:28 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::235 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:166684 Archived-At: The new behavior of indent-rigidly in Emacs 24.4 seems to be inconsistent with our existing handling of right-to-left text. In right-to-left text, the left and right arrow keys move in the visual sense (whereas C-f and C-b move in the logical sense). However, when you call `C-x TAB' (indent-rigidly) to activate the new transient mode for adjusting indentation interactively, the left key indents the text rightward, and the right key indents the text leftward. I think these subcommands should check current-bidi-paragraph-direction, and indent in the visual sense. Any objections?