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#4047: 23.1.1: hexl-mode doesn't like UTF8 files with a byte-order mark Date: Fri, 21 Aug 2009 21:18:53 +0900 Message-ID: References: <20090807085054.036E61BF28D@ws1-10.us4.outblaze.com> <837hxemr9h.fsf@gnu.org> <831vnmmoe3.fsf@gnu.org> <83d46ykbte.fsf@gnu.org> <83ljldh5pm.fsf@gnu.org> Reply-To: Kenichi Handa , 4047@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1250857636 13178 80.91.229.12 (21 Aug 2009 12:27:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2009 12:27:16 +0000 (UTC) Cc: schwab@linux-m68k.org, 4047@emacsbugs.donarmstrong.com, bogossian@mail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 21 14:27:09 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 1MeTD2-000471-85 for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Aug 2009 14:27:08 +0200 Original-Received: from localhost ([127.0.0.1]:46879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeTD1-0001yd-F4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Aug 2009 08:27:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeTCv-0001xy-TT for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2009 08:27:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeTCq-0001vV-GD for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2009 08:27:00 -0400 Original-Received: from [199.232.76.173] (port=54050 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeTCq-0001vI-9p for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2009 08:26:56 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35495) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MeTCp-0006vO-3P for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2009 08:26:55 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7LCQpZC026627; Fri, 21 Aug 2009 05:26:52 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7LCP6rD026265; Fri, 21 Aug 2009 05:25:06 -0700 Resent-Date: Fri, 21 Aug 2009 05:25:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 21 Aug 2009 12:25:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4047 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4047-submit@emacsbugs.donarmstrong.com id=B4047.125085713925310 (code B ref 4047); Fri, 21 Aug 2009 12:25:06 +0000 Original-Received: (at 4047) by emacsbugs.donarmstrong.com; 21 Aug 2009 12:18:59 +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.14.3/8.14.3/Debian-5) with ESMTP id n7LCIu1i025307 for <4047@emacsbugs.donarmstrong.com>; Fri, 21 Aug 2009 05:18:58 -0700 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n7LCIt0m021504; Fri, 21 Aug 2009 21:18:55 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n7LCItJg029993; Fri, 21 Aug 2009 21:18:55 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id n7LCIrxL018077; Fri, 21 Aug 2009 21:18:53 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MeT53-0003lv-Ed; Fri, 21 Aug 2009 21:18:53 +0900 In-reply-to: <83ljldh5pm.fsf@gnu.org> (message from Eli Zaretskii on Fri, 21 Aug 2009 12:33:09 +0300) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 21 Aug 2009 08:27:00 -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:30422 Archived-At: In article <83ljldh5pm.fsf@gnu.org>, Eli Zaretskii writes: > > > > Unless Handa objects, I'd recommend we change encode_coding_string to be > > > > a nop on unibyte strings (tho, we may want to let it obey EOL > > > > conversions). > > > > > > I don't object to that change. > > > > For strings only (i.e. in coding.h:encode_coding_string) or on the > > more basic level, in coding.c:encode_coding_object? > Ping! At the moment, all I can say is that changing coding.h:encode_coding_string is quite safe. But, encode_coding_object is used by Lisp functions encode-coding-region and encode-coding-string, and thus the change will break some packages that use them on unibyte string/buffer. --- Kenichi Handa handa@m17n.org