From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: File local variables in a tutorial Date: Sat, 31 Jul 2010 18:52:06 +0300 Message-ID: <834off3azd.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1280591666 6336 80.91.229.12 (31 Jul 2010 15:54:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Jul 2010 15:54:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 31 17:54:23 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OfEOB-0004X9-VP for ged-emacs-devel@m.gmane.org; Sat, 31 Jul 2010 17:54:20 +0200 Original-Received: from localhost ([127.0.0.1]:41911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfEOB-0003jF-FS for ged-emacs-devel@m.gmane.org; Sat, 31 Jul 2010 11:54:19 -0400 Original-Received: from [140.186.70.92] (port=36407 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfEO5-0003hb-6S for emacs-devel@gnu.org; Sat, 31 Jul 2010 11:54:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OfEO4-0005Tp-4s for emacs-devel@gnu.org; Sat, 31 Jul 2010 11:54:13 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:60392) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfEO3-0005Th-Tu for emacs-devel@gnu.org; Sat, 31 Jul 2010 11:54:12 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L6F00500I1C2M00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sat, 31 Jul 2010 18:52:06 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.19.236]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L6F005OUIQSFH00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sat, 31 Jul 2010 18:52:05 +0300 (IDT) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128056 Archived-At: tutorial.el does not visit the tutorial file normally, but rather uses insert-file-contents to insert it into a buffer. The result of this is that file local variables do not take effect, with the exception of `coding:;, which is treated specially by insert-file-contents itself. Is there a good reason not to call hack-local-variables after the tutorial is read in by insert-file-contents?