GNU bug report logs - #34338
26.1; delete-file return codes and failures

Previous Next

Package: emacs;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Tue, 5 Feb 2019 21:49:02 UTC

Severity: wishlist

Found in version 26.1

Full log


Message #54 received at 34338 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 34338 <at> debbugs.gnu.org, stefan <at> marxist.se
Subject: Re: bug#34338: 26.1; delete-file return codes and failures
Date: Fri, 01 Nov 2019 11:55:15 +0200
> Date: Fri, 1 Nov 2019 05:34:23 -0400
> From: Boruch Baum <boruch_baum <at> gmx.com>
> Cc: stefan <at> marxist.se, 34338 <at> debbugs.gnu.org
> 
> On 2019-10-31 16:32, Eli Zaretskii wrote:
> > The current implementation basically is a moral equivalent of "rm -f".
> > It also is biased towards interactive usage, where the return value is
> > not very important.
> >
> > Does it answer your question?
> 
> Not satisfactorily.

Actually, from what you wrote, it follows that it did answer your
question, you just disagree that delete-file should have been coded to
work as it does.

Please note that I didn't try to justify its behavior, only to explain
its rationale, in response to your question "If it didn't matter, why
waste your time attempting the deletion?"  IOW, there certainly _are_
valid use cases where "it doesn't matter", and the fact that "rm -f"
exists is an evidence.




This bug report was last modified 5 years and 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.