unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: jay.27182818@gmail.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: mouse scroll and caret position
Date: Wed, 16 Sep 2009 10:17:06 +0200	[thread overview]
Message-ID: <4AB09F02.5070901@gmx.at> (raw)

 > hi, guys. how can i preserve caret position when scrolling the window? i
 > got used to the following technique - when i have to shoot a glance at a
 > piece of code in the same file but a couple of pages above/under my
 > current position i scroll the window with mouse wheel or scrollbar then
 > look at the code and hit either an arrow key or just start entering new
 > code based on what i've seen and my ide/editor brings my current
 > position into view automatically. when i do it in emacs if i scroll the
 > window too much the caret changes its position to stay on the screen.

Have a look at

http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg01892.html

martin




             reply	other threads:[~2009-09-16  8:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16  8:17 martin rudalics [this message]
2009-09-16 23:07 ` mouse scroll and caret position Jay I.
  -- strict thread matches above, loose matches on Subject: below --
2009-09-15 11:27 Jay I.

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=4AB09F02.5070901@gmx.at \
    --to=rudalics@gmx.at \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jay.27182818@gmail.com \
    /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).