emacs-devel
[Top][All Lists]
Advanced

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

Re: bidi and shaping problems in describe-input-method


From: Eli Zaretskii
Subject: Re: bidi and shaping problems in describe-input-method
Date: Fri, 09 Mar 2012 10:11:51 +0200

> From: Kenichi Handa <address@hidden>
> Cc: address@hidden, address@hidden
> Date: Fri, 09 Mar 2012 08:48:35 +0900
> 
> If possible, I'd like to avoid inserting LRM unconditionally.

Why?  They are invisible, so they are not displayed at all.

> Is it possible to have this kind of function?
> 
> (defun quail-help-require-LRM (char)
>    (or (eq (get-char-code-property char 'bidi-class) 'L)
>        ...))

It's possible, but why bother?  And with this function you will insert
the LRM for many characters that don't need that, like punctuation,
numbers, etc.

Also, `lower' and `upper' could be strings, in which case you need a
more complex test.



reply via email to

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