]> git.eshelyaron.com Git - emacs.git/commit
(current_column_bol_cache): New variable. This makes
authorKarl Heuer <kwzh@gnu.org>
Thu, 20 Feb 1997 06:39:27 +0000 (06:39 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 20 Feb 1997 06:39:27 +0000 (06:39 +0000)
commita997a7ca075879b76589d5e9ab47209cd31ef0f6
treecf7ef2c24b62ee52e7848e469d9afa916080ab02
parent24e86043a46159fdf2b69705e8948b67f1d9ba39
(current_column_bol_cache): New variable.  This makes
move_to_column faster.
(current_column): Set current_column_bol_cache.
(current_column_1): Likewise.
(Fmove_to_column): Use current_column_bol_cache.

(current_column): When the buffer may have multi-byte
characters, call current_column_1.
(compute_motion): Handle multi-byte characters.
(current_column_1): Likewise.
(Fmove_to_column): Likewise.

Include "charset.h".
(compute_motion): Remove the variable PREV_VPOS.
Introduce new local variables (multibyte, wide_column, prev_pos,
contin_hpos, prev_tab_offset) to handle multi-byte characters and
wide-column characters.

(pos_tab_offset): Specify "- (1 << (BITS_PER_SHORT - 1))"
to express big negative number (for consistency with xdisp.c).

(vmotion): Specify "1 << (BITS_PER_SHORT - 1)" to
express "Don't care".
src/indent.c