From: Thien-Thi Nguyen <ttn@glug.org>
Subject: Re: Emacs text cursor position
Date: Sun, 23 Jan 2005 15:48:12 +0100 [thread overview]
Message-ID: <7e1xcc5hhv.fsf@ada2.unipv.it> (raw)
In-Reply-To: 56c3c0f6.0501221905.233bd40c@posting.google.com
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
next prev parent reply other threads:[~2005-01-23 14:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-23 3:05 Emacs text cursor position AM
2005-01-23 4:36 ` Eli Zaretskii
2005-01-23 13:33 ` David Hansen
2005-01-23 14:48 ` Thien-Thi Nguyen [this message]
2005-01-25 19:04 ` Cristian Gutierrez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7e1xcc5hhv.fsf@ada2.unipv.it \
--to=ttn@glug.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).