unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kevmitch@gmail.com
Subject: Re: turn on flyspell mode permanently in .emacs
Date: 22 Aug 2006 13:12:53 -0700	[thread overview]
Message-ID: <1156277573.754995.300830@75g2000cwc.googlegroups.com> (raw)
In-Reply-To: <mailman.5446.1156260343.9609.help-gnu-emacs@gnu.org>

Thanks for the advice. It would seem however that neither suggestion
worked. I took a look in my Messages buffer and found that it looks
like flyspell is in fact starting using the .emacs file above, but that
it just isn't taking effect for some reason. This remains to be the
case if I try the lambda function suggested by Kevin. However, using
the text-mode-hook without  (flyspell-mode 1) doesn't turn it on at
all. Here is my message buffer with the same .emacs file. It looks like
flyspell loads fine at the end, but unfortunately seems to have no
effect. Oddly enough, when I manually turn on flyspell-mode after
starting emacs with the (flyspell-mode 1) in my .emacs file, nothing
further is added to the message buffer (whereas it would be if I hadn't
already started flyspell-mode in the .emacs file). In spite of this
message silence, flyspell-mode does seem to magically start working.

Loading 50a2ps (source)...
Loading a2ps-print...done
Loading 50a2ps (source)...done
Loading 50auctex (source)...
Loading auctex.el (source)...
Loading /usr/share/emacs/21.4/site-lisp/tex-site.el (source)...done
Loading auctex.el (source)...done
Loading preview-latex.el (source)...done
Loading 50auctex (source)...done
Loading 50autoconf (source)...done
Loading 50devhelp (source)...done
Loading 50dictionaries-common (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el
(source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el
(source)...done
Loading 50dictionaries-common (source)...done
Loading 50emacs-goodies-el (source)...done
Loading 50emacs-intl-fonts (source)...done
Loading 50ess (source)...
Loading regexp-opt...done
Loading mule-util...done
Loading ange-ftp...done
Loading 50ess (source)...done
Loading 50festival (source)...done
Loading 50ftnchek (source)...done
Loading 50gettext (source)...done
Loading 50gnuplot-mode (source)...done
Loading 50gri-el (source)...done
Loading 50gri-html-doc (source)...done
Loading 50maxima-emacs (source)...done
Loading 50nowebm (source)...done
Loading 50octave (source)...done
Loading 50octave2.1-emacsen (source)...done
Loading 50post-el (source)...done
Loading 50preview-latex (source)...done
Loading 50psgml-init (source)...done
Loading 50pymacs (source)...done
Loading 50pymacs-elisp (source)...done
Loading 50python-mode (source)...done
Loading 51preview-latex (source)...done
Loading paren...done
Loading jka-compr...done
Loading flyspell...
Loading advice...done
Loading flyspell...done
(Next local Ispell command will use british dictionary) [2 times]
Starting new Ispell process...
ispell.el is already loaded
For information about the GNU Project and its goals, type C-h C-p.

Sebastian P. Luque wrote:
> On 21 Aug 2006 17:23:55 -0700,
> kevmitch@gmail.com wrote:
>
> > So apparently, I'm doing something extremely stupid.  Flyspell works
> > great if I type "M-x flyspell-mode RET", but that's not good enough. I
> > want it to be on all the time in every major mode automatically unless I
> > explicitly disable it. So I tried just about every combination of all
> > the relevant lines in my .emacs file to no avail. My emacs starts up
> > fine, but no flyspell-mode with out having to manually issue the
> > command. Can any kind soul out there please direct me in what it is I'm
> > doing wrong. Below are my .emacs and site-start.el files.
>
> Did you try adding turn-on-flyspell to text-mode-hook?  That's what I use,
> and it's on for almost every mode, as I think this hook is run by them.
> 
> 
> -- 
> Seb

  parent reply	other threads:[~2006-08-22 20:12 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 [this message]
2006-08-22 21:11     ` Kevin Rodgers
2006-08-22 22:13       ` Noah Slater
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1156277573.754995.300830@75g2000cwc.googlegroups.com \
    --to=kevmitch@gmail.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).