unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@lsi.nec.co.jp>
Cc: brutt+news@bloomington.in.us, kai@emptydomain.de,
	emacs-devel@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>,
	rms@gnu.org
Subject: Re: [patch] add interactive browse of revisions from vc *Annotate* buffers
Date: 23 Jan 2004 11:02:50 +0900	[thread overview]
Message-ID: <buosmi7h16d.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
In-Reply-To: <m3r7xtcl30.fsf@kfs-l.imdomain.dk>

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.

  parent reply	other threads:[~2004-01-23  2:02 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-12  2:54 [patch] add interactive browse of revisions from vc *Annotate* buffers Benjamin Rutt
2004-01-12  5:30 ` Andre Spiegel
2004-01-12 11:06 ` Kim F. Storm
2004-01-12 13:58   ` Benjamin Rutt
2004-01-12 17:11     ` Kim F. Storm
2004-01-12 17:20       ` Benjamin Rutt
2004-01-12 20:09         ` Andre Spiegel
2004-01-12 20:35           ` Benjamin Rutt
2004-01-13 10:57             ` Kim F. Storm
2004-01-14 15:45               ` Richard Stallman
2004-01-14 21:55                 ` Kim F. Storm
2004-01-15 19:58                   ` Andre Spiegel
2004-01-16 10:40                   ` Richard Stallman
2004-01-16 16:30                     ` Kim F. Storm
2004-01-17 12:55                       ` Richard Stallman
2004-01-17 21:34                         ` Benjamin Rutt
2004-01-19 13:33                           ` Andre Spiegel
2004-01-19 20:39                             ` Kai Grossjohann
2004-01-19 20:54                               ` Benjamin Rutt
2004-01-20  1:28                                 ` Kim F. Storm
2004-01-20 15:31                                   ` Richard Stallman
2004-01-21 11:26                                     ` Kim F. Storm
2004-01-21 14:15                                       ` Stefan Monnier
2004-01-21 16:39                                         ` Kim F. Storm
2004-01-21 18:38                                           ` Stefan Monnier
2004-01-22 22:06                                             ` Kim F. Storm
2004-01-22 23:39                                               ` Andre Spiegel
2004-01-23  1:54                                                 ` Benjamin Rutt
2004-01-22 19:00                                           ` Richard Stallman
2004-01-23  2:02                                           ` Miles Bader [this message]
2004-02-07  2:06                                             ` Kim F. Storm
2004-01-20 18:11                                 ` Kevin Rodgers
2004-01-20 15:32                               ` Stefan Monnier
2004-01-20 16:45                                 ` Benjamin Rutt
2004-01-20 18:26                                   ` Stefan Monnier
2004-01-20 20:10                                     ` Benjamin Rutt
2004-01-19 21:13                             ` Benjamin Rutt
2004-01-20 17:58                               ` Andre Spiegel
2004-01-20 20:05                                 ` Benjamin Rutt
2004-01-20 20:33                                   ` Stefan Monnier
2004-01-20 22:28                                     ` Benjamin Rutt
2004-01-22 23:20                                       ` Kevin Rodgers
2004-01-22 23:40                                         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=buosmi7h16d.fsf@mcspd15.ucom.lsi.nec.co.jp \
    --to=miles@lsi.nec.co.jp \
    --cc=brutt+news@bloomington.in.us \
    --cc=emacs-devel@gnu.org \
    --cc=kai@emptydomain.de \
    --cc=miles@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).