From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: xcscope setup Date: Wed, 20 May 2015 18:03:33 +0300 Message-ID: <83bnhf70l6.fsf@gnu.org> References: <555C79FD.9040805@taydin.org> <155DEC68569B714B86C2C7075F5EDA9892BF7DBA@DAKIYA1.pegasus.local> <555C9FBE.4010301@taydin.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1432134252 22787 80.91.229.3 (20 May 2015 15:04:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 May 2015 15:04:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 20 17:04:00 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yv5XL-0004BQ-QT for geh-help-gnu-emacs@m.gmane.org; Wed, 20 May 2015 17:03:59 +0200 Original-Received: from localhost ([::1]:52383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv5XL-0001yc-3z for geh-help-gnu-emacs@m.gmane.org; Wed, 20 May 2015 11:03:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv5X6-0001yM-7B for help-gnu-emacs@gnu.org; Wed, 20 May 2015 11:03:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yv5X3-0003xv-0x for help-gnu-emacs@gnu.org; Wed, 20 May 2015 11:03:44 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:61377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv5X2-0003wa-P3 for help-gnu-emacs@gnu.org; Wed, 20 May 2015 11:03:40 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NON00D00LFSNG00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Wed, 20 May 2015 18:03:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NON00DMXLU2K980@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Wed, 20 May 2015 18:03:39 +0300 (IDT) In-reply-to: <555C9FBE.4010301@taydin.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104497 Archived-At: > Date: Wed, 20 May 2015 17:52:46 +0300 > From: Timur Aydin > > > 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.