[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch: add-log.el: changelog find file under poin
From: |
Dan Nicolaescu |
Subject: |
Re: patch: add-log.el: changelog find file under poin |
Date: |
Tue, 22 Jan 2008 15:13:35 -0800 |
Juri Linkov <address@hidden> writes:
> > An improvement that would make this even more useful would be that after
> > finding the file, it should do a search for the item the point is
> > on. That won't always find the correct function/variable/etc. the log
> > entry refers to, but it will help the user a lot when it does.
>
> Using the logic from `add-log-current-defun' might be unreliable, but
> maybe it is better to rely on imenu to find the item in the source file.
> What other package could do this? (find-func is only for Emacs Lisp,
> and etags requires the TAGS file.)
The problem with those is that the user might not have imenu turned on,
so it would take a while to index the file, and might not have TAGS.
Another problem is if the entry is about something that has been deleted
or renamed.
IMHO it would be better to first go the easy way and to a simple string
search, and maybe later try to implement something more fancy.
- RE: patch: add-log.el: changelog find file under poin, (continued)
- Re: patch: add-log.el: changelog find file under poin, Richard Stallman, 2008/01/22
- Re: patch: add-log.el: changelog find file under poin, Juri Linkov, 2008/01/22
- Re: patch: add-log.el: changelog find file under poin, Richard Stallman, 2008/01/23
- Re: patch: add-log.el: changelog find file under poin, Jan Nieuwenhuizen, 2008/01/28
- Re: patch: add-log.el: changelog find file under poin, Johan Bockgård, 2008/01/28
Re: patch: add-log.el: changelog find file under poin, Dan Nicolaescu, 2008/01/22