From: xslide S. <xsl...@me...> - 2003-08-08 18:51:54
|
I have discovered, to my intense pleasure, that xslide works well with speedbar once you register the .xsl extension with speedbar. Put: (require 'speedbar) up with the other requires in xslide.el, then put: (speedbar-add-supported-extension (list ".xsl" ".fo")) in the definition for `xsl-mode' (FWIW, I put it on line 1052), then re-byte-compile, restart emacs, or whatever you need to do to get emacs to notice the change. When you're editing an XSL file, select 'Display speedbar' from the 'Tools' menu, and when you expand the entry for an XSL file, you'll see the same entries as on the 'Templates' menu. Some versions of speedbar do have problems with '*' patterns, since '*' is also used in speedbar to indicate that the file is under version control, and problems with patterns containing quotes, e.g. "element[@att='value']" shows as ']' in speedbar. However, I do think its cool to be able to see templates from multiple files. I also really like the "Emacs Code Browser" (from the author of speedbar) which is at http://ecb.sourceforge.net/. The ECB really puts the 'ide' in 'xslide' (once speedbar support in enabled). Regards, Tony Graham. |