From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Pank Roulund Newsgroups: gmane.emacs.help Subject: Re: Ispell not working in TeX mode Date: Sun, 17 Feb 2008 03:08:08 +0100 Message-ID: References: <9BA22A38-A1BB-43C5-9EDB-DAF2BED59E13@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1203214126 24715 80.91.229.12 (17 Feb 2008 02:08:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Feb 2008 02:08:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 17 03:09:10 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JQYxl-000456-6v for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Feb 2008 03:09:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQYxG-0002mU-S7 for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Feb 2008 21:08:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQYx0-0002lS-Qx for help-gnu-emacs@gnu.org; Sat, 16 Feb 2008 21:08:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQYwz-0002kx-V9 for help-gnu-emacs@gnu.org; Sat, 16 Feb 2008 21:08:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQYwz-0002ku-Qb for help-gnu-emacs@gnu.org; Sat, 16 Feb 2008 21:08:17 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JQYwz-0000zv-0y for help-gnu-emacs@gnu.org; Sat, 16 Feb 2008 21:08:17 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JQYww-0003MT-NX for help-gnu-emacs@gnu.org; Sun, 17 Feb 2008 02:08:14 +0000 Original-Received: from port293.ds1-aboes.adsl.cybercity.dk ([212.242.226.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Feb 2008 02:08:14 +0000 Original-Received: from rasmus.pank by port293.ds1-aboes.adsl.cybercity.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Feb 2008 02:08:14 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 97 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: port293.ds1-aboes.adsl.cybercity.dk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <9BA22A38-A1BB-43C5-9EDB-DAF2BED59E13@Web.DE> X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:51605 Archived-At: Hello Peter, > > Of course I am not use Losedos user, but how about adopting this code = to your init file? Sorry, it did not make a difference :-( > > You probably know how to find the dictionaries *spell can use. Sure. They are within the Aspell folder. Aspell should find them by itsel= f. > Setting the programme and the dictionary once might allow both to=20 survive the change of the slice/volume/partition/drive. If not, there=20 are some variables you can set to determine exactly and unalterable=20 where aspell will find its dictionaries and other paraphernalia, maybe=20 best as "C:/...": I am very sorry, but I am not very familiar with Lisp and Emacs=20 programming. Thus, the above dose not make sense to me, at all. I do not = think it is a problem to find aspell. It is within the path, and only=20 AUCTeX is not able to start Aspell. Every other Emacs mode is able to do = some, and from the command line I can start aspell as welll. As I wrote, = I am able to switch a buffer from TeX mode to text mode, and aspell will = work in that buffer. > ispell-aspell-data-dir It is within the path, so it should not matter. Aspell.exe is recognized = no matter where on one "is" on the computer. > ispell-aspell-dict-dir I am not sure what this is . . . > Maybe you also need to create a hook that changes > > ispell-process-directory > > if not changed correctly. > How would I do that? Sorry for asking, but as I said, I am no Emacs exper= t. Thanks, Rasmus Peter Dyballa wrote: >=20 > Am 15.02.2008 um 15:59 schrieb Rasmus Pank Roulund: >=20 >> I use Emacsw32 22.0.990 and AUCTeX 11.85. Aspell 0.60.3. >> I use Aspell for spell-checking (obviously). I have split my hdd=20 >> into two partitions. One for programs and one for data, documents etc.= =20 >> My tex documents are located on the data partition (letter D) while=20 >> Emacs, AUCTeX and Aspell is located on the software partition (letter = C). >> When I open a tex file on the D drive, AUCTeX is not able to start=20 >> the ispell process. In messages is says: >> >> Starting new Ispell process [dansk] ... >> Applying style hooks... done >> Loading texmathp...done >> Error in post-command-hook: (error Process ispell not running) >> >> Sometimes it writes >> Starting new Ispell process [dansk] ... >> Spell checking loese-tanker.tex using aspell with danse dictionary= =2E.. >=20 >=20 > You're using Aspell and complain that ispell is not working? >=20 > To which programmes belong the "dansk" and "danse" dictionaries? >=20 > I am using >=20 > (setq ispell-program-name "ispell") >=20 > to make GNU Emacs use the old ispell programme instead of the new=20 > aspell. The ispell-program-name variable's definition can also be a ful= l=20 > pathname. >=20 > --=20 > Greetings >=20 > Pete >=20 > Be careful of reading health books, you might die of a misprint. > =96 Mark Twain >=20 >=20 >=20 >=20 >=20 >=20