GNU bug report logs - #5313
editing files in hexl-mode corrupts file

Previous Next

Package: emacs;

Reported by: Jonathan Underwood <jonathan.underwood <at> gmail.com>

Date: Tue, 5 Jan 2010 14:09:08 UTC

Severity: normal

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jonathan Underwood <jonathan.underwood <at> gmail.com>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 5313 <at> debbugs.gnu.org
Subject: bug#5313: editing files in hexl-mode corrupts file
Date: Thu, 14 Jan 2010 13:36:48 +0000
2010/1/14 Juanma Barranquero <lekktu <at> gmail.com>:
> Could you please try the following patch?
>
> === modified file 'lisp/hexl.el'
> --- lisp/hexl.el        2010-01-13 08:35:10 +0000
> +++ lisp/hexl.el        2010-01-14 00:38:04 +0000
> @@ -779,7 +779,7 @@
>
>  (defun hexl-printable-character (ch)
>   "Return a displayable string for character CH."
> -  (format "%c" (if hexl-iso
> +  (format "%c" (if (not (equal hexl-iso ""))
>                   (if (or (< ch 32) (and (>= ch 127) (< ch 160)))
>                       46
>                     ch)
>

Thanks. I have pushed builds for Fedora 11 and 12 incorporating that patch.




This bug report was last modified 15 years and 132 days ago.

Previous Next


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