GNU bug report logs - #1422
diff upon trouble

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Mon, 24 Nov 2008 20:15:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1422 in the body.
You can then email your comments to 1422 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1422; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Cc: bug-gnu-utils <at> gnu.org
Subject: diff upon trouble
Date: Tue, 25 Nov 2008 01:57:32 +0800
Digging deep into (info "(diff)Invoking diff") we learn
   An exit status of 0 means no differences were found, 1 means some
   differences were found, and 2 means trouble.
which should also be on diff's man page. Bug CC'd.
Also "trouble" should be explained.
P.S. maybe warn on diff a a: same file. OK never mind.

Now let's examine emacs M-x diff's final line on three different exit values:
0:Diff finished.  Tue Nov 25...
1:Diff finished (no differences).  Tue Nov 25...
2:Diff finished.  Tue Nov 25...

The latter should also mention *** Trouble Encountered *** even if it
is mentioned by the diff error messages. We want to see it on the
bottom line too.

No diff-version variable. Can't tell from diff.el either.
emacs-version "22.2.1". diff (GNU diffutils) 2.8.1





Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to jidanni <at> jidanni.org:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 1422-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: jidanni <at> jidanni.org
Cc: 1422-done <at> debbugs.gnu.org
Subject: diff upon trouble
Date: Mon, 24 Nov 2008 16:12:28 -0500
> Now let's examine emacs M-x diff's final line on three different exit values:
> 0:Diff finished.  Tue Nov 25...
> 1:Diff finished (no differences).  Tue Nov 25...
> 2:Diff finished.  Tue Nov 25...
>
> The latter should also mention *** Trouble Encountered *** even if it
> is mentioned by the diff error messages. We want to see it on the
> bottom line too.

Fixed, thanks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Tue, 23 Dec 2008 15:24:04 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 19 Dec 2014 20:37:01 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.