[Top][All Lists]

[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:

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

The xemacs-default javascript-mode which you can find at

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.

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.


reply via email to

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