Subject: 23.0.60; scroll-preserve-screen-position bug

From: "MATSUI Nag." <[email-masked]>
Date: Fri, 27 Feb 2009 22:52:57 +0900 (JST)

scroll-preserve-screen-position bug?

1. emacs -nw large-text-file
2. (next-line)
3. (scroll-up)
4. repeat 2. and 3. several times
5. cursor position is not preserved

;-- minimum .emacs --
(setq scroll-preserve-screen-position t)

(require 'disp-table)
(defface highlight-eol-face '((() (:foreground "red"))) nil)
(defun set-standard-display-table-with-face (code string face)
  (aset standard-display-table code
        (vconcat (mapcar
                  (lambda (c) (logior c (lsh (face-id face) 22))) string))))
(set-standard-display-table-with-face ?\n "<\n" 'highlight-eol-face)
;-- minimum .emacs --

In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu)
 of 2009-01-24 on air
configured using `configure  '--without-x''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  tabbar-mode: t
  display-time-mode: t
  show-paren-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t