From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29709: 25.3; diff-buffer-with-file arguments reversed Date: Thu, 14 Dec 2017 19:49:16 +0200 Message-ID: <83y3m5td2b.fsf@gnu.org> References: <20805A59-B4AE-4747-9178-585312084923@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1513274653 11512 195.159.176.226 (14 Dec 2017 18:04:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2017 18:04:13 +0000 (UTC) Cc: 29709@debbugs.gnu.org To: Dan Harms Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 14 19:04:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePXrd-0002oe-8b for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Dec 2017 19:04:09 +0100 Original-Received: from localhost ([::1]:42498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePXrk-0002qi-JP for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Dec 2017 13:04:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePXe2-0007pH-MW for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 12:50:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePXdy-0008GK-Kz for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 12:50:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53575) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePXdy-0008G8-Gt for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 12:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ePXdy-0003k3-7R for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 12:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Dec 2017 17:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29709 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29709-submit@debbugs.gnu.org id=B29709.151327377514343 (code B ref 29709); Thu, 14 Dec 2017 17:50:02 +0000 Original-Received: (at 29709) by debbugs.gnu.org; 14 Dec 2017 17:49:35 +0000 Original-Received: from localhost ([127.0.0.1]:34023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePXdX-0003jH-34 for submit@debbugs.gnu.org; Thu, 14 Dec 2017 12:49:35 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:32804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePXdV-0003j5-Og for 29709@debbugs.gnu.org; Thu, 14 Dec 2017 12:49:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePXdM-0007e8-Hd for 29709@debbugs.gnu.org; Thu, 14 Dec 2017 12:49:28 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePXdM-0007dv-DS; Thu, 14 Dec 2017 12:49:24 -0500 Original-Received: from [176.228.60.248] (port=3811 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ePXdL-0003TM-4Z; Thu, 14 Dec 2017 12:49:24 -0500 In-reply-to: <20805A59-B4AE-4747-9178-585312084923@gmail.com> (message from Dan Harms on Thu, 14 Dec 2017 06:01:43 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141059 Archived-At: > From: Dan Harms > Date: Thu, 14 Dec 2017 06:01:43 -0600 > > When I execute (diff-buffer-with-file ), the file on disk is > used as the first argument, the working buffer as the second. This > leads to a diff-mode buffer with the base-line (the left-hand side) as > the file on disk, not my current buffer. I would think this is opposite > of what should be the default. Wouldn't we more often want to view the > buffer's current state as the baseline, and view what changes would be > required to transform this buffer into the file on disk? I think the idea is that the file on disk is the original version and the text in your buffer is the modified (a.k.a. "new") version.