From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Enda Newsgroups: gmane.emacs.help Subject: How to turn off font-lock-mode with a local variable Date: Mon, 9 Jul 2012 11:48:21 -0700 (PDT) Message-ID: <1341859701.89430.YahooMailNeo@web163105.mail.bf1.yahoo.com> Reply-To: Enda NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="196471698-178627001-1341859701=:89430" X-Trace: dough.gmane.org 1341859717 13101 80.91.229.3 (9 Jul 2012 18:48:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jul 2012 18:48:37 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 09 20:48:37 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SoJ0b-0000qu-Kt for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jul 2012 20:48:33 +0200 Original-Received: from localhost ([::1]:50781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoJ0a-00012V-Nr for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jul 2012 14:48:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoJ0U-00012D-QS for help-gnu-emacs@gnu.org; Mon, 09 Jul 2012 14:48:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoJ0S-0003aX-B0 for help-gnu-emacs@gnu.org; Mon, 09 Jul 2012 14:48:26 -0400 Original-Received: from nm13-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.79]:29463) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SoJ0S-0003a7-3L for help-gnu-emacs@gnu.org; Mon, 09 Jul 2012 14:48:24 -0400 Original-Received: from [98.139.212.153] by nm13.bullet.mail.bf1.yahoo.com with NNFMP; 09 Jul 2012 18:48:22 -0000 Original-Received: from [98.139.212.214] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 09 Jul 2012 18:48:22 -0000 Original-Received: from [127.0.0.1] by omp1023.mail.bf1.yahoo.com with NNFMP; 09 Jul 2012 18:48:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 380643.46101.bm@omp1023.mail.bf1.yahoo.com Original-Received: (qmail 89696 invoked by uid 60001); 9 Jul 2012 18:48:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1341859702; bh=BokaN4kdPSdQ1s/u1eym5hyKggriFRrlr/TqdWZDm7k=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=c+hGh1VfdutDOz2x2m0rwrUCNJU7rTiXTEaQq0QN+R4HueqFKFzOhNQJ6J0JOJyS/7ATfDn3vw5fEpH1gmmNPPjq+/Uuy85aJf54zoUgF6d07PznQmvrkocmzZK0HPZBRbn1NlaYDlDF7V/rAN4WizkNf81jF1M80L2x6mpAD+M= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=wWdAV8TECH5yNvuVO8sXoDjIkWyx3nWwSw3oR5r6ZsxfMteyWrxygn6x7nYrqW8moVCQUQu8VeO1QzLm4EFAOKhy89xooNzRujgsTwz/Xrcqluu/HilpFv6O6yB1Wa9+oXn+v3JUz3NIUTS1b+7bb5gAy6hFEuAuObT6QaVBYg4=; X-YMail-OSG: heMN27IVM1m99sGMWpFijVV0cgBo9eUO8ex2iiBI3CM1jFN XYFAciBw_q7Qqnkt0MII6Z1ehvF9XvNf9cECD7HU42qLJ1XhIy852fAml1ql Fl2GRi4HDdfinlLhzaT6C6ZqkDBceLRzxdXV94e5.qI6NYJrlNMEe4POU3C0 Om3lMvppa2csj7aXYz7fZ1NjTJaoNQkoXontIVT33p9iGx.jzLvIMKLpemx5 KbS9hP7SxYmUzlFOupM458V1lhXrEA.QCxLWGyVc6HB.GsJHyvm0iTVUjMUh TZE82m_W7NMtW3dyit8gfaONOfqcLDHw3njkO9e3zxAunS9o_34fAsNgYT36 wvDjbYl2iktufiZWgdowiOJf78cWmrDr7Cc98A.ciIC1Kyo4YRx7wBvQIyJh xKUG6si9jD7HzFQ7lvsqT2VK2tXEcYYhD Original-Received: from [143.239.7.5] by web163105.mail.bf1.yahoo.com via HTTP; Mon, 09 Jul 2012 11:48:21 PDT X-Mailer: YahooMailWebService/0.8.120.356233 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.139.213.79 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85744 Archived-At: --196471698-178627001-1341859701=:89430 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable The following when at the end of a file does not turn off font-lock-mode wh= en visiting a file:=0A=0A;; Local Variables:=0A;; eval: (lisp-mode)=0A;; ev= al: (font-lock-mode -1)=0A;; End:=0A=0A=0AHow do I turn off=A0font-lock-mod= e per file then?=0A=0A=0ABest wishes,=0A=0AEnda=0A=0A=0AThis doesn't work e= ither (even though I do not want to turn off font-lock globally, just for t= he file that I am visiting):=0A=0A;; Local Variables:=0A;; eval: (lisp-mode= )=0A;; eval: (global-font-lock-mode -1)=0A;; End: --196471698-178627001-1341859701=:89430 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
The following when at the end of a file does not = turn off font-lock-mode when visiting a file:

;; Local Variables:
;; eval: (lisp-mode)
= ;; eval: (font-lock-mode -1)<= /font>
;; End:


How do I turn off font-lock-mode per file then?


Best wishes,
Enda

=

This doesn't work either (even = though I do not want to turn off font-lock globally, just for the file that= I am visiting):

;; Local Variables:
;; eval= : (lisp-mode)
<= font face=3D"tahoma, new york, times, serif">;; eval: (global-font-lock-mod= e -1)
;; End:
= --196471698-178627001-1341859701=:89430--