help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speedbar, imenu, etags


From: yary
Subject: Re: Speedbar, imenu, etags
Date: 10 Mar 2007 14:08:12 -0800
User-agent: G2/1.0

To partly answer my own question-

I started looking for javascript modes, and found this discussion:

http://emacsen.org/2005/09/26-javascript

and found that three recommended modes have varying support for imenu.

The xemacs-default javascript-mode which you can find at
http://cvs.xemacs.org/viewcvs.cgi/XEmacs/packages/xemacs-packages/prog-modes/javascript-mode.el?rev=1.12&content-type=text/vnd.viewcvs-markup

doesn't help imenu at all

Adding "(require 'generic-x)" to my .emacs and using the generic
javascript helped a little, it can find the top level "var foo="
statements to imenu.

But I don't use those much, am using the technique of making one top-
level variable and using it as a namespace.

Karl Landström's javascript mode isn't putting in my top-level var,
but it IS adding the top-level var's properties, which is just what I
need! And he also provides a CSS mode.

http://web.comhem.se/~u34308910/emacs.html

So, I'm back in business.

I'm still curious about the etags fallback option, so if anyone cares
to chime in about it, that'd be swell.

-y



reply via email to

[Prev in Thread] Current Thread [Next in Thread]