From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21396: 25.0.50; read-key's prompt is not visible Date: Thu, 03 Sep 2015 21:18:08 +0300 Message-ID: <83d1xz9xjz.fsf@gnu.org> References: <87wpw91h2k.fsf@gnu.org> <87egifgzog.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1441304428 30574 80.91.229.3 (3 Sep 2015 18:20:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 18:20:28 +0000 (UTC) Cc: 21396@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 03 20:20:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ZXZ7K-0003i2-5Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Sep 2015 20:20:10 +0200 Original-Received: from localhost ([::1]:50950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZ7K-0003Kg-3S for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Sep 2015 14:20:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZ7G-0003JC-98 for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2015 14:20:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXZ7D-0007tB-5x for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2015 14:20:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZ7D-0007sw-1t for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2015 14:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZXZ7C-0000de-BM for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2015 14:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Sep 2015 18:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21396 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21396-submit@debbugs.gnu.org id=B21396.14413043682404 (code B ref 21396); Thu, 03 Sep 2015 18:20:02 +0000 Original-Received: (at 21396) by debbugs.gnu.org; 3 Sep 2015 18:19:28 +0000 Original-Received: from localhost ([127.0.0.1]:47879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXZ6d-0000cg-86 for submit@debbugs.gnu.org; Thu, 03 Sep 2015 14:19:27 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:46990) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXZ6a-0000cP-KW for 21396@debbugs.gnu.org; Thu, 03 Sep 2015 14:19:25 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NU4001005HCXU00@a-mtaout20.012.net.il> for 21396@debbugs.gnu.org; Thu, 03 Sep 2015 21:18:06 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NU4001M75I6OEA0@a-mtaout20.012.net.il>; Thu, 03 Sep 2015 21:18:06 +0300 (IDT) In-reply-to: <87egifgzog.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106119 Archived-At: > From: Tassilo Horn > Date: Thu, 03 Sep 2015 19:50:23 +0200 > Cc: 21396@debbugs.gnu.org > > Stefan Monnier writes: > > >> 1. emacs -Q > >> 2. eval (read-key "Gimme Key: ") in *scratch* > >> the key will be read but the prompt is not shown in the minibuffer > > [...] > >> commit 5dc644a6b01e2cf950ff617ab15be4bf1917c38c > >> Author: Stefan Monnier > >> Date: Tue Sep 1 21:14:18 2015 -0400 > >> Generalize the prefix-command machinery of C-u > > > > Hmm... I'll look into it. > > Great, thanks. Meanwhile others have seen that issue, too. See the > thread on emacs-devel. I really hope Stefan will NOT fix this. It's IMO the wrong way of dealing with such issues. If typing yes is too much in some situations, and just y is enough, we should not call yes-or-no-p in those situations. AFAIU, the only reason to call the latter is when the question is about some serious matter, so we want to avoid the possibility of mistakenly pressing just one (wrong) key. So if some of these situations aren't so grave, let's call y-or-n-p instead. And if there are people who still want to press y or n, even when they might err and pay dearly for their mistakes, then we could have an option to have yes-or-no-p call y-or-n-p instead. But using a defalias here is a kludge; asking Emacs maintenance to support such kludges means extra overhead and tricky code for no good reason. I think we should simply say no to such requests. We have more than enough work on our hands already, no need for gratuitous additions, thank you.