bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24868: 26.0.50; LaTeX-verbatim-macros-with-delims-local isn't taken


From: Tassilo Horn
Subject: bug#24868: 26.0.50; LaTeX-verbatim-macros-with-delims-local isn't taken into account
Date: Thu, 03 Nov 2016 20:27:51 +0100
User-agent: AquaMail/1.6.2.9 (build: 27000209)

Hi again,

Thanks for your responses. I'll take care of this issue at the weekend.

Thanks,
Tassilo


Am 3. November 2016 20:06:51 schrieb Clément Pit--Claudel <address@hidden>:

On 2016-11-03 14:35, Tassilo Horn wrote:
I guess Clement is actually reporting an AUCTeX bug and accidentally
used `report-emacs-bug' instead of `TeX-submit-bug-report'.

Spot on :) Sorry for the mistake!

(2) there's no hook-like thing that would be run whenever some specific
    variable is modified due to file-local or directory-local variables,
    no?

There is one :)

    hack-local-variables-hook is a variable defined in ‘files.el’.
    Its value is nil

      This variable may be risky if used as a file-local variable.

    Documentation:
    Normal hook run after processing a file’s local variables specs.
    Major modes can use this to examine user-specified local variables
    in order to initialize other data structure based on them.

So I guess the right way to make Clément's use-case work was to
provide functions for modifying those variables that can be run from
an eval: local variables block and then refresh the fontification if
needed, right?

I think installing a hack-local-variable hook would be the way to go :)

Cheers and thanks for the quick answer!
Clément.








reply via email to

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