From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Emacs's handling of line numbers [from bug#5042] Date: Mon, 7 Jun 2010 03:41:41 +0200 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1275874934 28264 80.91.229.12 (7 Jun 2010 01:42:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Jun 2010 01:42:14 +0000 (UTC) Cc: lekktu@gmail.com, eliz@gnu.org, mark.lillibridge@hp.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 07 03:42:11 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 1OLRLt-0000gN-Pe for ged-emacs-devel@m.gmane.org; Mon, 07 Jun 2010 03:42:10 +0200 Original-Received: from localhost ([127.0.0.1]:42862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLRLt-0003bX-5R for ged-emacs-devel@m.gmane.org; Sun, 06 Jun 2010 21:42:09 -0400 Original-Received: from [140.186.70.92] (port=51422 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLRLn-0003a5-D5 for emacs-devel@gnu.org; Sun, 06 Jun 2010 21:42:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLRLm-0007rh-3V for emacs-devel@gnu.org; Sun, 06 Jun 2010 21:42:03 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:56700) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLRLl-0007rT-W3; Sun, 06 Jun 2010 21:42:02 -0400 Original-Received: by gyg4 with SMTP id 4so2447393gyg.0 for ; Sun, 06 Jun 2010 18:42:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=JkvbqFd8VWGb2AEMqfMqPSNLzbOjDV7CDJXuC6p1s64=; b=RouhgQ+4WW4kdzTA/9TUNLkPdO6QHuFMx5SsKCJznJMp+asb/s1+xrAEL+ruVjHMRy 3CQglbTwHqvR6wYhEoJQwEGJHSUbLABvwny2k1W0BxfSRjRxfyegbCxjZPAwX00LPkat NKPxeKkXRbYh6eA7xw4gwdPG9qPovPFpxQoaM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=SCDGQYAxqrSKDru56qP3m+KNiM7vBdrqexOSiXW5LAta4WEGt7L0jCMC1EJqM+zixX vlsZwwBDayCc41vG5qUCiucvDAoRZD50Xu8kkfsVphv4wij86EuXn625w5WvwZZ7YmOr Js1bynRXm3JhRSyeOVIXIqr3wP/hL2yJOuckM= Original-Received: by 10.101.106.33 with SMTP id i33mr15281766anm.161.1275874921106; Sun, 06 Jun 2010 18:42:01 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Sun, 6 Jun 2010 18:41:41 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:125568 Archived-At: On Mon, Jun 7, 2010 at 3:30 AM, Stefan Monnier w= rote: >> * {esc}g currently calls goto-line, but a grep through the elisp sources >> =C2=A0 of Emacs shows a lots of calls to goto-line, any of which might b= e >> =C2=A0 broken by changing the behavior of goto-line > > Grep counts 8 such calls only. =C2=A0Doesn't seem unmanageable at all. > >> * Accordingly, I suggest introducing a new function, goto-numbered-line, >> =C2=A0 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. =3D> "should not be called from Elisp"?