emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: vertical-motion fails when tab in line]


From: Kim F. Storm
Subject: Re: address@hidden: vertical-motion fails when tab in line]
Date: Wed, 14 Jun 2006 01:01:28 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Chong Yidong <address@hidden> writes:

> The problem here is that in Fvertical_motion line 2092, after we call
> reseat_at_previous_visible_line_start (&it), the value of
> it.continuation_lines_width is not reset to zero.  This screws up the
> calculation of tab stops if it.continuation_lines_width is non-zero
> and there are tabs present in the continued line.

Thanks for debugging this.

>
> One solution is to reset it->continuation lines_width to zero in
> reseat_at_previous_visible_line_start (and probably
> reseat_at_next_visible_line_start too.)  This seems like the proper
> fix, but I'd like to get some confirmation from people more familiar
> with redisplay:

More generally, we could set it->continuation_lines_width = 0 in
back_to_previous_line_start and forward_to_next_line_start (if we find
a newline).

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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