Please keep the mailing list copied! * Douglas Wikström (2010-12-12) writes:
>> The fact that the behavior changes after removing a character is likely >> due to the stanza with the file variables being found in this case. >> When Emacs looks for the file variables it starts at the end of the >> buffer and then searches upwards. > > Indeed. This solves the problem :-) Thanks for answering a question like > this! > > My suggestion is that you let it look at the whole file and issue a hint > to put it in the end for speed if it is not. This would be more robust. Looking through the whole file could take quite a long time if the file is big and it is error-prone because one could encounter false positives along the way. The handling of file variables is (mostly) done by Emacs, not AUCTeX. So you'd have to make such a suggestion on the Emacs Development list. But note that you can also use file variables at the start of a file. They have another format at this position, though. See (info "(emacs)Specifying File Variables") <-- Type `C-x C-e' here. When AUCTeX inserts file variables it always does so at the end of the file. -- Ralf _______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
