[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: input methods per file
From: |
Phil Lord |
Subject: |
Re: input methods per file |
Date: |
Fri, 25 Jan 2008 04:42:36 -0800 (PST) |
User-agent: |
G2/1.0 |
On Jan 24, 3:08 pm, bojohan+n...@dd.chalmers.se (Johan Bockgård)
wrote:
> Phillip Lord <phillip.l...@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)
Perfect, just what I was looking for.
Many thanks!
Phil
- Re: input methods per file, Thien-Thi Nguyen, 2008/01/24
- Re: input methods per file, Johan Bockgård, 2008/01/24
- Re: input methods per file,
Phil Lord <=
- Re: input methods per file, Thien-Thi Nguyen, 2008/01/24
- Re: input methods per file, Phillip Lord, 2008/01/24
- Re: input methods per file, Johan Bockgård, 2008/01/24