unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* move-to-window-line
@ 2002-09-03  5:18 Kazu Yamamoto
  0 siblings, 0 replies; only message in thread
From: Kazu Yamamoto @ 2002-09-03  5:18 UTC (permalink / raw)
  Cc: handa

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-03  5:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-03  5:18 move-to-window-line Kazu Yamamoto

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).