From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.help Subject: Re: ispell default dictionary keeps reverting to "american" Date: Sun, 02 Sep 2007 19:43:44 +0200 Message-ID: <87k5r90xpr.fsf@gmx.de> References: <1188730937.948851.317630@22g2000hsm.googlegroups.com> <87642t2sc9.fsf@gmx.de> <1188753307.609687.63490@y42g2000hsy.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188758436 20736 80.91.229.12 (2 Sep 2007 18:40:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2007 18:40:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 02 20:40:36 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 1IRuN9-0004tG-MI for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Sep 2007 20:40:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRuN8-0007OQ-Gh for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Sep 2007 14:40:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: p54866faa.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1188754945 7586 84.134.111.170 (2 Sep 2007 17:42:25 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sun, 2 Sep 2007 17:42:25 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:C6ju0UTLfsr+dKEl27WIgw2SuzU= Original-Xref: shelby.stanford.edu gnu.emacs.help:151581 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:47105 Archived-At: Kevin Brubeck Unhammer writes: > Sven Joachim skreiv: >> So I'd presume that C-u M-x ispell-change-dictionary (interactively) >> or (setq ispell-change-dictionary "nynorsk" t) (in your .emacs) do the >> trick. Does that work? > > Seems like it should, yeah, but even with the prefix argument, the > value changes just before pressing M-$. I can start emacs, do "C-h v > ispell-dictionary" and it tells me it's set to "nynorsk", then I do M- > $ and I get only American suggestions for spelling, "C-h v ispell- > dictionary" again tells me that it's set to "american". > > Right after starting emacs, I can do "C-u M-x ispell-change-dictionary > RET nynorsk", and it tells me "No change, using nynorsk dictionary", > but still on the first spellcheck it'll revert to "american". _After_ > the first spellcheck though, I can use ispell-change-dictionary to set > it to "nynorsk" locally, and it stays that way in that buffer > (although setting it globally doesn't override "american", I have to > set it locally in each new buffer _after_ running at least one ispell- > check). It is possible that you are using an outdated version of ispell.el. Debian has such a beast in its dictionaries-common package, and I presume the same is the case on Ubuntu. What does (locate-library "ispell") give? Regards, Sven