bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5050: 23.1; efiff: Displaying bytes instead of characters in message


From: Lars Ingebrigtsen
Subject: bug#5050: 23.1; efiff: Displaying bytes instead of characters in messages
Date: Thu, 20 Aug 2020 21:42:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

(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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]