GNU bug report logs - #3229
23.0.93; ediff-directories isn't buffer coding system independent

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Robert Marshall <robert.marshall@HIDDEN>; dated Wed, 6 May 2009 09:50:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Andrew Hyatt <ahyatt@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 3229 <at> debbugs.gnu.org:


Received: (at 3229) by debbugs.gnu.org; 16 Jun 2016 03:54:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 15 23:54:26 2016
Received: from localhost ([127.0.0.1]:42779 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bDONt-0002uU-OG
	for submit <at> debbugs.gnu.org; Wed, 15 Jun 2016 23:54:25 -0400
Received: from mail-qk0-f177.google.com ([209.85.220.177]:35471)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ahyatt@HIDDEN>) id 1bDONs-0002uI-7t
 for 3229 <at> debbugs.gnu.org; Wed, 15 Jun 2016 23:54:24 -0400
Received: by mail-qk0-f177.google.com with SMTP id c73so41744788qkg.2
 for <3229 <at> debbugs.gnu.org>; Wed, 15 Jun 2016 20:54:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=rrYfFa+u7yE6to9f9MNpAaFcnkoucrwh0SbtRUFRyyE=;
 b=grkSZ3Hidazs66Bg1QtDhphPwnKeA+rd/LmhBcou534Ojtx3y9sZhiTAallNDeU7KS
 Nrr0XpxDuCNjzf7poMQYgCRy29+/drlEZ6ybiBXtXsqmuorNzLmtPBI7ZiuxBAcixwEe
 jdehDDnDjifh+CfcvcONmofdC0dKTrUdAzT8+KxvacupknfjhS4p7+W+G3JoXQswMHAT
 KJp7pKWIBq2n6ajxONW1HOqDysR77COtE0wrM6gCwiIS8dCDJ42vYfaIuNNvpFX3NwIs
 MMEZIn65xG3ATjw8MPqnwRBgnWU3P3BA6hLXsNA8YOIpZuwJ8dMlGUQmGfjIF2WcPC9v
 EGHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=rrYfFa+u7yE6to9f9MNpAaFcnkoucrwh0SbtRUFRyyE=;
 b=JftrSwGgZ4/8QzVQgMSuI0X7E9Da9kDgK4MaFXXne7rItVricBsVjUTXt4qcMhy7/J
 tgeIeYjlpz8/lm8zHH7tJZTfUW4RPy9I1VR53DgIVGiTGDhkq+IJ9hWuRPCthBuKFAR5
 i0XPi/LubmkA4uFqikAEGTUipFbIlEFYpYN46v94LBSYgYQue6f27lbDui3JIwi3UYvY
 qQsrUB6KQxQfXjaQf9wO9O/UsNTc5QOq/9rO1raHSAfX0EOC4ZXshzpNb5yxhOoeHyhy
 hZc9/dp3m+9yOCULrwvmqBTOoLkMcSt8nykjuRWBoAF89/OJ83hcaFf/n2JRHvyq3PYN
 BklQ==
X-Gm-Message-State: ALyK8tLExryH1fHuhDtjUqj9ODFw1vdfR3UgomrOCN33DAlrtl0yGRAokdEPEVYithgqew==
X-Received: by 10.55.69.69 with SMTP id s66mr2488787qka.117.1466049258626;
 Wed, 15 Jun 2016 20:54:18 -0700 (PDT)
Received: from Andrews-MacBook-Pro.local (cpe-74-73-128-199.nyc.res.rr.com.
 [74.73.128.199])
 by smtp.gmail.com with ESMTPSA id 13sm10555148qki.3.2016.06.15.20.54.16
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 15 Jun 2016 20:54:17 -0700 (PDT)
From: Andrew Hyatt <ahyatt@HIDDEN>
To: "Drew Adams" <drew.adams@HIDDEN>
Subject: Re: bug#3229: 23.0.93;
 ediff-directories isn't buffer coding system independent
References: <873abipo0e.fsf@HIDDEN>
 <jwvvdoejohq.fsf-monnier+emacsbugreports@HIDDEN>
 <004c01c9ce5c$c5f04220$c2b22382@HIDDEN>
Date: Wed, 15 Jun 2016 23:54:07 -0400
In-Reply-To: <004c01c9ce5c$c5f04220$c2b22382@HIDDEN> (Drew Adams's
 message of "Wed, 6 May 2009 08:10:19 -0700")
Message-ID: <m2lh25pz4w.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 3229
Cc: 3229 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)


"Drew Adams" <drew.adams@HIDDEN> writes:

>> > I have two files with the same name (extracted from two svn
>> > repositories) one of which has a coding system of undecided-dos, the
>> > other is undecided-unix.
>> 
>> > WHen I perform an ediff-buffers between the two files loaded into
>> > emacs I get - correctly - zero reported differences. 
>> > However if I look at the differences using ediff-directories I
>> > get a single difference region consisting of the whole file.
>> 
>> Presumably you'll get the same "one big hunk diff" if you use
>> ediff-files.  Both ediff-files and ediff-directories work (as the name
>> implies) on files (and directories), not on buffers.  While the two
>> buffers show similar (or even identical) contents, the corresponding
>> files are different (contain different byte sequences because of the
>> different coding-system).
>
> Caveat: I haven't followed this thread, but this sounds similar to bug #1183.
>
> I believe that the #1183 thread ended with Eli asking Michael Kifer to have
> Ediff let you know that the two have the same (or similar) content but different
> coding systems and hence different byte sequences.
>
> Perhaps that never got fixed/finished?

It sounds to me that this is more of a feature request than a bug at
this point. If anyone disagrees, let me know, otherwise I'll reclassify
this in a few weeks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#3229; Package emacs. Full text available.

Message received at 3229@HIDDEN:


Received: (at 3229) by emacsbugs.donarmstrong.com; 6 May 2009 15:10:34 +0000
From drew.adams@HIDDEN Wed May  6 08:10:33 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-5.2 required=4.0 tests=AWL,HAS_BUG_NUMBER
	autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from acsinet12.oracle.com (acsinet12.oracle.com [141.146.126.234])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n46FAT0A019662
	for <3229@HIDDEN>; Wed, 6 May 2009 08:10:31 -0700
Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117])
	by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n46FAG5P009768
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 6 May 2009 15:10:17 GMT
Received: from abhmt005.oracle.com (abhmt005.oracle.com [141.146.116.14])
	by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n46FAM6D005564;
	Wed, 6 May 2009 15:10:22 GMT
Received: from dradamslap1 (/130.35.178.194)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Wed, 06 May 2009 08:10:20 -0700
From: "Drew Adams" <drew.adams@HIDDEN>
To: "'Stefan Monnier'" <monnier@HIDDEN>,
        <3229 <at> debbugs.gnu.org>,
        "'Robert Marshall'" <robert.marshall@HIDDEN>
Cc: <emacs-pretest-bug@HIDDEN>
References: <873abipo0e.fsf@HIDDEN> <jwvvdoejohq.fsf-monnier+emacsbugreports@HIDDEN>
Subject: RE: bug#3229: 23.0.93;ediff-directories isn't buffer coding system independent
Date: Wed, 6 May 2009 08:10:19 -0700
Message-ID: <004c01c9ce5c$c5f04220$c2b22382@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <jwvvdoejohq.fsf-monnier+emacsbugreports@HIDDEN>
Thread-Index: AcnOW47Om0jQhVWLRta48mgFBJ6wBwAAF2yg
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-Source-IP: abhmt005.oracle.com [141.146.116.14]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A010209.4A01A85D.02A4:SCFSTAT5015188,ss=1,fgs=0

> > I have two files with the same name (extracted from two svn
> > repositories) one of which has a coding system of undecided-dos, the
> > other is undecided-unix.
> 
> > WHen I perform an ediff-buffers between the two files loaded into
> > emacs I get - correctly - zero reported differences. 
> > However if I look at the differences using ediff-directories I
> > get a single difference region consisting of the whole file.
> 
> Presumably you'll get the same "one big hunk diff" if you use
> ediff-files.  Both ediff-files and ediff-directories work (as the name
> implies) on files (and directories), not on buffers.  While the two
> buffers show similar (or even identical) contents, the corresponding
> files are different (contain different byte sequences because of the
> different coding-system).

Caveat: I haven't followed this thread, but this sounds similar to bug #1183.

I believe that the #1183 thread ended with Eli asking Michael Kifer to have
Ediff let you know that the two have the same (or similar) content but different
coding systems and hence different byte sequences.

Perhaps that never got fixed/finished?





Acknowledgement sent to "Drew Adams" <drew.adams@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#3229; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 6 May 2009 15:10:42 +0000
From drew.adams@HIDDEN Wed May  6 08:10:41 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-5.2 required=4.0 tests=AWL,HAS_BUG_NUMBER
	autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n46FAcPc019710
	for <submit@HIDDEN>; Wed, 6 May 2009 08:10:39 -0700
Received: from mx10.gnu.org ([199.232.76.166]:35176)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <drew.adams@HIDDEN>)
	id 1M1ilZ-0002Fi-96
	for emacs-pretest-bug@HIDDEN; Wed, 06 May 2009 11:10:37 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <drew.adams@HIDDEN>)
	id 1M1ilX-0006yD-L0
	for emacs-pretest-bug@HIDDEN; Wed, 06 May 2009 11:10:36 -0400
Received: from acsinet12.oracle.com ([141.146.126.234]:30721)
	by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60)
	(envelope-from <drew.adams@HIDDEN>)
	id 1M1ilX-0006y0-7b
	for emacs-pretest-bug@HIDDEN; Wed, 06 May 2009 11:10:35 -0400
Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117])
	by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n46FAG5P009768
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 6 May 2009 15:10:17 GMT
Received: from abhmt005.oracle.com (abhmt005.oracle.com [141.146.116.14])
	by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n46FAM6D005564;
	Wed, 6 May 2009 15:10:22 GMT
Received: from dradamslap1 (/130.35.178.194)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Wed, 06 May 2009 08:10:20 -0700
From: "Drew Adams" <drew.adams@HIDDEN>
To: "'Stefan Monnier'" <monnier@HIDDEN>,
        <3229 <at> debbugs.gnu.org>,
        "'Robert Marshall'" <robert.marshall@HIDDEN>
Cc: <emacs-pretest-bug@HIDDEN>
References: <873abipo0e.fsf@HIDDEN> <jwvvdoejohq.fsf-monnier+emacsbugreports@HIDDEN>
Subject: RE: bug#3229: 23.0.93;ediff-directories isn't buffer coding system independent
Date: Wed, 6 May 2009 08:10:19 -0700
Message-ID: <004c01c9ce5c$c5f04220$c2b22382@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <jwvvdoejohq.fsf-monnier+emacsbugreports@HIDDEN>
Thread-Index: AcnOW47Om0jQhVWLRta48mgFBJ6wBwAAF2yg
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-Source-IP: abhmt005.oracle.com [141.146.116.14]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A010209.4A01A85D.02A4:SCFSTAT5015188,ss=1,fgs=0
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1)

> > I have two files with the same name (extracted from two svn
> > repositories) one of which has a coding system of undecided-dos, the
> > other is undecided-unix.
> 
> > WHen I perform an ediff-buffers between the two files loaded into
> > emacs I get - correctly - zero reported differences. 
> > However if I look at the differences using ediff-directories I
> > get a single difference region consisting of the whole file.
> 
> Presumably you'll get the same "one big hunk diff" if you use
> ediff-files.  Both ediff-files and ediff-directories work (as the name
> implies) on files (and directories), not on buffers.  While the two
> buffers show similar (or even identical) contents, the corresponding
> files are different (contain different byte sequences because of the
> different coding-system).

Caveat: I haven't followed this thread, but this sounds similar to bug #1183.

I believe that the #1183 thread ended with Eli asking Michael Kifer to have
Ediff let you know that the two have the same (or similar) content but different
coding systems and hence different byte sequences.

Perhaps that never got fixed/finished?





Acknowledgement sent to "Drew Adams" <drew.adams@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#3229; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 6 May 2009 14:34:56 +0000
From monnier@HIDDEN Wed May  6 07:34:55 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,HAS_BUG_NUMBER,XIRONPORT
	autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n46EYqYJ008277
	for <submit@HIDDEN>; Wed, 6 May 2009 07:34:53 -0700
Received: from mail.gnu.org ([199.232.76.166]:55147 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <monnier@HIDDEN>)
	id 1M1iCx-0000Sy-V7
	for emacs-pretest-bug@HIDDEN; Wed, 06 May 2009 10:34:52 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <monnier@HIDDEN>)
	id 1M1iCx-0005MM-5y
	for emacs-pretest-bug@HIDDEN; Wed, 06 May 2009 10:34:51 -0400
Received: from ironport2-out.pppoe.ca ([206.248.154.182]:49239 helo=ironport2-out.teksavvy.com)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <monnier@HIDDEN>)
	id 1M1i7V-0003QG-H0
	for emacs-pretest-bug@HIDDEN; Wed, 06 May 2009 10:29:13 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArUFAMc7AUrO+IYe/2dsb2JhbACBUM9thAEFhU4
X-IronPort-AV: E=Sophos;i="4.40,302,1238990400"; 
   d="scan'208";a="38068542"
Received: from 206-248-134-30.dsl.teksavvy.com (HELO pastel.home) ([206.248.134.30])
  by ironport2-out.teksavvy.com with ESMTP; 06 May 2009 10:29:02 -0400
Received: by pastel.home (Postfix, from userid 20848)
	id 964D27F75; Wed,  6 May 2009 10:29:02 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Robert Marshall <robert.marshall@HIDDEN>
Cc: 3229 <at> debbugs.gnu.org, emacs-pretest-bug@HIDDEN
Subject: Re: bug#3229: 23.0.93; ediff-directories isn't buffer coding system independent
Message-ID: <jwvvdoejohq.fsf-monnier+emacsbugreports@HIDDEN>
References: <873abipo0e.fsf@HIDDEN>
Date: Wed, 06 May 2009 10:29:02 -0400
In-Reply-To: <873abipo0e.fsf@HIDDEN> (Robert Marshall's message of "Wed,
	06 May 2009 10:41:05 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized.

> I have two files with the same name (extracted from two svn
> repositories) one of which has a coding system of undecided-dos, the
> other is undecided-unix.

> WHen I perform an ediff-buffers between the two files loaded into
> emacs I get - correctly - zero reported differences. However if I look
> at the differences using ediff-directories I get a single difference
> region consisting of the whole file.

Presumably you'll get the same "one big hunk diff" if you use
ediff-files.  Both ediff-files and ediff-directories work (as the name
implies) on files (and directories), not on buffers.  While the two
buffers show similar (or even identical) contents, the corresponding
files are different (contain different byte sequences because of the
different coding-system).


        Stefan




Acknowledgement sent to Stefan Monnier <monnier@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#3229; Package emacs. Full text available.

Message received at 3229@HIDDEN:


Received: (at 3229) by emacsbugs.donarmstrong.com; 6 May 2009 14:29:12 +0000
From monnier@HIDDEN Wed May  6 07:29:12 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,HAS_BUG_NUMBER,XIRONPORT
	autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n46ET8X4006730
	for <3229@HIDDEN>; Wed, 6 May 2009 07:29:10 -0700
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArUFAMc7AUrO+IYe/2dsb2JhbACBUM9thAEFhU4
X-IronPort-AV: E=Sophos;i="4.40,302,1238990400"; 
   d="scan'208";a="38068542"
Received: from 206-248-134-30.dsl.teksavvy.com (HELO pastel.home) ([206.248.134.30])
  by ironport2-out.teksavvy.com with ESMTP; 06 May 2009 10:29:02 -0400
Received: by pastel.home (Postfix, from userid 20848)
	id 964D27F75; Wed,  6 May 2009 10:29:02 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Robert Marshall <robert.marshall@HIDDEN>
Cc: 3229 <at> debbugs.gnu.org, emacs-pretest-bug@HIDDEN
Subject: Re: bug#3229: 23.0.93; ediff-directories isn't buffer coding system independent
Message-ID: <jwvvdoejohq.fsf-monnier+emacsbugreports@HIDDEN>
References: <873abipo0e.fsf@HIDDEN>
Date: Wed, 06 May 2009 10:29:02 -0400
In-Reply-To: <873abipo0e.fsf@HIDDEN> (Robert Marshall's message of "Wed,
	06 May 2009 10:41:05 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

> I have two files with the same name (extracted from two svn
> repositories) one of which has a coding system of undecided-dos, the
> other is undecided-unix.

> WHen I perform an ediff-buffers between the two files loaded into
> emacs I get - correctly - zero reported differences. However if I look
> at the differences using ediff-directories I get a single difference
> region consisting of the whole file.

Presumably you'll get the same "one big hunk diff" if you use
ediff-files.  Both ediff-files and ediff-directories work (as the name
implies) on files (and directories), not on buffers.  While the two
buffers show similar (or even identical) contents, the corresponding
files are different (contain different byte sequences because of the
different coding-system).


        Stefan




Acknowledgement sent to Stefan Monnier <monnier@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#3229; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 6 May 2009 09:41:52 +0000
From robert.marshall@HIDDEN Wed May  6 02:41:52 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n469fjU3018705
	for <submit@HIDDEN>; Wed, 6 May 2009 02:41:47 -0700
Received: from mail.gnu.org ([199.232.76.166]:51524 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <robert.marshall@HIDDEN>)
	id 1M1ddI-0003cV-RT
	for emacs-pretest-bug@HIDDEN; Wed, 06 May 2009 05:41:44 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <robert.marshall@HIDDEN>)
	id 1M1ddE-0002Y3-MY
	for emacs-pretest-bug@HIDDEN; Wed, 06 May 2009 05:41:44 -0400
Received: from mx20.gnu.org ([199.232.41.8]:50678)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60)
	(envelope-from <robert.marshall@HIDDEN>)
	id 1M1ddE-0002XO-4p
	for emacs-pretest-bug@HIDDEN; Wed, 06 May 2009 05:41:40 -0400
Received: from tnei.co.uk ([83.170.102.119] helo=mail.tnei-mail.com)
	by mx20.gnu.org with esmtp (Exim 4.60)
	(envelope-from <robert.marshall@HIDDEN>)
	id 1M1ddC-0004dE-7i
	for emacs-pretest-bug@HIDDEN; Wed, 06 May 2009 05:41:38 -0400
Received: from mangw.ipsa-power.com ([83.138.33.114] helo=robert-laptop.tnei.co.uk)
	by mail.tnei-mail.com with esmtp (Exim 4.63)
	(envelope-from <robert.marshall@HIDDEN>)
	id 1M1di8-0007R1-RD
	for emacs-pretest-bug@HIDDEN; Wed, 06 May 2009 10:47:05 +0100
Date: Wed, 06 May 2009 10:41:05 +0100
Message-Id: <873abipo0e.fsf@HIDDEN>
From: Robert Marshall <robert.marshall@HIDDEN>
To: emacs-pretest-bug@HIDDEN
X-SA-Exim-Connect-IP: 83.138.33.114
X-SA-Exim-Mail-From: robert.marshall@HIDDEN
Subject: 23.0.93; ediff-directories isn't buffer coding system independent
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on mail.tnei-mail.com)
X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized.

I have two files with the same name (extracted from two svn
repositories) one of which has a coding system of undecided-dos, the
other is undecided-unix.

WHen I perform an ediff-buffers between the two files loaded into
emacs I get - correctly - zero reported differences. However if I look
at the differences using ediff-directories I get a single difference
region consisting of the whole file.

If I manually set the coding systems in the two files to be identical
then ediff-directories works correctly reporting no differences.


In GNU Emacs 23.0.93.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-05-05 on robert-laptop
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: F90

Minor modes in effect:
  desktop-save-mode: t
  recentf-mode: t
  show-paren-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:

Recent messages:
Processing difference regions ... done
Region 1 exceeds the auto-refinement limit. Type `*' to refine [2 times]
Quit this Ediff session & show containing session group? (y or n) 
Quit this session group? (y or n) 
Making completion list... [2 times]
Computing differences between iec909MatrixOps.f90 and iec909MatrixOps.f906806DzI ...
Processing difference regions ... done
Quit this Ediff session? (y or n) 
Making completion list... [2 times]
Type C-x 4 C-o RET to restore the other window, C-M-v to scroll help.




Acknowledgement sent to Robert Marshall <robert.marshall@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#3229; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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