From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Taylor Newsgroups: gmane.emacs.help Subject: Re: Go to a Line Date: Thu, 20 Mar 2003 19:04:53 GMT Organization: Shaw Residential Internet Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048187231 19628 80.91.224.249 (20 Mar 2003 19:07:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 19:07:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 20 20:07:10 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18w5Ne-00056S-00 for ; Thu, 20 Mar 2003 20:07:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18w5Mh-0007Ph-07 for gnu-help-gnu-emacs@m.gmane.org; Thu, 20 Mar 2003 14:06:11 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp.itservices.ubc.ca!cyclone.bc.net!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!feed.newsfeeds.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news2.calgary.shaw.ca.POSTED!not-for-mail X-Trace-PostClient-IP: 68.147.170.64 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 19 Original-NNTP-Posting-Host: 24.71.223.147 Original-X-Complaints-To: abuse@shaw.ca Original-X-Trace: news2.calgary.shaw.ca 1048187093 24.71.223.147 (Thu, 20 Mar 2003 12:04:53 MST) Original-NNTP-Posting-Date: Thu, 20 Mar 2003 12:04:53 MST Original-Xref: shelby.stanford.edu gnu.emacs.help:111265 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7765 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7765 nowar wrote: > Hello > > Is there any combination of keys to go to a specific line easily ? > > Thanks. M-x goto-line But if line you are looking for comes from the output of a compiler (error or warning message), or comes from grep, there is a better way. Consider using M-x compile to compile your source; then M-x ` will bring you each error in sequence (if you are using ant, make sure to use the -emacs command line option). For grep, M-x grep does approximately the same thing. -- Andrew