From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Confused by y-or-n-p Date: Thu, 24 Dec 2020 23:40:18 -0500 Message-ID: References: <834kkcr1eo.fsf@gnu.org> <43b24209-fa65-0e26-7cbd-f99175a7ffd8@gmx.at> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5192"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 25 05:41:36 2020 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 1ksev2-0001Gs-Rg for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Dec 2020 05:41:36 +0100 Original-Received: from localhost ([::1]:45158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kseuz-0000FN-2A for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Dec 2020 23:41:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kseto-0008Aw-Ep for emacs-devel@gnu.org; Thu, 24 Dec 2020 23:40:20 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52085) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kseto-00052F-02; Thu, 24 Dec 2020 23:40:20 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ksetm-00038Q-Bb; Thu, 24 Dec 2020 23:40:19 -0500 In-Reply-To: <43b24209-fa65-0e26-7cbd-f99175a7ffd8@gmx.at> (message from martin rudalics on Thu, 24 Dec 2020 16:38:28 +0100) 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:261711 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > However, according to Wikipedia, modal dialogues are used > "to command user awareness and to display emergency states" > inherently contradicting what we say above. Maybe I'm the only one who > sees a contradiction here. Emacs does not fit Wikipedia's general statement, but I don't see that it ought to fit. The idea of y-or-n-p and yes-or-no-p is that for less important questions, where saying yes by mistake is not so bad, you can answer in one character. When more confirmation should be required, we use yes-or-no-p so you must answer with four characters. It just happened that the former was easy to do by reading an event and the only easy way to do the latter was with a minibuffer. So the former turned out to be "modal" and the latter turned out not to be. But I don't see that that matters particularly. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)