[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] add interactive browse of revisions from vc *Annotate* buffe

From: Kim F. Storm
Subject: Re: [patch] add interactive browse of revisions from vc *Annotate* buffers
Date: 22 Jan 2004 23:06:16 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Stefan Monnier <address@hidden> writes:

> >> I suggest to only return narrowed-line-number (i.e. ignore narrowing).
> > How about this version?
> By "code that ignores narrowing" I understand code that does not use widen,
> narrow, save-restriction, etc...

I gave it another round, and by ignoring narrowing as you suggest, the solution
is pretty elegant -- both line-at-pos and what-line.  

I just committed the new code to CVS.  This also means that there is now a
line-at-pos function which return the current line number.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]