[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: |
Stefan Monnier |
Subject: |
Re: Suggestion: A fringe indicator that shows the last/first line before scrolling |
Date: |
Thu, 28 Feb 2008 20:55:45 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> 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.
It's neither. It's just the result of how the code is written: there's
only one command (the mouse-drag) which happens to read several events
waiting for the event that marks the end of the drag.
Usually each event is associated with a command (modulo commands bound
to event sequences like C-x C-x), but it's not necessarily the case.
There are other cases where scrolling can happen without running
post-command-hook, e.g. scrolling triggered by process filters
(e.g. scrolling in the *compilation* buffer or in tail-mode buffers).
Stefan
- 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, 2008/02/28
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling,
Stefan Monnier <=
- 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
- Re: Suggestion: A fringe indicator that shows the last/first line before scrolling, David De La Harpe Golden, 2008/02/29