Subject: 23.0.92; View-scroll-page-forward/backward does wrong in text mode after text-scale-increase/decrease

From: 端瑞 <[email-masked]>
Date: Sun, 24 May 2009 14:28:43 +0800

Open a normal text file with the text mode, do
(view-mode)
(text-scale-increase) or (text-scale-decrease)
(View-scroll-page-forward) or (View-scroll-page-backward)
The View-scroll-page-* command does wrong.  It cannot scroll "page
size" as expected like it does when the text-scale minor mode is off.

In GNU Emacs 23.0.92.1 (i386-mingw-nt5.1.2600)
 of 2009-03-31 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  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: CHS
  value of $XMODIFIERS: nil
  locale-coding-system: cp936
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t

Recent input:
<help-echo> C-x C-f d : / c o d e / b r e w / c t m
a i l / r e f / p r o t o c <tab> r f c 1 9 3 9 <tab>
<return> M-x v i e w SPC m o d e <return> SPC SPC SPC
SPC SPC SPC SPC SPC SPC SPC <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <S-down-mouse-1>
SPC SPC SPC SPC SPC M-x l i n SPC u m SPC m o e <backspace>
d e <return> SPC SPC SPC SPC SPC SPC SPC SPC <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> SPC <backspace>
SPC SPC SPC <backspace> SPC <backspace> SPC <S-down-mouse-1>
<S-down-mouse-1> <S-down-mouse-1> SPC SPC SPC <backspace>
SPC <backspace> SPC SPC SPC <S-down-mouse-1> M-x M-p
<return> C-x C-f d : / e h o m e / t e <tab> <return>
C-@ C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-w C-x
d <return> n n n n n n n n n n n n n n n n n p p d
x y e s <return> C-x b <return> C-x k <return> y e
s <return> M-x r e p o r t <return> C-g M-x r e p o
r t <tab> <return> V i e w - C-g C-x b <return> C-h
k SPC C-x b <return> C-x b <return> M-x r e p o r t
<return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
Linum mode enabled
Linum mode disabled
Mark set
1 of 1 deletions
1 deletion done
Quit [2 times]
Type C-x 1 to delete the help window.