From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: charles@aurox.ch (Charles A. Roelli) Newsgroups: gmane.emacs.bugs Subject: bug#29325: 26.0.90: Info scrolling stuck Date: Sun, 19 Nov 2017 17:49:50 +0100 Message-ID: References: <83fu9ehuog.fsf@gnu.org> <83d14hidlk.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1511110218 24199 195.159.176.226 (19 Nov 2017 16:50:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Nov 2017 16:50:18 +0000 (UTC) Cc: 29325@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 19 17:50:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGSnE-0005YE-Oe for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Nov 2017 17:50:05 +0100 Original-Received: from localhost ([::1]:53613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGSnL-0006XC-Vj for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Nov 2017 11:50:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGSnF-0006X6-UZ for bug-gnu-emacs@gnu.org; Sun, 19 Nov 2017 11:50:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGSnC-00053l-Rl for bug-gnu-emacs@gnu.org; Sun, 19 Nov 2017 11:50:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39043) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGSnC-00053T-Ne for bug-gnu-emacs@gnu.org; Sun, 19 Nov 2017 11:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eGSnC-0004gE-HG for bug-gnu-emacs@gnu.org; Sun, 19 Nov 2017 11:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: charles@aurox.ch (Charles A. Roelli) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Nov 2017 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29325 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29325-submit@debbugs.gnu.org id=B29325.151111016017935 (code B ref 29325); Sun, 19 Nov 2017 16:50:02 +0000 Original-Received: (at 29325) by debbugs.gnu.org; 19 Nov 2017 16:49:20 +0000 Original-Received: from localhost ([127.0.0.1]:47724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGSmV-0004fD-P6 for submit@debbugs.gnu.org; Sun, 19 Nov 2017 11:49:19 -0500 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:48351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGSmU-0004f0-DE for 29325@debbugs.gnu.org; Sun, 19 Nov 2017 11:49:18 -0500 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 4B328225C8 for <29325@debbugs.gnu.org>; Sun, 19 Nov 2017 16:41:57 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1511109714; x=1511973715; bh=8dlENnZjHe4+m dBceC2WRQjYqumD/ktYH6QBWpAO6TA=; b=fh52DfE+vMQxW00XxvDNm2oQAzGyk vwATuEg0nnUn3k5jaCXScwJ2mBzaebpXScfyBxZ6Qpz3vfORW0LSj7ODVroaKRN8 IdVeTAx4UY+UrP/If2JzcDKj2dkDWCTge6LlbcAtz8vyAwq5xbEmIMqskjSbCyZp O2Pf/ROAWwg6TA= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OTFT0qFbnjbs for <29325@debbugs.gnu.org>; Sun, 19 Nov 2017 16:41:54 +0000 (UTC) Original-Received: from gray (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 0CEA2225C1; Sun, 19 Nov 2017 16:41:52 +0000 (UTC) In-reply-to: <83d14hidlk.fsf@gnu.org> (message from Eli Zaretskii on Fri, 17 Nov 2017 09:11:35 +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: 208.118.235.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:140099 Archived-At: > Date: Fri, 17 Nov 2017 09:11:35 +0200 > From: Eli Zaretskii > CC: 29325@debbugs.gnu.org > Reply-to: Eli Zaretskii > > > Variable Pitch face: [sample] > > State : SET for current session only. > > The basic variable-pitch face. > > [X] Font Family: Sans Serif > > [ ] Font Foundry: -- > > [ ] Width: -- > > [X] Height: Value Menu Scale: 1.5 > > > > (The font family was already Sans Serif, I just changed the height > > scale from 1.0 to 1.5). > > Still not reproducible. > > Does the same problem happen if you scroll with "M-1 M-v" instead of > the mouse wheel? No: it works fine in that case. > And what about M-<, does it get you to the beginning of the node? Yes. I looked into the definition of mwheel-scroll, and a comment by Stefan in it seems to anticipate the behavior I see: > (cond ((eq button mouse-wheel-down-event) > (condition-case nil (funcall mwheel-scroll-down-function amt) > ;; Make sure we do indeed scroll to the beginning of > ;; the buffer. > (beginning-of-buffer > (unwind-protect > (funcall mwheel-scroll-down-function) > ;; If the first scroll succeeded, then some scrolling > ;; is possible: keep scrolling til the beginning but > ;; do not signal an error. For some reason, we have > ;; to do it even if the first scroll signaled an > ;; error, because otherwise the window is recentered > ;; for a reason that escapes me. This problem seems > ;; to only affect scroll-down. --Stef > (set-window-start (selected-window) (point-min)))))) That is, when attempting to scroll down (as in, moving towards beginning of buffer) under some mysterious circumstances, the window gets recentered around point instead of being scrolled. However, if point is moved to the first line of the window, say, then the scrolling does work as expected (as I've found out by experimenting more with my initial recipe).