Re: Re: Arabic support

Kenichi Handa <[email protected]> Wed, 01 Sep 2010 14:06:55 +0900
Newsgroups gmane.emacs.bidi,gmane.emacs.devel
Message-ID <[email protected]>
In article <[email protected]>, Eli Zaretskii <[email protected]> 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
[email protected]