unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* turn on flyspell mode permanently in .emacs
@ 2006-08-22  0:23 kevmitch
  2006-08-22 15:07 ` Kevin Rodgers
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: kevmitch @ 2006-08-22  0:23 UTC (permalink / 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)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-08-23 21:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

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).