From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [OT] Deactivate flyspell on a file by file basis Date: Fri, 03 Jun 2011 11:18:54 -0400 Message-ID: <8261.1307114334@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSW9R-0002j0-Sd for emacs-orgmode@gnu.org; Fri, 03 Jun 2011 11:19:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSW9O-0007DC-8v for emacs-orgmode@gnu.org; Fri, 03 Jun 2011 11:19:05 -0400 Received: from vms173017pub.verizon.net ([206.46.173.17]:44858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSW9O-0007Cv-4R for emacs-orgmode@gnu.org; Fri, 03 Jun 2011 11:19:02 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LM700IGPZVIHEB0@vms173017.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 03 Jun 2011 10:18:56 -0500 (CDT) In-reply-to: Message from Marcelo de Moraes Serpa of "Fri, 03 Jun 2011 10:04:57 CDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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: Marcelo de Moraes Serpa Cc: nicholas.dokos@hp.com, Org Mode Marcelo de Moraes Serpa 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