[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18739: 24.3; Request for a hook to be provided when scrolling will m
From: |
Stefan Monnier |
Subject: |
bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor |
Date: |
Wed, 15 Oct 2014 18:48:16 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
>> It would be helpful to have a hook that would be called before any
>> scrolling command moves the cursor. In other words, I want to be
>> notified when an update to the display will force the location of
>> `point' to change in the current buffer.
> What's wrong with window-scroll-functions?
But these are also called when point is not affected, right?
>> One motivation for such a hook is the ability to save the current
>> cursor location before scrolling so that it is possible to
>> automatically jump back to that position after scolling.
> If you jump back, you will actually undo the scroll, so I'm not sure
> what kind of situation are you talking about, or why do you use the
> scrolling commands to begin with. Please elaborate.
He's thinking of scrolling back a while later.
Think about a case such as Martin's scroll-replace.el (just added to GNU
ELPA).
Stefan
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, (continued)
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Eli Zaretskii, 2014/10/15
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Josh, 2014/10/15
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Eli Zaretskii, 2014/10/15
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Josh Hunsaker, 2014/10/15
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Ivan Shmakov, 2014/10/15
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Eli Zaretskii, 2014/10/16
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Andreas Schwab, 2014/10/16
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Eli Zaretskii, 2014/10/16
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Andreas Schwab, 2014/10/16
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Eli Zaretskii, 2014/10/16
bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor,
Stefan Monnier <=
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Eli Zaretskii, 2014/10/16
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Stefan Monnier, 2014/10/16
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Josh, 2014/10/16
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Eli Zaretskii, 2014/10/16
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Josh, 2014/10/16
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Eli Zaretskii, 2014/10/16
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Josh, 2014/10/16
- bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Eli Zaretskii, 2014/10/16
bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Eli Zaretskii, 2014/10/16
bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor, Stefan Monnier, 2014/10/16