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

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

move-to-window-line


From: 山本和彦
Subject: move-to-window-line
Date: Tue, 03 Sep 2002 14:18:33 +0900 (JST)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i386-unknown-netbsdelf1.5.3., X toolkit, Xaw3d scroll bars)
 of 2002-07-10 on mine.iij.ad.jp
configured using `configure  --without-xim --prefix=/usr/local/emacs21'
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: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Action of move-to-window-line of Emacs 21.2 is different from that of
Emacs 20.7. Mr. Handa said to me this is a bug. So, I'm writing this
report.

Execute the following code to insert an overlay to *scratch*, whose
string is [End of buffer].

        (let ((ovl (make-overlay (point-max) (point-max))))
          (overlay-put ovl 'before-string "[End of buffer]"))

Now, please change the height of an Emacs window corresponding to
*scratch* so that this overlay comes the last visible line of the
window, for example, by resizing with a mouse.

In this situation, on Emacs 20.7, evaluating the code:
        (move-to-window-line -1)
the cursor moves to "*1". But on Emacs 21.2, the cursor moves to "*2".

        --- *scratch* buffer

        *2
        [End of buffer]*1
        --- *scratch* buffer

I think motion of Emacs 20.7 is correct.

Recent input:
RET d d d d d d x i SPC d x C-p C-p C-p C-p i O y i 
p i d x C-p C-p C-p C-p C-p i O y C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p SPC n n n SPC n SPC SPC SPC SPC 
i SPC d x C-p C-p C-p C-p i d x i p o RET x i C-p SPC 
RET RET RET RET RET RET RET RET RET RET RET RET RET 
RET RET RET RET ESC x r e p o TAB r TAB b SPC RET

Recent messages:
Communicating with the POP server...
Sending your APOP password to the POP server...
No new messages
Refiling and deleting...done
Connecting to the POP server...done
Communicating with the POP server...
Sending your APOP password to the POP server...
No new messages
Making completion list...
Loading emacsbug...done

--Kazu Yamamoto, IIJ




reply via email to

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