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: Sat, 26 Dec 2020 05:24:22 -0500 Message-ID: References: <834kkcr1eo.fsf@gnu.org> <43b24209-fa65-0e26-7cbd-f99175a7ffd8@gmx.at> <87wnx7j5is.fsf@mail.linkov.net> <83im8qnyca.fsf@gnu.org> <83bleinmse.fsf@gnu.org> 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="26215"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, emacs-devel@gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 26 11:25:21 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 1kt6lE-0006iH-D0 for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Dec 2020 11:25:20 +0100 Original-Received: from localhost ([::1]:39392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kt6lD-0003BW-Eb for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Dec 2020 05:25:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kt6kN-0001z0-26 for emacs-devel@gnu.org; Sat, 26 Dec 2020 05:24:27 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60225) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kt6kM-0000jY-Ql; Sat, 26 Dec 2020 05:24:26 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kt6kI-0000yC-Ft; Sat, 26 Dec 2020 05:24:22 -0500 In-Reply-To: <83bleinmse.fsf@gnu.org> (message from Eli Zaretskii on Fri, 25 Dec 2020 13:32:49 +0200) 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:261817 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. ]]] > > There are two orthogonal issues here: Whether to enable recursive > > minibuffers and whether to allow leaving the minibuffer window while > > asking a 'y-or-n-p' question. The above addresses the latter only. > Isn't that enough to solve the problem which started this thread? No. It would prevent some of the secondary confusion. But the basic confusion came from getting out of the y-or-n-p question. I'd like to have all those commands, which read one-character answers, use the old code and give exactly the old behavior. A little while ago I found that my minibuffer was displaying Unsent message being composed, erase it? (y or n) and I had no recollection of why. Nor was it easy to make it go away. Sure, I could have done it with C-], but C-] does not come to mind when I see that. I expect to answer y or n, but that doesn't work when the minibuffer is not selected. -- 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)