From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#21396: 25.0.50; read-key's prompt is not visible Date: Thu, 3 Sep 2015 11:27:18 -0700 (PDT) Message-ID: References: <<87wpw91h2k.fsf@gnu.org> > <<87egifgzog.fsf@gnu.org>> <<83d1xz9xjz.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1441304904 7718 80.91.229.3 (3 Sep 2015 18:28:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 18:28:24 +0000 (UTC) Cc: 21396@debbugs.gnu.org To: Eli Zaretskii , Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 03 20:28:11 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 1ZXZF4-0001zE-M3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Sep 2015 20:28:10 +0200 Original-Received: from localhost ([::1]:50991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZF4-0005uj-5E for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Sep 2015 14:28:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZEz-0005rh-Vg for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2015 14:28:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXZEw-0003ZC-Nl for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2015 14:28:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXZEw-0003Z8-LO for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2015 14:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZXZEw-0000qZ-F2 for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2015 14:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Sep 2015 18:28: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.14413048433207 (code B ref 21396); Thu, 03 Sep 2015 18:28:02 +0000 Original-Received: (at 21396) by debbugs.gnu.org; 3 Sep 2015 18:27:23 +0000 Original-Received: from localhost ([127.0.0.1]:47885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXZEJ-0000pf-GF for submit@debbugs.gnu.org; Thu, 03 Sep 2015 14:27:23 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:42970) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXZEI-0000pX-BA for 21396@debbugs.gnu.org; Thu, 03 Sep 2015 14:27:22 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t83IRKPw024949 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 3 Sep 2015 18:27:21 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t83IRKc5026430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 3 Sep 2015 18:27:20 GMT Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t83IRJ2l030997; Thu, 3 Sep 2015 18:27:19 GMT In-Reply-To: <<83d1xz9xjz.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] 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:106120 Archived-At: > 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. Agreed. But that's a decision for Emacs, and it is a judgment call to try to fit what is generally appropriate in that context. That's different from what a given user might want. So yes, Emacs should pick the right function to use. And yes, users should be able to choose something else, if they really want to. (Personally, I stick with what Emacs decides, here.) > 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. Yes. > 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. I agree that a user option is more appropriate than defaliasing.