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

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

Re: moving point over invisible and intangible text


From: Kim F. Storm
Subject: Re: moving point over invisible and intangible text
Date: 16 Oct 2003 16:56:57 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Luc Teirlinck <address@hidden> writes:

> Stefan Monnier wrote:
> 
>    Please try to convince the Gnus team not to use `intangible'.
> 
> Do you mean "not to use `intangible' in combination with `invisible'"
> or do you mean "not to use `intangible', period"?

On a related issue, maybe line-move (and friends) could be simplified
if one could query the display engine about "glyph-after", "glyph-before",
"glyph-below" and "glyph-above" and let them return a buffer position
(and possibly also an X and Y pixel position).  Then the movements
would reflect what's actually on the display.

And it might even work better with proportional fonts as well.

Of course there are border cases when the target position is outside
the window, but in that case we could fall-back to the current code.

-- 
Kim F. Storm  http://www.cua.dk





reply via email to

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