unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* RTL text and the new `indent-rigidly'
@ 2013-12-21  5:59 Chong Yidong
  2013-12-21  8:31 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Chong Yidong @ 2013-12-21  5:59 UTC (permalink / raw)
  To: emacs-devel

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?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RTL text and the new `indent-rigidly'
  2013-12-21  5:59 RTL text and the new `indent-rigidly' Chong Yidong
@ 2013-12-21  8:31 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2013-12-21  8:31 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel

> From: Chong Yidong <cyd@gnu.org>
> Date: Sat, 21 Dec 2013 13:59:26 +0800
> 
> 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.

That's a bug.

> I think these subcommands should check current-bidi-paragraph-direction,
> and indent in the visual sense.

We should definitely do that, thank you for paying attention.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-21  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-21  5:59 RTL text and the new `indent-rigidly' Chong Yidong
2013-12-21  8:31 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).