help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: best practices for TAGS


From: Bastian Beischer
Subject: Re: best practices for TAGS
Date: Mon, 5 Dec 2011 19:39:19 +0100

I use etags-table which assigns TAGS files to my projects and GNU Make
rules to update the TAGS file when I run make... The suggested
algorithms to update it always might work better, though.

On Mon, Dec 5, 2011 at 12:29 AM, Xavier Noria <address@hidden> wrote:
> I would basically like to have a workflow for the TAGS file that makes
> some assumptions, and thanks to them it works out of the box and it is
> always in sync.
>
> For example, define the current tags file as the first one you find
> from the current directory up the hierarchy, nil if none found.
>
> I'd like to define my own version of find-tag that looks for the
> current tags file as defined above.
>
> If the tags file is outdated, I'd like to run some shell command
> automatically and revisit it, then do the find-tag.
>
> No prompts whatsoever. If I find myself in a situation where the
> conventions do not hold, I'll resort to the builtin functions.
>
> You see, I'd like that find-tag and friends do automatically what
> makes sense in 99% of my projects and be always in sync without my
> intervention.
>
> Does anybody work use a worflow like that?
>



-- 
Bastian Beischer

I. Physikalisches Institut B (RWTH Aachen)
Sommerfeldstr. 14
52074 Aachen
GERMANY

Office: 28-C-203
Phone: +49 241 - 8027205



reply via email to

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