emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r105429: New function `string-mar


From: Eli Zaretskii
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r105429: New function `string-mark-left-to-right' for handling LRMs.
Date: Sat, 13 Aug 2011 10:11:53 +0300

> From: Kenichi Handa <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> Date: Sat, 13 Aug 2011 16:00:40 +0900
> 
> ;; For string...
> (defun check-special-bidi-character (str)
>   (with-category-table special-category-table-for-bidi
>     (string-match "\\cr" str)))
> 
> (check-special-bidi-character "abc") => nil
> (check-special-bidi-character "abc א")‎ => 4

Thanks!  I think we should have a few of such category-tables in Emacs
by default.




reply via email to

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