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

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

Re: Ediff fails on compressed files


From: Sven Joachim
Subject: Re: Ediff fails on compressed files
Date: Sun, 30 Oct 2005 10:06:07 +0100
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051017)

Eli Zaretskii wrote:
From: Sven Joachim <address@hidden>

Ediff often fails on compressed files.  Take the following steps to
reproduce it:

$ echo "foo" | gzip -c > foo.gz
$ echo "bar" | gzip -c > bar.gz
$ emacs -Q --eval '(ediff-files "foo.gz" "bar.gz")'

Emacs will beep and display the buffer "*ediff-errors*" containing a
line with

Binary files /tmp/foo.gz and /tmp/bar.gz differ


And why is that a bug?

It works on Emacs 21, provided that auto-compression-mode is enabled.
So I think it should work on Emacs 22, too.

Perhaps you want `ediff-buffers', not `ediff-files'?

Well, `ediff-buffers' fails the same way. :-(
If you want to reproduce it, be sure to remove the files
/tmp/{foo,bar}.gz first -- if they exist, the bug is not triggered.

(And create the original ones in your home directory, not in /tmp.)






reply via email to

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