all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 50204@debbugs.gnu.org
Subject: bug#50204: "Success" seen in failed copy message
Date: Fri, 27 Aug 2021 00:53:04 +0800	[thread overview]
Message-ID: <877dg8no5r.5.fsf@jidanni.org> (raw)
In-Reply-To: <878s0pxr5u.5.fsf@jidanni.org>

>>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:
>> I did
>> $ ln -s ~/mapping/aiyongxian/aiyongxian.kml /tmp/
>> 
>> Then in emacs I did
>> C			 ;; dired-do-copy
>> Overwrite ‘/tmp/aiyongxian.kml’? [Type yn!q or C-h] y
>> Copy: ‘/home/jidanni/mapping/aiyongxian/aiyongxian.kml’ to ‘/tmp/aiyongxian.kml’ failed:
>> (file-error Input and output files are the same Success /home/jidanni/mapping/aiyongxian/aiyongxian.kml /tmp/aiyongxian.kml)
>> 
>> OK, but why the word "Success"?!

EZ> Because that's not really a "failure": the file was already there.

OK, but, the shell says 1, not 0:

$ ln -s ~/mln -s ~/mapping/aiyongxian/aiyongxian.kml /tmp/
$ cp ~/mapping/aiyongxian/aiyongxian.kml /tmp/; echo $?
cp: '/home/jidanni/mapping/aiyongxian/aiyongxian.kml' and '/tmp/aiyongxian.kml' are the same file
1

Also
>> (file-error Input and output files are the same Success /home/jidanni/mapping/aiyongxian/aiyongxian.kml /tmp/aiyongxian.kml)
should be
>> (file-error Input and output files are the same. Success. /home/jidanni/mapping/aiyongxian/aiyongxian.kml /tmp/aiyongxian.kml)
But that doesn't make sense either.
Obviously the word Success has been stuck in the middle, and should be
moved to the front or back. And in fact changed to Failure.





  reply	other threads:[~2021-08-26 16:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25 19:25 bug#50204: "Success" seen in failed copy message 積丹尼 Dan Jacobson
2021-08-26  6:19 ` Eli Zaretskii
2021-08-26 16:53   ` 積丹尼 Dan Jacobson [this message]
2021-08-26 17:03     ` Eli Zaretskii
2021-08-26 17:28       ` 積丹尼 Dan Jacobson
2021-08-26 17:31         ` Eli Zaretskii
2021-09-21 15:46         ` Stefan Kangas
2021-09-21 16:01           ` Eli Zaretskii
2021-09-21 16:40             ` Stefan Kangas

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=877dg8no5r.5.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=50204@debbugs.gnu.org \
    --cc=eliz@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/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.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.