From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#12811: 24.3.50; `scroll-up/down-aggressively' don't seem to work as expected Date: Tue, 6 Nov 2012 00:27:55 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=e89a8ff1c620cb69ae04cdc7d5ce X-Trace: ger.gmane.org 1352158144 15439 80.91.229.3 (5 Nov 2012 23:29:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2012 23:29:04 +0000 (UTC) To: 12811@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 06 00:29:14 2012 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 1TVW6O-0005Fh-Ph for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Nov 2012 00:29:09 +0100 Original-Received: from localhost ([::1]:56878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVW6F-0003d6-MI for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Nov 2012 18:28:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVW6C-0003co-CY for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 18:28:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVW6B-0002aM-7i for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 18:28:56 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVW6B-0002Zu-4J for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 18:28:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TVW9C-0000Ys-IE for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 18:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Nov 2012 23:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12811 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.13521582712081 (code B ref -1); Mon, 05 Nov 2012 23:32:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Nov 2012 23:31:11 +0000 Original-Received: from localhost ([127.0.0.1]:51215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVW8M-0000XW-D7 for submit@debbugs.gnu.org; Mon, 05 Nov 2012 18:31:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53573) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVW8K-0000XP-Dj for submit@debbugs.gnu.org; Mon, 05 Nov 2012 18:31:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVW5H-0002RP-MP for submit@debbugs.gnu.org; Mon, 05 Nov 2012 18:28:00 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:38208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVW5H-0002RL-J9 for submit@debbugs.gnu.org; Mon, 05 Nov 2012 18:27:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVW5G-0003a4-4C for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 18:27:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVW5E-0002Qy-UB for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 18:27:58 -0500 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:62479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVW5E-0002Ql-Os for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 18:27:56 -0500 Original-Received: by mail-ob0-f169.google.com with SMTP id va7so6993431obc.0 for ; Mon, 05 Nov 2012 15:27:56 -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=pSvSPwxGR9HbRs8mt+GYfRjeup1rpIoOKzR3VoVUmKw=; b=coaI7DMxk2u8WjQUJ8+H25G63gsWqnzznsK8UOXfKL7/V2DEDcNVMbIu9Fw/DS2+IS WrPeaV8TU9VN3WxUun2/00zDhnYuMunMOTRwDp9jhOuJ9geCu1fKIrIDIwU9ynXgfZ+J UbkAYC8s23VFoMr4sri8tmb96c+fXsXasxYHLahApLUBlsDIvpa0cCPZLUEMICOLGbUt wzN8Kgp1mm1OtYnLpt4M2fxOpbeBbgstNxyEt9A5dkJdxFTcfQ6W5IjmuY8dTqagsJtP 7hYgAiklLsguN4XwLVCdM1+Z9LO/8ihxnZ64zyHpi9QckFA4gElAVWV6yFhJhfHbzDAY 8J/Q== Original-Received: by 10.60.19.202 with SMTP id h10mr9036870oee.99.1352158075906; Mon, 05 Nov 2012 15:27:55 -0800 (PST) Original-Received: by 10.60.131.168 with HTTP; Mon, 5 Nov 2012 15:27:55 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:66505 Archived-At: --e89a8ff1c620cb69ae04cdc7d5ce Content-Type: text/plain; charset=ISO-8859-1 Maybe I'm missing something, but after reading (info "(emacs) Auto Scrolling") and the docstrings of the variables `scroll-up/down-aggressively', the behavior I observe after playing a bit doesn't seem right to me. Recipe from "emacs -Q": 1. Visit the attached file. 2. Adjust the height of the Emacs GUI frame so that only lines 1 to 11 are visible. With this setup it is easy to tell the relative position of a line in the window in terms of percentage from the top or bottom, since each line counts as 10% for such percentages. 3. Go to line 1. 4. Type: C-u 1 5 C-n --> Point goes to line 16, and that line is centered in the window. So everything is as expected so far. 5. M-: (setq scroll-up-aggressively 0.7) 6. Repeat steps #3 and #4. --> This time I observe that point goes to line 16, but that line is near the bottom of the window (9th line; 20% from the bottom) when it should be near the top (4th line; 70% from the bottom). I also observe a misbehavior when testing scroll-down-aggressively: 1. M-: (setq scroll-down-aggressively 0.7) 2. Go to line 30 and make that line the last visible one. 3. Type: C-u 1 1 C-p --> I observe that point goes to line 19, but that line is the 10th in the window (90% from the top), when it should be the 8th line (70% from the top). In GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601) of 2012-11-05 on MS-W7-DANI Bzr revision: 110809 lekktu@gmail.com-20121105172930-a5gn0bwi4lndchhw Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -I../../libs/libXpm-3.5.10/include -I../../libs/libXpm-3.5.10/src -I../../libs/libpng-1.2.37-lib/include -I../../libs/zlib-1.2.5 -I../../libs/giflib-4.1.4-1-lib/include -I../../libs/jpeg-6b-4-lib/include -I../../libs/tiff-3.8.2-1-lib/include -I../../libs/libxml2-2.7.8-w32-bin/include/libxml2 -I../../libs/gnutls-3.0.9-w32-bin/include -I../../libs/libiconv-1.9.2-1-lib/include' Important settings: value of $LANG: ESN locale-coding-system: cp1252 default enable-multibyte-characters: t -- Dani Moncayo --e89a8ff1c620cb69ae04cdc7d5ce Content-Type: text/plain; charset=US-ASCII; name="test.txt" Content-Disposition: attachment; filename="test.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h967wh880 MQ0KMg0KMw0KNA0KNQ0KNg0KNw0KOA0KOQ0KMTANCjExDQoxMg0KMTMNCjE0DQoxNQ0KMTYNCjE3 DQoxOA0KMTkNCjIwDQoyMQ0KMjINCjIzDQoyNA0KMjUNCjI2DQoyNw0KMjgNCjI5DQozMA0K --e89a8ff1c620cb69ae04cdc7d5ce--