Thread

Posted on Sat Dec 8 00:30:38 2007 by klevin
Initialization error with XEmacs
After unrolling Sepia 0.95_02 into my src directory, I added the following to my ~/.xemacs/init.el file, as specified in the Sepia.html file:
(add-to-list 'load-path "/home/nromer/src/Sepia-0.95_02") (setq sepia-perl5lib (list (expand-file-name "/home/nromer/src/Sepia-0.95_02/lib"))) (defalias 'perl-mode 'sepia-mode) (require 'sepia)
When I start up XEmacs, I get the following error:
(1) (initialization/error) An error has occurred while loading /home/nromer/.xemacs/init.el: Wrong number of arguments: require, 3
Ideas?
Direct Responses: 6642 | 6643 | Write a response
Posted on Sat Dec 8 00:40:52 2007 by seano in response to 6641
Re: Initialization error with XEmacs
Yes, apparently XEmacs doesn't have the optional "noerror" and/or "filename" arguments to require. This is easy to fix, so I'll do so in the next release.
Write a response
Posted on Sat Dec 8 01:36:34 2007 by seano in response to 6641
Re: Initialization error with XEmacs
Please try the following patch, and tell me what breaks next (this would be easier by email, btw).
--- sepia.el 29 Nov 2007 20:04:25 -0000 1.28 +++ sepia.el 7 Dec 2007 23:57:01 -0000 @@ -21,9 +21,9 @@ (require 'gud) (require 'cl) ;; try optional modules, but don't bitch if we fail: -(require 'sepia-w3m nil t) -(require 'sepia-tree nil t) -(require 'sepia-ido nil t) +(ignore-errors (require 'sepia-w3m)) +(ignore-errors (require 'sepia-tree)) +(ignore-errors (require 'sepia-ido)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Comint communication
Write a response