From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] When deleting in bookmark menu, prompt for confirmation. Date: Sun, 9 May 2021 10:04:57 -0500 Message-ID: References: <87a6pcqy7s.fsf@red-bean.com> <83czu86o46.fsf@gnu.org> <835z006jpl.fsf@gnu.org> <87im3z3f8f.fsf@red-bean.com> <83zgxb67g2.fsf@gnu.org> <87mtt9sqh4.fsf@red-bean.com> <87czu58uso.fsf@gnus.org> <878s4tq8e6.fsf@red-bean.com> <871rak2qno.fsf@gnus.org> <87pmy3uec8.fsf@gnus.org> <87tuncnse1.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19418"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Karl Fogel , emacs-devel@gnu.org To: Lars Ingebrigtsen , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 09 17:06:25 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lfl0j-0004ve-7j for ged-emacs-devel@m.gmane-mx.org; Sun, 09 May 2021 17:06:25 +0200 Original-Received: from localhost ([::1]:53100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfl0i-0004Db-8a for ged-emacs-devel@m.gmane-mx.org; Sun, 09 May 2021 11:06:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfkzO-0002tZ-Dd for emacs-devel@gnu.org; Sun, 09 May 2021 11:05:02 -0400 Original-Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:35441) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfkzM-0000Na-KS for emacs-devel@gnu.org; Sun, 09 May 2021 11:05:02 -0400 Original-Received: by mail-pl1-x62d.google.com with SMTP id t21so7919151plo.2 for ; Sun, 09 May 2021 08:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=6t1lXy6aJrauplV9g7BLixLQ51wz6MC3FlqvtMMKoVs=; b=VaHuvbKdayZd/8XjuvY8YpFxPsesK88Kf/nOyETPgiz9WSxyJ4y+EWBkJuhu2aDY/R 5dfFoVp9PYJQrt2+JmiTaPvTgKWbfMT9ugOye6XxcHnKKGltaLgFHGMd3VPkzVmaiHUL d+QYpR3AKKLdMC6mwIRXY1prka9aGBWLgzXeZkD3eFDtoEcEeyU4lh4wljkxpAygRodA 1cLSaapSSypaUa2i4WiEwUzBfeJpm8FPTI9q7kUUQ2dAe/xR5D7fYBk6zKY/EhG28EeX WUx59TDo/bJKw5mrtX+cAUnqrG8y+VxhJ+yhdX2WraZhq+yNK1HVEA666oEZwJfEP0iz TiLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=6t1lXy6aJrauplV9g7BLixLQ51wz6MC3FlqvtMMKoVs=; b=FQRgDq7QurRsJSE8YL2/O0f9nZ5Ka2yIFyR1tcdKCOOCZQpWhMRDctDmBBkl/Z3H/Y xoEulJghx/AjRnaukTrBdPXEEJq4jBUvY4PFPRSFKZTWBqaHJM/7zwZwr50J2J544sav 6ebYPvZqAbGMUi9ffs6IkjRvfUAPMHXOOSDr+s2MMYQgqAUK8lWzASJvRZBiT2LtT7zi rD4KrpLeJzgVNNOwUak2bVocmh0n1QhWXALysUOs3lsWjUUgLnlncETFbECALecz1TYg yGihmvv77xJ+nWMlcFs9TSDgDH1HHHNMiQc+a6JHmUdc6v7xHNuEMwIMd6gkWlI8EA0r SAGQ== X-Gm-Message-State: AOAM530bvFrOXzZ1zO7MAaO67Cd6qGLHYOfto0u9xT4hzj0X+ofJu9TE cL0DO+mQbOXh3nGQN+LuOca42tMl8Y76UCvkRAo= X-Google-Smtp-Source: ABdhPJy1Lhg352onuKXhWHa0UIZjcdi+GxFit49cwUv23OfNTxRGQwpGHnzqw4zg7hzrLPr8UJjeFg1x2oJuKFTUI8k= X-Received: by 2002:a17:90b:350:: with SMTP id fh16mr22907294pjb.104.1620572697600; Sun, 09 May 2021 08:04:57 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 9 May 2021 10:04:57 -0500 In-Reply-To: <87tuncnse1.fsf@gnus.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=stefankangas@gmail.com; helo=mail-pl1-x62d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269080 Archived-At: Lars Ingebrigtsen 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?