emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unexpected cursor movement


From: MIYOSHI Masanori
Subject: unexpected cursor movement
Date: Wed, 24 Aug 2005 22:45:45 +0900
User-agent: Wanderlust/2.15.1 (Almost Unreal) EMIKO/1.14.1 (Choanoflagellata) LIMIT/1.14.8 (Hajinosato) APEL/10.6 Emacs/22.0.50 (i386-msvc-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.00-dev (KIKU)

The following operation causes unexpected cursor movement in
Emacs CVS HEAD on Windows and Solaris.

1. Start up emacs with `-q'.

$ emacs -q

2. In the *scratch* buffer, evaluate the next expressions.

(let ((scroll-margin 1))
  (goto-line 2)
  (set-window-start (selected-window) (point)))

As a consequence, the cursor is moved to the vertical center of
the window.

The cursor used to stay in the begining of the window regardless
of the value of `scroll-margin'.

Has the specification been changed?  Or is this a bug?

It seems that scroll margines are checked excessively in
try_window().

--
MIYOSHI Masnori




reply via email to

[Prev in Thread] Current Thread [Next in Thread]