Mail Archives: djgpp/2001/04/07/10:07:46
> From: "Stefan Viljoen" <Stefan_Viljoen AT excite DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 7 Apr 2001 14:04:13 +0200
>
> How can I get emacs to "remember" a line? I. e. like setedit, if I leave a
> certain line by way of, say, page up or down, or home or end (which already
> go to the top / end of the file in my emacs) it can "remember" a line and I
> can then jump back to that line? Is there a way I can mark certain lines and
> jump to them by number like in setedit?
There are about half a dozen ways to do that in Emacs ;-)
If you only need to record one or two lines and jump between them,
type "C-SPACE" (that is, hold the Ctrl key and press the Space bar).
This puts a "mark" on the spot where your cursor was. If you then
move the cursor anywhere inside that buffer, you can jump back by
typing "C-x C-x" (that is, Ctrl-x twice).
If you want to mark places in several buffers, I suggest to use
bookmarks. Please read about bookmarks in the on-line manual, by
typing "C-h i m emacs RET g Bookmarks RET".
Btw, it is best to ask questions about Emacs on gnu.emacs.help news
group, unless you are sure they are specific to the DJGPP port.
- Raw text -