From: jidanni@jidanni.org
To: bug-gnu-emacs@gnu.org
Subject: Re: dired-diff existant.gz /dir-with-no-such-target-file
Date: Sat, 12 Apr 2008 06:41:53 +0800 [thread overview]
Message-ID: <87lk3k580e.fsf@jidanni.org> (raw)
In-Reply-To: mailman.10167.1207684990.18990.bug-gnu-emacs@gnu.org
Please try the following test.
In a directory with a .gz file in it, run dired.
Now place the cursor upon it and hit = /tmp
I.e., (dired-diff "/tmp" nil)
Note how it gives
diff -c -L /tmp -L /tmp/test/a.gz /tmp /tmp/jka-com9912y4f
Diff finished (no differences). Sat Apr 12 06:33:16 2008
But since what we wanted was the equivalent of doing
$ zdiff -c /tmp file.gz
which gives
diff: /tmp/file.gz: No such file or directory
That means that dired-diff blows it when one uses the shorthand /tmp
for /tmp/file.gz if there is no /tmp/file.gz.
Instead of detecting the missing file, it gives the all clear signal.
next parent reply other threads:[~2008-04-11 22:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.10167.1207684990.18990.bug-gnu-emacs@gnu.org>
2008-04-11 22:41 ` jidanni [this message]
2008-04-08 19:08 dired-diff existant.gz /dir-with-no-such-target-file jidanni
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=87lk3k580e.fsf@jidanni.org \
--to=jidanni@jidanni.org \
--cc=bug-gnu-emacs@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 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).