|
From: | Thien-Thi Nguyen |
Subject: | Re: Emacs text cursor position |
Date: | Sun, 23 Jan 2005 15:48:12 +0100 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
ummajera@yahoo.ca (AM) writes: > How can I set "mouse > scroll" not to affect the position of the cursor? probably you can remember the point on first mouse scroll event and jump to it later. you can hide display of the cursor during scrolling. rough sketch: - advise scrolling commands to save point unless last-command is a scrolling command - advise scrolling commands to hide cursor - advise all other commands (or maybe just C-l) to show the cursor - advise C-l to jump to the saved point - make all this advising into a minor mode feel free to post code when you find/write it! thi
[Prev in Thread] | Current Thread | [Next in Thread] |