From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#1654: 23.0.60; auto encoding detection (detect-coding-region) not working Date: Fri, 27 Mar 2009 16:29:55 +0900 Message-ID: References: <87k56bu0uu.fsf@cyd.mit.edu> <87vdpv7eal.fsf@cyd.mit.edu> Reply-To: Kenichi Handa , 1654@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1238139848 16618 80.91.229.12 (27 Mar 2009 07:44:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Mar 2009 07:44:08 +0000 (UTC) Cc: cyd@stupidchicken.com, 1654@emacsbugs.donarmstrong.com To: poppyer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 27 08:45:25 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ln6km-00049o-0Y for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Mar 2009 08:45:24 +0100 Original-Received: from localhost ([127.0.0.1]:36726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ln6jP-0006xj-0V for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Mar 2009 03:43:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ln6jK-0006xD-8z for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2009 03:43:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ln6jE-0006r7-9A for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2009 03:43:52 -0400 Original-Received: from [199.232.76.173] (port=59513 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ln6jE-0006r3-6V for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2009 03:43:48 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41303) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ln6jD-0004dg-NG for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2009 03:43:47 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2R7hjCk014753; Fri, 27 Mar 2009 00:43:45 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2R7Z3G0012290; Fri, 27 Mar 2009 00:35:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 27 Mar 2009 07:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1654 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1654-submit@emacsbugs.donarmstrong.com id=B1654.123813896010830 (code B ref 1654); Fri, 27 Mar 2009 07:35:03 +0000 Original-Received: (at 1654) by emacsbugs.donarmstrong.com; 27 Mar 2009 07:29:20 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2R7TH4S010821 for <1654@emacsbugs.donarmstrong.com>; Fri, 27 Mar 2009 00:29:18 -0700 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n2R7TFq5017575; Fri, 27 Mar 2009 16:29:15 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n2R7TFlE023950; Fri, 27 Mar 2009 16:29:15 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id n2R7TF1P027329; Fri, 27 Mar 2009 16:29:15 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1Ln6Vn-0002le-Qi; Fri, 27 Mar 2009 16:29:55 +0900 In-reply-to: (message from poppyer on Fri, 27 Mar 2009 13:20:35 +0800) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 27 Mar 2009 03:43:52 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26670 Archived-At: In article , poppyer writes: > So the current issue is that: in detect-coding-region's DOC, it says > "Return a list of possible coding systems ordered by priority". > But for big5 txt file, the big5 coding system is not in the returned > list. Ok, I've just modified the docstring as these: DEFUN ("detect-coding-region", Fdetect_coding_region, Sdetect_coding_region, 2, 3, 0, doc: /* Detect coding system of the text in the region between START and END. Return a list of possible coding systems ordered by priority. The coding systems to try and their priorities follows what the function `coding-system-priority-list' (which see) returns. [...] DEFUN ("coding-system-priority-list", Fcoding_system_priority_list, Scoding_system_priority_list, 0, 1, 0, doc: /* Return a list of coding systems ordered by their priorities. The list contains a subset of coding systems; i.e. coding systems assigned to each coding category (see `coding-category-list'). [...] Are they clear? If not, please improve them. --- Kenichi Handa handa@m17n.org