From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.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, 29 Dec 2014 17:42:35 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c15694c697bb050b5d8f18 X-Trace: ger.gmane.org 1419871396 22356 80.91.229.3 (29 Dec 2014 16:43:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2014 16:43:16 +0000 (UTC) To: 19464@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 29 17:43:11 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y5dPR-0008SO-RA for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Dec 2014 17:43:10 +0100 Original-Received: from localhost ([::1]:33987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5dPR-0001HK-4w for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Dec 2014 11:43:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5dPM-0001HB-H5 for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 11:43:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5dPK-0002QE-Kn for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 11:43:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5dPK-0002QA-I4 for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 11:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y5dPK-0002rY-8C for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 11:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Dec 2014 16:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19464 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141987136610970 (code B ref -1); Mon, 29 Dec 2014 16:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Dec 2014 16:42:46 +0000 Original-Received: from localhost ([127.0.0.1]:60445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5dP3-0002qr-9x for submit@debbugs.gnu.org; Mon, 29 Dec 2014 11:42:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60582) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y5dP0-0002qh-8S for submit@debbugs.gnu.org; Mon, 29 Dec 2014 11:42:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5dOy-0002Cu-Ar for submit@debbugs.gnu.org; Mon, 29 Dec 2014 11:42:41 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5dOy-0002Cq-7d for submit@debbugs.gnu.org; Mon, 29 Dec 2014 11:42:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5dOw-0001CC-KE for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 11:42:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5dOu-0002CL-K3 for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 11:42:38 -0500 Original-Received: from mail-qc0-x230.google.com ([2607:f8b0:400d:c01::230]:47067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5dOu-0002CF-E1 for bug-gnu-emacs@gnu.org; Mon, 29 Dec 2014 11:42:36 -0500 Original-Received: by mail-qc0-f176.google.com with SMTP id i17so9752238qcy.35 for ; Mon, 29 Dec 2014 08:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=kXHV0Q5y8BJUzsVRYFdm8EUIULRus6lsoE9TK9AXwQc=; b=Eqls5ZifGcpaMTbkaRHW49L2w4VIaEdSbNuwFMrZvEZCj/7iBR1mOW3pZ54opEAyhk 93gw9st/qruviakFw07bYzusZ5WDbUqJZ6aXjvK321PUd2BB450Jv9gOEp9R/oDBa2ks Z8aHX6rw9yIQgXrL6vycb/s+WpvwPg/3PW/1dj0gH3kmAwR2MsGAFPgtqk1q4B1bFrS6 r00iwqhgSyCok71ISITRmxbbDZGjvBH2Kef/9KjCS1sF1Y7mTFaidoXUzeWgreC6SWqy aFt/wcCt+lme3eveVGPdnTwBgUVjSlJVD8ZspGgOWjAhA88v+B410Bhrl1jQZ/r+YLB9 oICw== X-Received: by 10.140.27.199 with SMTP id 65mr87735718qgx.24.1419871355572; Mon, 29 Dec 2014 08:42:35 -0800 (PST) Original-Received: by 10.140.229.208 with HTTP; Mon, 29 Dec 2014 08:42:35 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97805 Archived-At: --001a11c15694c697bb050b5d8f18 Content-Type: text/plain; charset=UTF-8 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). Is this interaction a bug? If not, can it at the very least be documented in the docstring of `set-window-vscroll'? In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.3) of 2014-10-21 on bitzer.hoetzel.info Windowing system distributor `The X.Org Foundation', version 11.0.11603000 System Description: Arch Linux Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: /usr/share/emacs/site-lisp/SuperCollider/tree-widget hides /usr/share/emacs/24.4/lisp/tree-widget Features: (shadow sort gnus-util mail-extr emacsbug message idna format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode easymenu time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 74922 7762) (symbols 48 17669 0) (miscs 40 80 138) (strings 32 9343 4421) (string-bytes 1 257939) (vectors 16 9064) (vector-slots 8 385359 16597) (floats 8 65 302) (intervals 56 227 4) (buffers 960 13) (heap 1024 41177 904)) --001a11c15694c697bb050b5d8f18 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I've been experimenting around to make Emacs scroll wi= th pixel-level
precision and have soon discovered `set-window-vscroll= 9; which allows one
to adjust the vertical scrolling of a window in pixe= l steps with its
fourth argument.=C2=A0 In an attempt to scroll further = than a screenful, I
executed (set-window-vscroll nil 9000 t) which hung = up Emacs.=C2=A0 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-cons= ervatively' to have a
large value (which is a common hack to allow l= ine-level scrolling).=C2=A0 Is
this interaction a bug?=C2=A0 If not, can= it at the very least be documented
in the docstring of `set-window-vscr= oll'?



In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK= + Version 3.14.3)
=C2=A0of 2014-10-21 on bitzer.hoetzel.info
Windowing system distributor `The X.Org = Foundation', version 11.0.11603000
System Description: Arch Linux
Configured using:
=C2=A0`configure --prefix=3D/usr --sysconfdir=3D/= etc --libexecdir=3D/usr/lib
=C2=A0--localstatedir=3D/var --with-x-toolki= t=3Dgtk3 --with-xft
=C2=A0'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric= -O2 -pipe -fstack-protector-strong
=C2=A0--param=3Dssp-buffer-size=3D4&= #39; CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2
=C2=A0LDFLAGS=3D-Wl,-O1,--sort-com= mon,--as-needed,-z,relro'

Important settings:
=C2=A0 value of= $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major= mode: Fundamental

Minor modes in effect:
=C2=A0 tooltip-mode: t<= br>=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 t= ool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode:= t
=C2=A0 global-font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2= =A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 au= to-compression-mode: t
=C2=A0 buffer-read-only: t
=C2=A0 line-number-= mode: t
=C2=A0 transient-mark-mode: t

Recent input:
M-x r e p = o <tab> <down-mouse-2> <mouse-2>

Recent messages:<= br>For information about GNU Emacs and the GNU system, type C-h C-a.
Mak= ing completion list...

Load-path shadows:
/usr/share/emacs/site-l= isp/SuperCollider/tree-widget hides /usr/share/emacs/24.4/lisp/tree-widget<= br>
Features:
(shadow sort gnus-util mail-extr emacsbug message idna = format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse = rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-dr= ums
mm-util help-fns mail-prsvr mail-utils help-mode easymenu time-date<= br>tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
= x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
= newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
= select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
fra= me cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet l= ao korean japanese hebrew greek romanian slovak czech european
ethiopic = indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple ab= brev minibuffer nadvice loaddefs button faces cus-face macroexp
files te= xt-properties overlay sha1 md5 base64 format env code-pages mule
custom = widget hashtable-print-readable backquote make-network-process
dbusbind = gfilenotify dynamic-setting system-font-setting
font-render-setting move= -toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((c= onses 16 74922 7762)
=C2=A0(symbols 48 17669 0)
=C2=A0(miscs 40 80 13= 8)
=C2=A0(strings 32 9343 4421)
=C2=A0(string-bytes 1 257939)
=C2= =A0(vectors 16 9064)
=C2=A0(vector-slots 8 385359 16597)
=C2=A0(float= s 8 65 302)
=C2=A0(intervals 56 227 4)
=C2=A0(buffers 960 13)
=C2= =A0(heap 1024 41177 904))
--001a11c15694c697bb050b5d8f18--