Thank you very much!
It seems, imenu is what I want!
The (imenu--make-index-alist) and imenu--index-alist returns the necessary list.

But why semantic is needed if it is possible to achieve the same functionality by imenu?

2013/8/27 Alex Ott <>
From ECB's documentation:

Parsing and displaying non-semantic sources

ECB is mostly designed to display parsing information for files
supported by semantic. But beginning with version 1.94 it also
supports other parsing engines like imenu and etags, so also files not
supported by semantic but by imenu/etags can be displayed in the
Method-buffer of ECB. See "Definition of semantic- and non-semantic-sources" for a description of 'semantic-sources' and 'non-semantic-sources'.

If support of non-semantic-sources is enabled then ECB will display
the contents of all sources which can be displayed by speedbar too.
This comes from the fact that ECB uses speedbar-logic to parse sources
with imenu or etags.


On Tue, Aug 27, 2013 at 7:12 AM, kostafey <> wrote:
Thank you for answer. 

It seems, that is not present in
the following CEDET, but ECB shows the functions list in the current buffer with
clojure file and allows to navigate through them.

What kind of CEDET functionality are used by ECB in such case?

2013/8/26 Alex Ott <>

Semantic currently doesn't have support for Clojure out of box. Some work have started to do this:, but it wasn't finished completely as I understand...

On Fri, Aug 23, 2013 at 1:52 PM, kostafey <> wrote:
Can you advice how to get the list of functions and theirs positions in clojure files via CEDET?

The following snippet returns nil.
(semantic-find-tags-by-class 'function (semantic-something-to-tag-table (current-buffer)))

I've tried to examine ECB code, but it's too huge and complex for me yet.

Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
Cedet-devel mailing list

With best wishes,                    Alex Ott
Twitter: alexott_en (English), alexott (Russian)

With best wishes,                    Alex Ott
Twitter: alexott_en (English), alexott (Russian)