all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Harms <danielrharms@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 29709@debbugs.gnu.org
Subject: bug#29709: 25.3; diff-buffer-with-file arguments reversed
Date: Fri, 15 Dec 2017 05:41:17 -0600	[thread overview]
Message-ID: <B70015D5-86E3-4715-B645-5B3F6C775CAA@gmail.com> (raw)
In-Reply-To: <83y3m5td2b.fsf@gnu.org>

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.





  reply	other threads:[~2017-12-15 11:41 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 [this message]
2019-09-28 23:39 ` Stefan Kangas

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=B70015D5-86E3-4715-B645-5B3F6C775CAA@gmail.com \
    --to=danielrharms@gmail.com \
    --cc=29709@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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.