From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: yes-or-no-p prompt conditionally broken in master? Date: Thu, 3 Sep 2015 21:25:19 +0300 Message-ID: <55E8908F.5000201@yandex.ru> References: <83k2s7a247.fsf@gnu.org> <55E88336.5060703@yandex.ru> <83h9nb9z5l.fsf@gnu.org> <55E8879B.9050107@yandex.ru> <87lhcnqsc6.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1441304777 5316 80.91.229.3 (3 Sep 2015 18:26:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 18:26:17 +0000 (UTC) To: Marcin Borkowski , Eli Zaretskii , kaushal.modi@gmail.com, monnier@iro.umontreal.ca, bruce.connor.am@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 03 20:26:10 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZXZD8-0000FB-Ff for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 20:26:10 +0200 Original-Received: from localhost ([::1]:50983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZD8-0004zq-8Z for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 14:26:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZCv-0004zY-5q for emacs-devel@gnu.org; Thu, 03 Sep 2015 14:25:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXZCs-0002um-1H for emacs-devel@gnu.org; Thu, 03 Sep 2015 14:25:57 -0400 Original-Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:33313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZCr-0002uf-Pi; Thu, 03 Sep 2015 14:25:53 -0400 Original-Received: by wiclk2 with SMTP id lk2so7795943wic.0; Thu, 03 Sep 2015 11:25:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=/IUVZPaOKKpmqSQ9xOUDzqH/EyCX9WnrzN33OyDZO2o=; b=bO+ESvRonMwBQ8BN0SUqRgT/RqXSkNiicyWhuu78W7dr1xi6Zp71gY7jUnbpnMnwS0 Yx8HxX8xHlk252Fqf0GGTHD2IblyuJUw28+oETsUhKzGvAgNFCFpF+E7wjdCQi/Y42kW k/Ia4f2Bf9lCE+qL5Rm2h9skeaz0bjj5JAPZDAomjgBxI92rDBAzeHPUxLxSzNoGc1eZ sljB3v5XYUu4FttzDMCMHEIBt8qVfnjfnnWdgIRRCIlzI8lPDj52jbWnq9LqhQyaRItY ufkYiN15wuQKR1bztfQlBPBz7WaHcxTmxBXu7ZaRXITiyXJUIsz7503iWUIKhC+lEq7Y 4nRw== X-Received: by 10.180.100.39 with SMTP id ev7mr804926wib.15.1441304753174; Thu, 03 Sep 2015 11:25:53 -0700 (PDT) Original-Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id j7sm38991628wjz.11.2015.09.03.11.25.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Sep 2015 11:25:51 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.0 In-Reply-To: <87lhcnqsc6.fsf@mbork.pl> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189542 Archived-At: On 09/03/2015 09:18 PM, Marcin Borkowski wrote: > The whole point of yes-or-no-p is to make user type something less > convenient (and less probable to hit accidentally) then just `y'. And as a power user, I've found it immensely useful not to type that "less convenient" thing. If it were a problem in my usage, I'd probably have noticed. > FWIW, I have (setq confirm-kill-emacs #'yes-or-no-p) in my init.el. > I just can't count the times I pressed C-x C-c by mistake. It's a personal choice. I don't kill Emacs too often by mistake, and even if I press that conbination, usually I would be greeted with prompts about modified buffers and running processes.