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

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

bug#24415: 24.4; issue with big file variable


From: npostavs
Subject: bug#24415: 24.4; issue with big file variable
Date: Mon, 12 Sep 2016 08:23:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Stephen Berman <stephen.berman@gmx.net> writes:

>
> It's a hard limit in hack-local-variables:
>
>       ;; Look for "Local variables:" line in last page.
>       (save-excursion
>         (goto-char (point-max))
>         (search-backward "\n\^L" (max (- (point-max) 3000) (point-min))
>                          'move)
>
> I don't know how well-known this is; AFAICT it's not documented.

It's documented in the manual, (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.





reply via email to

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