[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Getting macro completions in large, multi-file projects.
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] Getting macro completions in large, multi-file projects. |
Date: |
Wed, 20 May 2015 20:02:17 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
Chase Dwelle <address@hidden> 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] Getting macro completions in large, multi-file projects., Chase Dwelle, 2015/05/10
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Mosè Giordano, 2015/05/10
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Chase Dwelle, 2015/05/10
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Chase Dwelle, 2015/05/11
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Mosè Giordano, 2015/05/11
- Message not available
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Mosè Giordano, 2015/05/13
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Chase Dwelle, 2015/05/20
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Mosè Giordano, 2015/05/20
- Message not available
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Mosè Giordano, 2015/05/20
- Re: [AUCTeX] Getting macro completions in large, multi-file projects., Chase Dwelle, 2015/05/20
- Re: [AUCTeX] Getting macro completions in large, multi-file projects.,
Tassilo Horn <=