all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: nljlistbox2@gmail.com, 16840@debbugs.gnu.org
Subject: bug#16840: 24.3.50; Jerky motion and up/down asymmetry scrolling images in Eww
Date: Fri, 27 Sep 2019 17:29:32 +0300	[thread overview]
Message-ID: <83zhipizhv.fsf@gnu.org> (raw)
In-Reply-To: <87muepomk0.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri,  27 Sep 2019 16:12:31 +0200)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: nljlistbox2@gmail.com,  16840@debbugs.gnu.org
> Date: Fri, 27 Sep 2019 16:12:31 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Your code generates an image whose height is smaller than the window
> > height, and in that case Emacs scrolls the entire image off the window
> > in one go, because all of the image was already visible once.
> 
> Oh, the
> 
>   (set-frame-height (window-frame (selected-window)) 1000 nil t)
> 
> bit didn't work?  That was supposed to ensure that the window was
> shorter than the image...

Evidently, it didn't.

> > If I decrease the frame height so that the image becomes taller than
> > the window, the image is scrolled partially until you had a chance to
> > see all of it, then the rest is scrolled away in one large step.  This
> > is exactly how the code in simple.el is designed and implemented, so I
> > see no bug here.
> 
> It might be how it's designed, but it's (as you can see from this bug
> report) behaviour that people find surprising.

Maybe they don't understand why this was designed like that?  I
explained the idea, and it makes sense if you consider the use case of
text displayed with very large font.

If that is still not good enough, you and they are welcome to get the
hands dirty in the relevant parts of simple.el.  I don't plan on doing
that any time soon, having stepped through that code and hacked it too
much for one lifetime.





  reply	other threads:[~2019-09-27 14:29 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-22  1:51 bug#16840: 24.3.50; Jerky motion and up/down asymmetry scrolling images in Eww N. Jackson
2014-02-22  8:21 ` Eli Zaretskii
2014-02-22 17:15   ` N. Jackson
2014-02-22 18:05     ` Eli Zaretskii
2015-12-25  7:43       ` Lars Ingebrigtsen
2015-12-25  8:01         ` Eli Zaretskii
2015-12-25 16:54           ` Lars Ingebrigtsen
2015-12-25 17:04             ` Eli Zaretskii
2015-12-25 17:28               ` Lars Ingebrigtsen
2015-12-25 19:56                 ` Eli Zaretskii
2015-12-25 19:01               ` N. Jackson
2015-12-25 19:58                 ` Eli Zaretskii
2019-09-26 16:58                   ` Lars Ingebrigtsen
2019-09-26 17:11                     ` Eli Zaretskii
2019-09-26 17:19                       ` Lars Ingebrigtsen
2019-09-26 17:55                         ` Eli Zaretskii
2019-09-26 18:03                           ` Lars Ingebrigtsen
2019-09-26 18:32                             ` Eli Zaretskii
2019-09-26 18:34                               ` Lars Ingebrigtsen
2019-09-26 18:50                                 ` Eli Zaretskii
2019-09-27 14:12                                   ` Lars Ingebrigtsen
2019-09-27 14:29                                     ` Eli Zaretskii [this message]
2019-09-27 14:35                                       ` Lars Ingebrigtsen

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=83zhipizhv.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=16840@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=nljlistbox2@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.