all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: David Reitter <david.reitter@gmail.com>,
	rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [david.reitter@gmail.com: vertical-motion fails when tab in line]
Date: Wed, 14 Jun 2006 01:01:28 +0200	[thread overview]
Message-ID: <m3u06o7j93.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <87bqsxrt9i.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 13 Jun 2006 11:04:57 -0400")

Chong Yidong <cyd@stupidchicken.com> 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 <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2006-06-13 23:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-11 16:16 [david.reitter@gmail.com: vertical-motion fails when tab in line] Richard Stallman
2006-06-13 15:04 ` Chong Yidong
2006-06-13 23:01   ` Kim F. Storm [this message]
2006-06-14 14:34     ` Chong Yidong
2006-06-16  8:12       ` David Reitter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3u06o7j93.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.