From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Should `auto-coding-functions' be mode-specific? Date: Sun, 07 Jan 2007 01:33:55 +0200 Organization: JURTA Message-ID: <8764bkeydx.fsf@jurta.org> References: <87ejqd88iv.fsf@pacem.orebokech.com> <87irfn5ggf.fsf@pacem.orebokech.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168130114 24781 80.91.229.12 (7 Jan 2007 00:35:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Jan 2007 00:35:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 07 01:35:11 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H3M0C-0000U3-IQ for ged-emacs-devel@m.gmane.org; Sun, 07 Jan 2007 01:35:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3M0B-00055U-RP for ged-emacs-devel@m.gmane.org; Sat, 06 Jan 2007 19:35:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H3Lzz-00055P-6I for emacs-devel@gnu.org; Sat, 06 Jan 2007 19:34:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H3Lzy-00055A-6z for emacs-devel@gnu.org; Sat, 06 Jan 2007 19:34:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3Lzy-000557-2M for emacs-devel@gnu.org; Sat, 06 Jan 2007 19:34:54 -0500 Original-Received: from [62.64.120.200] (helo=relay01.kiev.sovam.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H3Lzx-00075z-40 for emacs-devel@gnu.org; Sat, 06 Jan 2007 19:34:53 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.60) (envelope-from ) id 1H3Lzm-000OKQ-F5 for emacs-devel@gnu.org; Sun, 07 Jan 2007 02:34:50 +0200 Original-To: emacs-devel@gnu.org In-Reply-To: <87irfn5ggf.fsf@pacem.orebokech.com> (Romain Francoise's message of "Thu, 04 Jan 2007 09:44:32 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.90 (gnu/linux) X-Scanner-Signature: 3140350ce96b4815fe22a3a842dc7b15 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 661 [Dec 30 2006] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release 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:64893 Archived-At: >> 2006-06-02 Juri Linkov > >> * international/mule.el (sgml-html-meta-auto-coding-function): >> Remove the condition `(search-forward " > Thanks for noticing this Kevin, I had missed it. I think this > change should be reverted, it's okay to make Emacs handle Mozilla's > broken HTML, but only as long as it doesn't get in the way of valid > use cases! > > And your proposed change to also recognize a doctype at the > beginning of the buffer looks good to me. > > So unless someone objects, I'll revert Juri's change and extend the > function as Kevin suggests. Perhaps I'll also make it recognize > Mozilla's specific doctype (''). The reported bug can occur even without my change because "