[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24415: 24.4; issue with big file variable
From: |
Stephen Berman |
Subject: |
bug#24415: 24.4; issue with big file variable |
Date: |
Mon, 12 Sep 2016 15:07:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
On Mon, 12 Sep 2016 08:23:04 -0400 npostavs@users.sourceforge.net wrote:
> 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.
Mea culpa; I looked there before posting but obviously not closely
enough.
Steve Berman