# FAQ(42) - tags; How do I generate a MicroEmacs compatible tags file ??

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## QUESTION (42)

tags; How do I generate a MicroEmacs compatible tags file ??

## ANSWER

A tags file is used by the find-tag(2) command. This is used to hypertext to the tagged definition or variable. The standard ctags(1) format is used by MicroEmacs. The tags file itself may be generated by MicroEmacs 2009 from the menu (Tools->XX Tools->Create Tags File). Alternatively a tags file may be generated by the ctags(1) utility. This is typically standard on UNIX platforms. For Windows and DOS platforms then the Exuberant Ctags is recommended, this is available from:-

`http://darren.hiebert.com`

A MicroEmacs 2009 compatible tags file may be generated using the command line "`ctags -N --format=1 ."` cataloging the current directory. To generate tags for a directory tree then use "`ctags -NR --format=1 .`". Refer to the Exuberant Ctags documentation for a more detailed description of the utility.

The user variable %tag-option(5) may be used to enable find-tag(2) to locate a recursivelly generated tags file from a parent directory.

[FAQ Index].

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>