From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Noah Slater" Newsgroups: gmane.emacs.help Subject: Re: turn on flyspell mode permanently in .emacs Date: Tue, 22 Aug 2006 23:13:28 +0100 Message-ID: <9ea1c1180608221513yf4c5237uf8409bb16e28432b@mail.gmail.com> References: <1156206235.108245.155630@i3g2000cwc.googlegroups.com> <1156277573.754995.300830@75g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1156284828 32098 80.91.229.2 (22 Aug 2006 22:13:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Aug 2006 22:13:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 23 00:13:47 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GFeVG-0007OS-I4 for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Aug 2006 00:13:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GFeVF-0001DZ-UU for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Aug 2006 18:13:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GFeV2-0001Ck-O0 for help-gnu-emacs@gnu.org; Tue, 22 Aug 2006 18:13:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GFeV0-0001CH-Bl for help-gnu-emacs@gnu.org; Tue, 22 Aug 2006 18:13:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GFeV0-0001CD-42 for help-gnu-emacs@gnu.org; Tue, 22 Aug 2006 18:13:30 -0400 Original-Received: from [64.233.182.191] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GFech-0005j9-A2 for help-gnu-emacs@gnu.org; Tue, 22 Aug 2006 18:21:27 -0400 Original-Received: by nf-out-0910.google.com with SMTP id c2so179938nfe for ; Tue, 22 Aug 2006 15:13:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XlBPxbFoIqyrdwltirJEjo4hqCZdVRYjrr4Rqi3K1ezkfqNJcaiOHBLrUnjNC7Npp5NFb3R7jymOwI5kY9ch82oqjql9TXji9P3nwW4xZDMfGLQ56kXoYPdOmFWiptX/LIZavLt2F0OSXxRe3EAxEw87+Mr0nuEhSg5IAEU3avE= Original-Received: by 10.48.254.10 with SMTP id b10mr1083307nfi; Tue, 22 Aug 2006 15:13:28 -0700 (PDT) Original-Received: by 10.49.39.10 with HTTP; Tue, 22 Aug 2006 15:13:28 -0700 (PDT) Original-To: "Kevin Rodgers" In-Reply-To: Content-Disposition: inline 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:36852 Archived-At: Here are some samples from my site-start.el which may help you: (defun activate-flyspell () "Turn on flyspell-mode and call flyspell-buffer." (interactive) ;; This next line REALLY slows buffer switching. (flyspell-mode) (flyspell-buffer)) (defvar customised-hooks-alist '(emacs-lisp-mode-hook nxml-mode-hook python-mode-hook sh-mode-hook text-mode-hook) "An alist of hooks that require customisations.") (unless noninteractive ;; Activate flyspell for various major modes. (add-hook-list customised-hooks-alist 'activate-flyspell)) -- "Creativity can be a social contribution, but only in so far as society is free to use the results." - R. Stallman