From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sarir Khamsi Newsgroups: gmane.emacs.help Subject: Setting flyspell-mode when entering a file Date: Thu, 20 Aug 2009 13:55:30 -0700 Organization: Raytheon Company Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250804497 16251 80.91.229.12 (20 Aug 2009 21:41:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2009 21:41: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 Thu Aug 20 23:41:30 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MeFNy-0000Uu-6m for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 23:41:30 +0200 Original-Received: from localhost ([127.0.0.1]:60245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeFNx-0006cU-EW for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 17:41:29 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bos-service1.raytheon.com!dfw-service2.ext.ray.com.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:XVkifE4gWBQFmm4wkVOfmArH0qo= Original-Lines: 16 Original-NNTP-Posting-Host: 147.24.52.80 Original-X-Complaints-To: news@ext.ray.com Original-X-Trace: dfw-service2.ext.ray.com 1250801730 147.24.52.80 (Thu, 20 Aug 2009 20:55:30 UTC) Original-NNTP-Posting-Date: Thu, 20 Aug 2009 20:55:30 UTC Original-Xref: news.stanford.edu gnu.emacs.help:172165 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67313 Archived-At: I would like to automatically enter flyspell-mode when I open a file and have placed -*- flyspell-mode: t -*- at the top of the file I'm opening. The mode-line says "Fly" in it but flyspell doesn't seem to be working. If I then run the flyspell-mode command interactively (twice since it seems to already be enabled), it works fine. Any ideas what I'm doing wrong? Thanks. Sarir -- Sarir Khamsi software guy sarir.khamsi@raytheon.com