From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: yes-or-no-p prompt conditionally broken in master? Date: Thu, 03 Sep 2015 20:33:28 +0200 Message-ID: <87bndjwdxj.fsf@fencepost.gnu.org> References: <83k2s7a247.fsf@gnu.org> <55E88336.5060703@yandex.ru> <83h9nb9z5l.fsf@gnu.org> <55E8879B.9050107@yandex.ru> <87lhcnqsc6.fsf@mbork.pl> <55E8908F.5000201@yandex.ru> <838u8n9x2c.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441305418 17448 80.91.229.3 (3 Sep 2015 18:36:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 18:36:58 +0000 (UTC) Cc: kaushal.modi@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, bruce.connor.am@gmail.com, Dmitry Gutov To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 03 20:36:57 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 1ZXZNZ-0000ku-45 for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 20:36:57 +0200 Original-Received: from localhost ([::1]:51052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZNY-0004Jz-V7 for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 14:36:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZNS-0004Ix-Ca for emacs-devel@gnu.org; Thu, 03 Sep 2015 14:36:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXZNH-0008FW-7e for emacs-devel@gnu.org; Thu, 03 Sep 2015 14:36:50 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZLz-0006o5-RQ; Thu, 03 Sep 2015 14:35:19 -0400 Original-Received: from localhost ([127.0.0.1]:45018 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1ZXZKF-0004PQ-Ii; Thu, 03 Sep 2015 14:33:31 -0400 Original-Received: by lola (Postfix, from userid 1000) id A6037E12C9; Thu, 3 Sep 2015 20:33:28 +0200 (CEST) In-Reply-To: <838u8n9x2c.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 03 Sep 2015 21:28:43 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:189548 Archived-At: Eli Zaretskii writes: >> From: Dmitry Gutov >> Date: Thu, 3 Sep 2015 21:25:19 +0300 >> >> > 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. > > Personal choices are solved by user options, not by defaliases and > suchlikes. The Emacs manual starts with "Emacs is the extensible, customizable, self-documenting real-time display editor." The very first attribute mentioned here is "extensible". So who are we to tell users they should not use Emacs' programming facilities for making it do what they want? -- David Kastrup