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

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

bug#25855: 25.1; garbage display by raise display specification


From: ynyaaa
Subject: bug#25855: 25.1; garbage display by raise display specification
Date: Sat, 25 Feb 2017 00:36:15 +0900

Eli Zaretskii <address@hidden> 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))))





reply via email to

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