unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Chris Swoyer" <fswoyer@cox.net>
Subject: Aspell and .emacs
Date: Mon, 2 Feb 2004 16:24:51 -0600	[thread overview]
Message-ID: <M6ATb.15795$Q_4.14014@okepread03> (raw)

'I've  moved to a mac (OS 10.3.2) and have installed aspell (which I
only use for Emacs, and usually LaTeXing). I have


(setq ispell-program-name
"/Library/PreferencePanes/Spelling.prefPane/Contents/MacOS/cocoAspell")

     (add-hook 'LaTeX-mode-hook 'flyspell-mode)

in my .emacs, which works fine, but I'd like to be able to check
word by word, region by region, easily add words to the dictionary
while spell checking (and from my old ispell_words file). Is there
a way to get some counterpart of this (from my _emacs under
Windows) to work (obviously it will need path changes, but that
hasn't been enough):

--------------

(autoload 'ispell-word "ispell4"
                "Check spelling of word at or before point" t)
                (autoload 'ispell-complete-word "ispell4"
                "Complete word at or before point" t)
                (autoload 'ispell-region "ispell4"
                "Check spelling of every word in the region" t)
                (autoload 'ispell-buffer "ispell4"
                "Check spelling of every word in the buffer" t)
                (setq ispell-command "c:/emacs/bin/ispell4/ispell.exe"
                ispell-look-dictionary "c:/emacs/bin/ispell4/ispell.words"
                ispell-look-command "c:/emacs/bin/ispell/look.exe"
                ispell-command-options (list "-d"
                "c:/emacs/bin/ispell4/ispell.dict")
                (setq ispell-command "c:/ispell4/ispell.exe"
                ispell-look-dictionary "c:/ispell4/ispell.words"
                ispell-look-command "c:/ispell/look.exe"
                ispell-command-options (list "-d"
                "c:/ispell4/ispell.dict")
                )

(setq ispell-enable-tex-parser t)

(define-key global-map "\C-c1" 'ispell-word)
(define-key global-map "\C-c2" 'ispell-region)
(define-key global-map "\C-c3" 'ispell-buffer)
(define-key global-map "\C-c4" 'ispell-complete-word )

---------------------

Thanks,
CS

             reply	other threads:[~2004-02-02 22:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-02 22:24 Chris Swoyer [this message]
2004-02-03  5:49 ` Aspell and .emacs Eli Zaretskii

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='M6ATb.15795$Q_4.14014@okepread03' \
    --to=fswoyer@cox.net \
    /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).