bug-idutils
[Top][All Lists]
Advanced

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

Re: [bug-idutils] idutils.el and Emacs 22


From: Tom Tromey
Subject: Re: [bug-idutils] idutils.el and Emacs 22
Date: Thu, 28 Jun 2007 10:54:22 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux)

[ I had a bounce earlier due to a local mail config problem.
Hopefully you aren't seeing this twice :) ]

>>>>> "Jim" == Jim Meyering <address@hidden> writes:

>> 1. Automatically ignore .svn directories.  Currently I specify this by
>> hand but it is hard to imagine when I'd want to index these.

Jim> Good idea.  Sounds easy, too.

I looked at this.  It turns out not to matter -- svn puts ".text-base"
at the end of the copies it stores in .svn, so mkid is already
ignoring them by default.

Jim> And .git, .hg, etc. ones.  Just to save the traversal costs.

I'm hoping the traversal costs are not severe :-)

Re-using the prune feature for this looked like a pain.  From what I
can tell, -p assumes the argument is a file name in the current
directory, not a base file name to be ignored everywhere it is seen.
Also, 'mkid -p .svn' prints an error if there is not in fact a .svn
directory.

Hard-coding the various names into the search loop may be easy (I
didn't look).  But it seems a bit ugly.  Also perhaps you'd want a way
to disable the internal pruning...?  At that point the patch starts
looking a bigger.

>> 2. Incremental updates.  Ideally I'd like to re-run mkid on every file
>> change, either via an Emacs hook or an inotify wrapper.  But it is
>> a bit too slow to do this for GCC (even just the compiler -- the
>> target libraries would make this really impossible :-).

Jim> I'd like this, too.
Jim> I think this item has been on at least an implied wish list
Jim> from the very beginning :-)

I assume this one must be hard or someone would have done it already :-)

Tom




reply via email to

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