unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* diff upon trouble
@ 2008-11-24 17:57 ` jidanni
  2008-11-24 21:20   ` bug#1422: marked as done (diff upon trouble) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: jidanni @ 2008-11-24 17:57 UTC (permalink / raw)
  To: bug-gnu-emacs; +Cc: bug-gnu-utils

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#1422: marked as done (diff upon trouble)
  2008-11-24 17:57 ` diff upon trouble jidanni
@ 2008-11-24 21:20   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2008-11-24 21:20 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]


Your message dated Mon, 24 Nov 2008 16:12:28 -0500
with message-id <87hc5weslf.fsf@cyd.mit.edu>
and subject line diff upon trouble
has caused the Emacs bug report #1422,
regarding diff upon trouble
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
1422: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1422
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 2635 bytes --]

From: jidanni@jidanni.org
To: bug-gnu-emacs@gnu.org
Cc: bug-gnu-utils@gnu.org
Subject: diff upon trouble
Date: Tue, 25 Nov 2008 01:57:32 +0800
Message-ID: <87y6z9m2gj.fsf@jidanni.org>

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




[-- Attachment #3: Type: message/rfc822, Size: 1282 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: jidanni@jidanni.org
Cc: 1422-done@emacsbugs.donarmstrong.com
Subject: diff upon trouble
Date: Mon, 24 Nov 2008 16:12:28 -0500
Message-ID: <87hc5weslf.fsf@cyd.mit.edu>

> 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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-24 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87hc5weslf.fsf@cyd.mit.edu>
2008-11-24 17:57 ` diff upon trouble jidanni
2008-11-24 21:20   ` bug#1422: marked as done (diff upon trouble) Emacs bug Tracking System

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).