From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: scroll-conservatively overflow Date: 16 Apr 2004 15:17:48 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040416114146.38AB.JMBARRANQUERO@wke.es> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082115146 13290 80.91.224.253 (16 Apr 2004 11:32:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Apr 2004 11:32:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 16 13:32:18 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BERZy-0005W3-00 for ; Fri, 16 Apr 2004 13:32:18 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BERZx-0004LS-00 for ; Fri, 16 Apr 2004 13:32:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BERYl-00061d-27 for emacs-devel@quimby.gnus.org; Fri, 16 Apr 2004 07:31:03 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BERUr-0004aL-1S for emacs-devel@gnu.org; Fri, 16 Apr 2004 07:27:01 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BERTP-0004BY-2V for emacs-devel@gnu.org; Fri, 16 Apr 2004 07:26:03 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.30) id 1BERMI-0002wg-2d for emacs-devel@gnu.org; Fri, 16 Apr 2004 07:18:10 -0400 Original-Received: (qmail 38323 invoked from network); 16 Apr 2004 11:18:05 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 16 Apr 2004 11:18:05 -0000 Original-To: Juanma Barranquero In-Reply-To: <20040416114146.38AB.JMBARRANQUERO@wke.es> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Lines: 27 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21748 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21748 Juanma Barranquero writes: > I like scrolling one line at a time. I have > > (setq scroll-step 0 > scroll-conservatively most-positive-fixnum) > > on my .emacs because scroll-step's documentation recommends setting > scroll-conservatively to "a large value" and most-positive-fixnum seems > less arbitrary than 10000 or 65535 or whatever. > > That used to work; now it doesn't (although I'm not sure it is because > of a recent change or I just took a time to notice), because > scroll-conservatively gets multiplied by FRAME_LINE_HEIGHT (f) in a > couple of places, and that causes an overflow. That change was made almost a year ago... I changed some things related to scroll a few days ago which may have made this more visible -- I don't know. > So, if no one opposes, I'll install the attached patch. Please install it. -- Kim F. Storm http://www.cua.dk