From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vasilij Schneidermann Newsgroups: gmane.emacs.bugs Subject: bug#19464: 24.4; Customizing either scroll-step or scroll-conservatively makes Emacs hang up when calling set-window-vscroll with large values Date: Mon, 31 May 2021 18:41:04 +0200 Message-ID: References: <87cztbzl7u.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21643"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 19464@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 31 18:42:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnkzV-0005Kl-Iu for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 18:42:13 +0200 Original-Received: from localhost ([::1]:45722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnkzT-0004K3-UN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 12:42:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnkzK-0004Jb-VO for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 12:42:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnkzK-0002CE-KX for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 12:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnkzK-0007Nj-Hp for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 12:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 May 2021 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19464 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 19464-submit@debbugs.gnu.org id=B19464.162247928328330 (code B ref 19464); Mon, 31 May 2021 16:42:02 +0000 Original-Received: (at 19464) by debbugs.gnu.org; 31 May 2021 16:41:23 +0000 Original-Received: from localhost ([127.0.0.1]:34720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnkyh-0007Ms-8d for submit@debbugs.gnu.org; Mon, 31 May 2021 12:41:23 -0400 Original-Received: from mail-ed1-f52.google.com ([209.85.208.52]:34317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnkyf-0007Me-At for 19464@debbugs.gnu.org; Mon, 31 May 2021 12:41:21 -0400 Original-Received: by mail-ed1-f52.google.com with SMTP id cb9so2233492edb.1 for <19464@debbugs.gnu.org>; Mon, 31 May 2021 09:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0YWKeOwuc0MIAsBHJusYgjS7BlFDDhriPJ1gW1b9Asc=; b=AmD3FUI5dyN/reKqDCfmLEJRq8pJwzmvKmPZRHMXvBF2/dejNCUG9iOHPPLCuRHtxp v71/xQzubUPWJb26sSBWgTBVMLn11hp5OLi99sHVPSAPll+1YpwmPqq+3oXg04/7aClI V7Dlo5GzmuAv/4NcOEaqXCSjYzKRKFcNf3U8rfgJnw87VKLzGWnUCmzOrR+SNz3rHHou 1L5dHmEkFXgX5H2Q9bh19Z18f/sBFmrhXU/vPa8dMdtCMDCT+MqIeQTQK8vuUS8fP10P opYXWntzpMzJvybZU5eAiczQ/X/2kW0WwU0Wb7wRvoVXUeh/lOnIRlsNjjPKI0WktmEK 5vNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0YWKeOwuc0MIAsBHJusYgjS7BlFDDhriPJ1gW1b9Asc=; b=BD7sMPrG0YxvhWype0KPSkAH8pjHYb+Q2HzbWZdJ4CK50747JcPx6eL0IStJplkjgr diQScSo5Lya804vRUrh441b+OOQW4bUbx9q2gBT+avIowbzNdRKWCDPQJ4Damp+tJDes DpM0kGSu3/p+RK5O85GkerLt2tVqMywEv7CbOo/+2mpVYvU3jmeX/X5vhzfulsmVcBt/ G7xZ39CQPkPwCE/dkjtSNuXjoI9NmKWpcY17YKmcquO0GGL9nljVEpXl6allbvu71sH8 ImbT4+TGw0YIoVZXLzfH65aHjfy5jlh8MY3QALbfVIgPwhHQcDn7/50oeD7rSzH9zapr YotQ== X-Gm-Message-State: AOAM5329zh66wRWGcp1kqRFsTZh9udMs33nm5tlDc6nUvqz7UsS2KEku 5P2p4izsIti5ihcl1PNTbGJKjVyDB4A20IDNluo= X-Google-Smtp-Source: ABdhPJwngax4CJGGbIk/4FbtNGvlHpDaJbjDJS/w4Y4cd6BtbIXYYIJNU8gdYq7NmyoeWeBs3fWhLtcz2nA+t27gwy4= X-Received: by 2002:a05:6402:1590:: with SMTP id c16mr18275338edv.7.1622479274714; Mon, 31 May 2021 09:41:14 -0700 (PDT) In-Reply-To: <87cztbzl7u.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207713 Archived-At: Yes, I do. My reproducer relies on having a file spanning more than a screenful open. - Run `emacs -Q` - Paste the following code block into the scratch buffer - Evaluate with `M-x buffer` (find-library "subr") (setq scroll-conservatively 10000) (set-window-vscroll nil 9000 t) On Fri, May 28, 2021 at 3:43 AM Lars Ingebrigtsen wrote: > > Vasilij Schneidermann writes: > > > I've been experimenting around to make Emacs scroll with pixel-level > > precision and have soon discovered `set-window-vscroll' which allows one > > to adjust the vertical scrolling of a window in pixel steps with its > > fourth argument. In an attempt to scroll further than a screenful, I > > executed (set-window-vscroll nil 9000 t) which hung up Emacs. Bisection > > of my init file revealed that this issue doesn't happen with an > > uncustomized Emacs and that it's sufficient to either customize > > `scroll-step' to have a value of 1 or `scroll-conservatively' to have a > > large value (which is a common hack to allow line-level scrolling). > > (I'm going through old bug reports that unfortunately got no response at > the time.) > > I tried reproducing this with > > emacs -Q and: > > (progn > (setq scroll-step 1) > (set-window-vscroll nil 9000 t)) > > But I didn't get any hangs. Are you still seeing this problem in more > recent Emacs versions? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no