From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#27979: tab completion for "(yes or no)?" Date: Sun, 6 Aug 2017 08:07:33 -0700 (PDT) Message-ID: References: <87lgmxh6w5.fsf@jidanni.org> <87r2wp6v1m.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1502032102 20138 195.159.176.226 (6 Aug 2017 15:08:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Aug 2017 15:08:22 +0000 (UTC) Cc: 27979@debbugs.gnu.org To: Tino Calancha , =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 06 17:08:18 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deNA3-0004a8-T1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Aug 2017 17:08:12 +0200 Original-Received: from localhost ([::1]:33405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deNA6-0007pw-Ns for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Aug 2017 11:08:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deN9x-0007pm-LI for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 11:08:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1deN9u-0004oN-H4 for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 11:08:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42179) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1deN9u-0004oB-E6 for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 11:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1deN9t-00006U-K5 for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 11:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Aug 2017 15:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27979 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27979-submit@debbugs.gnu.org id=B27979.1502032064376 (code B ref 27979); Sun, 06 Aug 2017 15:08:01 +0000 Original-Received: (at 27979) by debbugs.gnu.org; 6 Aug 2017 15:07:44 +0000 Original-Received: from localhost ([127.0.0.1]:44856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deN9b-000060-Qz for submit@debbugs.gnu.org; Sun, 06 Aug 2017 11:07:44 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:29847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deN9a-00005o-Dq for 27979@debbugs.gnu.org; Sun, 06 Aug 2017 11:07:43 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v76F7Z6R031911 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 6 Aug 2017 15:07:36 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v76F7ZRB014778 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 6 Aug 2017 15:07:35 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v76F7YDv008297; Sun, 6 Aug 2017 15:07:34 GMT In-Reply-To: <87r2wp6v1m.fsf@calancha-pc> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6774.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:135494 Archived-At: > IMO, Emacs prefers `yes-or-no-p' for dangerous actions, and it > uses `y-or-n-p' for safe ones. I think this is good, to protect > beginners from lost important data; offering TAB completion would > somehow contradict this idiom. +1 =20 > Some experts have in their Emacs init file: > (fset 'yes-or-no-p 'y-or-n-p) > So that they will be prompted with (y or n). More newbies than experts, methinks. ;-)