Subject: bug#1422 closed by Chong Yidong <[email-masked]> (diff upon trouble)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#1422: diff upon trouble

It has been closed by Chong Yidong <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <[email-masked]> by
replying to this email.

-- 
1422: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1422
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Mon Nov 24 13:12:12 2008
From: Chong Yidong <[email-masked]>
To: [email-masked]
Cc: [email-masked]
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.

>From [email-masked] Mon Nov 24 12:08:01 2008
To: [email-masked]
Cc: [email-masked]
Subject: diff upon trouble
From: [email-masked]
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