unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Jay I." <jay.27182818@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: help-gnu-emacs@gnu.org
Subject: Re: mouse scroll and caret position
Date: Thu, 17 Sep 2009 02:07:08 +0300	[thread overview]
Message-ID: <1253142428.7540.4.camel@jay> (raw)
In-Reply-To: <4AB09F02.5070901@gmx.at>

thanks martin. seems to be exactly what i need. i give it a try
tomorrow.

jay

On Wed, 2009-09-16 at 10:17 +0200, martin rudalics wrote:
> > 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 23:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16  8:17 mouse scroll and caret position martin rudalics
2009-09-16 23:07 ` Jay I. [this message]
  -- 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=1253142428.7540.4.camel@jay \
    --to=jay.27182818@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rudalics@gmx.at \
    /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).