Subject: Re: bug#23805: 24.5; strange behavior by line-height property
From: Eli Zaretskii <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Tue, 21 Jun 2016 16:16:36 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: [email-masked]
> Date: Mon, 20 Jun 2016 11:07:35 +0900
> 
> 
> (let ((buf (get-buffer-create "*Test*"))
>       (newline (propertize "\n" 'line-height t)))
>   (set-buffer buf)
>   (dotimes (i 1000)
>     (insert (format "%9d" i) newline))
>   (switch-to-buffer buf))
> 
> Evaluating this form, I expect the window displays numbers near 999
> and the cursor is displayed at the end of the buffer.
> But the window displays numbers from 864 to 896
> and the cursor is displayed after 864.
> 
> Althouth texts are displayed after the cursor,
> C-x C-= shows "point=10001 of 10000 (EOB) column=0".

This was a 12-year old bug, now fixed on master.

Thanks.