From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: Ispell not working in TeX mode Date: Sun, 17 Feb 2008 08:44:37 +0100 Message-ID: <877ih4qb6i.fsf@gmail.com> References: <9BA22A38-A1BB-43C5-9EDB-DAF2BED59E13@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1203234356 29501 80.91.229.12 (17 Feb 2008 07:45:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Feb 2008 07:45:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Rasmus Pank Roulund Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 17 08:46:20 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 1JQeE7-0005Uf-1t for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Feb 2008 08:46:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQeDc-0004z7-Ou for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Feb 2008 02:45:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQeCb-0004Xa-OE for help-gnu-emacs@gnu.org; Sun, 17 Feb 2008 02:44:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQeCb-0004XC-2S for help-gnu-emacs@gnu.org; Sun, 17 Feb 2008 02:44:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQeCa-0004X6-PV for help-gnu-emacs@gnu.org; Sun, 17 Feb 2008 02:44:44 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JQeCa-0001W9-2X for help-gnu-emacs@gnu.org; Sun, 17 Feb 2008 02:44:44 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.157]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQeCY-0004Q5-RI for help-gnu-emacs@gnu.org; Sun, 17 Feb 2008 02:44:43 -0500 Original-Received: by fg-out-1718.google.com with SMTP id d23so960383fga.30 for ; Sat, 16 Feb 2008 23:44:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references:face:date:in-reply-to:message-id:user-agent:mime-version:content-type:content-transfer-encoding; bh=FcDK5KWPS5PPAK9YnMUecNIwlbB8BHy4Ms8p6NChZEI=; b=LNi6b+V9+h8j7sQoiNafB94CwUHhUvzztEcBYNIBNRv93yeb5GDHKHPxlLx3XIlol8Nii4cwwJDNj5KC6AUvHBC+XCDoiHfcMLRb5OT2odbO4EkZrXHueAOJbFTQd62RyS8ZYeYPFA67oHMAq8ZGD598rFKm4LmgnrXBIybWAw4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:face:date:in-reply-to:message-id:user-agent:mime-version:content-type:content-transfer-encoding; b=wNXCjcujCG8i0B2Odp2ayGpSNGUJkdEeGuDRf0xebiEgml0ms7246hG5/Lqn99l/27A5Deko78oyBLZT92kPZ51hH0l8q9kctTXz3WBOu+N+U8kfnp8vApAGp3CGBJ7rLKsUnL046Yn9VAncd5BhU/LGn/m8qu6pzhjkE4H1iSc= Original-Received: by 10.86.9.8 with SMTP id 8mr4511664fgi.70.1203234281299; Sat, 16 Feb 2008 23:44:41 -0800 (PST) Original-Received: from laptop ( [77.197.77.152]) by mx.google.com with ESMTPS id e20sm8429114fga.1.2008.02.16.23.44.39 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 16 Feb 2008 23:44:39 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUHAwJfJRBxTStaVVUq QleXMROlTymlaEzRTR/FRCfb1LmsjGQqBf0nAAAACXBIWXMAAAsSAAALEgHS3X78AAAB+ElEQVQ4 y3VTPW/bQAw9Jorno5pzGmSxDCQBuhkpumSpIaFzrgAdaZQBSejWNkiEIFMHIeetLiBDWjtqbIB0 6J8rz0Xhj5w5mDDf8ZF8pIT4b96WX1kkdlgUvXcDXrQrJwqXKXBTXm1meOFbi5wH/q20gaOySP9B 4cUT//qoHgfs937TsPhs44fh4dhS4WvznX2hATC3wEnXPQ0sEJsf7DJku+aU8Zuu+2nJR7Gphehl ZGaUPwbD4Z+u+2WrB4lZCHHQNmamVfHwPL25uAwCTmGqqRCJMUYL6OfBVEbjDyoQQsVmLsTEmIpf gfQRPC5cSCD7VEA708shMPDCCFK6tRy2OUXLMcWeZMXhDj5xnNYVyS3u59A3TYVrcci1lDCZcput 3tDwiP+fGlYNcVN0vP8a9DPpWAdqQFd8/91o6Fpfr6wnKB1r7yXtXIp9xymcaXx1OXIcCpI/xHLw EoCizcjOtt0anLV1XNMAfDwfbVAp3mVSfQNCzNO1BFQUk2pSJNKx+bICTokrKNLimHh581VKSvyU uLJqqao+roCxBGahK15dQrTRGRzXlsNPar01SsxbnU3KO9we0QKV0i+0h6QxJkWH9KpZXpRDrqzV 7o8Nd8QP+IKcwKS+fhg4gXZx7wL4jJOFi4uVb1JnHFXuvDhE7W4X18/5L9gPfl3mJR3tAAAAGnpU WHRKUEVHLUNvbG9yc3BhY2UAAHjaMwIAADMAMxEWfmMAAAAnelRYdEpQRUctU2FtcGxpbmctZmFj dG9ycwAAeNozqjDSMawwBGEAEYMC6WQPG2IAAAAASUVORK5CYII= In-Reply-To: (Rasmus Pank Roulund's message of "Sun, 17 Feb 2008 03:08:08 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) 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:51607 Archived-At: I use that for ispell in auctex with aspell: (add-hook 'TeX-language-fr-hook (lambda () (ispell-change-dictionary "french"))) and for ispell: (setq-default ispell-program-name "aspell") (setq ispell-local-dictionary "francais") May be it help even if that's not on "win"dows ;) Rasmus Pank Roulund writes: > Hello Peter, > > >> >> Of course I am not use Losedos user, but how about adopting this >> code=20 > 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 > are some variables you can set to determine exactly and unalterable > where aspell will find its dictionaries and other paraphernalia, maybe > best as "C:/...": > I am very sorry, but I am not very familiar with Lisp and Emacs > 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 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: >> >> Am 15.02.2008 um 15:59 schrieb Rasmus Pank Roulund: >> >>> 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.= .. >> >> >> You're using Aspell and complain that ispell is not working? >> >> To which programmes belong the "dansk" and "danse" dictionaries? >> >> I am using >> >> (setq ispell-program-name "ispell") >> >> to make GNU Emacs use the old ispell programme instead of the new >> aspell. The ispell-program-name variable's definition can also be a >> full pathname. >> >> --=20 >> Greetings >> >> Pete >> >> Be careful of reading health books, you might die of a misprint. >> =E2=80=93 Mark Twain >> >> >> >> >> >> > > > --=20 A + Thierry Pub key: http://pgp.mit.edu