all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: xcscope setup
Date: Wed, 20 May 2015 18:03:33 +0300	[thread overview]
Message-ID: <83bnhf70l6.fsf@gnu.org> (raw)
In-Reply-To: <555C9FBE.4010301@taydin.org>

> Date: Wed, 20 May 2015 17:52:46 +0300
> From: Timur Aydin <ta@taydin.org>
> 
> 
> On 05/20/2015 04:23 PM, Doug Lewan wrote:
> > Do you have (require 'cscope) or (load-library "cscope") in your .emacs?
> >
> The xcscope documentation says that it isn't necessary to put "(require
> 'cscope)" into .emacs.el if cscope was installed as an ELPA package.

So that probably means you didn't install the package correctly.  A
correct installation should take care of 2 things that are necessary
for you to be able to call any function inside a package:

  . it should add the package directory to load-path
  . it should load the package, either by 'require' or by an explicit
    'load' (in the latter case, if it uses an absolute file name, it
    can avoid adding the directoy to load-path)

> If I put that into.emacs.el anyway, it issues the following error:
> 
> Warning (initialization): An error occurred while loading
> `/home/ta/.emacs.el':
> 
> File error: Cannot open load file, no such file or directory, cscope

Which probably means your load-path doesn't include the package's
directory.



  reply	other threads:[~2015-05-20 15:03 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
2015-05-20 14:52   ` Timur Aydin
2015-05-20 15:03     ` Eli Zaretskii [this message]
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

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

  git send-email \
    --in-reply-to=83bnhf70l6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.