From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert D. Crawford" Newsgroups: gmane.emacs.help Subject: Re: Go to line Date: Mon, 23 Apr 2007 10:13:42 -0500 Message-ID: <87abwz15uh.fsf@comcast.net> References: <1177340103.887135.165610@p77g2000hsh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177342593 4231 80.91.229.12 (23 Apr 2007 15:36:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2007 15:36:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 23 17:36:27 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hg0aJ-00059a-Oh for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Apr 2007 17:36:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg0fj-0001SR-6i for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Apr 2007 11:41:47 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 23 Apr 2007 10:13:49 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.98 (gnu/linux) Cancel-Lock: sha1:bNKZk74VY+3h+aJqV6a/h6gRHKY= Original-Lines: 44 Original-NNTP-Posting-Host: 68.52.51.66 Original-X-Trace: sv3-32E+2/BpRq7oa95eU3ZntBnGs4jpN9UPJsMoPSne2URFiyEAdqELV4HdXjm4ze0538zfaixvNIdmYZn!Z7KPeayNKAx06GGNfmvRQL3Q+XnKb2epI5FwNq31D5j9JEc5lSfrS/ogJYehZCwK9Z98VpTfwfQS!CZ4= Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.34 Original-Xref: shelby.stanford.edu gnu.emacs.help:147414 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43019 Archived-At: PAolo 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 , 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 , control x control f , . (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.