From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Josh Varner Newsgroups: gmane.emacs.devel Subject: Re: Key binding M-g should really be goto-line Date: Wed, 2 Mar 2005 08:50:05 -0600 Message-ID: <92a5eb47050302065053a173b8@mail.gmail.com> References: <20050302111509.WIGX8756.fep02-app.kolumbus.fi@cante.net> <1109771527.112255.3324.nullmailer@Update.UU.SE> Reply-To: Josh Varner NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1109788547 1355 80.91.229.2 (2 Mar 2005 18:35:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2005 18:35:47 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 02 19:35:46 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D6VML-0007Rm-Uy for ged-emacs-devel@m.gmane.org; Wed, 02 Mar 2005 16:01:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6Vf7-0003FH-5R for ged-emacs-devel@m.gmane.org; Wed, 02 Mar 2005 10:21:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6Veq-0003Bp-2N for emacs-devel@gnu.org; Wed, 02 Mar 2005 10:21:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6Veo-0003BO-Ej for emacs-devel@gnu.org; Wed, 02 Mar 2005 10:21:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6Vch-0002n0-U0 for emacs-devel@gnu.org; Wed, 02 Mar 2005 10:18:52 -0500 Original-Received: from [64.233.184.199] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D6VAy-0008Sp-M0 for emacs-devel@gnu.org; Wed, 02 Mar 2005 09:50:12 -0500 Original-Received: by wproxy.gmail.com with SMTP id 40so208927wri for ; Wed, 02 Mar 2005 06:50:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=SahMWYPUvEnZ/Gp8It3nfcnOpygwRcwwAalr1rkxCqcV9RvjCgc9m0q1DaB456zIeDiPlMte/sMsa4p5ed1Bh9i/lpkryqusssNNzj8Q4vEBMZm1dtsnhaafZ/Ag0hpuDdoNSankvGjcgwsFlgmonRTVodYy0lXT6W6bG6f2fLw= Original-Received: by 10.54.19.38 with SMTP id 38mr118751wrs; Wed, 02 Mar 2005 06:50:05 -0800 (PST) Original-Received: by 10.54.20.42 with HTTP; Wed, 2 Mar 2005 06:50:05 -0800 (PST) Original-To: emacs-devel@gnu.org In-Reply-To: <1109771527.112255.3324.nullmailer@Update.UU.SE> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:34097 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34097 On Wed, 02 Mar 2005 14:52:07 +0100, Alfred M. Szmidt wrote: > goto-line is so often used (when you need it; like during PHP > coding) > > You have only noted PHP as needing goto-line, this doesn't warrant > binding it globally. What about binding M-g in php-mode to goto-line? > When the more advanced context sensitive goto-line like behaviors break down having the primitive easily accessible is incredibly helpful. For example on my system gdb mode has problems finding the right header files when stepping through code, so I have to go to those lines manually. It would also be informative to take a look at some of the distributions out there. Redhat's default .emacs binds goto-line to Ctrl-x g. Given that this is RH 9.0, but I would not be surprised if this is still in the default for latest Fedora. But how often do you or did you receive complaints about losing insert-register-compatibility-binding. Josh