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 11:32:15 +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 1109989756 18737 80.91.229.2 (5 Mar 2005 02:29:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2005 02:29:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 05 03:29:15 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D7P2A-0002p5-Td for ged-emacs-devel@m.gmane.org; Sat, 05 Mar 2005 03:28:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7PLS-0003me-2t for ged-emacs-devel@m.gmane.org; Fri, 04 Mar 2005 21:48:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D7PL5-0003jT-0e for emacs-devel@gnu.org; Fri, 04 Mar 2005 21:48:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D7PKx-0003ew-Ei for emacs-devel@gnu.org; Fri, 04 Mar 2005 21:48:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7PKx-0003em-7o for emacs-devel@gnu.org; Fri, 04 Mar 2005 21:48:15 -0500 Original-Received: from [64.233.184.196] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D7P5U-0007oL-DX for emacs-devel@gnu.org; Fri, 04 Mar 2005 21:32:16 -0500 Original-Received: by wproxy.gmail.com with SMTP id 40so629210wri for ; Fri, 04 Mar 2005 18:32:15 -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=t2fOeXL3RCW7a/lMayEsVgO4vy726CezU0krYuRQZbHSIlsZf9iUFcb/tPH6zipCHvx6emYK2t1Se19FJKOLlvzj4K239dsNm1MyhX1nb8Oj9676hpatnztF3tfaMDfy9MF7j1xZcCVntXAiwAAHSW2y90pynyz6tQKYsUbfq5Y= Original-Received: by 10.54.17.30 with SMTP id 30mr119474wrq; Fri, 04 Mar 2005 18:32:15 -0800 (PST) Original-Received: by 10.54.19.70 with HTTP; Fri, 4 Mar 2005 18:32:15 -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:34204 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34204 On Fri, 4 Mar 2005 18:00:51 -0800, Drew Adams wrote: > Your suggestion to pick up the line number at bol might be acceptable to > RMS, however. I think that the main pb he had with the "nearest" stuff was > that its scope was not sufficiently constrained. That is not a pb with bol. I suggested it use the first number on the current line, even if it is not at the beginning of the line. Because it only searches one line (in a very predictable way), the result is used only as a default, and it happens to fit a very common usage scenario, I think this is an acceptable and useful heuristic. YMMV. -Miles -- Do not taunt Happy Fun Ball.