bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] Automatic Extraction of New Things


From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] Automatic Extraction of New Things
Date: Sat, 17 Sep 2005 13:17:22 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

[Redirecting to the list.]

* Jobst Hoffmann (2005-09-17) writes:

> Am Freitag, den 16.09.2005, 23:29 +0200 schrieb Ralf Angeli:
>> 
>> Did you apply `TeX-auto-generate' on texpower.sty as well?  The
>> version I used for the test was "2005/04/08 v0.2".
>> 
> This is what I've just done:
> 1) started XEmacs
> 2) M-x TeX-auto-generate
> 3) TeX file or
> directory: /opt/local/teTeX/share/texmf-local/tex/latex/texpower/texpower.sty
> 4) AUTO lisp directory: ~/
> I attach the resulting texpower.el with 216(!) lines
>
> My texpower.sty has the same version number and is unchanged from the
> distribution.

Did you customize `TeX-auto-parse-length'?  Could you repeat your test
without your customizations?  To do that start XEmacs with
xemacs -q -no-site-file
, copy the things you need to activate AUCTeX into the *scratch*
buffer if it is not activated by default, e.g.
(require 'tex-site)
and type `M-x eval-buffer RET RET'.  Then try the `TeX-auto-generate'
procedure again.

> Another question: I observed that several auctex style files with the
> same name are loaded from several directories (the distribution
> directory, the site defined global directory and my local directory) if
> they exist. Is this the correct desired functionality? I've expected
> another behaviour:
> If a style file exists in the local directory, it is loaded and there is
> no further search in the global and the distribution directory,
> otherwise the search goes on until a style file is found or not.

AFAICT the current behavior is intended.  We might want to make the
behavior more controlable nevertheless.  IIRC Frank reported some
problems with definitions from automatically generated style files
overwriting those of hand-crafted ones.

-- 
Ralf




reply via email to

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