delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/07/10:07:46

Date: Sat, 07 Apr 2001 16:04:58 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Stefan Viljoen" <Stefan_Viljoen AT excite DOT com>
Message-Id: <2950-Sat07Apr2001160457+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <9amv7d$b4c$1@ctb-nnrp2.saix.net> (Stefan_Viljoen@excite.com)
Subject: Re: Emacs - remember line?
References: <9amv7d$b4c$1 AT ctb-nnrp2 DOT saix DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019