auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] enumerate a kludge


From: Uwe Brauer
Subject: Re: [AUCTeX-devel] enumerate a kludge
Date: Mon, 27 Aug 2018 20:38:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

   > Uwe Brauer <address@hidden> writes:

   > This was expected, hence I wrote:

   >     "Then write some proper AUCTeX style for that package."


Right, sorry.


   > You can put the above code in a file called "pfsimple.el", change
   > "<name>" to "pfsimple", customize `TeX-style-private' to a directory of
   > your choice and save "pfsimple.el" there.  Next time you
   > \usepackage{pfsimple} in your .tex file, AUCTeX will load the style
   > (with `TeX-parse-self' set to t).

Hm I just realized that I have the following 

,----
| TeX-style-private is a variable defined in ‘tex.el’.
| Its value is ("/home/oub/ALLES/HGs/tex/sty/auto")
| Original value was 
| ("/home/oub/.emacs.d/auctex/style")
`----

But I have also 

,----
| TeX-style-path is a variable defined in ‘tex.el’.
| Its value is
| ("/home/oub/emacs/site-lisp/packages/auctex-git/auctex/style/" 
"/home/oub/ALLES/HGs/tex/sty/auto" "auto" "style")
`----


,----
| TeX-style-global is a variable defined in ‘tex.el’.
| Its value is
| "/home/oub/emacs/site-lisp/packages/auctex-git/auctex/style/"
`----


The issue is that /home/oub/ALLES/HGs/tex/sty/
contains my private latex style files, so I thought it would be logical
to have 
,----
| TeX-style-private is a variable defined in ‘tex.el’.
| Its value is ("/home/oub/ALLES/HGs/tex/sty/auto")
| Original value was 
| ("/home/oub/.emacs.d/auctex/style")
`----

But now I doubt that this is a good idea.
"/home/oub/ALLES/HGs/tex/sty/auto"

Will contain in any case automatically generated .el files, so the style
files I have written manually should not go there.

What do you think?


   > In general, I don't recommend to set this type of stuff in any sort of
   > init file.

Ok, thanks, I will take that into account.


Uwe 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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