From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lee Sau Dan Newsgroups: gmane.emacs.help Subject: Re: line numbers Date: 13 Jan 2003 09:44:04 +0100 Organization: Rechenzentrum der Universitaet Freiburg, Germany 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=cn-big5 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1042451237 3681 80.91.224.249 (13 Jan 2003 09:47:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 13 Jan 2003 09:47:17 +0000 (UTC) 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 18Y1Bb-0000xD-00 for ; Mon, 13 Jan 2003 10:47:15 +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 18Y1At-0005dR-00 for gnu-help-gnu-emacs@m.gmane.org; Mon, 13 Jan 2003 04:46:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.isc.org!sjc70.webusenet.com!c03.atl99!news.webusenet.com!fr.clara.net!heighliner.fr.clara.net!213.73.101.75.MISMATCH!eusc.inter.net!newsfeed.freenet.de!news.tu-darmstadt.de!news.belwue.de!news.uni-freiburg.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: camaro.informatik.uni-freiburg.de User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Original-Xref: shelby.stanford.edu gnu.emacs.help:108903 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:5429 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5429 >>>>> "Benjamin Lewis" == Benjamin Lewis writes: Benjamin Lewis> Exactly. This and things like M-x goto-line Benjamin Lewis> (bound to a convenient function key), and being Benjamin Lewis> able to jump directly to or cycle through coding Benjamin Lewis> errors from the compilation buffer, obviate the Benjamin Lewis> need for me to see the line numbers in the buffer Benjamin Lewis> itself. Owing to influence from Borlands text-mode IDE's, I've bound F8 to #'next-error, F7 to '#previous-error and F9 to #'compile. Here are my ~/.emacs lines to do these: (global-set-key '[f7] #'previous-error) (global-set-key '[f8] #'next-error) (global-set-key '[f9] #'compile) No rocket science at all. -- Lee Sau Dan §õ¦u´°(Big5) ~{@nJX6X~}(HZ) E-mail: danlee@informatik.uni-freiburg.de Home page: http://www.informatik.uni-freiburg.de/~danlee