Hi Vincent,

I am looking into adding the dialect to the data written by
`TeX-auto-store', it's very simple to implement it (5 lines in total),
but I have only one concern: why is there :latex but not :tex?  Is it
because they're essentially the same or do you think it would be
better to have a different dialect for TeX files?  I'm asking this
question because with my simple implementation I use the value of
`TeX-style-hook-dialect' in the buffer, but its value is :latex also
for TeX files and it's no clear to me whether it may cause problems.
I can also select the value of the dialect to be written looking to the
`major-mode' variable, but the problem with TeX files is still there:
what to do in that case?  The same question may be raised also for
ConTeXt files: is :latex fine in that case?

Bye,
Mosè


2014-08-18 9:02 GMT+02:00 Tassilo Horn <t...@gnu.org>:
> Vincent Belaïche <vincent....@hotmail.fr> writes:
>
> Hi Vincent,
>
>> Now if you have some foo.tex in some directory sd/ containing some
>> \usepackage{foo} you will have an AUCTeX style "foo" that will load two
>> hooks:
>> * one from auctex/styles/foo.el, and
>> * one from sd/auto/foo.el
>
> Just to complete, it'll also load
>
>   ~/.emacs.d/auctex/style/foo.el (TeX-style-private)
>   sd/style/foo.el (TeX-style-local)
>
> Bye,
> Tassilo
>

_______________________________________________
auctex mailing list
auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to