all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jay Bingham" <b.jc-emacs@netzero.com>
Subject: Re: emacs for winXP and spell checking??
Date: Thu, 22 Jun 2006 16:01:29 GMT	[thread overview]
Message-ID: <20060622.090222.2183.197254@webmail12.nyc.untd.com> (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

             reply	other threads:[~2006-06-22 16:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-22 16:01 Jay Bingham [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-06-22 13:26 emacs for winXP and spell checking?? 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

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

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

  git send-email \
    --in-reply-to=20060622.090222.2183.197254@webmail12.nyc.untd.com \
    --to=b.jc-emacs@netzero.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.
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.