unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: Stephen Berman <stephen.berman@gmx.net>
Cc: Andrea Rossetti <andrea.rossetti@gmail.com>, 24415@debbugs.gnu.org
Subject: bug#24415: 24.4; issue with big file variable
Date: Mon, 12 Sep 2016 08:23:04 -0400	[thread overview]
Message-ID: <87a8fd1f4n.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87k2eh1p6t.fsf@gmx.net> (Stephen Berman's message of "Mon, 12 Sep 2016 10:45:46 +0200")

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	other threads:[~2016-09-12 12:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-11 21:52 bug#24415: 24.4; issue with big file variable Andrea Rossetti
2016-09-12  8:45 ` Stephen Berman
2016-09-12 12:23   ` npostavs [this message]
2016-09-12 13:07     ` Stephen Berman
2019-09-16  3:21 ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a8fd1f4n.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=24415@debbugs.gnu.org \
    --cc=andrea.rossetti@gmail.com \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).