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: Activate an input-method from file-local variables? Date: Sat, 15 Jul 2006 10:38:46 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1152974310 28318 80.91.229.2 (15 Jul 2006 14:38:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Jul 2006 14:38:30 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 15 16:38:28 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 1G1lHl-00027u-3B for ged-emacs-devel@m.gmane.org; Sat, 15 Jul 2006 16:38:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G1lHj-0003dH-QR for ged-emacs-devel@m.gmane.org; Sat, 15 Jul 2006 10:38:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G1lHX-0003d0-Lv for emacs-devel@gnu.org; Sat, 15 Jul 2006 10:38:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G1lHW-0003co-Tn for emacs-devel@gnu.org; Sat, 15 Jul 2006 10:38:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G1lHW-0003cl-QE for emacs-devel@gnu.org; Sat, 15 Jul 2006 10:38:10 -0400 Original-Received: from [209.226.175.110] (helo=tomts43-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G1lJl-0004C2-02 for emacs-devel@gnu.org; Sat, 15 Jul 2006 10:40:29 -0400 Original-Received: from localhost ([70.53.195.230]) by tomts43-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060715143809.VUGO1543.tomts43-srv.bellnexxia.net@localhost>; Sat, 15 Jul 2006 10:38:09 -0400 Original-Received: by localhost (Postfix, from userid 20848) id E470E846E; Sat, 15 Jul 2006 10:38:46 -0400 (EDT) Original-To: emacs-devel@gnu.org 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:57041 Archived-At: Many of the files I edit use funny unicode math chars which I enter with the help of the "TeX" input method. How can I make it such that those files have the TeX input method activated as soon as I open them? Currently I add an `eval: (activate-input-method "TeX")' to the local-variables and then arrange for it not to trigger a prompt, but it seems like there should be a more "official" way to do it. Stefan