From: Enda <enda_k2@yahoo.com>
To: "nicholas.dokos@hp.com" <nicholas.dokos@hp.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: How to turn off font-lock-mode per file
Date: Wed, 27 Jun 2012 09:56:12 -0700 (PDT) [thread overview]
Message-ID: <1340816172.26577.YahooMailNeo@web163102.mail.bf1.yahoo.com> (raw)
In-Reply-To: <8822.1340815403@alphaville>
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]
Thanks, I already read that section of the manual.
I know I can turn on font-lock-mode for any file with
# -*- mode: font-lock; -*-
even though it is the default, the manual does not specify how to turn off a mode.
(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.)
Best wishes,
Enda
________________________________
From: Nick Dokos <nicholas.dokos@hp.com>
To: Enda <enda_k2@yahoo.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Sent: Wednesday, June 27, 2012 5:43 PM
Subject: Re: [O] How to turn off font-lock-mode per file
Enda <enda_k2@yahoo.com> wrote:
> How do you turn off font-lock-mode per file (an org file)?
>
A lot of your questions are emacs questions and you could find the
answers in the emacs manual, e.g. this exact question is answered in
sec.48.2.4.1, "Specifying File Variables", of the emacs manual:
(info "(emacs) Specifying File Variables")
Nick
[-- Attachment #2: Type: text/html, Size: 2605 bytes --]
next prev parent reply other threads:[~2012-06-27 16:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-27 16:01 How to turn off font-lock-mode per file Enda
2012-06-27 16:43 ` Nick Dokos
2012-06-27 16:56 ` Enda [this message]
2012-06-27 17:03 ` Nick Dokos
2012-06-27 16:46 ` Darlan Cavalcante Moreira
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1340816172.26577.YahooMailNeo@web163102.mail.bf1.yahoo.com \
--to=enda_k2@yahoo.com \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
/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/org-mode.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).