GNU bug report logs - #8417
hexlify-buffer

Previous Next

Package: emacs;

Reported by: Don Harter <donharter <at> comcast.net>

Date: Sun, 3 Apr 2011 17:36:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 8417-done <at> debbugs.gnu.org (full text, mbox):

From: Don Harter <donharter <at> comcast.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 8417-done <at> debbugs.gnu.org
Subject: Re: bug#8417: hexlify-buffer
Date: Tue, 05 Apr 2011 02:03:23 -0500
Thanks.  This works.  I can hexlify-buffer when I reload the file.
It also fixed a problem that I was having with bash and postgresql.  
That extra coding was causing statements to error when they should not have.

On 04/04/2011 01:50 PM, Eli Zaretskii wrote:
>> Date: Mon, 04 Apr 2011 07:50:19 -0400
>> From: Eli Zaretskii<eliz <at> gnu.org>
>> Cc: 8417 <at> 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<donharter <at> comcast.net>
>>>
>>> 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<donharter <at> comcast.net>
>>>>>
>>>>> 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.
>




This bug report was last modified 14 years and 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.