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: Mon, 18 Feb 2008 19:34:26 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203359709 4059 80.91.229.12 (18 Feb 2008 18:35:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2008 18:35:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 18 19:35:33 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 1JRApu-0003BV-TP for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2008 19:35:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRApQ-0002dk-FI for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2008 13:35:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRAp9-0002dE-SM for help-gnu-emacs@gnu.org; Mon, 18 Feb 2008 13:34:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRAp5-0002X1-2I for help-gnu-emacs@gnu.org; Mon, 18 Feb 2008 13:34:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRAp4-0002Wr-Ut for help-gnu-emacs@gnu.org; Mon, 18 Feb 2008 13:34:38 -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 1JRAp4-0002hp-L2 for help-gnu-emacs@gnu.org; Mon, 18 Feb 2008 13:34:39 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JRAp1-0008VP-87 for help-gnu-emacs@gnu.org; Mon, 18 Feb 2008 18:34:35 +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 ; Mon, 18 Feb 2008 18:34:35 +0000 Original-Received: from rasmus.pank by port293.ds1-aboes.adsl.cybercity.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Feb 2008 18:34:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 55 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: 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:51648 Archived-At: Just for the record: Somehow I got Aspell working. I made a number of unstructured changes. First of all, I compiled the latest Aspell .60.5 -- which was quite a pain on Windows -- and I think that made a difference. I also made a major cleanup of my dotEmacs, and most of the Aspell related lines were removed. Still, the problems was extraordinary odd, and I still think there is at least a partly bug in AUCTeX. Cheers, Rasmus Rasmus Pank Roulund wrote: > Hey Emacs group, > I am having a problem with AUCTeX and Emacs. I have already described it > in the AUCTeX group, but it seems that nobody there knew the answer. > 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 into > two partitions. One for programs and one for data, documents etc. My tex > documents are located on the data partition (letter D) while 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 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... > Spell-checking using aspell with dansk dictionary done > File mode specification error: (file-error "writing to process" > "invalid argument" #) > > If I switch the same file into text mode (rather than tex mode), ispell > start. If I move the file to the C drive, ispell starts as well. If I > start ispell from another buffer, and go back, to the tex buffer, there > is no problem. However, if start ispell with English dictionary in one > buffer, and switch to my tex buffer (using Danish dictionary), AUCTeX > will freeze Emacs and I have to close down emacs. > > Everything is within the PATH. > LaTeX-mode-hook consist of turn-on-auto-fill, preview-mode-setup, reftex > -mode and flyspell mode. I have tried loading ispell as well, but it > makes no difference. > > I hope somebody will me able to help me solve this problem. > Thanks in advance, > Rasmus > > > >