Subject: Re: bug#34338: 26.1; delete-file return codes and failures

From: Eli Zaretskii <[email-masked]>
Date: Thu, 31 Oct 2019 16:32:13 +0200

> Date: Wed, 30 Oct 2019 21:33:29 -0400
> From: Boruch Baum <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>, [email-masked]
> 
> > Do you have a use-case in mind here?  Can't the caller just check using
> > 'file-exists-p' if it matters instead?
> 
> It _should_ *always* matter. Did you delete the file or not? If it didn't
> matter, why waste your time attempting the deletion?

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?