From mboxrd@z Thu Jan 1 00:00:00 1970 From: Enda <enda_k2@yahoo.com> Subject: Re: How to turn off font-lock-mode per file Date: Wed, 27 Jun 2012 09:56:12 -0700 (PDT) Message-ID: <1340816172.26577.YahooMailNeo@web163102.mail.bf1.yahoo.com> References: <1340812912.63095.YahooMailNeo@web163103.mail.bf1.yahoo.com> <8822.1340815403@alphaville> Reply-To: Enda <enda_k2@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="31392086-1810523033-1340816172=:26577" Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([208.118.235.92]:43815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <enda_k2@yahoo.com>) id 1SjvXQ-0007AP-GG for emacs-orgmode@gnu.org; Wed, 27 Jun 2012 12:56:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <enda_k2@yahoo.com>) id 1SjvXK-0000mo-85 for emacs-orgmode@gnu.org; Wed, 27 Jun 2012 12:56:20 -0400 Received: from nm3-vm0.bullet.mail.bf1.yahoo.com ([98.139.212.154]:35448) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from <enda_k2@yahoo.com>) id 1SjvXK-0000mL-0w for emacs-orgmode@gnu.org; Wed, 27 Jun 2012 12:56:14 -0400 In-Reply-To: <8822.1340815403@alphaville> List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "nicholas.dokos@hp.com" <nicholas.dokos@hp.com> Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org> --31392086-1810523033-1340816172=:26577 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks, I already read that section of the manual.=0A=0AI know I can turn o= n font-lock-mode for any file with=0A# -*- mode: font-lock;=A0-*-=0Aeven th= ough it is the default, the manual does not specify how to turn off a mode.= =0A=0A(I know C-u -1 M-x font-lock-mode always disables font lock mode, but= I do not know how do this in the file.)=0A=0A=0ABest wishes,=0A=0AEnda=0A= =0A=0A________________________________=0A From: Nick Dokos <nicholas.dokos@= hp.com>=0ATo: Enda <enda_k2@yahoo.com> =0ACc: "emacs-orgmode@gnu.org" <emac= s-orgmode@gnu.org> =0ASent: Wednesday, June 27, 2012 5:43 PM=0ASubject: Re:= [O] How to turn off font-lock-mode per file=0A =0AEnda <enda_k2@yahoo.com>= wrote:=0A=0A> How do you turn off font-lock-mode per file (an org file)?= =0A> =0A=0AA lot of your questions are emacs questions and you could find t= he=0Aanswers in the emacs manual, e.g. this exact question is answered in= =0Asec.48.2.4.1, "Specifying File Variables", of the emacs manual:=0A=0A(in= fo "(emacs) Specifying File Variables")=0A=0ANick --31392086-1810523033-1340816172=:26577 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:ti= mes new roman, new york, times, serif;font-size:12pt"><div style=3D"font-si= ze: 12pt; font-family: 'times new roman', 'new york', times, serif; "><span= >Thanks, I already read that section of the manual.</span></div><div style= =3D"font-size: 12pt; font-family: 'times new roman', 'new york', times, ser= if; "><br></div><div>I know I can turn on font-lock-mode for any file with<= /div><div><span># -*- mode: font-lock;</span> -*-</div><div>even thoug= h it is the default, the manual does not specify how to turn off a mode.</d= iv><div><br></div><div>(I know C-u -1 M-x font-lock-mode always disables fo= nt lock mode, but I do not know how do this in the file.)</div><div style= =3D"font-size: 12pt; font-family: 'times new roman', 'new york', times, ser= if; "><br></div><div style=3D"font-size: 12pt; font-family: 'times new roma= n', 'new york', times, serif; "><br></div><div style=3D"font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; ">Best wishes,</= div><div style=3D"font-size: 12pt; font-family: 'times new roman', 'new yor= k', times, serif; "><br></div><div style=3D"font-size: 12pt; font-family: '= times new roman', 'new york', times, serif; ">Enda</div><div style=3D"font-= size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><br= ></div> <div style=3D"font-size: 12pt; font-family: 'times new roman', 'ne= w york', times, serif; "> <div style=3D"font-family: 'times new roman', 'ne= w york', times, serif; font-size: 12pt; "> <div dir=3D"ltr"> <font size=3D"= 2" face=3D"Arial"> <hr size=3D"1"> <b><span style=3D"font-weight:bold;">Fr= om:</span></b> Nick Dokos <nicholas.dokos@hp.com><br> <b><span style= =3D"font-weight: bold;">To:</span></b> Enda <enda_k2@yahoo.com> <br><= b><span style=3D"font-weight: bold;">Cc:</span></b> "emacs-orgmode@gnu.org"= <emacs-orgmode@gnu.org> <br> <b><span style=3D"font-weight: bold;">S= ent:</span></b> Wednesday, June 27, 2012 5:43 PM<br> <b><span style=3D"font-weight: bold;"= >Subject:</span></b> Re: [O] How to turn off font-lock-mode per file<br> </= font> </div> <br>=0AEnda <<a ymailto=3D"mailto:enda_k2@yahoo.com" href= =3D"mailto:enda_k2@yahoo.com">enda_k2@yahoo.com</a>> wrote:<br><br>> = How do you turn off font-lock-mode per file (an org file)?<br>> <br><br>= A lot of your questions are emacs questions and you could find the<br>answe= rs in the emacs manual, e.g. this exact question is answered in<br>sec.48.2= .4.1, "Specifying File Variables", of the emacs manual:<br><br>(info "(emac= s) Specifying File Variables")<br><br>Nick<br><br><br> </div> </div> </div= ></body></html> --31392086-1810523033-1340816172=:26577--