Srecode should be independent of Semantic
Tu Do <[email protected]>
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <CAOEd9jn70fbwf6h183=X_PRJvR1YfKQz2+--8k2RdjCUj=H9Ew@mail.gmail.com> |
Currently, I only want to use Srecode inside Common Lisp. To use Srecode, I
have to activate Semantic mode, and I'm using semantic-idle-summary-mode
for C/C++ buffers, so semantic-idle-summary-mode is activate for Common
Lisp buffers as well. The problem is, semantic-idle-summary-mode does not
display correct signatures from Common Lisp; it displays signatures from
Emacs Lisp.
To turn it off, I have to activate Semantic only in C/C++/Emacs Lisp modes:
(add-to-list 'semantic-inhibit-functions
(lambda () (not (member major-mode '(c-mode c++-mode
emacs-lisp-mode)))))
However, doing like this disables srecode-minor-mode because it requires
Semantic bufers. Is there a way to fix it?
This SO question and answer does not help:
http://stackoverflow.com/questions/6782114/disable-cedet-semantic-code-completion-for-lisp-mode
Regards,
Tu.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Cedet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cedet-devel