unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Brubeck Unhammer <pixiemotion@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: ispell default dictionary keeps reverting to "american"
Date: Mon, 03 Sep 2007 01:24:37 -0700	[thread overview]
Message-ID: <1188807877.025145.318490@22g2000hsm.googlegroups.com> (raw)
In-Reply-To: <mailman.180.1188759356.18990.help-gnu-emacs@gnu.org>

On Sep 2, 8:55 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 02.09.2007 um 19:27 schrieb Kevin Brubeck Unhammer:
> It's obviously secure to put a statement like this one
>
>         (defadvice load (before debug-log activate)
>           (message "(Tipp von Kai G) Lade jetzt: %s" (ad-get-arg 0)))
>
> into ~/.emacs, because you describe that your setting of ispell's
> dictionary is valid until you load some file? Or does it already
> happen when you spell-check a "built-in" buffer like *scratch*,
> *Buffer List*, or *Messages*. So let's make the test more complete!

It happens in *Messages* and so on, yes, to quote myself:

When I have (ispell-change-dictionary "nynorsk" t)  in .emacs
*Messages* gives me this:

"Loading ispell...done
(Next global Ispell command will use nynorsk dictionary)
ispell.el is already loaded"

and on the first spellcheck, it goes:

"(Next local Ispell command will use american dictionary)
Starting new Ispell process..."

I then manually change to "nynorsk":

"Ispell process killed
(Next global Ispell command will use nynorsk dictionary)"

> Make ~/.emacs report what the ispell-program-name is. In *shell*
> buffer or some other terminal determine the PID of GNU Emacs. Now
> start to spell-check some built-in buffer and don't quit! In that
> other terminal either use ps or pstree to determine all processes
> that GNU Emacs has spawned. Is ispell or aspell (the new default)
> doing the spell-check?

It's ispell yeah, but just using (setq ispell-program-name "aspell")
in my .emacs (and no "change-dictionary"-settings) completely fixed my
problem; probably my system default is "nynorsk", not "american", and
aspell uses that, while with ispell I for some reason get reverted to
American.

> With the statement above you will be able to see which files of Elisp
> code are loaded when you load some text file. When you put the
> statement into the system init file, you can see a bit more of Elisp
> file loading.

It tells me "default" is loading jetzt. I don't know how to fix the
ispell-thing, but setting it to aspell fixed it for me... thanks for
your help :-)

  parent reply	other threads:[~2007-09-03  8:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-02 11:02 ispell default dictionary keeps reverting to "american" Kevin Brubeck Unhammer
2007-09-02 11:56 ` Sven Joachim
2007-09-02 17:15   ` Kevin Brubeck Unhammer
2007-09-02 17:43     ` Sven Joachim
2007-09-03  8:16       ` Kevin Brubeck Unhammer
2007-09-02 12:51 ` Peter Dyballa
     [not found] ` <mailman.168.1188737518.18990.help-gnu-emacs@gnu.org>
2007-09-02 17:27   ` Kevin Brubeck Unhammer
2007-09-02 18:55     ` Peter Dyballa
     [not found]     ` <mailman.180.1188759356.18990.help-gnu-emacs@gnu.org>
2007-09-03  8:24       ` Kevin Brubeck Unhammer [this message]
2007-09-03  9:39         ` Peter Dyballa

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1188807877.025145.318490@22g2000hsm.googlegroups.com \
    --to=pixiemotion@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).