GNU bug report logs -
#18195
24.3.92; window-screen-lines is not accurate
Previous Next
Reported by: Dmitry <dgutov <at> yandex.ru>
Date: Tue, 5 Aug 2014 02:01:01 UTC
Severity: normal
Found in version 24.3.92
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 08/06/2014 09:24 PM, Eli Zaretskii wrote:
> But that will break if the buffer text has other display properties,
> because Emacs doesn't support display strings on display strings.
> IOW, this solution only works for relatively simple text in the
> buffer.
Multiple overlays aren't much easier to work with: you can't position
them in the middle of a piece of text that's on `display' property,
can't position them after the end of the buffer or overlapping the
`line-prefix' value. And if the desired column is in the middle of a
multiple-width character like \t, you're forced to do unnatural things
with it anyway.
> And what do you do with line-prefix and wrap-prefix?
The former is incorporated into the "replaced" text and set to "" on the
overlay; the latter, so far, has been ignored.
> That's really crazy design (no offense)!
I didn't design it personally, just fixed some corner cases. But it has
its advantages, see above. For example, otherwise I'm having hard time
imagining what to do if the target column is inside the line-prefix.
This bug report was last modified 10 years and 289 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.