Re: [cedet-semantic] Problems with folding mode
Brought to you by:
zappo
From: Eric M. L. <eri...@gm...> - 2012-08-29 00:33:27
|
Hi Andrei, I went to experiment, and it appears that in our bzr repository, semantic-tag-folding-mode is broken due to changes in the API it depends on. In particular (for those reading the list who might know the answer) semantic-add-minor-mode now takes only 2 arguments, but folding mode was passing in a keymap as a third arg. Does anyone know why the 3rd argument has been removed? This has also revealed the entire contrib directory fails to compile and is currently untested in the build system. I will have a bit of work to do before I can dig into details on this since I'll need to figure out how to get that building again. Perhaps someone on the list using the released version of CEDET knows the answer to this question? Thanks Eric On 08/23/2012 10:47 AM, Andrei Stebakov wrote: > Hi > > I am using Emacs GNU Emacs 23.1.50.1 (i386-mingw-nt6.1.7600) of > 2009-11-03 on LENNART-69DE564 (patched) with the latest cedet 1.0.1 > > I have problems with the folding mode using C/C++ language. I can only > fold the most upper level blocks at function definition level but I > can't fold/unfold inner nested {} blocks like for(){} if(){} etc. > I wonder if it's the intended behavior or something goes wrong in my > environment. > > I got following settings in my .emacs file: > > (load-file "D:/GNU/cl-systems/cedet-1.0.1/common/cedet.el") > (global-ede-mode nil) > (semantic-load-enable-excessive-code-helpers) > (global-semantic-tag-folding-mode 1) > (require 'semantic-ia) ; names completion and display of tags > (require 'semantic-gcc) ; auto locate system include files > (require 'semanticdb) > (global-semanticdb-minor-mode 1) > > > ;; if you want to enable support for gnu global > (require 'semanticdb-global) > (semanticdb-enable-gnu-global-databases 'c-mode) > (semanticdb-enable-gnu-global-databases 'c++-mode) > > Thank you, > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > cedet-semantic mailing list > ced...@li... > https://lists.sourceforge.net/lists/listinfo/cedet-semantic |