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: [patch] add interactive browse of revisions from vc *Annotate* buffers Date: 23 Jan 2004 11:02:50 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <1073937837.2822.180.camel@localhost> <1074519239.10692.24.camel@localhost> <87u12rbrlf.fsf@emptyhost.emptydomain.de> Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074823621 28982 80.91.224.253 (23 Jan 2004 02:07:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2004 02:07:01 +0000 (UTC) Cc: brutt+news@bloomington.in.us, kai@emptydomain.de, emacs-devel@gnu.org, Stefan Monnier , rms@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jan 23 03:06:53 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ajqij-0005zx-00 for ; Fri, 23 Jan 2004 03:06:53 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ajqij-0000Mh-00 for ; Fri, 23 Jan 2004 03:06:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Ajqfn-0005cv-Pb for emacs-devel@quimby.gnus.org; Thu, 22 Jan 2004 21:03:51 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Ajqfh-0005bb-8P for emacs-devel@gnu.org; Thu, 22 Jan 2004 21:03:45 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AjqfA-0005U4-1w for emacs-devel@gnu.org; Thu, 22 Jan 2004 21:03:43 -0500 Original-Received: from [210.143.35.52] (helo=TYO202.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Ajqf9-0005Tt-BY; Thu, 22 Jan 2004 21:03:11 -0500 Original-Received: from mailgate4.nec.co.jp (mailgate53.nec.co.jp [10.7.69.184]) by TYO202.gate.nec.co.jp (8.11.7/3.7W01080315) with ESMTP id i0N22v719824; Fri, 23 Jan 2004 11:03:00 +0900 (JST) Original-Received: (from root@localhost) by mailgate4.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id i0N22vx23389; Fri, 23 Jan 2004 11:02:57 +0900 (JST) Original-Received: from edtmg03.lsi.nec.co.jp ([10.26.16.203]) by mailsv3.nec.co.jp (8.11.7/3.7W-MAILSV4-NEC) with ESMTP id i0N22uL05696; Fri, 23 Jan 2004 11:02:56 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edtmg03.lsi.nec.co.jp (8.9.3p2+3.2W/3.7W_EDC_Ver.1.0) with ESMTP id LAA13719; Fri, 23 Jan 2004 11:02:55 +0900 (JST) Original-Received: from mcspd15 (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.12.10/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id i0N22onX000470; Fri, 23 Jan 2004 11:02:53 +0900 (JST) Original-Received: by mcspd15 (Postfix, from userid 31295) id 854D7749; Fri, 23 Jan 2004 11:02:50 +0900 (JST) Original-To: storm@cua.dk (Kim F. Storm) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: Original-Lines: 15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19449 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19449 storm@cua.dk (Kim F. Storm) writes: > (defun line-at-pos (&optional pos start) > "Return (narrowed) buffer line number at position POS. > If POS is nil, use current buffer location. > If START is non-nil, count lines from that buffer position, > even if narrowing is in effect." I like the functionality, but the name seems slightly ambiguous -- it suggests that it may actually return the line _contents_ instead. How about calling it just `line-number' (with the same arguments)? -Miles -- Yo mama's so fat when she gets on an elevator it HAS to go down.