auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Fix parsing of new auto types in style files


From: Mosè Giordano
Subject: Re: [AUCTeX-devel] Fix parsing of new auto types in style files
Date: Sat, 28 Mar 2015 19:36:17 +0100

Hi Tassilo,

2015-03-26 4:56 GMT+01:00 Tassilo Horn <address@hidden>:
> Mosè Giordano <address@hidden> writes:
>
> Hi Mosè,
>
>> we need to do a manual reparse so that prepare and cleanup functions
>> are run.  How about adding
>>
>>     (add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
>>
>> in those files?  Can you see side effects other than a slight slow
>> down in file loading?  What do you think?
>
> I think that's the right thing to do.
>
>> Other suggestions to fix the problem?
>
> The style relevant style hooks could call `TeX-auto-parse' themselves
> but then in a document with auto-parser-using styles a, b and c, it
> would get called six times.  So your solution is clearly better.

Done, thank you!

Bye,
Mosè



reply via email to

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