all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: turn on flyspell mode permanently in .emacs
Date: Wed, 23 Aug 2006 08:24:01 -0600	[thread overview]
Message-ID: <echof2$vnh$2@sea.gmane.org> (raw)
In-Reply-To: <9ea1c1180608221513yf4c5237uf8409bb16e28432b@mail.gmail.com>

Noah Slater wrote:
> 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))

Don't you want to turn on flyspell-prog-mode instead, in
emacs-lisp-mode, python-mode, and sh-mode?

-- 
Kevin

  reply	other threads:[~2006-08-23 14:24 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
2006-08-23 14:24         ` Kevin Rodgers [this message]
     [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='echof2$vnh$2@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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.