From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.w3m,gmane.emacs.devel Subject: [emacs-w3m:09920] detect-coding-with-priority Date: Fri, 11 Jan 2008 14:43:03 +0900 Organization: Emacsen advocacy group Message-ID: Reply-To: emacs-w3m@namazu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Trace: ger.gmane.org 1200030198 24952 80.91.229.2 (11 Jan 2008 05:43:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2008 05:43:18 +0000 (UTC) Cc: emacs-w3m@namazu.org To: emacs-devel@gnu.org Original-X-From: emacs-w3m-admin@namazu.org Fri Jan 11 05:43:16 2008 Return-path: Envelope-to: emacs-w3m@deer.gmane.org Original-Received: from quimby.gnus.org ([80.91.231.51]) by ciao.gmane.org with esmtp (Exim 4.43) id 1JDCfi-00070B-Cn for emacs-w3m@deer.gmane.org; Fri, 11 Jan 2008 05:43:14 +0000 Original-Received: from vaj.namazu.org ([202.221.179.42]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JDCfj-0005jP-00 for ; Fri, 11 Jan 2008 06:43:16 +0100 Original-Received: from vaj.namazu.org (localhost [127.0.0.1]) by vaj.namazu.org (Postfix) with ESMTP id 5B70420DE8; Fri, 11 Jan 2008 14:43:12 +0900 (JST) Original-Received: from orlando.hostforweb.net (orlando.hostforweb.net [216.246.45.90]) by vaj.namazu.org (Postfix) with ESMTP id 916B820DD1 for ; Fri, 11 Jan 2008 14:43:11 +0900 (JST) Original-Received: from [66.225.201.151] (port=45030 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.68) (envelope-from ) id 1JDCfb-0006Zr-5j; Thu, 10 Jan 2008 23:43:07 -0600 X-ML-Name: emacs-w3m X-Mail-Count: 09920 X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (anyone can post) X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address emacs-w3m-ctl@namazu.org; help= User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-Hashcash: 1:20:080111:emacs-devel@gnu.org::StO3aBdJKby/RdM/:0000000000000000000000000000000000000000002Vp0 X-Hashcash: 1:20:080111:emacs-w3m@namazu.org::1QR0Rn4vctImpf42:000000000000000000000000000000000000000003Eq2 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:1mnXU9b6TX3KDlJHo0WHWG5Yub4= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - namazu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Flag: No X-Spam-Probability: 0.000000 Precedence: bulk Original-Lines: 20 List-Id: emacs-w3m.namazu.org List-Software: fml [fml 4.0.3 release (20011202/4.0.3)] List-Post: List-Owner: List-Help: List-Unsubscribe: Xref: news.gmane.org gmane.emacs.w3m:7281 gmane.emacs.devel:86728 Archived-At: Hi, I noticed that `detect-coding-with-priority' doesn't work recently in the Emacs trunk and Unicode-2, though I don't know when it began. (with-temp-buffer (set-buffer-multibyte nil) (insert (encode-coding-string "あいうえお" 'shift_jis)) (detect-coding-with-priority (point-min) (point-max) '((coding-category-sjis . shift_jis)))) => (raw-text no-conversion) Emacs 22.1 returns (shift_jis emacs-mule raw-text no-conversion) for this form. (Emacs-w3m uses this macro for identifying the coding system in web pages in which the charset is not specified.) Regards,