From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: help with flyspell-mode Date: Thu, 26 Nov 2009 12:27:39 +0100 Message-ID: References: <4b094cea$0$283$14726298@news.sunsite.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1259235133 27177 80.91.229.12 (26 Nov 2009 11:32:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2009 11:32:13 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Kevin Rodgers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 26 12:32:06 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 1NDcZx-0007Yh-9E for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Nov 2009 12:32:05 +0100 Original-Received: from localhost ([127.0.0.1]:51346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDcZw-0005Uw-R8 for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Nov 2009 06:32:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDcW9-0003n5-0O for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 06:28:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDcW3-0003iG-2J for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 06:28:07 -0500 Original-Received: from [199.232.76.173] (port=38578 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDcW2-0003i4-LC for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 06:28:02 -0500 Original-Received: from mail-yx0-f175.google.com ([209.85.210.175]:64289) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDcW2-0000JE-7g for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 06:28:02 -0500 Original-Received: by yxe5 with SMTP id 5so613119yxe.24 for ; Thu, 26 Nov 2009 03:28:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=jIJeuBZYsm40ZChvFpulQqQ5R9CInLwjPIZbX39+dfA=; b=xUQHX82z09PGQjhvnsZKDcOAVWLx/Fyl1on8lMKFlVDndD8G+bjssQCjU/dfXy6+/u 5+zU43J7BYHg+Ve7ErupAJ2NEZaDg3kin+jq4naBUpjtkiDjcUntcSrx0GyoHo833Zoz ea+3Ah8Vdr2G2wTDQTrnGSp/y0hm+THUgfrtM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=b251lcT1uSLjWA1AijR8ZhyrpYaAJFEI0JLR8ppPf4oDlGKwaFkphXVPjeV8iedOhM X8SQkeiL6XhrT0i3UcDA8Wz5XIiFN7C+hNWDLxlOi9lSk0yKAoqpPAA/QKJ4ydsyME9j R2f6OIB0ebtoLtaruePmgcD9bCX+vb0BQgaCg= Original-Received: by 10.101.134.25 with SMTP id l25mr2903291ann.98.1259234881253; Thu, 26 Nov 2009 03:28:01 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:70140 Archived-At: On Thu, Nov 26, 2009 at 8:54 AM, Kevin Rodgers wrote: > Colin S. Miller wrote: >> >> Les Harris wrote: >>> >>> Unfortunately, Fundamental mode doesn't run any hooks so that method >>> won't work. >>> >> >> The OP might be able to add a defadvice to 'fundamental-mode. >> The advice function could check the extension of the current buffer's >> file, and run (flyspell-mode 't) if there isn't one. > > Or: > > (add-hook 'fundamental-mode 'turn-on-flyspell) That will not work.