From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabian Braennstroem Newsgroups: gmane.emacs.help Subject: set dictionary for a file Date: Wed, 12 Oct 2005 17:28:29 +0000 (UTC) Organization: www.braennstroem.de Message-ID: Reply-To: f.braennstroem@gmx.de NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1129139293 6099 80.91.229.2 (12 Oct 2005 17:48:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2005 17:48:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 12 19:48:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EPkgK-0003ko-4W for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Oct 2005 19:46:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EPkgI-0004Sv-0n for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Oct 2005 13:46:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.arcor.de!news.belwue.de!news-stu1.dfn.de!news-koe1.dfn.de!cl-news!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: bonsai.fernuni-hagen.de Original-X-Trace: tamarack.fernuni-hagen.de 1129138109 20960 132.176.114.21 (12 Oct 2005 17:28:29 GMT) Original-X-Complaints-To: newsadmin@fernuni-hagen.de Original-NNTP-Posting-Date: Wed, 12 Oct 2005 17:28:29 +0000 (UTC) Mail-Copies-To: nobody User-Agent: slrn/0.9.8.1/rt (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:134596 Original-To: help-gnu-emacs@gnu.org 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:30177 Archived-At: Hi, I would like to set/change dictionary for certain files, which I would declare in .emacs. I tried the ispell-multi.el, but it somehow didn't work for me. In my Gnus I had (add-hook 'gnus-select-group-hook (lambda () (cond ((string-match "^de\\." (gnus-group-real-name gnus-newsgroup-name)) (ispell-change-dictionary "deutsch8")) which worked a while ago. Does something similar (file-load-hook?) exist for ordinary files? Greetings, Fabian