logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

update-otags - update system-wide tags tables

Author

       Hendrik Tews <otags at askra.de>

Bugs

       See the sections KNOWN PROBLEMS and MISSING FEATURES in the otags(1) manual.

Credits

update-otags  appeared  first  in  Debian Etch (see Debian bug #341939). It has been added to the contrib
       directory with an improved man page in otags 3.12.2.

Description

update-otags  runs  otags  on  the  system-wide  installed  OCaml files (in ocamlc -where). This makes it
       possible to use the tag-features of vi/vim and Emacs to jump to the declarations of library functions  in
       the system-wide installed .mli files to read the documentation that is hopefully embedded in those files.

       To  use the system-wide tags table in Emacs, use M-xvisit-tags-table<RET>/var/lib/otags/TAGS.  To load
       it by default, customize tags-table-list to contain /var/lib/otags (by using M-xcustomize-variable,  for
       instance).

       For vim use :settags=/var/lib/otags/tags or add settags=/var/lib/otags/tags to your .vimrc.

       One would typically update the system-wide tags tables with a cron-job once per week or day.

Files

       /var/lib/otags/{TAGS,tags}
              System-wide tags table for Emacs and vi/vim.

Name

       update-otags - update system-wide tags tables

See Also

otags(1)

OTAGS                                             January 2012                                   UPDATE-OTAGS(8)

Synopsis

update-otags

See Also