opensubscriber
   Find in this group all groups
 
Unknown more information…

e : emacs-bidi@gnu.org 1 September 2010 • 1:06PM -0400

Re: [emacs-bidi] Re: Arabic support
by Kenichi Handa

REPLY TO AUTHOR
 
REPLY TO GROUP




In article <E1OqfPX-0008NB-4f@fenc...>, Eli Zaretskii <eliz@gnu....> writes:

> > In Emacs, the column number affects when a user types C-n
> > (or C-p) to go to (roughly) the same x-position of the next
> > (or previous) line.  So, the column number should reflects
> > the x-position, and for that, zero-width combining
> > characters should not be counted into the column number.

> But does the implementation of current-column, move-to-column and
> friends support that?  Perhaps I'm missing something, but my reading
> of current_column_1 and its subroutines is that it only supports
> display strings, composed characters, and display tables.  Do
> zero-width characters use any of these mechanisms?

Those functions basically uses char-width-table to get
width-in-column of each character, and zero-width combining
characters have 0 in that table.

---
Kenichi Handa
handa@m17n...

_______________________________________________
emacs-bidi mailing list
emacs-bidi@gnu....
http://lists.gnu.org/mailman/listinfo/emacs-bidi

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.