From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chetan Newsgroups: gmane.emacs.help Subject: Re: Help needed to enable cscope Date: Tue, 02 Dec 2008 20:02:13 -0800 Organization: Noname Inc. Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228279253 27233 80.91.229.12 (3 Dec 2008 04:40:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2008 04:40:53 +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 Dec 03 05:41:57 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7jYh-0005UD-Lu for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Dec 2008 05:41:55 +0100 Original-Received: from localhost ([127.0.0.1]:53489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7jXX-0005Mt-8x for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 23:40:43 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!flph200.ffdc.sbc.com!prodigy.net!flph199.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!flpi144.ffdc.sbc.com.POSTED!8e1d8614!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Emacs Gnus Cancel-Lock: sha1:P3I60JKIcT1uBy+Diwk77u9Sszo= Original-Lines: 27 Original-NNTP-Posting-Host: 76.201.141.135 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: flpi144.ffdc.sbc.com 1228276935 ST000 76.201.141.135 (Tue, 02 Dec 2008 23:02:15 EST) Original-NNTP-Posting-Date: Tue, 02 Dec 2008 23:02:15 EST X-UserInfo1: [[PAPDCAO@RQBQXYWJKB_\XBUSXB@DTMNHWB_EYLJZ]BGIELCNSKQFCY@TXDX_WHSVB]ZEJLSNY\^J[CUVSA_QLFC^RQHUPH[P[NRWCCMLSNPOD_ESALHUK@TDFUZHBLJ\XGKL^NXA\EVHSP[D_C^B_^JCX^W]CHBAX]POG@SSAZQ\LE[DCNMUPG_VSC@VJM Original-Xref: news.stanford.edu gnu.emacs.help:165005 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60330 Archived-At: ZelluX writes: > Hi, all > > I'm new to emacs and now have some difficulty in enabling cscope in > emacs. > > I've installed cscope on my ArchLinux and downloaded xcscope.el and > cscope-indexer from cscope.sf.net > > Then i copied cscope-indexer to /usr/bin(with executable permission) > and xcscope.el to ~/emacs, and add lines to ~/.emacs like this: > > (setq load-path (cons "~/emacs" load-path)) > (require 'xcscope) > > But when i start emacs again, and press Ctrl-c s, it says 'C-c s is > undefined'. At first i thought it was because emacs couldnot find > xcscope, but when i renamed xcscope.el to xcscope1.el, the emacs said > 'cannot find xcscope', which didn't occur before renaming, so i think > the path is just right. > > Could you help me find out where the problem lies? Thanks for your > reply. What type of file are you editing? Chetan