From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#16840: 24.3.50; Jerky motion and up/down asymmetry scrolling images in Eww Date: Thu, 26 Sep 2019 18:58:02 +0200 Message-ID: <87ftkjngf9.fsf@gnus.org> References: <874n3rj4ng.fsf@moondust.localdomain> <83eh2v4kx6.fsf@gnu.org> <87y513rrue.fsf_-_@moondust.localdomain> <83fvnb2fbf.fsf@gnu.org> <87r3ib3rdi.fsf@gnus.org> <831tablzxh.fsf@gnu.org> <87h9j61nb1.fsf@gnus.org> <83fuyqlat2.fsf@gnu.org> <87ziwynyim.fsf@moondust.localdomain> <83ziwyjo6p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="66597"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: "N. Jackson" , 16840@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 26 19:17:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDXO7-000HDO-U1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Sep 2019 19:17:08 +0200 Original-Received: from localhost ([::1]:41466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDXO5-0004W9-Oh for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Sep 2019 13:17:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49991) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDX6e-0003AV-SW for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 12:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDX6c-00077p-FN for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 12:59:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35763) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDX6c-00077U-7u for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 12:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDX6c-0000Zp-1v for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 12:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Sep 2019 16:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16840 X-GNU-PR-Package: emacs Original-Received: via spool by 16840-submit@debbugs.gnu.org id=B16840.15695170952160 (code B ref 16840); Thu, 26 Sep 2019 16:59:02 +0000 Original-Received: (at 16840) by debbugs.gnu.org; 26 Sep 2019 16:58:15 +0000 Original-Received: from localhost ([127.0.0.1]:44584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDX5r-0000Yl-3x for submit@debbugs.gnu.org; Thu, 26 Sep 2019 12:58:15 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:36258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDX5k-0000YG-SJ for 16840@debbugs.gnu.org; Thu, 26 Sep 2019 12:58:09 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDX5e-0005QR-9f; Thu, 26 Sep 2019 18:58:05 +0200 In-Reply-To: <83ziwyjo6p.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 25 Dec 2015 21:58:06 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:167288 Archived-At: Eli Zaretskii writes: >> From: nljlistbox2@gmail.com (N. Jackson) >> Cc: Lars Ingebrigtsen , 16840@debbugs.gnu.org >> Date: Fri, 25 Dec 2015 15:01:21 -0400 >> >> The `C-n's in Step 7 scroll the image as one would expect. At the >> second last of those `C-n's, the heading "Secure Boot vs Restricted >> Boot" scrolls off the top of the window. At the next `C-n' the blank >> line below the image is at the top of the window. >> >> At the next `C-n' (Step 8) which I understand is supposed to move >> point to the line below the image [Although it would be awesome if it >> could continue scrolling the image one "line" at a time.], the >> scrolling "glitches" and point moves _up_ again to the blank line >> above the image. > > That's an entirely different problem: Emacs doesn't find a good place > to start the window, so it recenters the window. I will look into it > when I have time. If you need an easier example to test image scrolling with, here's a sexp. :-) I just find large-image scrolling in Emacs to be kinda ... unpredictable? But it does work. But perhaps it would be nicer if it was somehow less surprising. (progn (switch-to-buffer "*image*") (erase-buffer) (set-frame-height (window-frame (selected-window)) 1000 nil t) (let* ((width 300) (height 800) (svg (svg-create width height))) (svg-gradient svg "background" 'linear '((0 . "#b0b0b0") (100 . "#808080"))) (svg-rectangle svg 0 0 width height :gradient "background" :stroke-width 2 :stroke-color "black") (dotimes (i 30) (insert (format "%d\n" i))) (svg-insert-image svg) (insert "\n") (dotimes (i 30) (insert (format "%d\n" i))) (goto-char (point-min)))) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no