From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.devel Subject: Re: scroll-margin has no effect when show-trailing-whitespace is true Date: Tue, 21 Jun 2005 17:17:40 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1119368479 6159 80.91.229.2 (21 Jun 2005 15:41:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2005 15:41:19 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 21 17:41:11 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dkks4-0007TR-Oj for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2005 17:41:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkkyW-000156-Fi for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2005 11:47:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DkktR-0007UI-7o for emacs-devel@gnu.org; Tue, 21 Jun 2005 11:42:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DkktM-0007Q5-DR for emacs-devel@gnu.org; Tue, 21 Jun 2005 11:42:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkktL-00074z-OP for emacs-devel@gnu.org; Tue, 21 Jun 2005 11:42:23 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DkkaI-0000ld-Lk for emacs-devel@gnu.org; Tue, 21 Jun 2005 11:22:43 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DkkQF-00081F-IO for emacs-devel@gnu.org; Tue, 21 Jun 2005 17:12:19 +0200 Original-Received: from linus003.dd.chalmers.se ([129.16.117.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Jun 2005 17:12:19 +0200 Original-Received: from bojohan+news by linus003.dd.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Jun 2005 17:12:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: linus003.dd.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:pOdqtBs4xhc51Ib7jaozvB6w7XA= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39227 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39227 Richard Stallman writes: > `scroll-margin' has no effect when `show-trailing-whitespace' is true. > > Would you please send a self-contained test case? Start emacs -Q Visit a file that is larger than a screenful (say etc/NEWS). M-x set-variable RET scroll-margin RET 3 RET Move point down the buffer and notice how the window scrolls when point is three lines from the bottom of the window. M-x set-variable RET show-trailing-whitespace RET t RET Move point around and notice that the margin is no longer taken into account. -- Johan Bockgård