#143 etags and Translate\'d files


The way Translate works, function definitions in the
translated files aren't picked up by the default etags
settings. This can be fixed by eliminating the spaces
before (DEFPROP functionname T TRANSLATED) by
hand, by modifying Translate to add a redundant
unnested and therefore unindented defprop just before
the eval-when, or by defining a regex-lisp pattern in

For now, in my personal copy, I've just removed the
leading spaces.

Fixing Translate would be better, of course, but I'm too
lazy right now to figure out how. (It batches its print's,
so it can't just be patched where it outputs the defprop).

etags -regex-lisp... would work, though it's ugly (and
would slow down the scanning of all Lisp files), but not
all installations of etags support that.


  • Raymond Toy

    Raymond Toy - 2005-12-08

    Logged In: YES

    I don't consider this a bug in translate. In in plain lisp
    code, people write things like

    (eval-when (stuff)
    (defconstant a 42))

  • Robert Dodier

    Robert Dodier - 2006-04-10
    • labels: --> Lisp Core - Translator
    • summary: etags and Translate'd files --> etags and Translate\'d files
  • Robert Dodier

    Robert Dodier - 2006-06-30

    Logged In: YES

    Not a bug (agreed with Ray). Closing this report as "won't fix".

  • Robert Dodier

    Robert Dodier - 2006-06-30
    • status: open --> closed

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

No, thanks