How do I load from /usr/share/xemacs/* with xemacs-21.5.26 ?

Manfred Bartz mob at xix.com
Sun Apr 2 20:34:46 EDT 2006


Ok, I have downloaded the sources for 21.5.26, configured, built and
installed under /usr/local on a W2k system with cygwin.

Xemacs seems to run ok, but I don't know how to teach it to load
all the modules that I normally use.

I added this:

(setq load-path (cons
"/usr/share/xemacs/xemacs-packages/lisp/clearcase/" load-path))

and it then successfully finds clearcase, but do I have to do this for
all modules I need to load?
Shouldn't there be a base directory I can set so that all
packages/modules under it can be found?

I have tried (setq module-load-path (cons ....
but that does not seem to work either.

Sorry, I am a lisp newbie  :-/

--
Manfred




(1) (initialization/error) An error has occurred while loading
/home/mbartz/.xemacs/init.el:

Cannot open load file: "clearcase"

Backtrace follows:

  signal(file-error ("Cannot open load file" "clearcase"))
  # bind (path handler filename nosuffix nomessage noerror file)
  load("clearcase")
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  (load-internal "[internal]")
  load-internal("/home/mbartz/.xemacs/init.el" t t t raw-text)
  # bind (path handler filename nosuffix nomessage noerror file)
  load("/home/mbartz/.xemacs/init.el" t t t)
  load-user-init-file()
  #<compiled-function nil "...(10)" [init-file-had-error
load-user-init-file-p load-user-init-file nil] 2>()
  # (unwind-protect ...)
  call-with-condition-handler(#<compiled-function
(__load_init_file_arg__) "...(26)" [init-file-had-error user-init-file
__load_init_file_arg__ errstr error-message-string message "Error in
init file: %s" lwarn initialization error "An error has occurred while
loading %s:\n\n%s\n\nBacktrace follows:\n\n%s\n\nTo ensure normal
operation, you should investigate the cause of the error\nin your
initialization file and remove it.  Use the `-debug-init' option\nto
XEmacs to enter the debugger when the error occurs and investigate
the\nexact problem."
backtrace-in-condition-handler-eliminating-handler t] 8>
#<compiled-function nil "...(10)" [init-file-had-error
load-user-init-file-p load-user-init-file nil] 2>)
  # (condition-case ... . ((error)))
  # bind (debug-on-error debug-on-error-from-init-file
debug-on-error-should-be-set debug-on-error-initial)
  load-init-file()
  # bind (command-line-args-left)
  command-line()
  # (condition-case ... . ((t (byte-code "      A?" [error-data data nil] 1))))
  # bind (error-data)
  normal-top-level()
  # (condition-case ... . error)
  # (catch top-level ...)





More information about the XEmacs-Beta mailing list