W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2000

[FYI] Usings TAGS with libwww

From: <jose.kahan@w3.org>
Date: Fri, 11 Aug 2000 12:07:14 +0200 (MET DST)
Message-Id: <200008111007.MAA06514@tuvalu.inrialpes.fr>
To: www-lib@w3.org
Hello,

If you're using Emacs or vi under Linux, some of you may probably know
about tags. 

etags/ctags are cool tools that allow you to find things very easily in a code
database. I refer you to the man page for any of those tools for a more
complete description.

To use tags with libwww, you just have to go to the directory where you 
made your configure and type

	make TAGS

This will generate the TAGS cross-reference base and a TAGS file in the
top level directory. BTW, this is taken automatically into account by
automake... what you'd call a built-in function.

Then, from your favorite editor (Emacs in my case), you can invoke them.
From Emacs, I just type META-. and then I give a function or constant
name. Emacs will then ask me where is the TAGS file and I give then the
complete path to the TAGS file.

Voila, Emacs can now jump automatically to the function definition.

There are many other things you can do in this mode and with etags/ctags.
Read the doc :)

-Jose
Received on Friday, 11 August 2000 06:07:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:37 GMT