OK, I got it.
Actually, it seems that at some point in the history, I had a working
xtla package, but this time didn't coincide with the time I uploaded
it the last time :-( Probably I had some problems with my apt cache or
I don't know what.
I've just uploaded another version. Try it, it should work, now.
Below, some explanations I wrote before understanding the problem.
Robert Widhopf-Fenk <[EMAIL PROTECTED]> writes:
> Ok I have the following in my *Messages*
> Loading 50xtla (source)...
> Error while loading 50xtla
>
> Evaluating 50xtla results in
> Debugger entered--Lisp error: (void-variable flavor)
> (symbol-name flavor)
> (concat "/usr/share/" (symbol-name flavor) "/site-lisp/xtla")
> (let ((package-dir ...)) (when (file-directory-p package-dir) (setq
> load-path ...)))
> eval-buffer()
> * call-interactively(eval-buffer)
> execute-extended-command(nil)
> call-interactively(execute-extended-command)
What did you do to get this? M-x eval-buffer RET I suppose?
If so, 1) You shouldn't have, 2) It's normal that it crashes ;-)
This file is loaded by `debian-startup', which sets `flavor'
correctly while loading files.
Here, I suspect a broken Emacs installation on your machine (stupid
question: Is it a packaged Emacs, or a manually installed Emacs ?).
Normally, the file /usr/share/emacs/21.3/lisp/startup.el should
contain the code
;; Debian version of site-start.
(if site-run-file
(progn
;; Load all the debian package snippets.
;; It's in here because we want -q to kill it too.
(if (load "debian-startup" t t nil)
(debian-startup debian-emacs-flavor))
;; Now the normal site file...
(load site-run-file t t nil)))
That should do the trick.
--
Matthieu