[Top][All Lists]
[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: |
David De La Harpe Golden |
Subject: |
Re: Suggestion: A fringe indicator that shows the last/first line before scrolling |
Date: |
Thu, 28 Feb 2008 23:18:20 +0000 |
On 28/02/2008, Lennart Borgman (gmail) <address@hidden> wrote:
> >
> > 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,
Sorry, I was initially wrongly presenting the issue - not about it
being non "commands", I guess (interactive "e") functions should still
count as commands. Martin found post-command-hooks apparently don't
run in some circumstances for such things - here's the relevant caveat
text I referred to:
;; Scroll Restore mode does not handle `switch-frame' and
;; `vertical-scroll-bar' events executed within the loops in
;; `mouse-show-mark' and `scroll-bar-drag' (these don't call
;; `post-command-hook' as needed by Scroll Restore mode).
So try this (on X11 at least):
(add-hook 'post-command-hook
(lambda () (message "post-command-hook %s" (current-time))))
Then activate the region with the mouse, scroll with scroll bar.. no update.
This might just be a bug, or intentional (though kind of inconsistent)
behaviour, I don't know.
- Suggestion: A fringe indicator that shows the last/first line before scrolling, Tassilo Horn, 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, David O'Toole, 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, Lennart Borgman (gmail), 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, David De La Harpe Golden, 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, Lennart Borgman (gmail), 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, David De La Harpe Golden, 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, Lennart Borgman (gmail), 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, David De La Harpe Golden, 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, Lennart Borgman (gmail), 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling,
David De La Harpe Golden <=
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, Stefan Monnier, 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, David De La Harpe Golden, 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, Stefan Monnier, 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, David De La Harpe Golden, 2008/02/29
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, David De La Harpe Golden, 2008/02/29
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, David De La Harpe Golden, 2008/02/29
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, Lennart Borgman (gmail), 2008/02/29
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, David De La Harpe Golden, 2008/02/29
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, Lennart Borgman (gmail), 2008/02/29
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, David De La Harpe Golden, 2008/02/29