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

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

Re: Need help on init error


From: Leo Liou
Subject: Re: Need help on init error
Date: Fri, 10 Feb 2006 09:03:39 -0800

Thanks for the message, but I have put xscope.el in the site-lisp, so I figure I do not have to update load-path.

Since all my other local .el loaded fine, I have to presume the issue is with xscope.el particularly.
I assumed there is some unprintable character got in the way, but I could not find any (I used od to check).
That is why I am at a loss at why I cannot load xscope.el.
I would appreciate if you can think of anything else that I should check.
Thanks :-)

Leo Liou
Live long and prosper ...
---------------------------------------------------------------------------------------------------------------------------------------------------

Date: Thu, 09 Feb 2006 15:06:03 -0700
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Need help on init error
To: help-gnu-emacs@gnu.org
Message-ID: <dsgecg$vsm$1@sea.gmane.org>
Content-Type: text/plain; charset=UTF-8; format=flowed

Leo Liou wrote:
> Added support for cscope in my .emacs
> (require 'xscope)
> And on starting up emacs got …
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> -------------------------
>
> Debugger entered--Lisp error: (file-error "Cannot open load file" "xscope")
>   require(xscope)
>   eval-buffer(#<buffer  *load*> nil "~/.emacs" nil t)
>   load-with-code-conversion("/home/leol/.emacs" "~/.emacs" t t)
>   load("~/.emacs" t t)
>   #[nil "…—    Ã=Æ’ ÈQ‚5     Ã=Æ’' ÊÃÃÃŒ#Æ’# Í‚5 ΂5    Ï=Æ’1 Ђ5
> ÃÑQÃ’Ó\nÒ‰#Ë
> Ã’=Æ’F Ã
> Æ’Ë Ã”
> !ÃÅ¡Æ’Ë Ã
> !‰ÃPØ
> !Æ’d
> ‚o Ø\f!Æ’n \f‚o Ƀ‡ Ù\f
> \"ƒ… ÚÃ\f
> #ËÜÝ!Ë\f*†– Ã ÓÞÒ‰#))‡" [init-file-user
> system-type user-init-file-1 user-init-file source alt ms-dos "~"
> "/_emacs" windows-nt directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "~/_emacs"
> vax-vms "sys$login:.emacs" "/.emacs" t load file-name-extension "elc"
> file-name-sans-extension ".el" file-exists-p file-newer-than-file-p
> message "Warning: %s is newer than %s" sit-for 1 "default"
> inhibit-default-init inhibit-startup-message] 5]()
>
>   command-line()
>   normal-top-level()
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> ------------------------
>
> This seems to emit from startup.el.
> Any pointer/help is greatly appreciated ….
> This is emacs 21.2.1 on RH9.

The xscope.el and/or xscope.elc file must be in a directory that is a member of load-path.  Type `C-h v load-path RET' to see that variable's value.

Whereever you have installed the xscope.el?(c) files, add that to your load-path before the (require 'xscope) form e.g.

(setq load-path
       (cons "~/emacs" load-path))

--
Kevin Rodgers


reply via email to

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