[emacs-w3m:13139] Re: privacy function for deleting cookies, history, etc. [SNIPPET INCLUDED]

Filipp Gunbin <[email protected]>
Newsgroups gmane.emacs.w3m
Message-ID <[email protected]>
On 05/02/2019 11:00 -0500, Boruch Baum wrote:

> On 2019-02-05 02:34, Filipp Gunbin wrote:
>> Hi,
>>
>> On 04/02/2019 13:28 -0500, Boruch Baum wrote:
>>
>> >>  And how is rm -f better than emacs's delete-file?
>> >
>> > The edge case of a file somehow getting minor-level protection.
>>
>> What do you mean by minor-level protection?
>
> An errant chmod -w

Are you implying that if a user removes write permissions from a file,
then emacs's delete-file won't delete it?  But it will.  `-f' should
only suppress prompting and handling nonexistent files.

I guess that delete-file will issue the same system calls as rm.  But
for delete-file you don't need to specify path, or make emacs search for
a command in "exec-path".

Thanks!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.