From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: A fringe indicator that shows the last/first line before scrolling Date: Fri, 29 Feb 2008 09:02:08 +0100 Message-ID: <87r6ew42db.fsf@member.fsf.org> References: <8763w9mhdm.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204272152 18230 80.91.229.12 (29 Feb 2008 08:02:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 08:02:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 29 09:02:55 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JV0Ck-0001Ge-1c for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 09:02:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JV0CD-0000Il-PM for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 03:02:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JV0CA-0000Ig-Go for emacs-devel@gnu.org; Fri, 29 Feb 2008 03:02:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JV0C9-0000IU-EJ for emacs-devel@gnu.org; Fri, 29 Feb 2008 03:02:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JV0C9-0000IR-BK for emacs-devel@gnu.org; Fri, 29 Feb 2008 03:02:17 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JV0C4-0008Ba-Hm; Fri, 29 Feb 2008 03:02:12 -0500 Original-Received: from out3.smtp.messagingengine.com ([66.111.4.27]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JV0C3-0002jJ-PL; Fri, 29 Feb 2008 03:02:12 -0500 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 94BCBA7F73; Fri, 29 Feb 2008 03:02:11 -0500 (EST) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 29 Feb 2008 03:02:11 -0500 X-Sasl-enc: elXgJU9/fD4Cqo7jtsqSMjM9w627s6gEjS2bfmwK52ot 1204272130 Original-Received: from localhost (dslb-084-063-002-112.pools.arcor-ip.net [84.63.2.112]) by mail.messagingengine.com (Postfix) with ESMTPA id 6FADA25175; Fri, 29 Feb 2008 03:02:10 -0500 (EST) Mail-Followup-To: rms@gnu.org, emacs-devel@gnu.org In-Reply-To: (Richard Stallman's message of "Thu, 28 Feb 2008 20:40:13 -0500") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:90843 Archived-At: Richard Stallman writes: > If you scroll up (i.e. with C-v) it shows the last visible line > before the scroll, if you scroll down (i.e. with M-v) it shows the > first. > > There are normally two lines of overlap, so why do you need this? Here it are three lines, although `next-screen-context-lines' is at its default value of 2. So after a C-v the formerly last line will be the third line after the scroll. Anyway, I think it would ease finding the right position, because spotting a fringe indicator is easier to do than to count the lines from the top/bottom of a window. It would especially help if you don't scroll by "near a full page" but a given amount of lines or when scrolling is done as a result of point movement. (Ok, I can see that scrolling because of moving point usually centers the window around point.) Bye, Tassilo