emacs-devel
[Top][All Lists]
Advanced

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

Re: auto-detecting encoding for XML


From: Stefan Monnier
Subject: Re: auto-detecting encoding for XML
Date: Mon, 20 May 2002 10:32:26 -0400

> "Stefan Monnier" <monnier+gnu/address@hidden> writes:
> 
> > What about editing an elisp file containing an xml skeleton that
> > looks just like the tag matched by the auto-coding-regexp-alist ?
> 
> I guess then you're screwed.  Consider the following text file:
> 
> <?xml version="1.0" encoding="utf-8"?><!-- -*- coding: emacs-mule; -*- --!>
> 
> It's easy to construct examples where things fail.

Note that my example might be a very legitimate situation, whereas
I find yours to be fundamentally wrong.  It's OK if things "fail"
when the user contradicts herself.


        Stefan




reply via email to

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