all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: emacs for winXP and spell checking??
@ 2006-06-22 16:01 Jay Bingham
  0 siblings, 0 replies; 4+ messages in thread
From: Jay Bingham @ 2006-06-22 16:01 UTC (permalink / raw)


On Thursday, June 22, 2006 8:26 AM Johs wrote:

> I have installed emacs for winXP, but how do I enable some kind
> og spell checking?

You will need to install a spell program Ispell and Aspell are both 
available (I recommend Aspell, see http://aspell.net/ for reasons) 
then add some statements to your .emacs file to enable it.

You can find the latest Aspell that has been ported for windows at: 
http://aspell.net/win32/
Download the Aspell binaries (Full installer) and the precompiled 
dictionaries of your choice. (You will need at least one dictionary, 
but can have multiple dictionaries if you desire).
I recommend installing in the c:/aspell directory.

Once you have Aspell installed put the following in your .emacs (note 
that the internal variable names in emacs begin with ispell-):
;; Enable aspell as the spell program
;; (Requires that the Aspell program and a dictionary be installed on 
the PC.
;;  Install them in: c:\Aspell
;;  Add the following to the PATH variable: c:\Aspell\bin
;;  The latest version of the Aspell program, Aspell-<version>.exe,
;;  and the dictionary of your choice, for example: aspell-en-
<version>.exe,
;;  can be found at http://aspell.net/win32/).
(setq-default ispell-program-name "aspell")

You can also put the following in your .emacs if you desire to have 
regions skipped in c and java modes, similar hooks can be added for 
other modes as well:

;;-*- -*- -*- -*- -*-
;; (message "Add c mode hook")
(add-hook 'c-mode-hook
	  (lambda ()
	    (set (make-local-variable 'ispell-skip-region-alist)
		 (cons '("\\\\[abfnrtv\\'\"]")
                       ispell-skip-region-alist))))


;;-*- -*- -*- -*- -*-
;; (message "Add java mode hook")
(add-hook 'java-mode-hook
	  (lambda ()
	    (set (make-local-variable 'ispell-skip-region-alist)
		 (cons '("\\\\[abfnrtv\\'\"]")
                       ispell-skip-region-alist))))


__
J_)
C_)ingham



_____________________________________________________________________
PrivatePhone - FREE telephone number & voicemail.
A number so private, you can make it public.
http://www.privatephone.com

^ permalink raw reply	[flat|nested] 4+ messages in thread
* emacs for winXP and spell checking??
@ 2006-06-22 13:26 Johs32
  2006-06-22 16:17 ` It's me FKtPp ;)
       [not found] ` <mailman.3182.1150993221.9609.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Johs32 @ 2006-06-22 13:26 UTC (permalink / raw)


I have installed emacs for winXP, but how do I enable some kind og spell 
checking?

Johs 

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

end of thread, other threads:[~2006-06-22 19:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-22 16:01 emacs for winXP and spell checking?? Jay Bingham
  -- strict thread matches above, loose matches on Subject: below --
2006-06-22 13:26 Johs32
2006-06-22 16:17 ` It's me FKtPp ;)
     [not found] ` <mailman.3182.1150993221.9609.help-gnu-emacs@gnu.org>
2006-06-22 19:01   ` Colin S. Miller

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.