auctex
[Top][All Lists]
Advanced

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

Re: Auctex persistent problems not recognizing master file


From: David Denton
Subject: Re: Auctex persistent problems not recognizing master file
Date: Tue, 6 Apr 2021 11:37:51 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1


On 2021-04-06 10:44 a.m., Joost Kremers wrote:
On Tue, Apr 06 2021, David Denton wrote:
Yes, it was from the buffer of an included .tex file.
Then for some reason, your local variable block isn't read when you open the
file, because both variables should have buffer-local values.

What is the value of the variables `enable-local-variables`,
t
`local-enable-local-variables`,
t
 `inhibit-local-variables-regexps` 

("\\.tar\\'" "\\.t[bg]z\\'" "\\.arc\\'" "\\.zip\\'" "\\.lzh\\'" "\\.lha\\'" "\\.zoo\\'" "\\.[jew]ar\\'" "\\.xpi\\'" "\\.rar\\'" "\\.7z\\'" "\\.sx[dmicw]\\'" "\\.odt\\'" "\\.diff\\'" "\\.patch\\'" "\\.tiff?\\'" "\\.gif\\'" "\\.png\\'" "\\.jpe?g\\'")

and
`before-hack-local-variables-hook`?
nil

What is the value of `TeX-master` and `file-local-variables-alist` after you do
`M-: (hack-local-variables 'no-mode) RET`?

Not sure about this. I did M-: (hack-local-variables 'no-mode) RET and got (match required)

Then I tied this with eval-_expression_ and I got: nil. After, I check the variable values and got:

t, nil


am n

I am using Emacs 26.3 with Auctex 13.0.5. Doom-Emacs v. 2.0.9

I would update but I don't know if I can.




 


On 2021-04-06 4:59 a.m., Joost Kremers wrote:
On Mon, Apr 05 2021, David Denton wrote:
These are the values I get.

TeX-master is a buffer-local variable defined in tex.el.
Global Value
t

file-local-variables-alist is a buffer-local variable without a source
file.
Global Value
nil
Have you done this from a buffer visiting one of your included .tex source
files? Because those variables should have buffer-local bindings.



reply via email to

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