From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] When deleting in bookmark menu, prompt for confirmation. Date: Fri, 07 May 2021 08:55:41 -0400 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22864"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Karl Fogel , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 07 14:57:50 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 1lf03B-0005oR-Ez for ged-emacs-devel@m.gmane-mx.org; Fri, 07 May 2021 14:57:49 +0200 Original-Received: from localhost ([::1]:43744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lf03A-00028F-HN for ged-emacs-devel@m.gmane-mx.org; Fri, 07 May 2021 08:57:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lf02A-0001Hg-1N for emacs-devel@gnu.org; Fri, 07 May 2021 08:56:46 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:48014) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lf024-0000DY-1X for emacs-devel@gnu.org; Fri, 07 May 2021 08:56:45 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id CAB41809E6; Fri, 7 May 2021 08:56:38 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 85D58806F1; Fri, 7 May 2021 08:56:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1620392197; bh=dpvKhKzT2j1KtxZspB1QBmPLkJCC4jT1vw/4LPQOftw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=U13c2ULBp95ZeoMsc9NUqc8Xo8XfrcFzDL3lXas2J6ymvjzp13/6H/JWkvcOIFRL7 IoAEPTSv0i5+hu0rPpxAmm3slZuoi1kn+tlyTlKULT+b5eZPesLz6zPB/AOMxEoN5J +cAryckSTOPYX7n+8eBfFtHTdyE2We/iIdkn184M8OPKM2cIpsSXULZ2pp+I1Tuojp 1h27HHYgQEWktM5EwK4qkU59Q4E3pvb5j0ltsX9vVCAZX1oxf70d5VuUrjTn6tSMla Q5YrfFuk/4MIo/nEDwGiRsbY1d6OZcji3CaXUb5rs0IG7h6CeUZ/3aWpX1JyLFfG00 dXaIjsfNB4Ilw== Original-Received: from alfajor (76-10-140-76.dsl.teksavvy.com [76.10.140.76]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C7179120188; Fri, 7 May 2021 08:56:36 -0400 (EDT) In-Reply-To: <87pmy3uec8.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 07 May 2021 10:40:07 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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:269000 Archived-At: Lars Ingebrigtsen [2021-05-07 10:40:07] wrote: > Stefan Monnier writes: >>> Perhaps we should just make a convenience function for people to add >>> prompters to any command they want to... >> We incidentally have pretty much exactly that in the form of "disabled >> commands". > That's true... it's just that the prompting for "disabled commands" is > a bit excessive if what you really want is just to have a y/n prompt for > a command you consider dangerous. Indeed, but maybe that can be adjusted ;-) Stefan