From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#8417: hexlify-buffer Date: Mon, 04 Apr 2011 21:50:50 +0300 Message-ID: <837hb9x33p.fsf@gnu.org> References: <4D9890C3.4040803@comcast.net> <83r59jw6iy.fsf@gnu.org> <4D98CB8C.4070007@comcast.net> <83k4fbvyd8.fsf@gnu.org> <4D990F77.60008@comcast.net> <83hbaewwke.fsf@gnu.org> <4D99704F.5000308@comcast.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1301944059 30264 80.91.229.12 (4 Apr 2011 19:07:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Apr 2011 19:07:39 +0000 (UTC) To: donharter@comcast.net, 8417-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 04 21:07:35 2011 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.69) (envelope-from ) id 1Q6p7e-0001wp-OQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Apr 2011 21:07:35 +0200 Original-Received: from localhost ([127.0.0.1]:32785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6p7d-000668-OJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Apr 2011 15:07:33 -0400 Original-Received: from [140.186.70.92] (port=43913 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6p7O-0005t8-6o for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 15:07:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6p7N-00053U-8F for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 15:07:18 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6p7N-00053N-3l for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 15:07:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q6osc-0001C6-Lj for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 14:52:02 -0400 Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Apr 2011 18:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 8417 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 8417@debbugs.gnu.org, eliz@gnu.org Original-Received: via spool by 8417-done@debbugs.gnu.org id=D8417.13019430824541 (code D ref 8417); Mon, 04 Apr 2011 18:52:02 +0000 Original-Received: (at 8417-done) by debbugs.gnu.org; 4 Apr 2011 18:51:22 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6orx-0001BC-Vr for submit@debbugs.gnu.org; Mon, 04 Apr 2011 14:51:22 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6orv-0001Az-LO for 8417-done@debbugs.gnu.org; Mon, 04 Apr 2011 14:51:20 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LJ500H004XU5100@a-mtaout20.012.net.il> for 8417-done@debbugs.gnu.org; Mon, 04 Apr 2011 21:50:46 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.47.180]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LJ500GT95OJJX90@a-mtaout20.012.net.il>; Mon, 04 Apr 2011 21:50:45 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 04 Apr 2011 14:52:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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:45628 Archived-At: > Date: Mon, 04 Apr 2011 07:50:19 -0400 > From: Eli Zaretskii > Cc: 8417@debbugs.gnu.org > > [Please don't remove the bug tracker address from the CC list.] > > > Date: Mon, 04 Apr 2011 02:16:31 -0500 > > From: Don Harter > > > > Yes the same thing happens. > > > > > > On 04/03/2011 09:59 PM, Eli Zaretskii wrote: > > >> Date: Sun, 03 Apr 2011 19:23:19 -0500 > > >> From: Don Harter > > >> > > >> The same thing happens when I do "emacs -Q ". > > > How about "LC_ALL=C emacs -Q", does it happen even then? > > Does this happen with other files as well, or just with this one? Okay, I see the problem now. It is triggered because this particular file is encoded in UTF-8 with signature (BOM). This triggers a bug in Emacs 23.1, which is fixed in Emacs 23.2 and later (the latest release is version 23.3). So the solution for you would be to upgrade to a newer Emacs. Failing that, you can work around the problem by typing this in Emacs, before you invoke hexlify-buffer: C-x RET f utf-8 RET C-x C-s This will recode the file in UTF-8, but without the BOM, and then the bug in hexl will not be triggered. I'm closing this bug. Thanks for all your patience in following up.