[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mouse scroll and caret position
From: |
Jay I. |
Subject: |
Re: mouse scroll and caret position |
Date: |
Thu, 17 Sep 2009 02:07:08 +0300 |
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