emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestion: A fringe indicator that shows the last/first line before


From: Lennart Borgman (gmail)
Subject: Re: Suggestion: A fringe indicator that shows the last/first line before scrolling
Date: Thu, 28 Feb 2008 19:34:07 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

David De La Harpe Golden wrote:
On 28/02/2008, Lennart Borgman (gmail) <address@hidden> wrote:
David De La Harpe Golden wrote:

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.


It looks like I am missing something. Are you saying that "things like
 scroll-bar scrolling" is not done through Emacs "commands" (ie
 interactive Emacs functions)?


See first caveat in opening comments in Martin's scroll-restore.el

http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg01892.html

and discussion thread following it.

Not sure I understood everything there, but what I noticed was that point-before-scroll needs to have a window local value. Is that the main issue?

Perhaps that can be emulated with a window local overlay at the moment? (It is ugly of course, but just to test the concept with the fringe indicator.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]