From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: harven Newsgroups: gmane.emacs.help Subject: Re: help with flyspell-mode Date: Sun, 22 Nov 2009 17:14:56 +0100 Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258908109 12127 80.91.229.12 (22 Nov 2009 16:41:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2009 16:41:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 22 17:41:43 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 1NCFVL-0001FJ-JP for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Nov 2009 17:41:39 +0100 Original-Received: from localhost ([127.0.0.1]:60002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCFVL-0000bw-6C for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Nov 2009 11:41:39 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp10-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) Cancel-Lock: sha1:R0Fj2Cas25ztlrr4wthkdlTW4uI= Original-Lines: 21 Original-NNTP-Posting-Date: 22 Nov 2009 17:14:56 MET Original-NNTP-Posting-Host: 78.233.232.132 Original-X-Trace: 1258906496 news-4.free.fr 21966 78.233.232.132:51678 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:174952 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:70027 Archived-At: Daniel Dalton writes: > Hi, > > How can I enable flyspell-mode for documents that don't have an > extension? > eg. I've auto enabled it through .emacs for text, python, etc. Like > this: > emacs /tmp/stuff.txt > Loads flyspell-mode, but emacs /tmp/stuff wouldn't. > > Anyone know how to enable flyspell mode for files with no extension? If you want to have flyspell mode enabled for all files, you may want to try the find-file-hook. (add-hook 'find-file-hook 'turn-on-flyspell)