From: Chong Yidong <cyd@stupidchicken.com>
To: rms@gnu.org
Cc: david.reitter@gmail.com, emacs-devel@gnu.org
Subject: Re: pos-visible-in-window-p at ellipsis
Date: Thu, 17 Jan 2008 09:59:21 -0500 [thread overview]
Message-ID: <87hchcbira.fsf@stupidchicken.com> (raw)
In-Reply-To: <E1JFVS6-0005S2-AO@fencepost.gnu.org> (Richard Stallman's message of "Thu\, 17 Jan 2008 09\:10\:42 -0500")
Richard Stallman <rms@gnu.org> writes:
> This happens because the pixel position reported by pos_visible_p can
> overshoot when there is invisible text (see the comment in
> xdisp.c:1321). It would be rather complicated to compensate for this
> (and potentially buggy since pos_visible_p is used by many other
> functions).
>
> Why is invisible text difficult? Can't it just skip to the
> next visible character? (The comment doesn't say what is hard.)
It *does* skip, and that's the problem. That means that to determine
the actual upper-left pixel position, you need to backtrack to
compensate for the skipping. That's why invisible text is difficult.
next prev parent reply other threads:[~2008-01-17 14:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-23 19:19 pos-visible-in-window-p at ellipsis David Reitter
2007-12-27 13:42 ` Richard Stallman
2008-01-15 15:15 ` Chong Yidong
2008-01-15 23:26 ` Kim F. Storm
2008-01-17 14:10 ` Richard Stallman
2008-01-17 14:59 ` Chong Yidong [this message]
2008-01-26 1:00 ` Chong Yidong
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=87hchcbira.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--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.