[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.

reply via email to

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