From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Brubeck Unhammer Newsgroups: gmane.emacs.help Subject: Re: ispell default dictionary keeps reverting to "american" Date: Mon, 03 Sep 2007 01:24:37 -0700 Organization: http://groups.google.com Message-ID: <1188807877.025145.318490@22g2000hsm.googlegroups.com> References: <1188730937.948851.317630@22g2000hsm.googlegroups.com> <1188754032.747790.186270@57g2000hsv.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1188808960 8464 80.91.229.12 (3 Sep 2007 08:42:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2007 08:42:40 +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 Sep 03 10:42:39 2007 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 1IS7Vw-0005BE-5N for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Sep 2007 10:42:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IS7Vv-0001VR-0b for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Sep 2007 04:42:31 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!22g2000hsm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 53 Original-NNTP-Posting-Host: 84.236.215.238 Original-X-Trace: posting.google.com 1188807877 15006 127.0.0.1 (3 Sep 2007 08:24:37 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 3 Sep 2007 08:24:37 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20061201 Firefox/2.0.0.6 (Ubuntu-feisty),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 22g2000hsm.googlegroups.com; posting-host=84.236.215.238; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:151619 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:47143 Archived-At: On Sep 2, 8:55 pm, Peter Dyballa 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 :-)