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: Ispell not working in TeX mode Date: Fri, 15 Feb 2008 15:59:31 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203087618 3420 80.91.229.12 (15 Feb 2008 15:00:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2008 15:00:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 15 16:00:41 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 1JQ237-0001XW-Kv for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Feb 2008 16:00:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQ22d-00084h-Oq for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Feb 2008 09:59:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQ22Q-00084W-6B for help-gnu-emacs@gnu.org; Fri, 15 Feb 2008 09:59:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQ22P-00082x-4b for help-gnu-emacs@gnu.org; Fri, 15 Feb 2008 09:59:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQ22O-00082h-SJ for help-gnu-emacs@gnu.org; Fri, 15 Feb 2008 09:59:40 -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 1JQ22N-0003Fe-Tt for help-gnu-emacs@gnu.org; Fri, 15 Feb 2008 09:59:40 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JQ22K-0005Sf-EQ for help-gnu-emacs@gnu.org; Fri, 15 Feb 2008 14:59:36 +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 ; Fri, 15 Feb 2008 14:59:36 +0000 Original-Received: from rasmus.pank by port293.ds1-aboes.adsl.cybercity.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Feb 2008 14:59:36 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 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 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:51562 Archived-At: 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