emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `C-b' is backward-char, `left' is left-char - why?


From: Andy Moreton
Subject: Re: `C-b' is backward-char, `left' is left-char - why?
Date: Wed, 01 Jun 2011 12:48:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

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>") 'left-char)
>   (global-set-key (kbd "<left>") '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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]