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: Tue, 16 Aug 2011 10:44:47 +0300

> From: Kenichi Handa <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> Date: Sat, 13 Aug 2011 16:42:43 +0900
> 
> > > (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.
> 
> As categories are not exclusive (i.e. one character can have
> multiple categories), I think you need just one
> category-table.

Would it be a good idea to add such categories to the standard
category table?  IOW, why do we need a special category table to
search for these characters?




reply via email to

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