[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should `auto-coding-functions' be mode-specific?
From: |
Kenichi Handa |
Subject: |
Re: Should `auto-coding-functions' be mode-specific? |
Date: |
Thu, 04 Jan 2007 13:14:23 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.92 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Richard Stallman <address@hidden> writes:
> This explains the problem. But anyway, there was some text before
> the HTML code, meaning that the HTML code was included in some text
> file. So, in this case, I don't think taking the charset from the
> META header is a correct behavior.
> That criterion is perhaps feasible to implement.
> Handa, what do you think?
Perhaps. Currently sgml-xml-auto-coding-function and
sgml-html-meta-auto-coding-function are registred in
auto-coding-functions.
And sgml-xml-auto-coding-function checks whether the buffer
is XML or not. So, sgml-html-meta-auto-coding-function
should do the similar check too. Someone who knows the
syntax of HTML well, please fix the function.
---
Kenichi Handa
address@hidden
Re: Should `auto-coding-functions' be mode-specific?, Kevin Rodgers, 2007/01/03