emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] When deleting in bookmark menu, prompt for confirmation.


From: Stefan Monnier
Subject: Re: [PATCH] When deleting in bookmark menu, prompt for confirmation.
Date: Mon, 03 May 2021 09:02:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> In general, I think it's better to offer undo instead of prompting.
>> That's not always possible, but I think in the bookmark case, that
>> shouldn't be too difficult -- just register an undo action that inserts
>> the items that were removed, I think?

Sounds like a good idea, yes.

> I think a confirmation here is in order, as this is a dangerous
> operation.  For the same reason, we should ask the user to disable the
> prompt rather than the other way around, i.e. the default should be t.

I don't have an opinion, but having undo would be beneficial in any case
(i.e. regardless of the confirmation).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]