GNU bug report logs - #5050
23.1; efiff: Displaying bytes instead of characters in messages

Previous Next

Package: emacs;

Reported by: Sebastian Rose <sebastian_rose <at> gmx.de>

Date: Thu, 26 Nov 2009 19:20:03 UTC

Severity: minor

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #33 received at 5050 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: Sebastian Rose <sebastian_rose <at> gmx.de>, 5050 <at> debbugs.gnu.org
Subject: Re: bug#5050: 23.1; efiff: Displaying bytes instead of characters
 in messages
Date: Thu, 20 Aug 2020 21:42:47 +0200
(defun ediff-exec-process (program buffer synch options &rest files)

[...]

	;; If this is a buffer job, we are diffing temporary files
	;; produced by Emacs with ediff-coding-system-for-write, so
	;; use the same encoding to read the results.
	(coding-system-for-read
	 (if (string-match "buffer" (symbol-name ediff-job-name))
	     ediff-coding-system-for-write
	   ediff-coding-system-for-read))
	args)

This is the problem: ediff-coding-system-for-read is raw-text, which
gives us the binary data in the buffer instead of characters.

Hm...  Looks like it's been raw-text since basically forever.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





This bug report was last modified 4 years and 278 days ago.

Previous Next


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