unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* rookie question  How to jump to line#
@ 2006-03-06 14:05 billy
  2006-03-06 15:31 ` Albert Reiner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: billy @ 2006-03-06 14:05 UTC (permalink / raw)


How do I jump to a line #?
How do I tell emacs to display line #?

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

* Re: rookie question  How to jump to line#
  2006-03-06 14:05 rookie question How to jump to line# billy
@ 2006-03-06 15:31 ` Albert Reiner
  2006-03-06 16:01 ` Mark T.B. Carroll
  2006-03-06 17:45 ` B. T. Raven
  2 siblings, 0 replies; 4+ messages in thread
From: Albert Reiner @ 2006-03-06 15:31 UTC (permalink / raw)


["billy" <bp1497@att.com>, 6 Mar 2006 06:05:52 -0800]:
> How do I jump to a line #?
> How do I tell emacs to display line #?

,----[ C-h f goto-line RET ]
| goto-line is an interactive compiled Lisp function in `simple'.
| (goto-line ARG)
| 
| Goto line ARG, counting from line 1 at beginning of buffer.
`----

Albert.

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

* Re: rookie question  How to jump to line#
  2006-03-06 14:05 rookie question How to jump to line# billy
  2006-03-06 15:31 ` Albert Reiner
@ 2006-03-06 16:01 ` Mark T.B. Carroll
  2006-03-06 17:45 ` B. T. Raven
  2 siblings, 0 replies; 4+ messages in thread
From: Mark T.B. Carroll @ 2006-03-06 16:01 UTC (permalink / raw)


"billy" <bp1497@att.com> writes:

> How do I jump to a line #?
> How do I tell emacs to display line #?

I normally use M-x goto-line

-- Mark

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

* Re: rookie question  How to jump to line#
  2006-03-06 14:05 rookie question How to jump to line# billy
  2006-03-06 15:31 ` Albert Reiner
  2006-03-06 16:01 ` Mark T.B. Carroll
@ 2006-03-06 17:45 ` B. T. Raven
  2 siblings, 0 replies; 4+ messages in thread
From: B. T. Raven @ 2006-03-06 17:45 UTC (permalink / raw)



"billy" <bp1497@att.com> wrote in message
news:1141653952.450687.309980@j33g2000cwa.googlegroups.com...
> How do I jump to a line #?
> How do I tell emacs to display line #?
>

In version 22 it's M-g g
In earlier versions you could put something like one of these in .emacs:

(global-set-key [(super g)] 'goto-line)

or

(global-set-key [(hyper g)] 'goto-line)

or

(defalias 'gtl 'goto-line)
and then then type M-x gtl (Alt-x gtl)

Ed

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

end of thread, other threads:[~2006-03-06 17:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-06 14:05 rookie question How to jump to line# billy
2006-03-06 15:31 ` Albert Reiner
2006-03-06 16:01 ` Mark T.B. Carroll
2006-03-06 17:45 ` B. T. Raven

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