Strange behavior in emacs 24

Sunil Matta <[email protected]> Mon, 11 Jul 2016 16:19:02 +0000 (UTC)
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
--===============4779283761066284620==
Content-Type: multipart/alternative; 
	boundary="----=_Part_1943172_444396301.1468253942521"
Content-Length: 10701

------=_Part_1943172_444396301.1468253942521
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I copied the cedet lisp setup and getting some strange errors.Any help woul=
d be appreciated as I am really looking forward to using this package for m=
y c++ project!

semantic-ia-fast-jump: seems to work most of the time.
A couple of other commands produces strange error.

I keep getting the following error message constantly on status bar, repeat=
ed every < 1 second.Error running timer `semantic-idle-scheduler-function':=
 (wrong-type-argument number-or-marker-p "0x7f")

When i exit emacs, i get the following prompt:Skip Error: number-or-marker-=
p ? (y or n)

So not sure what is going on with my config. Obviously something wrong with=
 my setup.PS. there were many setup commands that produced errors and there=
fore commented out.
Can anyone provide any help with this ? Really looking forward to using thi=
s package !!

System info:GNU Emacs 24.5.1Cedet (i beleive is built in)OS: Fedora 23Linux=
: 4.5.7-200.fc23.x86_64



Config lines related to cedet / symantic:

(add-to-list 'load-path "/home/3plibs/lisp/cedet-bzr/contrib")
(setq cedet-root-path (file-name-as-directory "/home/3plibs/lisp/cedet-bzr"=
))
(require 'semantic/ia)

;; CC-mode
(add-hook 'c-mode-hook '(lambda ()
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (setq ac-sources (append '(ac-so=
urce-semantic) ac-sources))
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (local-set-key (kbd "RET") 'newl=
ine-and-indent)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (linum-mode t)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (semantic-mode t)))

(defun my-cedet-hook ()
=C2=A0 (local-set-key [(control return)] 'semantic-ia-complete-symbol)
=C2=A0 (local-set-key "\C-c?" 'semantic-ia-complete-symbol-menu)
=C2=A0 (local-set-key "\C-c>" 'semantic-complete-analyze-inline)
=C2=A0 (local-set-key "\C-cj" 'semantic-ia-fast-jump)
=C2=A0 (local-set-key "\C-cq" 'semantic-ia-show-doc)
=C2=A0 (local-set-key "\C-cs" 'semantic-ia-show-summary)
=C2=A0 (local-set-key "\C-cp" 'semantic-analyze-proto-impl-toggle))
(add-hook 'c-mode-common-hook 'my-cedet-hook)


(defun my-c-mode-cedet-hook ()
=C2=A0 (local-set-key "\C-ct" 'eassist-switch-h-cpp)
=C2=A0 (local-set-key "\C-xt" 'eassist-switch-h-cpp)
=C2=A0 (local-set-key "\C-ce" 'eassist-list-methods)
=C2=A0 (local-set-key "\C-c\C-r" 'semantic-symref)
=C2=A0 )
(add-hook 'c-mode-common-hook 'my-c-mode-cedet-hook)

(semanticdb-enable-gnu-global-databases 'c-mode t)
(semanticdb-enable-gnu-global-databases 'c++-mode t)

(setq global-semantic-tag-folding-mode 1)



tia,


------=_Part_1943172_444396301.1468253942521
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div style=3D"color:#000; background-color:#fff; f=
ont-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helve=
tica, Arial, Lucida Grande, sans-serif;font-size:16px"><span id=3D"yui_3_16=
_0_ym19_1_1468252625832_5465">I copied the cedet lisp setup and getting som=
e strange errors.</span><div id=3D"yui_3_16_0_ym19_1_1468252625832_5143" di=
r=3D"ltr"><span id=3D"yui_3_16_0_ym19_1_1468252625832_5653">Any help would =
be appreciated as </span><span id=3D"yui_3_16_0_ym19_1_1468252625832_5654">=
I am really looking forward to using this package for my c++ project!<br></=
span></div><div id=3D"yui_3_16_0_ym19_1_1468252625832_5655" dir=3D"ltr"><sp=
an><br></span></div><div id=3D"yui_3_16_0_ym19_1_1468252625832_5648" dir=3D=
"ltr"><span id=3D"yui_3_16_0_ym19_1_1468252625832_5647">semantic-ia-fast-ju=
mp: seems to work most of the time.<br></span></div><div id=3D"yui_3_16_0_y=
m19_1_1468252625832_5639" dir=3D"ltr"><span id=3D"yui_3_16_0_ym19_1_1468252=
625832_5688">A couple of other commands produces strange error.<br></span><=
/div><div dir=3D"ltr"><span><br></span></div><div id=3D"yui_3_16_0_ym19_1_1=
468252625832_5425" dir=3D"ltr"><span id=3D"yui_3_16_0_ym19_1_1468252625832_=
5424">I keep getting the following error message constantly on status bar, =
repeated every &lt; 1 second.</span></div><div id=3D"yui_3_16_0_ym19_1_1468=
252625832_5343" dir=3D"ltr"><span id=3D"yui_3_16_0_ym19_1_1468252625832_534=
2"><b id=3D"yui_3_16_0_ym19_1_1468252625832_5341">Error running timer `sema=
ntic-idle-scheduler-function': (wrong-type-argument number-or-marker-p "0x7=
f")<br id=3D"yui_3_16_0_ym19_1_1468252625832_4994"></b><br></span></div><di=
v id=3D"yui_3_16_0_ym19_1_1468252625832_5060" dir=3D"ltr"><span>When i exit=
 emacs, i get the following prompt:</span></div><div id=3D"yui_3_16_0_ym19_=
1_1468252625832_5066" dir=3D"ltr"><b id=3D"yui_3_16_0_ym19_1_1468252625832_=
5448"><span id=3D"yui_3_16_0_ym19_1_1468252625832_5447">Skip Error: number-=
or-marker-p ? (y or n)<br></span></b></div><div id=3D"yui_3_16_0_ym19_1_146=
8252625832_5059" dir=3D"ltr"><span><br></span></div><div id=3D"yui_3_16_0_y=
m19_1_1468252625832_5346" dir=3D"ltr"><span id=3D"yui_3_16_0_ym19_1_1468252=
625832_5445">So not sure what is going on with my config. Obviously somethi=
ng wrong with my setup.</span></div><span id=3D"yui_3_16_0_ym19_1_146825262=
5832_5444">PS. there were many setup commands that produced errors and ther=
efore commented out.<br></span><div id=3D"yui_3_16_0_ym19_1_1468252625832_5=
409" dir=3D"ltr"><span>Can anyone provide any help with this ? Really looki=
ng forward to using this package !!<br></span></div><div dir=3D"ltr"><span>=
<br></span></div><div id=3D"yui_3_16_0_ym19_1_1468252625832_5430" dir=3D"lt=
r"><span>System info:</span></div><div id=3D"yui_3_16_0_ym19_1_146825262583=
2_5489" dir=3D"ltr"><span id=3D"yui_3_16_0_ym19_1_1468252625832_5490">GNU E=
macs 24.5.1</span></div><div id=3D"yui_3_16_0_ym19_1_1468252625832_5491" di=
r=3D"ltr"><span id=3D"yui_3_16_0_ym19_1_1468252625832_5492">Cedet (i beleiv=
e is built in)</span></div><div id=3D"yui_3_16_0_ym19_1_1468252625832_5493"=
 dir=3D"ltr"><span id=3D"yui_3_16_0_ym19_1_1468252625832_5494">OS: Fedora 2=
3</span></div><div id=3D"yui_3_16_0_ym19_1_1468252625832_5495" dir=3D"ltr">=
<span id=3D"yui_3_16_0_ym19_1_1468252625832_5496">Linux: 4.5.7-200.fc23.x86=
_64<br id=3D"yui_3_16_0_ym19_1_1468252625832_5497"></span></div><span id=3D=
"yui_3_16_0_ym19_1_1468252625832_5501"></span><div id=3D"yui_3_16_0_ym19_1_=
1468252625832_5598" dir=3D"ltr"><span><br></span></div><div id=3D"yui_3_16_=
0_ym19_1_1468252625832_5591" dir=3D"ltr"><span><br></span></div><div id=3D"=
yui_3_16_0_ym19_1_1468252625832_5590" dir=3D"ltr"><span><br></span></div><d=
iv id=3D"yui_3_16_0_ym19_1_1468252625832_5433" dir=3D"ltr"><span id=3D"yui_=
3_16_0_ym19_1_1468252625832_5432"><u id=3D"yui_3_16_0_ym19_1_1468252625832_=
5431">Config lines related to cedet / symantic:</u><br></span></div><div id=
=3D"yui_3_16_0_ym19_1_1468252625832_3600" style=3D"color:rgb(0, 0, 0);font-=
size:13px;font-family:arial, helvetica, clean, sans-serif;background-color:=
transparent;font-style:normal;"><div id=3D"yui_3_16_0_ym19_1_1468252625832_=
5105"><br></div><div id=3D"yui_3_16_0_ym19_1_1468252625832_5589" dir=3D"ltr=
">(add-to-list 'load-path "/home/3plibs/lisp/cedet-bzr/contrib")<br id=3D"y=
ui_3_16_0_ym19_1_1468252625832_5146"></div><div id=3D"yui_3_16_0_ym19_1_146=
8252625832_5434" dir=3D"ltr">(setq cedet-root-path (file-name-as-directory =
"/home/3plibs/lisp/cedet-bzr"))<br id=3D"yui_3_16_0_ym19_1_1468252625832_51=
75">(require 'semantic/ia)<br id=3D"yui_3_16_0_ym19_1_1468252625832_5215"><=
br></div><div id=3D"yui_3_16_0_ym19_1_1468252625832_5332" dir=3D"ltr">;; CC=
-mode<br id=3D"yui_3_16_0_ym19_1_1468252625832_5301">(add-hook 'c-mode-hook=
 '(lambda ()<br id=3D"yui_3_16_0_ym19_1_1468252625832_5302">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; (setq ac-sources (append '(ac-source-semantic) =
ac-sources))<br id=3D"yui_3_16_0_ym19_1_1468252625832_5303">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; (local-set-key (kbd "RET") 'newline-and-indent)=
<br id=3D"yui_3_16_0_ym19_1_1468252625832_5304">&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; (linum-mode t)<br id=3D"yui_3_16_0_ym19_1_1468252625832_530=
5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (semantic-mode t)))<br id=3D"=
yui_3_16_0_ym19_1_1468252625832_5306"><br id=3D"yui_3_16_0_ym19_1_146825262=
5832_5307">(defun my-cedet-hook ()<br id=3D"yui_3_16_0_ym19_1_1468252625832=
_5308">&nbsp; (local-set-key [(control return)] 'semantic-ia-complete-symbo=
l)<br id=3D"yui_3_16_0_ym19_1_1468252625832_5309">&nbsp; (local-set-key "\C=
-c?" 'semantic-ia-complete-symbol-menu)<br id=3D"yui_3_16_0_ym19_1_14682526=
25832_5310">&nbsp; (local-set-key "\C-c&gt;" 'semantic-complete-analyze-inl=
ine)<br id=3D"yui_3_16_0_ym19_1_1468252625832_5311">&nbsp; (local-set-key "=
\C-cj" 'semantic-ia-fast-jump)<br id=3D"yui_3_16_0_ym19_1_1468252625832_531=
2">&nbsp; (local-set-key "\C-cq" 'semantic-ia-show-doc)<br id=3D"yui_3_16_0=
_ym19_1_1468252625832_5313">&nbsp; (local-set-key "\C-cs" 'semantic-ia-show=
-summary)<br id=3D"yui_3_16_0_ym19_1_1468252625832_5314">&nbsp; (local-set-=
key "\C-cp" 'semantic-analyze-proto-impl-toggle))<br id=3D"yui_3_16_0_ym19_=
1_1468252625832_5315">(add-hook 'c-mode-common-hook 'my-cedet-hook)<br id=
=3D"yui_3_16_0_ym19_1_1468252625832_5316"><br id=3D"yui_3_16_0_ym19_1_14682=
52625832_5317"><br id=3D"yui_3_16_0_ym19_1_1468252625832_5318">(defun my-c-=
mode-cedet-hook ()<br id=3D"yui_3_16_0_ym19_1_1468252625832_5319">&nbsp; (l=
ocal-set-key "\C-ct" 'eassist-switch-h-cpp)<br id=3D"yui_3_16_0_ym19_1_1468=
252625832_5320">&nbsp; (local-set-key "\C-xt" 'eassist-switch-h-cpp)<br id=
=3D"yui_3_16_0_ym19_1_1468252625832_5321">&nbsp; (local-set-key "\C-ce" 'ea=
ssist-list-methods)<br id=3D"yui_3_16_0_ym19_1_1468252625832_5322">&nbsp; (=
local-set-key "\C-c\C-r" 'semantic-symref)<br id=3D"yui_3_16_0_ym19_1_14682=
52625832_5323">&nbsp; )<br id=3D"yui_3_16_0_ym19_1_1468252625832_5324">(add=
-hook 'c-mode-common-hook 'my-c-mode-cedet-hook)<br id=3D"yui_3_16_0_ym19_1=
_1468252625832_5325"><br id=3D"yui_3_16_0_ym19_1_1468252625832_5326">(seman=
ticdb-enable-gnu-global-databases 'c-mode t)<br id=3D"yui_3_16_0_ym19_1_146=
8252625832_5327">(semanticdb-enable-gnu-global-databases 'c++-mode t)<br id=
=3D"yui_3_16_0_ym19_1_1468252625832_5328"><br id=3D"yui_3_16_0_ym19_1_14682=
52625832_5329">(setq global-semantic-tag-folding-mode 1)<br id=3D"yui_3_16_=
0_ym19_1_1468252625832_5330"><br id=3D"yui_3_16_0_ym19_1_1468252625832_5331=
"></div><div id=3D"yui_3_16_0_ym19_1_1468252625832_5697"><br></div><div id=
=3D"yui_3_16_0_ym19_1_1468252625832_5698"><br></div><div id=3D"yui_3_16_0_y=
m19_1_1468252625832_5699">tia,</div><div id=3D"yui_3_16_0_ym19_1_1468252625=
832_5700"><br></div><div><br></div></div></div></body></html>
------=_Part_1943172_444396301.1468253942521--


--===============4779283761066284620==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
--===============4779283761066284620==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cedet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cedet-devel

--===============4779283761066284620==--