[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: privacy function for deleting cookies, history, etc. [SNIPPET INCLUDED]
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
>> > (cmd (progn
> >> > (while (and (setq cmd (pop cmds))
> >> > (not (file-executable-p (car cmd)))))
> >> > cmd))
> >>
> >> Seems dangerous to use "cmd" inside its own initialization. Better user
> >> let-form with a new var for use in loop.
> >
> > That's not a constructive comment to which I can respond. "Seems" is a
> > weasel-word, "dangerous" is a vague scare-mongering word that you don't
> > substantiate, and your second sentence I can't make sense of - it would
> > be better to actually code an alternative snippet.
>
> These words are usually fine in tech discussion :-)
No, but...
> the value-form for cmd is executed before cmd is added to environment
is perfect! A well-communicated bug, that I will push a commit on. Thanks.
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0