all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: ynyaaa@gmail.com
Cc: 23805-done@debbugs.gnu.org
Subject: bug#23805: 24.5; strange behavior by line-height property
Date: Tue, 21 Jun 2016 16:16:36 +0300	[thread overview]
Message-ID: <83h9cm7kcr.fsf@gnu.org> (raw)
In-Reply-To: <87wplktxy0.fsf@gmail.com> (ynyaaa@gmail.com)

> From: ynyaaa@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.





      reply	other threads:[~2016-06-21 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20  2:07 bug#23805: 24.5; strange behavior by line-height property ynyaaa
2016-06-21 13:16 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83h9cm7kcr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=23805-done@debbugs.gnu.org \
    --cc=ynyaaa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.