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 Kangas
Subject: Re: [PATCH] When deleting in bookmark menu, prompt for confirmation.
Date: Sun, 9 May 2021 10:04:57 -0500

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Sure, we could extend the `disabled' machinery easily enough.  For
> instance, we could allow arbitrary functions, and then recommend that
> people say
>
> (put 'some-command 'disabled 'y-or-n-p)
>
> in their Emacs files to confirm before calling?  Should be pretty
> trivial to implement.

I'm wondering what the use-case is here.  If there are any commands
where something like this would be useful, shouldn't we just treat that
as a bug and add a prompt?

Or do you have any commands in mind where users might want to add a
prompt, but we would not?



reply via email to

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