Re: [CEDET-devel] global-semantic-tag-folding-mode error and CEDET version display
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2013-03-03 02:14:09
|
Hi Yong, Sorry for the delay in replying. The folding mode in contrib wasn't converted to the new minor mode handling scheme during the file rename. I checked in a change to bzr to update that so it should work without the error you noted below. There is something else going on though, as I had to poke the mode a couple times before it started working. I'm not sure what's up with that, but it does work without errors eventually. ;) Good Luck Eric On 02/13/2013 05:20 AM, Yong Chul Ju wrote: > Hi, > > I have some problems with "global-semantic-tag-folding-mode". > When I activate the mode with (global-semantic-tag-folding-mode 1) in my > ".emacs" file, > nothing happens. (In the case of CEDET 1.1, it folds some functions of > my C++ code snippet when I open the file: In the fringe region I can see > the upside down triangle.) > So now I invoke the function with "M-x global-semantic-tag-folding-mode", > then it makes error: > Wrong type argument: number-or-marker-p, nil > > and > > Error messages with the command "M-x toggle-debug-on-error" are: > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) > semantic-toggle-minor-mode-globally(semantic-tag-folding-mode nil) > global-semantic-tag-folding-mode(nil) > call-interactively(global-semantic-tag-folding-mode t nil) > execute-extended-command(nil) > call-interactively(execute-extended-command nil nil) > > The weird thing is that the command "M-x semantic-tag-folding-mode" > actually works: > the command folds some of my functions. > So I don't know what is happening with the global mode. > In addition, I installed the same packages on my ubuntu laptop and got > the same result. > > Another small problem is the version display for CEDET package. > When I invoke "M-x cedet-version", the following is the result. > I don't know why it looks like that for speedbar case. > > CEDET Version: 2.0 > Requested File Loaded > Package Version Version Version > ---------------------------------------------------------- > cedet: 2.0 ok ok > eieio: 1.4 ok ok > semantic: 2.2 ok ok > srecode: 1.2 ok ok > ede: 1.2 ok ok > speedbar: 1.0.4 nil 1.0 > cogre: 1.2 ok ok > cedet-contrib: 1.2 ok ok > > > C-h f cedet-version RET > for details on output format. > > > Here comes my configurations: > > Installed version of my emacs and packages are: > GNU Emacs 24.2.1 on fedora 18 64 bit version > cedet: bzr checkout > bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/code/trunk > <http://cedet.bzr.sourceforge.net/bzrroot/cedet/code/trunk> cedet > ecb: git clone git://github.com/alexott/ecb.git > <http://github.com/alexott/ecb.git> > > For "cedet/contrib", I installed separately with "make" > |