From: Michael Albinus <michael.albinus@gmx.de>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: Adam W <adam_w67@yahoo.com>, ding@gnus.org
Subject: Re: maildir and ssh
Date: Thu, 24 Nov 2011 06:32:04 +0100 [thread overview]
Message-ID: <871usyw0ff.fsf@gmx.de> (raw)
In-Reply-To: <b4maa7m8jix.fsf@jpl.org> (Katsumi Yamaoka's message of "Thu, 24 Nov 2011 09:13:26 +0900")
Katsumi Yamaoka <yamaoka@jpl.org> writes:
> I believe you're right, it's a mail-source bug. Any Lisp code
> should never expect the return value of `delete-file' since it
> is not documented. I verified it returns nil for a local file
> but t for a remote file using ssh[1]:
>
> (delete-file "/ssh:localhost:/home/yamaoka/FILE")
>
> Fixed in the Gnus trunk and the Emacs trunk.
>
> [1] Note that tramp runs "rm -f" (that is hard-coded) in a remote
> system, so `delete-file' always returns t even if a file does not
> exist.
One could change Tramp to behave like plain `delete-file'. But since the
return value of `delete-file' is not documented ...
Best regards, Michael.
prev parent reply other threads:[~2011-11-24 5:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-22 20:07 Adam W
2011-11-23 18:52 ` Adam
2011-11-24 0:13 ` Katsumi Yamaoka
2011-11-24 5:32 ` Michael Albinus [this message]
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=871usyw0ff.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=adam_w67@yahoo.com \
--cc=ding@gnus.org \
--cc=yamaoka@jpl.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.
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 NNTP newsgroup(s).