all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: help-gnu-emacs@gnu.org
Subject: Re: input methods per file
Date: Thu, 24 Jan 2008 16:08:20 +0100	[thread overview]
Message-ID: <yoij7ihz5kij.fsf@remote1.student.chalmers.se> (raw)
In-Reply-To: mailman.6472.1201185130.18990.help-gnu-emacs@gnu.org

Phillip Lord <phillip.lord@newcastle.ac.uk> 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

  parent reply	other threads:[~2008-01-24 15:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6472.1201185130.18990.help-gnu-emacs@gnu.org>
2008-01-24 15:04 ` input methods per file Thien-Thi Nguyen
2008-01-24 15:08 ` Johan Bockgård [this message]
2008-01-25 12:42   ` Phil Lord
2008-01-24 14:29 Phillip Lord
2008-01-24 14:44 ` Peter Dyballa
     [not found] ` <mailman.6474.1201185888.18990.help-gnu-emacs@gnu.org>
2008-01-25 12:39   ` Phil Lord

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

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

  git send-email \
    --in-reply-to=yoij7ihz5kij.fsf@remote1.student.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.