From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: sara francis Newsgroups: gmane.emacs.help Subject: automatically choosing encoding by filetype? Date: Sat, 03 Jan 2004 16:15:10 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3ff6dd08$1@e-post.inode.at> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1073143377 31819 80.91.224.253 (3 Jan 2004 15:22:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2004 15:22:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 03 16:22:49 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Acnc0-0006eT-00 for ; Sat, 03 Jan 2004 16:22:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AcoRF-0003vi-TH for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jan 2004 11:15:45 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help Original-NNTP-Posting-Host: 62-99-202-90.zollergasse.xdsl-line.inode.at Original-X-Trace: e-post.inode.at 1073143048 62.99.202.90 (3 Jan 2004 16:17:28 +0200) Original-Lines: 13 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!newscore.univie.ac.at!e-post.inode.at!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:119735 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:15678 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15678 hi, I would like to confgure my emacs to automatically choose the correct encoding when opening an saving files. Espacially I would like all xml files (xsd,xsl,xslt,dtd,...) to be in utf-8 while all the rest should be in iso-8859-1 (latin-1) whih it currently defaults to. I couldn't find any docs on mule. I'm running emacs 21.3 Any sugestions? Thanks in advance! sf