all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Rasmus Pank Roulund <rasmus.pank@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Ispell not working in TeX mode
Date: Sun, 17 Feb 2008 08:44:37 +0100	[thread overview]
Message-ID: <877ih4qb6i.fsf@gmail.com> (raw)
In-Reply-To: <fp84u7$nu7$1@ger.gmane.org> (Rasmus Pank Roulund's message of "Sun, 17 Feb 2008 03:08:08 +0100")

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 <rasmus.pank@gmail.com> writes:

> 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 itself.
>> Setting the programme and the dictionary once might allow both to 
> 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 expert.
>
> 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.
>>
>> -- 
>> Greetings
>>
>>   Pete
>>
>> Be careful of reading health books, you might die of a misprint.
>>                 – Mark Twain
>>
>>
>>
>>
>>
>>
>
>
>

-- 
A + Thierry
Pub key: http://pgp.mit.edu




  reply	other threads:[~2008-02-17  7:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-15 14:59 Ispell not working in TeX mode Rasmus Pank Roulund
2008-02-15 20:50 ` Peter Dyballa
2008-02-15 21:10   ` Rasmus Pank Roulund
2008-02-15 21:58     ` Peter Dyballa
2008-02-15 21:10   ` Rasmus Pank Roulund
2008-02-15 21:10   ` Rasmus Pank Roulund
2008-02-17  2:08   ` Rasmus Pank Roulund
2008-02-17  7:44     ` Thierry Volpiatto [this message]
2008-02-18 18:34 ` Rasmus Pank Roulund

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ih4qb6i.fsf@gmail.com \
    --to=thierry.volpiatto@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rasmus.pank@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.