GNU bug report logs - #24415
24.4; issue with big file variable

Previous Next

Package: emacs;

Reported by: Andrea Rossetti <andrea.rossetti <at> gmail.com>

Date: Sun, 11 Sep 2016 21:55:01 UTC

Severity: minor

Tags: notabug

Found in version 24.4

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stephen Berman <stephen.berman <at> gmx.net>
To: npostavs <at> users.sourceforge.net
Cc: Andrea Rossetti <andrea.rossetti <at> gmail.com>, 24415 <at> debbugs.gnu.org
Subject: bug#24415: 24.4; issue with big file variable
Date: Mon, 12 Sep 2016 15:07:58 +0200
On Mon, 12 Sep 2016 08:23:04 -0400 npostavs <at> users.sourceforge.net wrote:

> Stephen Berman <stephen.berman <at> 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




This bug report was last modified 5 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.