unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kevmitch@gmail.com
Subject: turn on flyspell mode permanently in .emacs
Date: 21 Aug 2006 17:23:55 -0700	[thread overview]
Message-ID: <1156206235.108245.155630@i3g2000cwc.googlegroups.com> (raw)

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.
Thanks,
Kevin

###########################################################
#  ~/.emacs
###########################################################
(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or
cut/paste it!
  ;; Your init file should contain only one such instance.
 '(column-number-mode t)
 '(matlab-auto-fill nil)
 '(matlab-comment-region-s "%"))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste
it!
  ;; Your init file should contain only one such instance.
 )

(add-to-list 'auto-mode-alist '("\\.m$" . matlab-mode))
(autoload 'flyspell-mode "flyspell" "On-the-fly spelling checking" t)
(autoload 'global-flyspell-mode "flyspell" "On-the-fly spelling" t)
(flyspell-mode 1)

###########################################################
#  /etc/emacs/site-start.el
###########################################################

;; Emacsen independent startup file.  All of the various installed
;; flavors of emacs (emacs 19, emacs 20, xemacs) will load this file
;; at startup.  Make sure any code you put here is emacs flavor
;; independent.

;; Package maintainers: do not have Debian packages edit this file.
;; See the policy manual for the proper way to handle Emacs package
;; initialization code.

;; turn on colorization.
(require 'font-lock)
(setq font-lock-mode-maximum-decoration t)
(if (fboundp 'global-font-lock-mode) (global-font-lock-mode t))

;; Turn on selection and change the default color
(setq transient-mark-mode 't highlight-nonselected-windows 't)

;; Show parenthesis mode
(show-paren-mode t)

;; turn on auto (de)compression
(if (fboundp 'auto-compression-mode) (auto-compression-mode t))

;; keyboard short-cut for goto-line
(global-set-key [(meta g)] `goto-line)

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

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-22  0:23 kevmitch [this message]
2006-08-22 15:07 ` turn on flyspell mode permanently in .emacs 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
     [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=1156206235.108245.155630@i3g2000cwc.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).