GNU logs - #3348, boring messages


Message sent to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:


X-Loop: owner@HIDDEN
Subject: bug#3348: 23.0.92.1; Ediff: Creating a multi-file patch
Reply-To: Jon Strait <jstrait@HIDDEN>, 3348 <at> debbugs.gnu.org
Resent-From: Jon Strait <jstrait@HIDDEN>
Resent-To: bug-submit-list@HIDDEN
Resent-CC: Emacs Bugs <bug-gnu-emacs@HIDDEN>
Resent-Date: Fri, 22 May 2009 03:45:03 +0000
Resent-Message-ID: <handler.3348.B.124296368122522@HIDDEN>
Resent-Sender: help-debbugs@HIDDEN
X-Emacs-PR-Message: report 3348
X-Emacs-PR-Package: emacs
X-Emacs-PR-Keywords: 
Received: via spool by submit@HIDDEN id=B.124296368122522
          (code B ref -1); Fri, 22 May 2009 03:45:03 +0000
Received: (at submit) by emacsbugs.donarmstrong.com; 22 May 2009 03:41:21 +0000
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.0 required=4.0 tests=MURPHY_DRUGS_REL8
	autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4M3fIoP022515
	for <submit@HIDDEN>; Thu, 21 May 2009 20:41:19 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1M7LdG-00079p-5z
	for bug-gnu-emacs@HIDDEN; Thu, 21 May 2009 23:41:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1M7LdA-00079d-CI
	for bug-gnu-emacs@HIDDEN; Thu, 21 May 2009 23:41:16 -0400
Received: from [199.232.76.173] (port=50977 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1M7LdA-00079a-6H
	for bug-gnu-emacs@HIDDEN; Thu, 21 May 2009 23:41:12 -0400
Received: from smtp.novuscom.net ([216.19.176.3]:39520 helo=novuscom.net)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <jstrait@HIDDEN>)
	id 1M7Ld9-00067V-Qn
	for bug-gnu-emacs@HIDDEN; Thu, 21 May 2009 23:41:12 -0400
Received: (qmail 11114 invoked from network); 22 May 2009 03:40:58 -0000
Received: from 216-19-179-189.dyn.novuscom.net (HELO [192.168.0.101]) ([216.19.179.189])
          (envelope-sender <jstrait@HIDDEN>)
          by smtp.novuscom.net (qmail-ldap-1.03) with SMTP
          for <bug-gnu-emacs@HIDDEN>; 22 May 2009 03:40:58 -0000
Message-ID: <4A161D61.6010100@HIDDEN>
Date: Thu, 21 May 2009 20:34:57 -0700
From: Jon Strait <jstrait@HIDDEN>
User-Agent: Thunderbird 2.0.0.19 (X11/20090213)
MIME-Version: 1.0
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4)

The modified flag is not being set on the patch results buffer when 
ediff-collect-custom-diffs is rerun.

1. Mark the sessions within an ediff-directories session.
2. Run ediff-collect-custom-diffs, which creates a multi-file     patch 
and displays the buffer with this patch.
3. Save this buffer to a file 'foo.patch' with write-file.
4. Change one of the files included in the session group.
5. Run ediff-collect-custom-diffs on the same session             group 
again.
6. The new patch will be displayed as the buffer 'foo.patch',     but 
the buffer's modified flag is not set.





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)
Content-Type: text/plain; charset=utf-8
X-Loop: owner@HIDDEN
From: help-debbugs@HIDDEN (Emacs bug Tracking System)
To: Jon Strait <jstrait@HIDDEN>
Subject: bug#3348: Acknowledgement (23.0.92.1; Ediff: Creating a 
 multi-file patch)
Message-ID: <handler.3348.B.124296368122522.ack@HIDDEN>
References: <4A161D61.6010100@HIDDEN>
X-Emacs-PR-Message: ack 3348
X-Emacs-PR-Package: emacs
Reply-To: 3348 <at> debbugs.gnu.org
Date: Fri, 22 May 2009 03:45:04 +0000


Thank you for filing a new bug report with Emacs.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 Emacs Bugs <bug-gnu-emacs@HIDDEN>

If you wish to submit further information on this problem, please
send it to 3348 <at> debbugs.gnu.org, as before.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.


--=20
3348: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3348
Emacs Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#3348: 23.0.92.1; Ediff: Creating a multi-file patch
References: <4A161D61.6010100@HIDDEN>
In-Reply-To: <4A161D61.6010100@HIDDEN>
Resent-From: Noam Postavsky <npostavs@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 03 Jun 2016 20:11:02 +0000
Resent-Message-ID: <handler.3348.B3348.1464984649476 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 3348
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 3348 <at> debbugs.gnu.org
Received: via spool by 3348-submit <at> debbugs.gnu.org id=B3348.1464984649476
          (code B ref 3348); Fri, 03 Jun 2016 20:11:02 +0000
Received: (at 3348) by debbugs.gnu.org; 3 Jun 2016 20:10:49 +0000
Received: from localhost ([127.0.0.1]:53497 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b8vQf-00007a-LN
	for submit <at> debbugs.gnu.org; Fri, 03 Jun 2016 16:10:49 -0400
Received: from mail-oi0-f45.google.com ([209.85.218.45]:33550)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1b8vQd-00007B-TY
 for 3348 <at> debbugs.gnu.org; Fri, 03 Jun 2016 16:10:48 -0400
Received: by mail-oi0-f45.google.com with SMTP id k23so144003755oih.0
 for <3348 <at> debbugs.gnu.org>; Fri, 03 Jun 2016 13:10:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:from:date:message-id:subject:to;
 bh=31sdiF+IUprb6HnBaa15yc+rNFeEK2f1mChT6BO/rro=;
 b=q8ykzCXMS4nI3Pfj27Wy3NwIgo1Rq4NNGfkqsoD6C2wPQXgnQoMaz08VA2kCi6kkkk
 piU4VtNGf7PMbptgRIPsqKKhPXJPa2/6JD+PZGSl8x4gi169NaUK7Cvq3zgSUYSaLtDu
 c45QgL1E0bVew0pVYQ6rsYOPiMkbdLFU+bJ+ZhKlnCgzbP/TDM9JSX81VdOXzRNyRFux
 jzYIhU4I/7+kVHy5A5umfLxVcu5rn7mT2WBxWlDePeDwOxGkLRMhrGvc3dnoP7bnP53/
 97ddxlk2cC11Hmj/0VLOWF3PDGbsEWRssJtd73gb0BECC7tjzKGGcktW3qaraWiAANpR
 WPng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:from:date:message-id:subject
 :to; bh=31sdiF+IUprb6HnBaa15yc+rNFeEK2f1mChT6BO/rro=;
 b=aYfhv0V3Un58Vhs7Tidtiwu/rGkp574wauIk6wpmUu+nhm8wLY0X9i13Hp2LvKG9Np
 P5m5+ZsSCaTU981fAHC+y7t/Ip28Oa/l4y//ko53o1B712DQ1jwpSP9qnv+GqKVU0VpE
 ICLfGlKfI+q2ACGezDHaBY8I5J0MS35K+ErGn2glNF4PYLNcnSs7nt3Vz/xqpnMh3mw1
 kpJnI4nyThqJKPq3awa2Yls0x8BXllJNjXF/duZ+KDis7XsyOOu552GpNHVpoKjgjg1V
 a5PH5xLJEPNGE3m+M8voOQcPEexrRc7qCjMaJKWKKscn6ZkVc8qMkysrGpER+CU/3eeh
 H8Vw==
X-Gm-Message-State: ALyK8tI3xRFvmUKfFS5vBqshGtCmvmx11PewbYIrj6GLYQfNtYuS6K3UTTxM52IeawegsJYHXANA4a3jtB0r+A==
X-Received: by 10.157.1.165 with SMTP id e34mr3080852ote.35.1464984642341;
 Fri, 03 Jun 2016 13:10:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.34.169 with HTTP; Fri, 3 Jun 2016 13:10:41 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
Date: Fri, 3 Jun 2016 16:10:41 -0400
X-Google-Sender-Auth: Mu5NvNaVJQiTqq8MzHpQ3cxIUkY
Message-ID: <CAM-tV--4OodvFzFAL17j==fkP-EnTGfien_qjQ7dCi7U6N16aw@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.5 (/)
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.5 (/)

tag 3348 + confirmed
severity 3348 minor
found 3348 25.0.94
quit

Confirmed this is still an issue. Here is an elisp script for easier
reproduction (run as emacs -Q -l bug-3348.el):

(defconst bug-3348-test-dir
  (expand-file-name "bug-3348-testdir" temporary-file-directory))
(make-directory bug-3348-test-dir t)
(cd bug-3348-test-dir)

(make-directory "dir-a" t)
(make-directory "dir-b" t)

(with-temp-file "dir-a/file"
  (insert "aaa"))
(with-temp-file "dir-b/file"
  (insert "bbb"))

(ediff-directories "dir-a" "dir-b" nil)
(switch-to-buffer "*Ediff Session Group Panel*")

(ediff-next-meta-item 1)
(ediff-mark-for-operation-at-pos nil)
(ediff-collect-custom-diffs)

(with-current-buffer "*Ediff Multifile Diffs*"
  (write-file "foo.patch"))

(with-temp-file "dir-b/file"
  (insert "BBB"))

(ediff-collect-custom-diffs)

(switch-to-buffer "foo.patch")
(diff-buffer-with-file)
(message (concat "Observe foo.patch buffer is different from its file,\n"
                 "but is marked read-only, not modified"))




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


Received: (at control) by debbugs.gnu.org; 3 Jun 2016 20:10:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 03 16:10:50 2016
Received: from localhost ([127.0.0.1]:53499 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b8vQf-00007c-Sh
	for submit <at> debbugs.gnu.org; Fri, 03 Jun 2016 16:10:50 -0400
Received: from mail-oi0-f49.google.com ([209.85.218.49]:34688)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1b8vQd-00007A-V9
 for control <at> debbugs.gnu.org; Fri, 03 Jun 2016 16:10:48 -0400
Received: by mail-oi0-f49.google.com with SMTP id e72so143933814oib.1
 for <control <at> debbugs.gnu.org>; Fri, 03 Jun 2016 13:10:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:from:date:message-id:subject:to;
 bh=31sdiF+IUprb6HnBaa15yc+rNFeEK2f1mChT6BO/rro=;
 b=q8ykzCXMS4nI3Pfj27Wy3NwIgo1Rq4NNGfkqsoD6C2wPQXgnQoMaz08VA2kCi6kkkk
 piU4VtNGf7PMbptgRIPsqKKhPXJPa2/6JD+PZGSl8x4gi169NaUK7Cvq3zgSUYSaLtDu
 c45QgL1E0bVew0pVYQ6rsYOPiMkbdLFU+bJ+ZhKlnCgzbP/TDM9JSX81VdOXzRNyRFux
 jzYIhU4I/7+kVHy5A5umfLxVcu5rn7mT2WBxWlDePeDwOxGkLRMhrGvc3dnoP7bnP53/
 97ddxlk2cC11Hmj/0VLOWF3PDGbsEWRssJtd73gb0BECC7tjzKGGcktW3qaraWiAANpR
 WPng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:from:date:message-id:subject
 :to; bh=31sdiF+IUprb6HnBaa15yc+rNFeEK2f1mChT6BO/rro=;
 b=iPyCUl6hWAk7W9mDLyVtEpXT94bXF/tF5J+jT/sNn1U71jcrYKqSTwTDbb7xTbebQQ
 1muargHokgeIK25JeFnW/XDJKC4fvFIdr3Kkp28yom7IX3+UUQXU7iA86TQnK8YW3/oN
 nraftAEbqpiXYFanqd9xpo6AsknHXb63oJtiv8BLnCbUlLupyVSpejvzTTMou/vybPfB
 LcNTXeKGAfg5fhSQI4nCQAyz7VhkhqgxvuXBZwPFPorr30l0eWr+A3MluPdw5PIMPH4d
 cFo67h5BRvTnVD1dGAzbry2MvnvJCPOjMzKvYwx2bAb6mgXnVeFIrqVMTXbBRcMMN+tB
 owOQ==
X-Gm-Message-State: ALyK8tILkqROVXHqaeXhZCB1Hus1vnxaoK82LoKihtv6FSuC9MEFzEiZCa5G5/OkyA0cv1+9dlexIugcvKxlgQ==
X-Received: by 10.157.1.165 with SMTP id e34mr3080852ote.35.1464984642341;
 Fri, 03 Jun 2016 13:10:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.34.169 with HTTP; Fri, 3 Jun 2016 13:10:41 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
Date: Fri, 3 Jun 2016 16:10:41 -0400
X-Google-Sender-Auth: Mu5NvNaVJQiTqq8MzHpQ3cxIUkY
Message-ID: <CAM-tV--4OodvFzFAL17j==fkP-EnTGfien_qjQ7dCi7U6N16aw@HIDDEN>
Subject: 23.0.92.1; Ediff: Creating a multi-file patch
To: 3348 <at> debbugs.gnu.org
Content-Type: text/plain; charset=UTF-8
Bcc: control <at> debbugs.gnu.org
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: control
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.5 (/)

tag 3348 + confirmed
severity 3348 minor
found 3348 25.0.94
quit

Confirmed this is still an issue. Here is an elisp script for easier
reproduction (run as emacs -Q -l bug-3348.el):

(defconst bug-3348-test-dir
  (expand-file-name "bug-3348-testdir" temporary-file-directory))
(make-directory bug-3348-test-dir t)
(cd bug-3348-test-dir)

(make-directory "dir-a" t)
(make-directory "dir-b" t)

(with-temp-file "dir-a/file"
  (insert "aaa"))
(with-temp-file "dir-b/file"
  (insert "bbb"))

(ediff-directories "dir-a" "dir-b" nil)
(switch-to-buffer "*Ediff Session Group Panel*")

(ediff-next-meta-item 1)
(ediff-mark-for-operation-at-pos nil)
(ediff-collect-custom-diffs)

(with-current-buffer "*Ediff Multifile Diffs*"
  (write-file "foo.patch"))

(with-temp-file "dir-b/file"
  (insert "BBB"))

(ediff-collect-custom-diffs)

(switch-to-buffer "foo.patch")
(diff-buffer-with-file)
(message (concat "Observe foo.patch buffer is different from its file,\n"
                 "but is marked read-only, not modified"))




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


Received: (at control) by debbugs.gnu.org; 3 Jun 2016 20:10:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 03 16:10:50 2016
Received: from localhost ([127.0.0.1]:53499 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b8vQf-00007c-Sh
	for submit <at> debbugs.gnu.org; Fri, 03 Jun 2016 16:10:50 -0400
Received: from mail-oi0-f49.google.com ([209.85.218.49]:34688)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1b8vQd-00007A-V9
 for control <at> debbugs.gnu.org; Fri, 03 Jun 2016 16:10:48 -0400
Received: by mail-oi0-f49.google.com with SMTP id e72so143933814oib.1
 for <control <at> debbugs.gnu.org>; Fri, 03 Jun 2016 13:10:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:from:date:message-id:subject:to;
 bh=31sdiF+IUprb6HnBaa15yc+rNFeEK2f1mChT6BO/rro=;
 b=q8ykzCXMS4nI3Pfj27Wy3NwIgo1Rq4NNGfkqsoD6C2wPQXgnQoMaz08VA2kCi6kkkk
 piU4VtNGf7PMbptgRIPsqKKhPXJPa2/6JD+PZGSl8x4gi169NaUK7Cvq3zgSUYSaLtDu
 c45QgL1E0bVew0pVYQ6rsYOPiMkbdLFU+bJ+ZhKlnCgzbP/TDM9JSX81VdOXzRNyRFux
 jzYIhU4I/7+kVHy5A5umfLxVcu5rn7mT2WBxWlDePeDwOxGkLRMhrGvc3dnoP7bnP53/
 97ddxlk2cC11Hmj/0VLOWF3PDGbsEWRssJtd73gb0BECC7tjzKGGcktW3qaraWiAANpR
 WPng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:from:date:message-id:subject
 :to; bh=31sdiF+IUprb6HnBaa15yc+rNFeEK2f1mChT6BO/rro=;
 b=iPyCUl6hWAk7W9mDLyVtEpXT94bXF/tF5J+jT/sNn1U71jcrYKqSTwTDbb7xTbebQQ
 1muargHokgeIK25JeFnW/XDJKC4fvFIdr3Kkp28yom7IX3+UUQXU7iA86TQnK8YW3/oN
 nraftAEbqpiXYFanqd9xpo6AsknHXb63oJtiv8BLnCbUlLupyVSpejvzTTMou/vybPfB
 LcNTXeKGAfg5fhSQI4nCQAyz7VhkhqgxvuXBZwPFPorr30l0eWr+A3MluPdw5PIMPH4d
 cFo67h5BRvTnVD1dGAzbry2MvnvJCPOjMzKvYwx2bAb6mgXnVeFIrqVMTXbBRcMMN+tB
 owOQ==
X-Gm-Message-State: ALyK8tILkqROVXHqaeXhZCB1Hus1vnxaoK82LoKihtv6FSuC9MEFzEiZCa5G5/OkyA0cv1+9dlexIugcvKxlgQ==
X-Received: by 10.157.1.165 with SMTP id e34mr3080852ote.35.1464984642341;
 Fri, 03 Jun 2016 13:10:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.34.169 with HTTP; Fri, 3 Jun 2016 13:10:41 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
Date: Fri, 3 Jun 2016 16:10:41 -0400
X-Google-Sender-Auth: Mu5NvNaVJQiTqq8MzHpQ3cxIUkY
Message-ID: <CAM-tV--4OodvFzFAL17j==fkP-EnTGfien_qjQ7dCi7U6N16aw@HIDDEN>
Subject: 23.0.92.1; Ediff: Creating a multi-file patch
To: 3348 <at> debbugs.gnu.org
Content-Type: text/plain; charset=UTF-8
Bcc: control <at> debbugs.gnu.org
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: control
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.5 (/)

tag 3348 + confirmed
severity 3348 minor
found 3348 25.0.94
quit

Confirmed this is still an issue. Here is an elisp script for easier
reproduction (run as emacs -Q -l bug-3348.el):

(defconst bug-3348-test-dir
  (expand-file-name "bug-3348-testdir" temporary-file-directory))
(make-directory bug-3348-test-dir t)
(cd bug-3348-test-dir)

(make-directory "dir-a" t)
(make-directory "dir-b" t)

(with-temp-file "dir-a/file"
  (insert "aaa"))
(with-temp-file "dir-b/file"
  (insert "bbb"))

(ediff-directories "dir-a" "dir-b" nil)
(switch-to-buffer "*Ediff Session Group Panel*")

(ediff-next-meta-item 1)
(ediff-mark-for-operation-at-pos nil)
(ediff-collect-custom-diffs)

(with-current-buffer "*Ediff Multifile Diffs*"
  (write-file "foo.patch"))

(with-temp-file "dir-b/file"
  (insert "BBB"))

(ediff-collect-custom-diffs)

(switch-to-buffer "foo.patch")
(diff-buffer-with-file)
(message (concat "Observe foo.patch buffer is different from its file,\n"
                 "but is marked read-only, not modified"))




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


Received: (at control) by debbugs.gnu.org; 3 Jun 2016 20:10:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 03 16:10:50 2016
Received: from localhost ([127.0.0.1]:53499 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b8vQf-00007c-Sh
	for submit <at> debbugs.gnu.org; Fri, 03 Jun 2016 16:10:50 -0400
Received: from mail-oi0-f49.google.com ([209.85.218.49]:34688)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1b8vQd-00007A-V9
 for control <at> debbugs.gnu.org; Fri, 03 Jun 2016 16:10:48 -0400
Received: by mail-oi0-f49.google.com with SMTP id e72so143933814oib.1
 for <control <at> debbugs.gnu.org>; Fri, 03 Jun 2016 13:10:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:from:date:message-id:subject:to;
 bh=31sdiF+IUprb6HnBaa15yc+rNFeEK2f1mChT6BO/rro=;
 b=q8ykzCXMS4nI3Pfj27Wy3NwIgo1Rq4NNGfkqsoD6C2wPQXgnQoMaz08VA2kCi6kkkk
 piU4VtNGf7PMbptgRIPsqKKhPXJPa2/6JD+PZGSl8x4gi169NaUK7Cvq3zgSUYSaLtDu
 c45QgL1E0bVew0pVYQ6rsYOPiMkbdLFU+bJ+ZhKlnCgzbP/TDM9JSX81VdOXzRNyRFux
 jzYIhU4I/7+kVHy5A5umfLxVcu5rn7mT2WBxWlDePeDwOxGkLRMhrGvc3dnoP7bnP53/
 97ddxlk2cC11Hmj/0VLOWF3PDGbsEWRssJtd73gb0BECC7tjzKGGcktW3qaraWiAANpR
 WPng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:from:date:message-id:subject
 :to; bh=31sdiF+IUprb6HnBaa15yc+rNFeEK2f1mChT6BO/rro=;
 b=iPyCUl6hWAk7W9mDLyVtEpXT94bXF/tF5J+jT/sNn1U71jcrYKqSTwTDbb7xTbebQQ
 1muargHokgeIK25JeFnW/XDJKC4fvFIdr3Kkp28yom7IX3+UUQXU7iA86TQnK8YW3/oN
 nraftAEbqpiXYFanqd9xpo6AsknHXb63oJtiv8BLnCbUlLupyVSpejvzTTMou/vybPfB
 LcNTXeKGAfg5fhSQI4nCQAyz7VhkhqgxvuXBZwPFPorr30l0eWr+A3MluPdw5PIMPH4d
 cFo67h5BRvTnVD1dGAzbry2MvnvJCPOjMzKvYwx2bAb6mgXnVeFIrqVMTXbBRcMMN+tB
 owOQ==
X-Gm-Message-State: ALyK8tILkqROVXHqaeXhZCB1Hus1vnxaoK82LoKihtv6FSuC9MEFzEiZCa5G5/OkyA0cv1+9dlexIugcvKxlgQ==
X-Received: by 10.157.1.165 with SMTP id e34mr3080852ote.35.1464984642341;
 Fri, 03 Jun 2016 13:10:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.34.169 with HTTP; Fri, 3 Jun 2016 13:10:41 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
Date: Fri, 3 Jun 2016 16:10:41 -0400
X-Google-Sender-Auth: Mu5NvNaVJQiTqq8MzHpQ3cxIUkY
Message-ID: <CAM-tV--4OodvFzFAL17j==fkP-EnTGfien_qjQ7dCi7U6N16aw@HIDDEN>
Subject: 23.0.92.1; Ediff: Creating a multi-file patch
To: 3348 <at> debbugs.gnu.org
Content-Type: text/plain; charset=UTF-8
Bcc: control <at> debbugs.gnu.org
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: control
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.5 (/)

tag 3348 + confirmed
severity 3348 minor
found 3348 25.0.94
quit

Confirmed this is still an issue. Here is an elisp script for easier
reproduction (run as emacs -Q -l bug-3348.el):

(defconst bug-3348-test-dir
  (expand-file-name "bug-3348-testdir" temporary-file-directory))
(make-directory bug-3348-test-dir t)
(cd bug-3348-test-dir)

(make-directory "dir-a" t)
(make-directory "dir-b" t)

(with-temp-file "dir-a/file"
  (insert "aaa"))
(with-temp-file "dir-b/file"
  (insert "bbb"))

(ediff-directories "dir-a" "dir-b" nil)
(switch-to-buffer "*Ediff Session Group Panel*")

(ediff-next-meta-item 1)
(ediff-mark-for-operation-at-pos nil)
(ediff-collect-custom-diffs)

(with-current-buffer "*Ediff Multifile Diffs*"
  (write-file "foo.patch"))

(with-temp-file "dir-b/file"
  (insert "BBB"))

(ediff-collect-custom-diffs)

(switch-to-buffer "foo.patch")
(diff-buffer-with-file)
(message (concat "Observe foo.patch buffer is different from its file,\n"
                 "but is marked read-only, not modified"))





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.