ray@p.cs.uiuc.edu (08/25/89)
Can anyone tell me how to jump to an absolute line number in Gnuemacs? In other words, when a compiler says the problem is on line 200, how do I get there without counting lines? thanks. .
ecb@utrccm (ecb) (08/26/89)
on 24 Aug 89 17:01:00 GMT,
ray@bbn.COM said:
ray> Sender: arpa-unix-emacs-request@bbn.COM Source-Info: From (or
ray> Sender) name not authenticated.
ray> Can anyone tell me how to jump to an absolute line number in
ray> Gnuemacs?
ray> In other words, when a compiler says the problem is on line
ray> 200, how do I get there without counting lines?
ray> thanks.
ray> .
Use:
Meta-x goto-line 200
If you've compiled your code with Meta-x compile, you may find
the function called next-error (bound to Ctrl-x `) more to your liking.
This is compiler dependent, however.
Bud Boman
United Technologies Research Center
(203) 727-7128
ecb@utrccm.smc.utc.comlusk@donner.mcs.anl.gov (08/28/89)
| Can anyone tell me how to jump to an absolute line number in Gnuemacs? | In other words, when a compiler says the problem is on line 200, | how do I get there without counting lines? 1) M-x goto-line will prompt for a line number and go there. 2) I find it handy to bind \C-c \C-g to goto-line. 3) Use M-x compile and \C-x ` to find locate compile errors in the source code.
rbj@dsys.ncsl.nist.GOV (Root Boy Jim) (08/29/89)
? 2) I find it handy to bind \C-c \C-g to goto-line. NEVER use ^G as the second character of a command sequence. If you do, then how would you ever abort an initial ^C. I suppose you COULD type a character known to be bogus, but that's what ^G is supposed to be: a character that aborts any key sequence. Of course, emacs is customizable, so you can do what you want. Root Boy Jim Have GNU, Will Travel.
lisar@hpfclp.SDE.HP.COM (Lisa Rogers) (08/31/89)
> NEVER use ^G as the second character of a command sequence. If you do, > then how would you ever abort an initial ^C. I suppose you COULD type > a character known to be bogus, but that's what ^G is supposed to be: > a character that aborts any key sequence. I agree; this could make your life difficult. But binding it to ^Xg or ^Cg works well. Lisa Rogers lisar@hpfclp.sde.hp.com