From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80600 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.gnus.general Subject: Re: maildir and ssh Date: Thu, 24 Nov 2011 06:32:04 +0100 Message-ID: <871usyw0ff.fsf@gmx.de> References: <1321992427.10810.YahooMailNeo@web29910.mail.ird.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322112824 22518 80.91.229.12 (24 Nov 2011 05:33:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2011 05:33:44 +0000 (UTC) Cc: Adam W , ding@gnus.org To: Katsumi Yamaoka Original-X-From: ding-owner+M28883@lists.math.uh.edu Thu Nov 24 06:33:37 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RTRwH-0006P6-Gm for ding-account@gmane.org; Thu, 24 Nov 2011 06:33:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RTRvB-0004oO-4h; Wed, 23 Nov 2011 23:32:29 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RTRv9-0004oA-DX for ding@lists.math.uh.edu; Wed, 23 Nov 2011 23:32:27 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RTRuy-0006aZ-Qe for ding@lists.math.uh.edu; Wed, 23 Nov 2011 23:32:27 -0600 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by quimby.gnus.org with smtp (Exim 4.72) (envelope-from ) id 1RTRuw-0000gB-KX for ding@gnus.org; Thu, 24 Nov 2011 06:32:14 +0100 Original-Received: (qmail invoked by alias); 24 Nov 2011 05:32:08 -0000 Original-Received: from p57BB9795.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.151.149] by mail.gmx.net (mp061) with SMTP; 24 Nov 2011 06:32:08 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/L36gCl67Lb9IsmFWQW9DUjU1wnzIyjBHS3lS/0e 4r3ogYV5QuWLwt In-Reply-To: (Katsumi Yamaoka's message of "Thu, 24 Nov 2011 09:13:26 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80600 Archived-At: Katsumi Yamaoka 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.