Re: Bugs introduced that affected jde-import-all (insert semantic tag)
"Jeff Peck" <[email protected]>
| Newsgroups | gmane.emacs.jdee.devel |
|---|---|
| Message-ID | <272BE85E9FB64FD99826A2FA1D806FD2@blue> |
Eric, this is encouraging. Without going all the way to srecode templates *today*, Can you say what is the appropriate incantation to insert a tag into the 'database'? I can do: (semantic-tag-new-include new-import nil) to create the tag, but how to i make that tag visible to the rest of semantic? [so it will be found by: (semantic-brute-find-tag-by-class 'include (semantic-fetch-tags)) ] > srecode specifically knows how to insert tags, so you could do this: > > (srecode-insert-tag (semantic-tag-new-include "myInclude" nil)) I'm using cedet-1.0pre6 and do not find a "srecode-insert-tag" > ... I have a rough template already that would probably need a real java > programmer to improve it. If you have something, send it along! Also, if you have any theory why doing a (semantic-parse-changes) works when evaluated as a separate command, but not as around/after advice, that might also be helpful information. CEDET is really great stuff, but I haven't found the magic decoder ring to explain the design/threory behind it; and there is so much there, with many levels of tools and abstraction that it is difficult to 'discover' a way in. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev