all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Dan Harms <danielrharms@gmail.com>
Cc: 29709@debbugs.gnu.org
Subject: bug#29709: 25.3; diff-buffer-with-file arguments reversed
Date: Sun, 29 Sep 2019 01:39:27 +0200	[thread overview]
Message-ID: <CADwFkmmTFVXb7A+wmsn1ZU3CcAzUums1ChQgqNeK8Ry=ow9wQw@mail.gmail.com> (raw)
In-Reply-To: <20805A59-B4AE-4747-9178-585312084923@gmail.com>

tags 29709 + wontfix
close 29709
quit

Dan Harms <danielrharms@gmail.com> writes:

> Every time I use the function, I end up having to reverse the direction after calling the function.  But that’s OK, if other people think the default makes sense.
>
> On Dec 14, 2017, at 11:49 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>>> From: Dan Harms <danielrharms@gmail.com>
>>> Date: Thu, 14 Dec 2017 06:01:43 -0600
>>>
>>> When I execute (diff-buffer-with-file <buffer>), 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.

The conclusion here is that we want to keep the current behaviour.  I'm
therefore closing this as wontfix.

Best regards,
Stefan Kangas





      parent reply	other threads:[~2019-09-28 23:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14 12:01 bug#29709: 25.3; diff-buffer-with-file arguments reversed Dan Harms
2017-12-14 17:49 ` Eli Zaretskii
2017-12-15 11:41   ` Dan Harms
2019-09-28 23:39 ` Stefan Kangas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmmTFVXb7A+wmsn1ZU3CcAzUums1ChQgqNeK8Ry=ow9wQw@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=29709@debbugs.gnu.org \
    --cc=danielrharms@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.