From: Eli Zaretskii <eliz@gnu.org>
To: ynyaaa@gmail.com
Cc: 46320-done@debbugs.gnu.org
Subject: bug#46320: 27.1; bugs about scrolling buffer with images
Date: Mon, 08 Feb 2021 18:05:25 +0200 [thread overview]
Message-ID: <838s7ylf3u.fsf@gnu.org> (raw)
In-Reply-To: <86r1lvm5j5.fsf@gmail.com> (ynyaaa@gmail.com)
> From: ynyaaa@gmail.com
> Date: Fri, 05 Feb 2021 14:45:34 +0900
>
> (2)unable to scroll up
> Evaluate the form below and type C-v repeatedly, the buffer never scroll
> up to the end of the buffer. Once in three times, the buffer scrolls
> down and the line 2 is displayed at the top of the window.
>
> (let* ((buf (generate-new-buffer "tmp"))
> (width 80)
> (height 250)
> (svg (format "\
> <svg width=\"%d\" height=\"%d\" version=\"1.1\"
> xmlns=\"http://www.w3.org/2000/svg\">
> <rect x=\"0\" y=\"0\" width=\"%d\" height=\"%d\" fill=\"blue\"/>
> </svg>
> " width height width height))
> (img (create-image svg 'svg t :scale 1 :ascent 100)))
> (switch-to-buffer buf)
> (setq header-line-format "with header line")
> (insert "1\n2\n3\n4\n5\n")
> (insert-image img "6")
> (insert "\n7\n8\n9\n10\n11\n")
> (set-frame-height nil 18)
> (delete-other-windows)
> (goto-char (point-min))
> )
Thanks, this is now fixed on the master branch.
prev parent reply other threads:[~2021-02-08 16:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-05 5:45 bug#46320: 27.1; bugs about scrolling buffer with images ynyaaa
2021-02-05 7:59 ` Eli Zaretskii
2021-02-05 9:22 ` Lars Ingebrigtsen
2021-02-05 11:25 ` Eli Zaretskii
2021-02-08 16:05 ` 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=838s7ylf3u.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=46320-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.