From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: kevmitch@gmail.com Newsgroups: gmane.emacs.help Subject: turn on flyspell mode permanently in .emacs Date: 21 Aug 2006 17:23:55 -0700 Organization: http://groups.google.com Message-ID: <1156206235.108245.155630@i3g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1156207238 11754 80.91.229.2 (22 Aug 2006 00:40:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Aug 2006 00:40:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 22 02:40:36 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GFKJf-0004Tp-CY for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Aug 2006 02:40:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GFKJe-0003wR-O3 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Aug 2006 20:40:26 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!i3g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 63 Original-NNTP-Posting-Host: 142.103.140.62 Original-X-Trace: posting.google.com 1156206240 19435 127.0.0.1 (22 Aug 2006 00:24:00 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 22 Aug 2006 00:24:00 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i3g2000cwc.googlegroups.com; posting-host=142.103.140.62; posting-account=HnS6Mw0AAAC46tcl_nES-aWQ34cKcpHN Original-Xref: shelby.stanford.edu gnu.emacs.help:141202 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36825 Archived-At: 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)