From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: simon_strobl@yahoo.de (Simon Strobl) Newsgroups: gmane.emacs.help Subject: Re: choose input method automatically Date: 14 Jun 2004 00:35:48 -0700 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <13883bbe.0406132335.3e0dfd9@posting.google.com> References: <13883bbe.0406090626.409ec60e@posting.google.com> <40C72DE5.8080304@yahoo.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1088535838 18278 80.91.224.253 (29 Jun 2004 19:03:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:03:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:03:38 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfNtJ-0004Au-00 for ; Tue, 29 Jun 2004 21:03:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfNuz-0008Kc-7P for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:05:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 129.187.148.50 Original-X-Trace: posting.google.com 1087198550 3631 127.0.0.1 (14 Jun 2004 07:35:50 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 14 Jun 2004 07:35:50 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:123759 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19119 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19119 > (defvar my-input-method nil > [...] Thanks a lot. In order to set input-method *and* coding automatically, I have put the following in the first line of my file: % -*- coding: utf-8; my-input-method: u8tex; -*- (For those who have the same problem: Replace % by the specific comment character you need for your type of file.) Having a coding line and a my-input-method line at the same time did not work. Thanks to all who participated in this thread. Simon