unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Doug Lewan <dougl@shubertticketing.com>
To: Timur Aydin <ta@taydin.org>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: xcscope setup
Date: Wed, 20 May 2015 13:23:35 +0000	[thread overview]
Message-ID: <155DEC68569B714B86C2C7075F5EDA9892BF7DBA@DAKIYA1.pegasus.local> (raw)
In-Reply-To: <555C79FD.9040805@taydin.org>

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	other threads:[~2015-05-20 13:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-20 12:11 xcscope setup Timur Aydin
2015-05-20 13:23 ` Doug Lewan [this message]
2015-05-20 14:52   ` Timur Aydin
2015-05-20 15:03     ` Eli Zaretskii
2015-05-20 16:38       ` Timur Aydin
2015-05-20 15:04     ` Michael Heerdegen
2015-05-20 16:40       ` Timur Aydin
2015-05-20 16:51         ` Michael Heerdegen
2015-05-20 17:14           ` Timur Aydin
2015-05-20 16:47 ` Dmitry Gutov
2015-05-21  2:25 ` Vaidheeswaran C
2015-05-21 16:14   ` Timur Aydin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=155DEC68569B714B86C2C7075F5EDA9892BF7DBA@DAKIYA1.pegasus.local \
    --to=dougl@shubertticketing.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ta@taydin.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).