unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Jay I." <jay.27182818@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: mouse scroll and caret position
Date: Tue, 15 Sep 2009 14:27:43 +0300	[thread overview]
Message-ID: <1253014063.8381.26.camel@jay> (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.

p.s. i'm using emacs-gtk-22.2.1

regards,
jay





             reply	other threads:[~2009-09-15 11:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15 11:27 Jay I. [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-09-16  8:17 mouse scroll and caret position martin rudalics
2009-09-16 23:07 ` 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=1253014063.8381.26.camel@jay \
    --to=jay.27182818@gmail.com \
    --cc=help-gnu-emacs@gnu.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).