unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: smerge-ediff "MINE" and "OTHER" monikers unhelpful
Date: Wed, 27 Nov 2013 19:45:18 +0100	[thread overview]
Message-ID: <87r4a1d6pt.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <jwvppplhhrf.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 27 Nov 2013 12:37:58 -0500")

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

> Of course, any tool is free top put the 2 in whichever order they
> prefer.  Maybe we should revisit the MINE/OTHER names used so far.
> But whichever name we use there will need to also be present in
> smerge-ediff.

Whenever you use _meaning_-carrying names, they'll be wrong half of the
time.  Ediff got that right with A, B, and, uh, C?  No idea (rarely use
three-way conflicts).  It's arbitrary what the first and the second
_mean_, so you just put them first and second on screen and give them A
and B as monikers.

And since nobody would suspect that you have first B, then A, even
omitting them from the mode lines works fine.

The only reliable _meaning_ is, if at all, in the conflict markers.

For a straightforward diff (rather than a conflict merge), again it's
natural to have the original before the diff left, and the patched file
right.

If the user has to puzzle out how additional, differently named and
actually _unrelated_ information relates to the buffer names, stuff
becomes hard.

I don't actually care all that much whether you want to make smerge-mode
an intellectual challenge, but I'm using smerge-ediff alone all the
time, and there "MINE" and "OTHER" are a clearly entirely unhelpful
distraction.

-- 
David Kastrup



  parent reply	other threads:[~2013-11-27 18:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87zjowpn2s.fsf@fencepost.gnu.org>
2013-11-23  1:42 ` smerge-ediff "MINE" and "OTHER" monikers unhelpful Stefan Monnier
2013-11-23  6:23   ` David Kastrup
2013-11-23 14:33     ` Stefan Monnier
2013-11-23 15:03       ` David Kastrup
2013-11-23 14:07   ` David Kastrup
2013-11-25 15:40     ` Stefan Monnier
2013-11-27 10:45       ` David Kastrup
2013-11-27 17:37         ` Stefan Monnier
2013-11-27 18:07           ` David Kastrup
2013-11-27 18:45           ` David Kastrup [this message]
2013-11-27 20:46             ` Stefan Monnier
2013-11-27 20:54               ` David Kastrup
2013-11-28  8:44               ` Thien-Thi Nguyen
2013-11-28 18:31                 ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87r4a1d6pt.fsf@fencepost.gnu.org \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).