emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Activate an input-method from file-local variables?


From: Kenichi Handa
Subject: Re: Activate an input-method from file-local variables?
Date: Wed, 19 Jul 2006 09:45:38 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Stefan Monnier <address@hidden> writes:

>>> That seems much more complex than my current solution of using
>>> `eval: (activate-input-method "TeX")' and adding
>>> (put 'activate-input-method 'safe-local-eval-function t).

>> Provided that a local variable specified in a file is
>> customizable, does :set function of it called?

> Currently no: it just uses `set'.  Using the custom setter might be an
> option, but we should be careful with it: Custom's support for buffer-local
> settings is mostly untested (And hence not overly reliable).

Ummm, then, we must wait for that getting reliable, or
implement a code that checks the value of
current-input-method and, if necessary, calls a proper
activating function in read_char or somewhere.

Those should be after the release.

---
Kenichi Handa
address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]