#34 recognize etags TAGS files added

Program (79)

This patch adds etags (= exuberant ctags -e) support.
The patch is mainly intended as workaround for the
problems discussed in NEdit bug #485945.
etags TAGS files contain search string and cursor
position, NEdit uses them to start the (forward) search
at the given position.
Included TAGS files (ctags -e --etags-include=file) are
handled as well (maximum include depth is limited to
avoid infinitive loops).
The patch is veryfied to handle exuberant ctags v 5.0
as well as (different!) etags (from GNU Emacs 20.4)
generated TAGS files. However there should be further
testing from other people who extensively use etags
TAGS files.
Technical notes:
- I needed a minimum function. To avoid another local
min() the functions Min, Max, Min3, and Max3 have been
added to uil/utils.c. Existing local functions of this
type should be replaced step by step.
- util/fileUtils.c ParseFilename has been changed to
accept NULL as value for filename or pathname if one of
them is not to be set.


  • Markus Schwarzenberg

    cvs diff -c against cvs tarball (2001 Dec 10 04:14)

  • Markus Schwarzenberg

    • assigned_to: nobody --> amai
  • Markus Schwarzenberg

    Logged In: YES

    please use improved patch file (mainly missing handling of
    multiple tags in non smart tags mode) nt2.diff

  • Markus Schwarzenberg

    improved: cvs diff -c against cvs tarball (2001 Dec 10 04:14)

  • Alexander Mai

    Alexander Mai - 2001-12-13
    • labels: --> Program
    • milestone: --> release
    • status: open --> closed-accepted
  • Alexander Mai

    Alexander Mai - 2001-12-13

    Logged In: YES

    Did at least a basic check and applied it.
    Very simple min/max functions might end up at some stage in
    some generic macro for minor performance reasons?!


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks