The Mercury Project
Re: [mercury-users] mtags, .int files and vim

Home

News

Information
  Overview
  Features
  Documentation
  Papers
  Developers
  Events
  Reports

Mailing Lists
  Developers
  Users
  Search

Download
  Current Release
  Snapshot
  Old Releases

Related
  Applications
  MCORBA
  Contributing Code

Contact

Search

Subject: Re: [mercury-users] mtags, .int files and vim
From: Fergus Henderson (fjh@cs.mu.OZ.AU)
Date: Sat Dec 16 2000 - 22:46:03 EST


On 15-Dec-2000, John Eikenberry <jae@zhar.net> wrote:
>
> There seems to be an incompatibility in the way mtags generates tag files
> for the .int files... at least in respect to Vim.
>
> For example, here's a line from random.int and the corresponding tags line
> (generated via 'mtags --ext /usr/lib/mercury/ints/random.int'):

The `.int' files are not really ideal for human consumption. For
starters, they have all the comments removed. So it's generally a
better idea to run mtags on the library source files rather than on
the `.int' files. That way, when you use the tag to jump to the
declaration of a library routine, you can immediately see the
documentation of the library routine.

The library source files are available in the Mercury source distribution.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users@cs.mu.oz.au
administrative address: owner-mercury-users@cs.mu.oz.au
unsubscribe: Address: mercury-users-request@cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request@cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



This mail archive was generated by hypermail 2b25 on Sun Dec 31 2000 - 00:40:04 EST.