From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: Re: Setting flyspell-mode when entering a file Date: Fri, 21 Aug 2009 12:56:41 +0300 Organization: A noiseless patient Spider Message-ID: <87praptrqe.fsf@iki.fi> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250851254 27084 80.91.229.12 (21 Aug 2009 10:40:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2009 10:40:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 21 12:40:47 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 1MeRY3-0005SM-9R for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Aug 2009 12:40:43 +0200 Original-Received: from localhost ([127.0.0.1]:40323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeRY2-0005LG-Lr for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Aug 2009 06:40:42 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!feeder.eternal-september.org!eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-X-Trace: news.eternal-september.org U2FsdGVkX18r9C4GMwSd18bohfZGdBtEBRryJjbSx3fkroI3qWtcB92s+Q9aE4MiASL2OjB5ee7ybf/u+kFJW+Hz1DRrZ3a5QTaY/6NwT0kUCHQLv9VQ6S4+YGWJsqpex5dA5cgdeVAA/5UoEe7YreFubIPdoOJn Original-X-Complaints-To: abuse@eternal-september.org Original-NNTP-Posting-Date: Fri, 21 Aug 2009 09:56:41 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/7qP46IxJBPkRUO65byK1FOFo5lFOUWVXTXRu4iwjJAw== Cancel-Lock: sha1:2xqQvzPpNa2NwopvHk26/ZImBPc= sha1:E+VZKB0lnGosIgPmVzB/wptHj7Q= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:172179 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:67323 Archived-At: On 2009-08-20 13:55 (-0700), Sarir Khamsi wrote: > 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. How does "-*- mode:flyspell -*-" work?