unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Robert D. Crawford" <rdc1x@comcast.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Go to line
Date: Mon, 23 Apr 2007 10:13:42 -0500	[thread overview]
Message-ID: <87abwz15uh.fsf@comcast.net> (raw)
In-Reply-To: 1177340103.887135.165610@p77g2000hsh.googlegroups.com

PAolo <paolopantaleo@gmail.com> writes:

> is there some faster way to go to a certain line, rather than
> M-x goto-line ?

Retrieved via C-h a goto-line:

goto-line		       <menu-bar> <edit> <goto> <go-to-line> ,  meta g meta g ,  meta g g 
  Command: Goto line ARG, counting from line 1 at beginning of buffer.

I am not sure if there was a change between versions, but I am using the
cvs version 

GNU Emacs 22.0.98.1 (i686-pc-linux-gnu) of 2007-04-17 on t40

> Can I specify a line number when I open a file with C-x C-f?

Retrieved via C-h k C-x C-f

 control x control f  runs the command find-file
  which is an interactive compiled Lisp function in `files.el'.
It is bound to  <open> ,  control x control f ,  <menu-bar> <file> <new-file> .
(find-file FILENAME &optional WILDCARDS)

Edit file FILENAME.
Switch to a buffer visiting file FILENAME,
creating one if none already exists.
Interactively, the default if you just type RET is the current directory,
but the visited file name is available through the minibuffer history:
type M-n to pull it into the minibuffer.

Interactively, or if WILDCARDS is non-nil in a call from Lisp,
expand wildcards (if any) and visit multiple files.  You can
suppress wildcard expansion by setting `find-file-wildcards' to nil.

To visit a file without any kind of conversion and without
automatically choosing a major mode, use M-x find-file-literally.

rdc
-- 
Robert D. Crawford                                      rdc1x@comcast.net

Some men are so interested in their wives' continued happiness that they
hire detectives to find out the reason for it.

  parent reply	other threads:[~2007-04-23 15:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 14:55 Go to line PAolo
2007-04-23 15:08 ` james
2007-04-23 15:29   ` PAolo
2007-04-23 15:41   ` Joost Kremers
2007-04-24 10:45   ` Tim X
2007-04-23 15:13 ` Robert D. Crawford [this message]
2007-04-23 18:36 ` Matthew Flaschen
2007-04-23 20:00 ` Dieter Wilhelm
2007-04-24 10:01   ` Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87abwz15uh.fsf@comcast.net \
    --to=rdc1x@comcast.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).