auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Re: Running out of time...


From: Ralf Angeli
Subject: Re: [AUCTeX-devel] Re: Running out of time...
Date: Sun, 01 May 2005 17:04:56 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

* David Kastrup (2005-04-30) writes:

> At the current point of time, the main thing would be to check that
> the stuff configures, compiles and installs on the involved platforms.
> That is number one.

Installation seems to work on CVS Emacs and Emacs 21.4.  I don't know
however, if I am supposed to (require 'tex-site) or (load "auctex")
right now.  Both work.

Installation for XEmacs succeeds but after starting XEmacs, the new
installation is shadowed by the old one.  Here is the start of the
output of `list-load-path-shadows':

/usr/share/xemacs21/xemacs-packages/lisp/auctex/tex-bar hides 
/usr/share/xemacs21/site-packages/lisp/auctex/tex-bar
/usr/share/xemacs21/xemacs-packages/lisp/auctex/toolbar-x hides 
/usr/share/xemacs21/site-packages/lisp/auctex/toolbar-x
/usr/share/xemacs21/xemacs-packages/lisp/auctex/tex-fold hides 
/usr/share/xemacs21/site-packages/lisp/auctex/tex-fold
/usr/share/xemacs21/xemacs-packages/lisp/auctex/context-nl hides 
/usr/share/xemacs21/site-packages/lisp/auctex/context-nl
[...]

auctex.el cannot be located with `locate-library'.

> Number two is making sure that the documentation
> matches the actual installation procedures (like the stuff with
> auctex.el).

A precondition for this is to actually know how the installation is
supposed to work, what changed regarding switches, how the packages
are activated etc. etc.  Personally I am currently completely clueless
about this.

> Number three is checking that the new features/unfeatures work: namely
> that (unload-feature 'tex-site) will indeed give you the state before
> auctex.el was loaded (of course not after actual TeX files have been
> loaded): just tex-mode.el and texinfo.el functionality.

Hm, if I use `emacs -Q -l auctex-setup.el' where the loaded file
contains this:

(setq debug-on-error t)
;; (require 'tex-site)
(load "auctex")
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)

doing `M-: (unload-feature 'tex-site) RET' will result in a large list
printed to the *Messages* buffer.  If I then load a LaTeX file, I
still get AUCTeX.  The same is true with my normal setup which uses
(require 'tex-site).  As I have `eval-expression-print-length' and
`eval-expression-print-level' both set to nil, printing the list to
the *Messages* buffer takes _very_ long.

In case I use the minimal setup shown above, but with (require
'tex-site) instead of (load "auctex") activated, doing `M-:
(unload-feature 'tex-site) RET' results in this backtrace:

Debugger entered--Lisp error: (error "Loaded libraries 
(\"/home/angeli/auctex-setup.el\") depend on tex-site")
  signal(error ("Loaded libraries (\"/home/angeli/auctex-setup.el\") depend on 
tex-site"))
  error("Loaded libraries %s depend on %s" "(\"/home/angeli/auctex-setup.el\")" 
"tex-site")
  unload-feature(tex-site)
  eval((unload-feature (quote tex-site)))
  eval-expression((unload-feature (quote tex-site)) nil)
  call-interactively(eval-expression)

All of this unload-feature stuff was tested only with CVS Emacs.

-- 
Ralf




reply via email to

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