all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs tags
@ 2007-07-06 13:34 JyotiC
  2007-07-06 14:26 ` David Golden
  0 siblings, 1 reply; 2+ messages in thread
From: JyotiC @ 2007-07-06 13:34 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

Sorry if this is already discussed.

I want to use tags in emacs, i have file TAGS, but its very small,
where as there is another file tags which is huge.
But when i give tags file, it says its not as valid tag table.

The same file works on VI.

How can i have something like for emacs.

Regards,
Jyoti.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs tags
  2007-07-06 13:34 emacs tags JyotiC
@ 2007-07-06 14:26 ` David Golden
  0 siblings, 0 replies; 2+ messages in thread
From: David Golden @ 2007-07-06 14:26 UTC (permalink / raw)
  To: help-gnu-emacs

JyotiC wrote:

> Hi,
> 
> Sorry if this is already discussed.
> 
> I want to use tags in emacs, i have file TAGS, but its very small,
> where as there is another file tags which is huge.
> But when i give tags file, it says its not as valid tag table.
> 
> The same file works on VI.
> 
That's because vi's tags format is different to emacs,
so it is indeed not a valid emacs tags table.

> How can i have something like for emacs.
>

It sounds like your "TAGS" file hasn't been generated right
for your project but your "tags"  file has - usually they end 
up very roughly the same size (TAGS a bit larger) 
and you use nearly the same commands to make them (ctags
for vi, etags for emacs)

So, regenerate your TAGS file - sometimes projects
will have a "make TAGS" makefile target to do this for you
(especially complex ones where a naive find might
pull in weird stuff you don't want) - but if not, it's 
usually a one-liner anyway, perhaps along  the lines of 

find . -name "*.[chCH]" -print | etags -

(This is in the emacs manual...)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-06 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-06 13:34 emacs tags JyotiC
2007-07-06 14:26 ` David Golden

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.