From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Grover Newsgroups: gmane.emacs.bugs Subject: Re: inconsistent behavior with scroll-margin and scroll-conservatively Date: Sun, 09 Mar 2008 01:25:05 -0800 Message-ID: References: <47CDAB02.3020609@groveronline.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205055026 30165 80.91.229.12 (9 Mar 2008 09:30:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2008 09:30:26 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 09 10:30:54 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JYHrq-0003y3-1q for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Mar 2008 10:30:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYHrH-0000tY-W0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Mar 2008 05:30:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYHrA-0000sz-Lq for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2008 05:30:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYHr7-0000sO-24 for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2008 05:30:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYHr6-0000sL-Su for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2008 05:30:08 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JYHr6-0007xE-9j for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2008 05:30:08 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1JYHr0-0002gr-SO for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2008 09:30:02 +0000 Original-Received: from gateway.groveronline.com ([216.99.210.242]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Mar 2008 09:30:02 +0000 Original-Received: from andy by gateway.groveronline.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Mar 2008 09:30:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gateway.groveronline.com User-Agent: Thunderbird 2.0.0.12 (X11/20080227) In-Reply-To: <47CDAB02.3020609@groveronline.com> X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17695 Archived-At: Andy Grover wrote: > I have scroll-margin set to 5 and scroll-conservatively set to 1000. The > behavior I want is while arrowing up or down, the screen scrolls by 1 > line, starting 5 rows from the top or bottom. This works fine if > arrowing up while the bottom of the buffer is not on screen, but if > arrowing down, then the cursor goes all the way to the last row and > then scrolls the screen by 5 lines. It also appears to do this even > while going up if the end of the buffer is visible. '(show-trailing-whitespace t) Having this set also seems to be needed to cause the problem. Regards -- Andy