From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Emacs's handling of line numbers [from bug#5042] Date: Sun, 06 Jun 2010 21:30:13 -0400 Message-ID: References: <837ho6czb6.fsf@gnu.org> <8339yucbsg.fsf@gnu.org> <83wrw5bxkc.fsf@gnu.org> <83tyr9bgid.fsf@gnu.org> <83r5mcbqzo.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275874226 26956 80.91.229.12 (7 Jun 2010 01:30:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Jun 2010 01:30:26 +0000 (UTC) Cc: lekktu@gmail.com, eliz@gnu.org, emacs-devel@gnu.org To: mark.lillibridge@hp.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 07 03:30:24 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OLRAV-0006dv-TE for ged-emacs-devel@m.gmane.org; Mon, 07 Jun 2010 03:30:24 +0200 Original-Received: from localhost ([127.0.0.1]:38356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLRAV-00073z-8r for ged-emacs-devel@m.gmane.org; Sun, 06 Jun 2010 21:30:23 -0400 Original-Received: from [140.186.70.92] (port=59235 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLRAO-00071x-T7 for emacs-devel@gnu.org; Sun, 06 Jun 2010 21:30:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLRAN-0005kB-UR for emacs-devel@gnu.org; Sun, 06 Jun 2010 21:30:16 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:52367 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLRAM-0005ju-87; Sun, 06 Jun 2010 21:30:14 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AskFAPPoC0xFpYBi/2dsb2JhbACSKIwWcr1FhRcEjGc X-IronPort-AV: E=Sophos;i="4.53,374,1272859200"; d="scan'208";a="67463986" Original-Received: from 69-165-128-98.dsl.teksavvy.com (HELO pastel.home) ([69.165.128.98]) by ironport2-out.pppoe.ca with ESMTP; 06 Jun 2010 21:30:13 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7D24281B0; Sun, 6 Jun 2010 21:30:13 -0400 (EDT) In-Reply-To: (Mark Lillibridge's message of "Sun, 06 Jun 2010 11:18:22 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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 Xref: news.gmane.org gmane.emacs.devel:125567 Archived-At: > * {esc}g currently calls goto-line, but a grep through the elisp sources > of Emacs shows a lots of calls to goto-line, any of which might be > broken by changing the behavior of goto-line Grep counts 8 such calls only. Doesn't seem unmanageable at all. > * Accordingly, I suggest introducing a new function, goto-numbered-line, > which will replace the binding of {esc}g and the edit menu option. goto-line is already marked as "should only be called from Elisp", so introducing goto-numbered-line doesn't sound right. Stefan