From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.help Subject: Re: input methods per file Date: Thu, 24 Jan 2008 16:08:20 +0100 Organization: Chalmers University of Technology, Sweden Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1201189246 9218 80.91.229.12 (24 Jan 2008 15:40:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jan 2008 15:40:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 24 16:41:03 2008 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 1JI4CM-0005sI-B8 for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Jan 2008 16:41:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JI4Bw-0001sr-8J for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Jan 2008 10:40:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!storethat.news.telefonica.de!telefonica.de!news.germany.com!feed.xsnews.nl!border-1.ams.xsnews.nl!tudelft.nl!binfeed2.tudelft.nl!newsfeed.sunet.se!news01.sunet.se!129.16.222.141.MISMATCH!gide.ita.chalmers.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: remote1.student.chalmers.se Original-X-Trace: gide.ita.chalmers.se 1201187301 19683 129.16.29.79 (24 Jan 2008 15:08:21 GMT) Original-X-Complaints-To: usenet@gide.ita.chalmers.se Original-NNTP-Posting-Date: Thu, 24 Jan 2008 15:08:21 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:2bBLiBO2QXrkgACTIAWAUkNl24U= Original-Xref: shelby.stanford.edu gnu.emacs.help:155509 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:50915 Archived-At: Phillip Lord writes: > ;; Local Variables: *** > ;; eval: (set-input-method "italian-postfix") *** > ;; End: *** > > Which works well, but is a pain because I get asked a yes no question > as eval is risky. You can use ;; Allow italian-postfix input method (add-to-list 'safe-local-eval-forms '(set-input-method "italian-postfix")) or ;; Allow all uses of set-input-method (put 'set-input-method 'safe-local-eval-function t) -- Johan Bockgård