bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Bug in column-number-mode


From: Kenichi Handa
Subject: Re: Bug in column-number-mode
Date: Tue, 13 Nov 2001 13:03:30 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

Yong Lu <lyongu@ailab.pku.edu.cn> writes:
> In GNU Emacs 21.1.50.1 (i386-mingw-nt5.0.2195)
[...]
> column-number-mode fails to report the right column of point when
> point is moving past CJK charaters.

Thank you for the bug report.

It seems that bug affects not only column-number-mode, but
the more basic functions current-column and move-to-column.

For instance, in the function current_column_1 (indent.c),
we now have these codes at line 632:
      scan++;
      scan_byte++;

Here, we must add the length of the current multibyte form
to scan_byte instead of just incrementing it.

Fmove_to_column has the same problem.

---
Ken'ichi HANDA
handa@etl.go.jp



reply via email to

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