Chase Dwelle <dwel...@umich.edu> writes: Hi Chase,
> There is a single sentence in section 5.2 of the doumentation that > addresses this: > > "You can also insert the file variable yourself, by putting the following > text at the end of your files..." > > Perhaps this could be made more explicit that this *has* to be at the > end of the file for it to work? That hasn't much to do with AUCTeX but is an Emacs feature. ,----[ (info "(emacs)Specifying File Variables") ] | There are two ways to specify file local variable values: in the first | line, or with a local variables list. Here’s how to specify them in the | first line: | | -*- mode: MODENAME; VAR: VALUE; … -*- `---- ,----[ (info "(emacs)Specifying File Variables") ] | Apart from using a ‘-*-’ line, you can define file local variables | using a "local variables list" near the end of the file. The start of | the local variables list should be no more than 3000 characters from the | end of the file, and must be on the last page if the file is divided | into pages. | | If a file has both a local variables list and a ‘-*-’ line, Emacs | processes _everything_ in the ‘-*-’ line first, and _everything_ in the | local variables list afterward. The exception to this is a major mode | specification. Emacs applies this first, wherever it appears, since | most major modes kill all local variables as part of their | initialization. | | A local variables list starts with a line containing the string | ‘Local Variables:’, and ends with a line containing the string ‘End:’. | In between come the variable names and values, one set per line, like | this: | | /* Local Variables: */ | /* mode: c */ | /* comment-column: 0 */ | /* End: */ `---- Bye, Tassilo _______________________________________________ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailman/listinfo/auctex