From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "David De La Harpe Golden" Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: A fringe indicator that shows the last/first line before scrolling Date: Thu, 28 Feb 2008 18:01:58 +0000 Message-ID: <8e24944a0802281001l7022dedfg19846275cba15ef0@mail.gmail.com> References: <8763w9mhdm.fsf@member.fsf.org> <64bfe3d50802280555l626d1dd4o9eb002f7d6c09681@mail.gmail.com> <47C6D74C.6010501@gmail.com> <8e24944a0802280834v3cf8e2acxd7292feacd4c470b@mail.gmail.com> <47C6F4F8.5040703@gmail.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 1204221736 27329 80.91.229.12 (28 Feb 2008 18:02:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2008 18:02:16 +0000 (UTC) Cc: David O'Toole , emacs-devel@gnu.org To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 28 19:02:40 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 1JUn5b-0006KM-SQ for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2008 19:02:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUn55-0005qr-Pb for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2008 13:02:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUn51-0005q0-47 for emacs-devel@gnu.org; Thu, 28 Feb 2008 13:02:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUn4z-0005pg-El for emacs-devel@gnu.org; Thu, 28 Feb 2008 13:02:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUn4z-0005pR-2j for emacs-devel@gnu.org; Thu, 28 Feb 2008 13:02:01 -0500 Original-Received: from wf-out-1314.google.com ([209.85.200.170]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUn4y-0007vc-FX for emacs-devel@gnu.org; Thu, 28 Feb 2008 13:02:00 -0500 Original-Received: by wf-out-1314.google.com with SMTP id 29so3490531wff.24 for ; Thu, 28 Feb 2008 10:01:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=tLqllcm4H3znY14zcJV3ySbiVPC+jL0XY3lo/5ROLnY=; b=ooojS0+C9cHw3/BSopQTlt8oYepWlcuPDQXyJM37XZR40VBkp7dF1aXYUlpjDAk2vcgzBdJuFvEtu/DAn3r1LRIvrmE1Drz3zSEOrDgLNze1mk/goIt16/v/2BbaLoeLeuyU0oV+7A6SrIjoTey9drGPiRHVyAWxWn4/5IJxwk0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eQzGyVFlAGEzFxPJxgfggHusjKfcYOPIcco7M4QzP8cB0AuV+/m0iZ4WvpUhiha0QV3JVgnpthdoT96kIFgE6mOEYQ1/S2QTlSbpJ2XFAbkEtcmZ/mTHx80h9yyMyis5Yb647i+85HKJMiHTKjCCMdsdkSuYaubi0Ir0A8hx/Qk= Original-Received: by 10.142.12.14 with SMTP id 14mr6474140wfl.152.1204221718677; Thu, 28 Feb 2008 10:01:58 -0800 (PST) Original-Received: by 10.142.111.4 with HTTP; Thu, 28 Feb 2008 10:01:58 -0800 (PST) In-Reply-To: <47C6F4F8.5040703@gmail.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:90749 Archived-At: On 28/02/2008, Lennart Borgman (gmail) wrote: > David De La Harpe Golden wrote: > > On 28/02/2008, Lennart Borgman (gmail) wrote: > >> David O'Toole wrote: > >> > I like this idea, I tend to have the same problem. > >> > >> > >> Me too. > >> > >> > >> > I wonder if this could be implemented in plain Emacs Lisp? > >> > >> > >> A post command hook? > >> > > > > The recent onlist discussion around scroll-restore.el suggests that > > wouldn't quite work, anyway - not all scrolling thingys are commands. > > > I guess I have expressed myself a bit unclear here. Stefan expressed > this better. See his answer to David O'Toole. > > Or am I missing something? > Well, it depends - if you want to do it only for actual commands scroll-up and scroll-down, then post-command-hook will presumably work. If you want to do it for "scrolling", then things like scroll-bar scrolling may cause problems.