* Moving line to top
@ 2009-09-11 17:14 Stefan Bienert
2009-09-12 8:27 ` Peter Dyballa
0 siblings, 1 reply; 9+ messages in thread
From: Stefan Bienert @ 2009-09-11 17:14 UTC (permalink / raw)
To: help-gnu-emacs
Hi there,
I'm searching for the command/ shortcut to scroll the line where point
is up to the top of buffer. What I am trying to do is, moving the buffer
so that the heading of a chapter is at the upper border of the window.
Any ideas?
greetings,
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Moving line to top
2009-09-11 17:14 Moving line to top Stefan Bienert
@ 2009-09-12 8:27 ` Peter Dyballa
2009-09-12 11:03 ` Stefan Bienert
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Peter Dyballa @ 2009-09-12 8:27 UTC (permalink / raw)
To: Stefan Bienert; +Cc: help-gnu-emacs
Am 11.09.2009 um 19:14 schrieb Stefan Bienert:
> Any ideas?
Use GNU Emacs 23 and press on that line C-l C-l.
--
Mit friedvollen Grüßen
Pete
A morning without coffee is like something without something else.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Moving line to top
2009-09-12 8:27 ` Peter Dyballa
@ 2009-09-12 11:03 ` Stefan Bienert
2009-09-12 22:28 ` Sean Sieger
2009-09-12 14:22 ` Drew Adams
2009-09-12 15:27 ` Andreas Politz
2 siblings, 1 reply; 9+ messages in thread
From: Stefan Bienert @ 2009-09-12 11:03 UTC (permalink / raw)
To: help-gnu-emacs
>> Any ideas?
> Use GNU Emacs 23 and press on that line C-l C-l.
So there is not a chance having this in Emacs 22?
I'm using Gentoo Linux and there Emacs 23 is not in the stable branch.
(as far as I know there's still a problem with multitty and gtk).
greetings,
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Moving line to top
2009-09-12 8:27 ` Peter Dyballa
2009-09-12 11:03 ` Stefan Bienert
@ 2009-09-12 14:22 ` Drew Adams
2009-09-12 15:27 ` Andreas Politz
2 siblings, 0 replies; 9+ messages in thread
From: Drew Adams @ 2009-09-12 14:22 UTC (permalink / raw)
To: 'Peter Dyballa', 'Stefan Bienert'; +Cc: help-gnu-emacs
> Use GNU Emacs 23 and press on that line C-l C-l.
If you don't have Emacs 23, you can get the code (`recenter-top-bottom') here:
http://www.emacswiki.org/emacs/misc-cmds.el
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Moving line to top
2009-09-12 8:27 ` Peter Dyballa
2009-09-12 11:03 ` Stefan Bienert
2009-09-12 14:22 ` Drew Adams
@ 2009-09-12 15:27 ` Andreas Politz
2009-09-12 16:00 ` Stefan Bienert
[not found] ` <mailman.6533.1252773260.2239.help-gnu-emacs@gnu.org>
2 siblings, 2 replies; 9+ messages in thread
From: Andreas Politz @ 2009-09-12 15:27 UTC (permalink / raw)
To: help-gnu-emacs
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 11.09.2009 um 19:14 schrieb Stefan Bienert:
>
>> Any ideas?
>
>
> Use GNU Emacs 23 and press on that line C-l C-l.
>
Or C-0 C-l on any version (released in this millennium).
-ap
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Moving line to top
2009-09-12 15:27 ` Andreas Politz
@ 2009-09-12 16:00 ` Stefan Bienert
2009-09-12 20:18 ` Glauber Alex Dias Prado
[not found] ` <mailman.6533.1252773260.2239.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 9+ messages in thread
From: Stefan Bienert @ 2009-09-12 16:00 UTC (permalink / raw)
To: help-gnu-emacs
> Or C-0 C-l on any version (released in this millennium).
Thanks a lot! This will do until Emacs-23 reaches Gentoo!
greetings,
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Moving line to top
[not found] ` <mailman.6533.1252773260.2239.help-gnu-emacs@gnu.org>
@ 2009-09-12 19:25 ` John A Pershing Jr
0 siblings, 0 replies; 9+ messages in thread
From: John A Pershing Jr @ 2009-09-12 19:25 UTC (permalink / raw)
To: help-gnu-emacs
Stefan Bienert <bienert@zbh.uni-hamburg.de> writes:
>> Or C-0 C-l on any version (released in this millennium).
>
> Thanks a lot! This will do until Emacs-23 reaches Gentoo!
Note that C-l, if given a numeric argument, will scroll the current line
to that line in the window, with 0 being the top line and -1 being the
bottom line (which is also occasionally useful).
(With no argument C-l scrolls to the center line of the window, as you
know. Emacs-23 has added the C-l C-l and C-l C-l C-l hacks.)
John A Pershing Jr
<pershing@alum.mit.edu>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Moving line to top
2009-09-12 16:00 ` Stefan Bienert
@ 2009-09-12 20:18 ` Glauber Alex Dias Prado
0 siblings, 0 replies; 9+ messages in thread
From: Glauber Alex Dias Prado @ 2009-09-12 20:18 UTC (permalink / raw)
To: Stefan Bienert; +Cc: help-gnu-emacs
Stefan Bienert <bienert@zbh.uni-hamburg.de> writes:
>> Or C-0 C-l on any version (released in this millennium).
>
> Thanks a lot! This will do until Emacs-23 reaches Gentoo!
Its already there do emerge --sync
>
> greetings,
>
> Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Moving line to top
2009-09-12 11:03 ` Stefan Bienert
@ 2009-09-12 22:28 ` Sean Sieger
0 siblings, 0 replies; 9+ messages in thread
From: Sean Sieger @ 2009-09-12 22:28 UTC (permalink / raw)
To: help-gnu-emacs
Stefan Bienert <bienert@zbh.uni-hamburg.de> writes:
So there is not a chance having this in Emacs 22?
There's a big beautiful chance, as Drew said above, put this file in
your site-lisp directory:
http://www.emacswiki.org/emacs/misc-cmds.el
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-09-12 22:28 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-11 17:14 Moving line to top Stefan Bienert
2009-09-12 8:27 ` Peter Dyballa
2009-09-12 11:03 ` Stefan Bienert
2009-09-12 22:28 ` Sean Sieger
2009-09-12 14:22 ` Drew Adams
2009-09-12 15:27 ` Andreas Politz
2009-09-12 16:00 ` Stefan Bienert
2009-09-12 20:18 ` Glauber Alex Dias Prado
[not found] ` <mailman.6533.1252773260.2239.help-gnu-emacs@gnu.org>
2009-09-12 19:25 ` John A Pershing Jr
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).