all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/2] emacs: Add interface for comparing generations.
Date: Mon, 03 Nov 2014 23:22:05 +0100	[thread overview]
Message-ID: <878ujr9b76.fsf@gnu.org> (raw)
In-Reply-To: <8761exteu3.fsf@gmail.com> (Alex Kost's message of "Mon, 03 Nov 2014 01:31:00 +0300")

Alex Kost <alezost@gmail.com> skribis:

> Ludovic Courtès (2014-11-02 20:59 +0300) wrote:
>
>> Alex Kost <alezost@gmail.com> skribis:
>>
>>> In short, now (with this patch) after marking 2 generations (by pressing
>>> "m" in a “generation-list” buffer), you can perform diff/ediff on
>>> generation packages or manifests.  Thanks to Ludovic for the idea.
>>
>> I just tried it, and I like it!
>>
>> There are cases where the output of ‘=’ is slightly confusing: the
>> buffers being compared don’t include the directory name of the packages,
>> so, when packages have been upgraded (different directory names, but
>> same version), it just says “no differences.”
>>
>> Perhaps the fix would be to add the directory names in the buffers being
>> diffed, in a format similar to that of ‘guix package -I’?
>
> Indeed, I added the store paths, thanks (the modified patch is attached).

Nice!

>> I have another case where C-u = shows that the only difference is the
>> addition of one package, but = shows a diff with only minuses, as if
>> everything had been removed.  Any idea what could be wrong?

I can’t seem to reproduce that problem.  I must have messed things up
before, sorry for the noise.

>> Also, s/The Emacs Editor/GNU Emacs Manual/, which is the real title of
>> the Emacs manual as it appears in the texi source.
>
> Oh, I thought it should be the title which appears in the info (I mean
> the first line in the Top node).
>
> Perhaps "s/The Emacs Editor/The GNU Emacs Manual/"?  As it's the most
> common (but not the one) variant in the Emacs Lisp manual, for example here:
> <http://git.savannah.gnu.org/cgit/emacs.git/tree/doc/lispref/display.texi#n2065>

OK (I think they should add “The” in emacs.texi.)

> Also I used "The Emacs Editor" several times in “emacs.texi”.  Should I
> replace all instances in this patch or make a separate commit for that?

Yes, please.

> Just out of curiosity.  Do you usually prefer "diff" over "ediff"?
> (I find the latter much convenient)

The default behavior for ediff is to create another frame for control,
and that doesn’t work well with the tiling window manager I’m using.
Also, it’s really a mode that you enter and have to leave afterwards.
So I tend to prefer diff for simple diffs, and I resort to ediff in more
tricky situations (like when I have to compare two .drv files for
debugging, uh! ;-)).

Thanks,
Ludo’.

  reply	other threads:[~2014-11-03 22:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-02 11:21 [PATCH 2/2] emacs: Add interface for comparing generations Alex Kost
2014-11-02 17:59 ` Ludovic Courtès
2014-11-02 22:31   ` Alex Kost
2014-11-03 22:22     ` Ludovic Courtès [this message]
2014-11-04  7:30       ` Alex Kost
2014-11-04  9:50         ` Ludovic Courtès
2014-11-04 12:52           ` Alex Kost
2014-11-04 16:50             ` Ludovic Courtès

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=878ujr9b76.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@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/guix.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.