From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Activate an input-method from file-local variables? Date: Tue, 18 Jul 2006 10:44:43 -0400 Message-ID: References: <17593.10.639545.231797@parhasard.net> <17594.9387.783893.359064@parhasard.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1153233905 2338 80.91.229.2 (18 Jul 2006 14:45:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jul 2006 14:45:05 +0000 (UTC) Cc: kehoea@parhasard.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 18 16:45:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G2qog-00047O-La for ged-emacs-devel@m.gmane.org; Tue, 18 Jul 2006 16:44:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G2qog-00020A-4C for ged-emacs-devel@m.gmane.org; Tue, 18 Jul 2006 10:44:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G2qoV-0001zl-38 for emacs-devel@gnu.org; Tue, 18 Jul 2006 10:44:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G2qoT-0001yl-Er for emacs-devel@gnu.org; Tue, 18 Jul 2006 10:44:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G2qoT-0001yh-7i for emacs-devel@gnu.org; Tue, 18 Jul 2006 10:44:41 -0400 Original-Received: from [209.226.175.110] (helo=tomts43-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G2qrN-0001Bz-GX for emacs-devel@gnu.org; Tue, 18 Jul 2006 10:47:41 -0400 Original-Received: from localhost ([70.53.192.251]) by tomts43-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060718144439.QGER1543.tomts43-srv.bellnexxia.net@localhost>; Tue, 18 Jul 2006 10:44:39 -0400 Original-Received: by localhost (Postfix, from userid 20848) id 2FC0290A1; Tue, 18 Jul 2006 10:44:43 -0400 (EDT) Original-To: Kenichi Handa In-Reply-To: (Kenichi Handa's message of "Tue, 18 Jul 2006 10:25:41 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:57266 Archived-At: >> 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). Stefan