From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel,gmane.emacs.w3m Subject: Re: [emacs-w3m:09920] detect-coding-with-priority Date: Fri, 11 Jan 2008 09:00:23 +0100 Message-ID: <87ve60kd0o.fsf@escher.local.home> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1200038479 12661 80.91.229.12 (11 Jan 2008 08:01:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2008 08:01:19 +0000 (UTC) Cc: emacs-w3m@namazu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 11 09:01:40 2008 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 1JDEpc-00058O-RK for ged-emacs-devel@m.gmane.org; Fri, 11 Jan 2008 09:01:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDEpF-0004bY-2O for ged-emacs-devel@m.gmane.org; Fri, 11 Jan 2008 03:01:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JDEp9-0004We-4j for emacs-devel@gnu.org; Fri, 11 Jan 2008 03:01:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JDEp7-0004SS-7Q for emacs-devel@gnu.org; Fri, 11 Jan 2008 03:01:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDEp7-0004SF-3H for emacs-devel@gnu.org; Fri, 11 Jan 2008 03:01:05 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JDEp6-0006Rd-Gr for emacs-devel@gnu.org; Fri, 11 Jan 2008 03:01:04 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JDEp5-0008Su-Ox for emacs-devel@gnu.org; Fri, 11 Jan 2008 03:01:03 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JDEp1-0004Xo-CG for emacs-devel@gnu.org; Fri, 11 Jan 2008 08:00:59 +0000 Original-Received: from i5387cfbd.versanet.de ([83.135.207.189]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jan 2008 08:00:59 +0000 Original-Received: from Stephen.Berman by i5387cfbd.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jan 2008 08:00:59 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387cfbd.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:86731 gmane.emacs.w3m:7287 Archived-At: On Fri, 11 Jan 2008 14:43:03 +0900 Katsumi Yamaoka wrote: > 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. So does GNU Emacs 23.0.50.4 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-01-04 on escher, so the change appears to have happened within the last week. Steve Berman