all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#6589: 24.0.50; C-l doesn't work if cursor is at the top of the file
@ 2010-07-09  2:48 jidanni
  2010-07-10  3:48 ` Geoff Gole
  2010-08-02 13:56 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: jidanni @ 2010-07-09  2:48 UTC (permalink / raw)
  To: 6589; +Cc: rfrancoise

   C-l runs the command recenter-top-bottom, which is an interactive
   compiled Lisp function in `window.el'.

However nothing happens when one's cursor is at the top of the buffer.
Works fine when the cursor is at the bottom of the buffer however.

And also little happens when one's cursor is near the top of the buffer.
emacs-snapshot package, version 1:20100705-1





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#6589: 24.0.50; C-l doesn't work if cursor is at the top of the file
  2010-07-09  2:48 bug#6589: 24.0.50; C-l doesn't work if cursor is at the top of the file jidanni
@ 2010-07-10  3:48 ` Geoff Gole
  2010-08-02 13:56 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Geoff Gole @ 2010-07-10  3:48 UTC (permalink / raw)
  To: jidanni, 6589

C-l does not move point, and emacs by design cannot display space
above the first line of the buffer. As a result, when point is in the
first line the only place the window can be moved to is the position
it is already in, making it appear as if the command does nothing.

Perhaps emacs should beep or show a message in this situation, but the
behaviour itself is not a bug.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#6589: 24.0.50; C-l doesn't work if cursor is at the top of the file
  2010-07-09  2:48 bug#6589: 24.0.50; C-l doesn't work if cursor is at the top of the file jidanni
  2010-07-10  3:48 ` Geoff Gole
@ 2010-08-02 13:56 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2010-08-02 13:56 UTC (permalink / raw)
  To: jidanni; +Cc: 6589, rfrancoise

>    C-l runs the command recenter-top-bottom, which is an interactive
>    compiled Lisp function in `window.el'.

> However nothing happens when one's cursor is at the top of the buffer.

What did you expect to happen?


        Stefan





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-02 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-09  2:48 bug#6589: 24.0.50; C-l doesn't work if cursor is at the top of the file jidanni
2010-07-10  3:48 ` Geoff Gole
2010-08-02 13:56 ` Stefan Monnier

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.