From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Aspell and .emacs Date: 03 Feb 2004 07:49:50 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1075787399 18475 80.91.224.253 (3 Feb 2004 05:49:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2004 05:49:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 03 06:49:53 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AntRZ-0004se-00 for ; Tue, 03 Feb 2004 06:49:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AntQi-0002in-EB for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Feb 2004 00:49:00 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AntQQ-0002iT-Ih for help-gnu-emacs@gnu.org; Tue, 03 Feb 2004 00:48:42 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AntPu-0002eI-3D for help-gnu-emacs@gnu.org; Tue, 03 Feb 2004 00:48:41 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.24) id 1AntPt-0002dx-MI for help-gnu-emacs@gnu.org; Tue, 03 Feb 2004 00:48:09 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: (fswoyer@cox.net) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16596 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16596 > From: "Chris Swoyer" > Newsgroups: gnu.emacs.help > Date: Mon, 2 Feb 2004 16:24:51 -0600 > Organization: Cox Communications > Xref: shelby.stanford.edu gnu.emacs.help:120636 > Sender: help-gnu-emacs-bounces+eliz=elta.co.il@gnu.org > > '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): I think, once you've told Emacs where to find the speller program via ispell-program-name, the other ispell-* commands should just work. ispell-word, for example, already has a standard Emacs binding, M-$, so just try it and see if it does what you want. As for the other spelling commands, all you need is to bind them to keys with define-key. > (autoload 'ispell-word "ispell4" This is something you should _not_ do: ispell4 is a very old interface to an old version of Ispell program. You simply no longer need all these autoload lines, Emacs does that automatically.