home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / editors / 2152 < prev    next >
Encoding:
Text File  |  1992-09-04  |  1.9 KB  |  42 lines

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!nih-csl!daedalus.dcrt.nih.gov!weisen
  3. From: weisen@daedalus.dcrt.nih.gov (Neil Weisenfeld)
  4. Subject: Elvis tags?  How to do them?
  5. Message-ID: <1992Sep4.182448.17889@alw.nih.gov>
  6. Sender: postman@alw.nih.gov (AMDS Postmaster)
  7. Organization: National Inst. of Health, DCRT, CSL
  8. X-Newsreader: Tin 1.1 PL4
  9. Date: Fri, 4 Sep 1992 18:24:48 GMT
  10. Lines: 30
  11.  
  12.  
  13. Well, I decided to check out a VI for the '90s and built Elvis 1.6 on my 
  14. SPARC 1 under SunOS 4.1.1.  For some reason, however, I can't get ctags to
  15. work right.  The ctags program seemed to work o.k. and when I run it, I am
  16. running the elvis version of ctags (I renamed it to elvctags).  In any case,
  17. elvctags -stv *.[hc] creates a tags file that looks fine.  When I try to
  18. find a tag (by ^]), it comes back with "Tag such-and-such not found".
  19. Inspection shows that tag such-and-such is in the tags file, the correct
  20. source file is listed, and the regexp is correct for finding the tag.  
  21.  
  22. Anyone know what I'm doing wrong?
  23.  
  24. Also, on a related note, does anyone know if Elvis has the Tag-stack feature
  25. of "normal" vi?  For some reason, I never find that implemented in a vi
  26. clone, but I find it to be one of the most useful features around.  For the
  27. uninitiated, the tag stack allow you to go to one tag, then another, then
  28. another, etc.  After you find what you're looking for, hitting ^T repeatedly
  29. takes you back through the tags you've just visited in reverse order until
  30. you get back where you started.  This is really useful when trying to figure
  31. out how something works because you can follow the path of execution into
  32. other modules and back up from it.
  33.  
  34.  
  35. --Neil
  36.  
  37. --
  38. Neil I. Weisenfeld                    National Institutes of Health
  39. Computer Engineer                     Building 12A, Room 2033
  40. weisen@alw.nih.gov                    Bethesda, MD 20892
  41. uunet!nih-csl!weisen                  phone: (301) 402-2788
  42.