all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Noah Slater" <nslater@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: turn on flyspell mode permanently in .emacs
Date: Tue, 22 Aug 2006 23:13:28 +0100	[thread overview]
Message-ID: <9ea1c1180608221513yf4c5237uf8409bb16e28432b@mail.gmail.com> (raw)
In-Reply-To: <ecfrvk$k2o$1@sea.gmane.org>

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

  reply	other threads:[~2006-08-22 22:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-22  0:23 turn on flyspell mode permanently in .emacs kevmitch
2006-08-22 15:07 ` Kevin Rodgers
2006-08-22 15:24 ` Sebastian P. Luque
     [not found] ` <mailman.5446.1156260343.9609.help-gnu-emacs@gnu.org>
2006-08-22 20:12   ` kevmitch
2006-08-22 21:11     ` Kevin Rodgers
2006-08-22 22:13       ` Noah Slater [this message]
2006-08-23 14:24         ` Kevin Rodgers
     [not found]         ` <mailman.5502.1156343431.9609.help-gnu-emacs@gnu.org>
2006-08-23 16:34           ` kevmitch
     [not found]     ` <mailman.5465.1156281191.9609.help-gnu-emacs@gnu.org>
2006-08-22 22:46       ` kevmitch
2006-08-23  2:32         ` Sebastian P. Luque
2006-08-23 14:36         ` Kevin Rodgers
2006-08-23 14:53           ` Noah Slater
2006-08-23 21:27             ` Kevin Rodgers
2006-08-23 12:48 ` Johan Bockgård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9ea1c1180608221513yf4c5237uf8409bb16e28432b@mail.gmail.com \
    --to=nslater@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.