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

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

Re: speedbar should recognize imenu support better


From: Eric Ludlam
Subject: Re: speedbar should recognize imenu support better
Date: 16 Mar 2001 08:19:10 -0500

Hi,

  Speedbar cannot use the major mode to determine if tags will be
available because speedbar is showing/filtering files before they are
loaded, and a major-mode determined.

  Scanning `auto-mode-alist' has problems because it is both slow (it
can be very long) and those modes are often not loaded in memory, so
there is no way to determine if imenu is supported by them.

  The only automated solution would be to have a load-defs like file
find out which modes support imenu, and place that information
somewhere Speedbar can find it.

Eric

>>> bug-gnu-emacs to gnu.emacs.bug; Thu, 15 Mar 2001 17:31:16 GMT seems to 
>>> think that:
>In GNU Emacs 20.6.1 (sparc-sun-solaris2.6, X toolkit)
> of Mon Jul  3 2000 on bah108
>configured using `configure  --prefix=/tools.local/emacs-20.6 
>--bindir=/tools.local/emacs-20.6/bin/SunOS --with-x-toolkit=lucid'
>
>The auto-mode-alist variable associates *.mk files with makefile-mode,
>but if I set speedbar-show-unknown-files then I see a [?] against the
>file, even though imenu indexing is available for it.
>
>I think speedbar should use the major mode for each file to decide
>whether it can index it, rather than relying on a filename regexp as
>it does at present.
>
>--
>Kevin Broadey

-- 
Eric Ludlam             "Photonic Doodler"    The MathWorks x 7556
address@hidden         (work)        http://www.mathworks.com
address@hidden         (home)      http://www.siege-engine.com



reply via email to

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