GNU bug report logs -
#25855
25.1; garbage display by raise display specification
Previous Next
Reported by: ynyaaa <at> gmail.com
Date: Fri, 24 Feb 2017 06:10:02 UTC
Severity: normal
Found in version 25.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> (insert (propertize (make-string 100 ?\n) 'display '(raise 1)))
>
> What did you expect to see from 'raising' the newlines? A newline has
> no glyph on display, so there's nothing to raise.
>
> IOW, why is this not the expected behavior?
I found that it is sufficient to put display property at the last
character of a buffer.
Evaluating the form below, leftmost digits remain to be displayed.
(progn
(switch-to-buffer (generate-new-buffer "temp"))
(dotimes (i 100) (insert (format "%d\n" i)))
(goto-char (point-min))
(redisplay)
(erase-buffer)
(insert (propertize "X" 'display '(raise 1))))
This bug report was last modified 8 years and 90 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.