all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#6610: scrolling problem of emacs
@ 2010-07-11  3:34 Aeron.E. Wang
  2010-07-11 17:58 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Aeron.E. Wang @ 2010-07-11  3:34 UTC (permalink / raw
  To: 6610

[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

Hi,

When scrolling with mouse or C-v or M-v, the cursor is moving. This destroys
the long highlights and selections etc. and it's confusing users. Most
editors keep the cursor position fixed even when it's invisible.

I searched the web for a solution but there is none. Looked the code of
emacs, looks vertical-motion also will move cursor when scrolling (not sure
how about vmotion). I believe the next release of emacs should fix this. If
there is any work-arounds please kindly let me know.

Please also let me know how to track the followup(s) of this "bug?" if
any... I hope so!

Thanks,
Aeron

[-- Attachment #2: Type: text/html, Size: 748 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#6610: scrolling problem of emacs
  2010-07-11  3:34 bug#6610: scrolling problem of emacs Aeron.E. Wang
@ 2010-07-11 17:58 ` Eli Zaretskii
  2010-07-11 18:44 ` Alan Mackenzie
  2010-07-12  5:45 ` martin rudalics
  2 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2010-07-11 17:58 UTC (permalink / raw
  To: Aeron.E. Wang; +Cc: 6610

> Date: Sat, 10 Jul 2010 23:34:44 -0400
> From: "Aeron.E. Wang" <aeron.e.wang@gmail.com>
> Cc: 
> 
> When scrolling with mouse or C-v or M-v, the cursor is moving. This destroys
> the long highlights and selections etc. and it's confusing users. Most
> editors keep the cursor position fixed even when it's invisible.

What do you mean "cursor position fixed"?  Fixed on the screen?  Then
try to customize scroll-preserve-screen-position to a value that is
either t or something that is non-nil and not t, like 'always.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#6610: scrolling problem of emacs
  2010-07-11  3:34 bug#6610: scrolling problem of emacs Aeron.E. Wang
  2010-07-11 17:58 ` Eli Zaretskii
@ 2010-07-11 18:44 ` Alan Mackenzie
  2010-07-12  5:45 ` martin rudalics
  2 siblings, 0 replies; 4+ messages in thread
From: Alan Mackenzie @ 2010-07-11 18:44 UTC (permalink / raw
  To: Aeron.E. Wang; +Cc: 6610

Hi, Aeron,

On Sat, Jul 10, 2010 at 11:34:44PM -0400, Aeron.E. Wang wrote:
> Hi,

> When scrolling with mouse or C-v or M-v, the cursor is moving. This destroys
> the long highlights and selections etc. and it's confusing users. Most
> editors keep the cursor position fixed even when it's invisible.

The region is bounded by point and mark.  You can remember the current
position of the region with C-<space> before you start scrolling.  A
subsequent C-u C-<space> will restore that region.  I don't actually use
highlighting or selections myself, so this might not be what you want.

> I searched the web for a solution but there is none. Looked the code of
> emacs, looks vertical-motion also will move cursor when scrolling (not sure
> how about vmotion). I believe the next release of emacs should fix this. If
> there is any work-arounds please kindly let me know.

It's not broken, there's nothing to fix.   Think about it - usually, when
people scroll a buffer, they'll be wanting to insert/delete text where
they end up.  If point (Emacs jargon for the cursor) is left behind, they
won't be able to edit at the new position.  How on earth are they going
to indicate to Emacs where point should go.  Yes I know how you'll
counter this.  You'll say that you can click the mouse.  However, not all
systems have mice, and many hackers dislike using them.  Emacs was
designed to be used without mouse ambages.

You say it's confusing when the point moves with the scrolling.  I say
this is nothing compared to the aggravation I used to suffer with lesser
editors when, after scrolling, an accidental keypress would warp back to
the random position where the cursor was.  This destroyed my chain of
thought with 100% reliability.

> Please also let me know how to track the followup(s) of this "bug?" if
> any... I hope so!

You should get cc's of all the followup mail.

> Thanks,
> Aeron

-- 
Alan Mackenzie (Nuremberg, Germany).





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#6610: scrolling problem of emacs
  2010-07-11  3:34 bug#6610: scrolling problem of emacs Aeron.E. Wang
  2010-07-11 17:58 ` Eli Zaretskii
  2010-07-11 18:44 ` Alan Mackenzie
@ 2010-07-12  5:45 ` martin rudalics
  2 siblings, 0 replies; 4+ messages in thread
From: martin rudalics @ 2010-07-12  5:45 UTC (permalink / raw
  To: Aeron.E. Wang; +Cc: 6610

 > When scrolling with mouse or C-v or M-v, the cursor is moving. This destroys
 > the long highlights and selections etc. and it's confusing users. Most
 > editors keep the cursor position fixed even when it's invisible.
 >
 > I searched the web for a solution but there is none.

Try here:

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

martin





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-12  5:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-11  3:34 bug#6610: scrolling problem of emacs Aeron.E. Wang
2010-07-11 17:58 ` Eli Zaretskii
2010-07-11 18:44 ` Alan Mackenzie
2010-07-12  5:45 ` martin rudalics

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.