From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4047: marked as done (23.1.1: hexl-mode doesn't like UTF8 files with a byte-order mark) Date: Sat, 22 Aug 2009 10:30:07 +0000 Message-ID: References: <83praof8mu.fsf@gnu.org> <20090805140131.19FBE606865@ws1-4.us4.outblaze.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1250937007-2635-0" X-Trace: ger.gmane.org 1250938136 20623 80.91.229.12 (22 Aug 2009 10:48:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2009 10:48:56 +0000 (UTC) To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 22 12:48:40 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 1Meo9G-0001fG-Hk for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Aug 2009 12:48:39 +0200 Original-Received: from localhost ([127.0.0.1]:58216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Meo9G-00047g-0A for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Aug 2009 06:48:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Meo9A-00047Y-WB for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2009 06:48:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Meo95-00043J-DA for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2009 06:48:31 -0400 Original-Received: from [199.232.76.173] (port=56057 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Meo95-00043G-6R for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2009 06:48:27 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55534) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Meo91-0001ba-NX; Sat, 22 Aug 2009 06:48:24 -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 n7MAkpWw005660; Sat, 22 Aug 2009 03:46:52 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7MAU7vV002654; Sat, 22 Aug 2009 03:30:07 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4047 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:30475 Archived-At: This is a multi-part message in MIME format... ------------=_1250937007-2635-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 22 Aug 2009 13:25:13 +0300 with message-id <83praof8mu.fsf@gnu.org> and subject line Re: bug#4047: 23.1.1: hexl-mode doesn't like UTF8 files wi= th a byte-order mark has caused the Emacs bug report #4047, regarding 23.1.1: hexl-mode doesn't like UTF8 files with a byte-order mark to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4047: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4047 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1250937007-2635-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 5 Aug 2009 14:01:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n75E1sbe014210 for ; Wed, 5 Aug 2009 07:01:55 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYh3x-0002IX-Uk for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 10:01:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYh3s-00025l-Pd for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 10:01:53 -0400 Received: from [199.232.76.173] (port=47490 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYh3s-00025T-M3 for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 10:01:48 -0400 Received: from outbound1-1.us4.outblaze.com ([208.36.123.129]:47685) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MYh3r-0006SF-VM for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 10:01:48 -0400 Received: from wfilter3.us4.outblaze.com (wfilter3.us4.outblaze.com.int [192.168.8.242]) by outbound1-1.us4.outblaze.com (Postfix) with ESMTP id 4BC8D7A0DF9 for ; Wed, 5 Aug 2009 14:01:31 +0000 (GMT) Received: from ws1-4.us4.outblaze.com (ws1-4.us4.outblaze.com [205.158.62.50]) (sender bogossian@mail.com) by wfilter3.us4.outblaze.com (LotusLive iNotes outfilter/0.91) with ESMTP; Wed, 05 Aug 2009 14:01:31 +0000 Received: by ws1-4.us4.outblaze.com (Postfix, from userid 1001) id 19FBE606865; Wed, 5 Aug 2009 14:01:31 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 From: "Pierre Bogossian" To: bug-gnu-emacs@gnu.org Date: Wed, 5 Aug 2009 15:01:31 +0100 Subject: 23.1.1: hexl-mode doesn't like UTF8 files with a byte-order mark Received: from [20.33.44.195] by ws1-4.us4.outblaze.com with http for bogossian@mail.com; Wed, 5 Aug 2009 15:01:31 +0100 X-Originating-Ip: 20.33.44.195 X-Originating-Server: ws1-4.us4.outblaze.com X-Ob-Auth: bogossian:mail.com@mail.com Message-Id: <20090805140131.19FBE606865@ws1-4.us4.outblaze.com> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Hi, I'm testing the windows version of the new emacs 23.1.1 Here's what I noticed: If I open a UTF8 file with a byte-order mark, and if I try to enter hexl-mode, I get this error: "\357\273\277-hex: No such file o= r directory". The presence of the BOM is important, I can enter hexl-mode with no problem if I remove the BOM from the file. I did the same test with emacs 22.3.1 and it worked fine, so this looks like a regression. Unfortunately I can't test a unix version at the moment. Regards, Pierre --=20 Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com! ------------=_1250937007-2635-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4047-done) by emacsbugs.donarmstrong.com; 22 Aug 2009 10:27:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.1 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout1.012.net.il (mtaout1.012.net.il [84.95.2.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7MARH9D002099 for <4047-done@emacsbugs.donarmstrong.com>; Sat, 22 Aug 2009 03:27:18 -0700 Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KOR00M00WO6C500@i-mtaout1.012.net.il> for 4047-done@emacsbugs.donarmstrong.com; Sat, 22 Aug 2009 13:27:11 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.180.85]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KOR00BNHX199JB0@i-mtaout1.012.net.il>; Sat, 22 Aug 2009 13:27:10 +0300 (IDT) Date: Sat, 22 Aug 2009 13:25:13 +0300 From: Eli Zaretskii Subject: Re: bug#4047: 23.1.1: hexl-mode doesn't like UTF8 files with a byte-order mark In-reply-to: X-012-Sender: halo1@inter.net.il To: Kenichi Handa Cc: 4047-done@emacsbugs.donarmstrong.com, monnier@iro.umontreal.ca, bogossian@mail.com, schwab@linux-m68k.org Reply-to: Eli Zaretskii Message-id: <83praof8mu.fsf@gnu.org> References: <20090807085054.036E61BF28D@ws1-10.us4.outblaze.com> <837hxemr9h.fsf@gnu.org> <831vnmmoe3.fsf@gnu.org> <83d46ykbte.fsf@gnu.org> <83ljldh5pm.fsf@gnu.org> > From: Kenichi Handa > CC: 4047@emacsbugs.donarmstrong.com, monnier@iro.umontreal.ca, > bogossian@mail.com, schwab@linux-m68k.org > Date: Fri, 21 Aug 2009 21:18:53 +0900 > > 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. I fixed this in encode-coding-string. Thanks. ------------=_1250937007-2635-0--