GNU bug report logs - #23805
24.5; strange behavior by line-height property

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

Date: Mon, 20 Jun 2016 02:09:02 UTC

Severity: normal

Found in version 24.5

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 23805-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: ynyaaa <at> gmail.com
Cc: 23805-done <at> debbugs.gnu.org
Subject: Re: bug#23805: 24.5; strange behavior by line-height property
Date: Tue, 21 Jun 2016 16:16:36 +0300
> From: ynyaaa <at> gmail.com
> 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.




This bug report was last modified 8 years and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.