help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: xcscope setup


From: Doug Lewan
Subject: RE: xcscope setup
Date: Wed, 20 May 2015 13:23:35 +0000

Do you have (require 'cscope) or (load-library "cscope") in your .emacs?

-- 
,Doug
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224 or ext 4335

The human brain is the most complex thing known to man, according to the human 
brain.

> -----Original Message-----
> On
> Behalf Of Timur Aydin
> Subject: xcscope setup
> 
> Hello,
> 
> I am trying to get xcscope to work with emacs version (GNU Emacs
> 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.6)
>  of 2014-12-29 on mail))
> 
> I have first installed the xcscope from the ELPA. Then, according to
> the
> package documentation, I have added (cscope-setup) into my .emacs.el
> 
> But when I do that, emacs fails to start up with this error:
> 
> Warning (initialization): An error occurred while loading
> `/home/ta/.emacs.el':
> 
> Symbol's function definition is void: cscope-setup
> 
> I played around with this for a while and finally got it to work by
> adding (cscope-setup) into a c-initialization-hook:
> 
> (defun my-c-initialization-hook ()
>   (cscope-setup)
> )
> 
> (add-hook 'c-initialization-hook 'my-c-initialization-hook)
> 
> This seems to work correctly, but I haven't seen it done this way
> anywhere. So, why isn't it working according to the documentation? And
> why is the hook method working? And is this the proper way of this
> this?
> 
> Cheers,
> 
> --
> Timur Aydin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]