all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Need help on init error
@ 2006-02-09 18:43 Leo Liou
  2006-02-09 22:06 ` Kevin Rodgers
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Liou @ 2006-02-09 18:43 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1519 bytes --]

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 "\b…— 	Æ=ƒ\x11 Ç\bÈQ‚5 	É=ƒ' ÊÇËÌ#ƒ# Í‚5 ΂5 	Ï=ƒ1 Ђ5 Ç\bÑQ\x1aÒ\x13Ó\nÒ‰#ˆ
Ò=ƒF Ë\x13
ƒˆ Ô
!Õšƒˆ Ö
!‰\x1c×P\x1dØ
!ƒd 
‚o Ø\f!ƒn \f‚o ˉ\x14ƒ‡ Ù\f
\"ƒ… ÚÛ\f
#ˆÜÝ!ˆ\f\x13*\x0e\x1f†– Ë\x1e ÓÞÒ‰#))‡" [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.
Thanks :-)


[-- Attachment #1.2: Type: text/html, Size: 4629 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need help on init error
  2006-02-09 18:43 Need help on init error Leo Liou
@ 2006-02-09 22:06 ` Kevin Rodgers
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Rodgers @ 2006-02-09 22:06 UTC (permalink / raw)


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 "\b…—    Æ=ƒ\x11 Ç\bÈQ‚5     É=ƒ' ÊÇËÌ#ƒ# Í‚5 ΂5    Ï=ƒ1 Ђ5 
> Ç\bÑQ\x1aÒ\x13Ó\nÒ‰#ˆ
> Ò=ƒF Ë\x13
> ƒˆ Ô
> !Õšƒˆ Ö
> !‰\x1c×P\x1dØ
> !ƒd
> ‚o Ø\f!ƒn \f‚o ˉ\x14ƒ‡ Ù\f
> \"ƒ… ÚÛ\f
> #ˆÜÝ!ˆ\f\x13*\x0e\x1f†– Ë\x1e ÓÞÒ‰#))‡" [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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need help on init error
@ 2006-02-10 17:03 Leo Liou
  2006-02-13 16:54 ` Kevin Rodgers
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Liou @ 2006-02-10 17:03 UTC (permalink / raw)
  Cc: ihs_4664


[-- Attachment #1.1: Type: text/plain, Size: 3112 bytes --]

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 "\b…—    Æ=ƒ\x11 Ç\bÈQ‚5     É=ƒ' ÊÇËÌ#ƒ# Í‚5 ΂5    Ï=ƒ1 Ђ5 
> Ç\bÑQ\x1aÒ\x13Ó\nÒ‰#ˆ
> Ò=ƒF Ë\x13
> ƒˆ Ô
> !Õšƒˆ Ö
> !‰\x1c×P\x1dØ
> !Æ’d
> ‚o Ø\f!ƒn \f‚o ˉ\x14ƒ‡ Ù\f
> \"ƒ… ÚÛ\f
> #ˆÜÝ!ˆ\f\x13*\x0e\x1f†– Ë\x1e ÓÞÒ‰#))‡" [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


[-- Attachment #1.2: Type: text/html, Size: 8364 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need help on init error
  2006-02-10 17:03 Leo Liou
@ 2006-02-13 16:54 ` Kevin Rodgers
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Rodgers @ 2006-02-13 16:54 UTC (permalink / raw)


Leo Liou wrote:
 > 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.

That is true, assuming you put it in the right site-lisp directory and
nothing has removed that directory from your load-path.  Does `M-x
locate-library RET xscope RET' confirm that it is found in your
load-path?  If not, what does `C-h v load-path' tell you?

 > 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.

No, the error is not that the contents of xscope.el cannot be loaded,
it's that xscope.el itself cannot be opened.  What are its ownership and
permissions?

-- 
Kevin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need help on init error
@ 2006-02-14 17:09 Leo Liou
  0 siblings, 0 replies; 5+ messages in thread
From: Leo Liou @ 2006-02-14 17:09 UTC (permalink / raw)
  Cc: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 1360 bytes --]

Thanks for your help. Your conviction make me look again. And sure
enough, the name is wrong. 
It should have been xcscope.el, not xscope.el.
Simple error, but when you miss it, you missed it.
Again, thanks for your help.
:-)
------------------------------------------------------------------------
----------------
Leo Liou wrote:
 > 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.

That is true, assuming you put it in the right site-lisp directory and
nothing has removed that directory from your load-path.  Does `M-x
locate-library RET xscope RET' confirm that it is found in your
load-path?  If not, what does `C-h v load-path' tell you?

 > 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.

No, the error is not that the contents of xscope.el cannot be loaded,
it's that xscope.el itself cannot be opened.  What are its ownership and
permissions?


Leo Liou
Not a shred of evidence exists in favor of the notion that life is
serious ...


[-- Attachment #1.2: Type: text/html, Size: 2865 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-14 17:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-09 18:43 Need help on init error Leo Liou
2006-02-09 22:06 ` Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2006-02-10 17:03 Leo Liou
2006-02-13 16:54 ` Kevin Rodgers
2006-02-14 17:09 Leo Liou

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.