From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Key binding M-g should really be goto-lineautolearn=noversion=3.0.2 autolearn=no version=3.0.2 Date: Sat, 5 Mar 2005 10:27:44 +0900 Message-ID: References: Reply-To: snogglethorpe@gmail.com, miles@gnu.org 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 1109986428 25271 80.91.229.2 (5 Mar 2005 01:33:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2005 01:33:48 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 05 02:33:48 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D7OA6-0004xa-9N for ged-emacs-devel@m.gmane.org; Sat, 05 Mar 2005 02:32:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7OTN-0000DU-0z for ged-emacs-devel@m.gmane.org; Fri, 04 Mar 2005 20:52:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D7OPP-0007gH-6O for emacs-devel@gnu.org; Fri, 04 Mar 2005 20:48:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D7OP7-0007Ug-3e for emacs-devel@gnu.org; Fri, 04 Mar 2005 20:48:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7OP4-0007Rs-Hf for emacs-devel@gnu.org; Fri, 04 Mar 2005 20:48:26 -0500 Original-Received: from [64.233.184.193] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D7O52-00049X-Hd for emacs-devel@gnu.org; Fri, 04 Mar 2005 20:27:44 -0500 Original-Received: by wproxy.gmail.com with SMTP id 40so625005wri for ; Fri, 04 Mar 2005 17:27:44 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=e97/M3P3xa7n+Qk7gv2G9iEVy/LZfzFKr2LusaXM1RpW726+6ZJN5irDzhPuVUI/QP8bNXJnz6yk3LXUhTbG6TzZvtrlICvy3vnMmcifdQ8GR84pWZDe2EwfCfvsX/0yaB+mwk6jJTaDH59thjyOvquWKJcXcTzIQloIloqubZQ= Original-Received: by 10.54.59.31 with SMTP id h31mr62283wra; Fri, 04 Mar 2005 17:27:44 -0800 (PST) Original-Received: by 10.54.19.70 with HTTP; Fri, 4 Mar 2005 17:27:44 -0800 (PST) Original-To: Drew Adams In-Reply-To: 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:34200 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34200 On Fri, 4 Mar 2005 16:49:13 -0800, Drew Adams wrote: > FYI - I don't suggest that `goto-line' itself should be changed this way, > but the code I sent for `goto-line-at-point' I think goto-line should do it. Remember, rms's suggestion is that goto-line use the line number from the buffer as a _default_, not jump there immediately. I think that is very desirable, as such heuristics can guess wrong, and this gives the user a chance to correct a mistake (and for the many cases where the default is correct, hitting RET to accept it is quick and painless). Also it looks like `goto-line' will get a convenient key-binding (M-o)... :-/ -Miles -- Do not taunt Happy Fun Ball.