emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: nicholas.dokos@hp.com, Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [OT] Deactivate flyspell on a file by file basis
Date: Fri, 03 Jun 2011 11:18:54 -0400	[thread overview]
Message-ID: <8261.1307114334@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Marcelo de Moraes Serpa <celoserpa@gmail.com> of "Fri, 03 Jun 2011 10:04:57 CDT." <BANLkTiky2Xd9vnz+wmtwt2J7dcugLf1rVg@mail.gmail.com>

Marcelo de Moraes Serpa <celoserpa@gmail.com> wrote:


> I use flyspell-mode for writing articles, but I don't need it for my gtd.org file. Is there a way to
> exclude it (flyspell) from acting based on the filename of the buffer?
> 

You can use file local variables for things like this. There is an
``eval'' pseudo-variable to allow you to execute code. See the emacs
manual for details, but it would look something like this (untested and
you have to put it at the end of the file):

...
# Local Variables:
# eval: (flyspell-mode 0)
# End:

Nick

  reply	other threads:[~2011-06-03 15:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-03 15:04 [OT] Deactivate flyspell on a file by file basis Marcelo de Moraes Serpa
2011-06-03 15:18 ` Nick Dokos [this message]
2011-06-03 15:44   ` Pieter Praet
2011-06-03 15:52     ` Pieter Praet
2011-06-03 16:14       ` Nick Dokos
2011-06-30 15:56         ` Marcelo de Moraes Serpa

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=8261.1307114334@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).