Subject: Re: bug#19468: 25.0.50; UI inconveniences with M-.

From: Eli Zaretskii <[email-masked]>
Date: Sat, 02 May 2015 14:24:19 +0300

> Cc: [email-masked]
> From: Dmitry Gutov <[email-masked]>
> Date: Sat, 2 May 2015 13:23:34 +0300
> 
> On 05/02/2015 09:42 AM, Eli Zaretskii wrote:
> > I think it's a good idea to add an ID target to the top-level
> > Makefile.in.
> 
> If you like. But in the Emacs tree, using Grep seems to be fast enough 
> already, and its results don't get out of date.

Did you try in src/ or did you try in lisp/?

gid is much faster in large directories, especially if they are
accessed over NFS or some such.  So it scales better.

> Speaking of ID generation, by default it includes .elc files, so the 
> command would need to be something like
> 
> mkid --prune=$(find . -name "*.elc")

Yes.

> > Yep.  At least mkid is lightning-fast (10 sec on the entire Emacs
> > tree), so updating ID is not an annoyance IME.
> 
> You still need to remember to do that.

If you forget, you will be reminded when you find no matches.