From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 09 12:44:57 2019 Received: (at submit) by debbugs.gnu.org; 9 Aug 2019 16:44:57 +0000 Received: from localhost ([127.0.0.1]:43184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw80f-0007oG-61 for submit@debbugs.gnu.org; Fri, 09 Aug 2019 12:44:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:60893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw80d-0007o8-6q for submit@debbugs.gnu.org; Fri, 09 Aug 2019 12:44:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34329) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw80c-0007Om-7w for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 12:44:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hw80b-0003J3-6L for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 12:44:54 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:56582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hw80a-0003I6-Um for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 12:44:53 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x79GhjOW046869 for ; Fri, 9 Aug 2019 16:44:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=UnvVUiouJxCjQ+HZhvS/YUAyILqtKsGjtI69dx2Bf+o=; b=BJcwxCsEMoACv0H3hI3XStQIJTt7FFUJ3snNKWfQw6d12eIgwsy1NIuR47STi0R1qxRd EEwmyN3yNdsThE8yew7GOhe/vq90Bj/ABLchSmjtSIvSS3ujOKdJHYn2co7StDzmlanD p/1cjYowZVelUz7iLlzyJSObudV3q6Z06kEk7CwQ6LkY4tVjEJ362WnJbnRxKmCqpM0D VJkVzt/08b5JradhHPO18FNEw47Ktf493GubnCRBQ5CyX0EdoLhXTohlKkb79ELzbv1N c2VSMbQDNsYvuHRhmM13CZDQHSUJhOkQrL3U9la20c8MweZJiJ3IQ/bIQ8oQ6p74DzgP Ng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=UnvVUiouJxCjQ+HZhvS/YUAyILqtKsGjtI69dx2Bf+o=; b=4KxLR4q2WaaFjdWY6jE4yWAnjEowWwlL9JSfsMerNOvub6CqIoYAkConQ4Z5uc7FTeHZ Gcoima3aUSSBdF/yX0aM3C1DBnLuceUMImtiTZnXTVWah3lSpIlYXAuC/lzk0xLfkIZj A4wpXc8S6K9ShU2DRS8kbwPZxmMENrJ+ndR4g8XJ+NCvxRPj2yiM2PA7v3gINU85n0WT wuPXxwS4B2YpWecgag5Ofvtqlx1QWQHWGHbkEqRe7Ej1NfhOMbtpn/2ft2t811NaqFoi irJgANjidE7TK7pEfTQpCuPOE1B4f4x5cg+UvoEWJScqm9O/qu/d/N/NrSnzzCrxqmbi Sg== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 2u8hash0th-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 09 Aug 2019 16:44:51 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x79Gh8wa024817 for ; Fri, 9 Aug 2019 16:44:50 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3020.oracle.com with ESMTP id 2u90t7qdux-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 09 Aug 2019 16:44:50 +0000 Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x79GinQM030329 for ; Fri, 9 Aug 2019 16:44:49 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 9 Aug 2019 09:44:48 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 26.2; Doc string of `y-or-n-p': say it returns nil if answer is not `y' or `DEL' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9344 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=712 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908090164 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9344 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=780 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908090164 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 141.146.126.78 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Subject line says it all. The doc says only that it returns `t' if the answer is `y'. It should also say what it returns if the answer is no (not `y' or `DEL'). (The Elisp manual is OK for this.) In GNU Emacs 26.2 (build 1, x86_64-w64-mingw32) of 2019-04-13 Repository revision: fd1b34bfba8f3f6298df47c8e10b61530426f749 Windowing system distributor `Microsoft Corp.', version 10.0.17763 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 09 13:03:05 2019 Received: (at 36989) by debbugs.gnu.org; 9 Aug 2019 17:03:05 +0000 Received: from localhost ([127.0.0.1]:43199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw8IC-0001wQ-Sd for submit@debbugs.gnu.org; Fri, 09 Aug 2019 13:03:05 -0400 Received: from mail-ot1-f42.google.com ([209.85.210.42]:42209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw8IB-0001vx-CH for 36989@debbugs.gnu.org; Fri, 09 Aug 2019 13:03:03 -0400 Received: by mail-ot1-f42.google.com with SMTP id l15so135222316otn.9 for <36989@debbugs.gnu.org>; Fri, 09 Aug 2019 10:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=wjeKf71nLPUbqiePdWMS7zopUTHokMaMm6Chuyuc3+A=; b=ardlA0wkyWuUBVqnxWIBsZ+QimPHHRxgFrTq5Ml1oCJ+sAIIv6VQPp8LTlrs7MmZ7T F8N3AwVHqesisnrv8Zol3blPKzciXbA0vJ3BThG1zBZsYWhoTuKR8JfIhMmuAg0J0UCH uZmfyTeRIcqNDKbBoeaDIY24vnWs0tfQAWEs6XbEMhi1oTBzPBMCPwmxsYsSJpkthjAR JHkjN3bdHtRsIeM70FqfhrG40sIrPFm8qRUysbMyqXX4yOw7qQJ4+ASFMqz8vpkfrVAq CFIq8jP4hu+WGfVBy2LWCPdSyTquNCuVha5gush9M68AIwjB09QhMRc/EAH7CgrceJM1 MHMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=wjeKf71nLPUbqiePdWMS7zopUTHokMaMm6Chuyuc3+A=; b=VN2ox2Iias1gPMUCOEROQpxzCHzs2bwMPCL+IcfJ57n7YVoChap6hvYEJCZBUfFzEx f9z5hn4Ox/U1UcnbogVmnvbhmdplUTwp+VvGIdpZzPZCJzco09JZr/AtgPoxVhqlYD8e 9a7KJEgfkN5Bmgk3fExDcT1HYFY6/m8SXYob89lBZ3d7jl7l0Jw9sCKsuc7bv3Y1s8rp p1z79v8/fZdCxbiwuDdnN/jHKkpfHGW41Uet4ivX19Ws4kPOcRVu4HP0Qc2t4+yCco/2 qd+cpnlOOdmrPN5Lho2IPzRWUFjT/XA2Fi/HUPVK4G6KrDJzzbV8hpYY44yIHTLcNrZd 6dYw== X-Gm-Message-State: APjAAAWsi5+uovgcnzp02f6xQqIR/++OzuP4ejer0wV/Fh7/PME0egXl G1Q/1AhIswlXX72IQh3V84NbqWmE X-Google-Smtp-Source: APXvYqweRhzcIXYSRvKUp3JxLqVh/fnbt0/jVSsOI/4ktq4jckOEbsilK2jK3OqJH28/GjjxLWbJWA== X-Received: by 2002:a6b:6409:: with SMTP id t9mr10966866iog.270.1565370177660; Fri, 09 Aug 2019 10:02:57 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id h8sm90072964ioq.61.2019.08.09.10.02.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Aug 2019 10:02:56 -0700 (PDT) From: Noam Postavsky To: Drew Adams Subject: Re: bug#36989: 26.2; Doc string of `y-or-n-p': say it returns nil if answer is not `y' or `DEL' References: Date: Fri, 09 Aug 2019 13:02:55 -0400 In-Reply-To: (Drew Adams's message of "Fri, 9 Aug 2019 09:44:48 -0700 (PDT)") Message-ID: <85ef1u2rwg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36989 Cc: 36989@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Drew Adams writes: > Subject line says it all. The doc says only that it returns `t' if the > answer is `y'. It should also say what it returns if the answer is no > (not `y' or `DEL'). Did you miss where it says: Return t if answer is "y" and nil if it is "n". ^^^^^^^^^^^^^^^^ From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 09 13:20:50 2019 Received: (at 36989) by debbugs.gnu.org; 9 Aug 2019 17:20:50 +0000 Received: from localhost ([127.0.0.1]:43206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw8ZO-0002Oh-EN for submit@debbugs.gnu.org; Fri, 09 Aug 2019 13:20:50 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:37848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw8ZK-0002ON-1X for 36989@debbugs.gnu.org; Fri, 09 Aug 2019 13:20:48 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x79HJWfK057427; Fri, 9 Aug 2019 17:20:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=JgBYSWBMhQvOiCpFLKZJwP0Th+Pk0JDuFsQqTzmieIU=; b=bf0CPBInaZxW+PlxL6jtvLgEE+gYrEY3p+AFu9FLhOUmB54+2XPCoxFC9NhzgldARjtv B5rUsC7qzr9Hv8OoILehyVnFCQKG91v8TCfZcWzh4NizqT9+Sn1xj5v2wm6fyms8OT+K DqsjsB5sjaLF8xx9MT2BoWz2Gn0d3TDO3TBRMpTsRCnZYshb3TBGMyOBicq4fknrOFWH NVVW/t3WE5KcaHje9fIxqBq8R67zOA5/P0DFykQPSFRuCr38g4opirXQxzky2qaof0Jy vOKmsLAVDFPo7nR308tDPABWYQRiQydud4yn9hg/Bjbadk+TdLGavceAWGwZ+YsCRmHh eg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=JgBYSWBMhQvOiCpFLKZJwP0Th+Pk0JDuFsQqTzmieIU=; b=Va+UH3VwoYGqC/dRkV9nf4CrfiEPS+nNi6PISjOUN8XpCsMlKee6mtKYgr18XyG8TTzh BfE1a0NmCn90parw6AsPXGex+EpD3HmyyGu7lMneBk/cGCe+VNNMIkgXOdrQ/pVa99XT mCDQ4L8V8rXuYh2zz5Zcpi+ZOEJKJ3pekDJ5YaZ8ZD6qsc8bWuQmbxNpGvdbyi8cV5HS hz5C632manl2Q758Do3QxW2QkkZ+d82FVJvJGvUgu66BKVR4iEPPo5RznhieJ1f7laIw Ch03m4RV3gX5M2lIpxq3USWDtbuZmShbiFmQBXCqSGXgJW2rvbPgCkmkrahCFoBq7lwU 1g== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 2u8hps91np-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 09 Aug 2019 17:20:39 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x79HIBUu119479; Fri, 9 Aug 2019 17:20:39 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 2u90t7rg4r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 09 Aug 2019 17:20:39 +0000 Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x79HKcr1031509; Fri, 9 Aug 2019 17:20:38 GMT MIME-Version: 1.0 Message-ID: <8b912ab4-fceb-47ef-9fec-7ef16fa7d102@default> Date: Fri, 9 Aug 2019 10:20:37 -0700 (PDT) From: Drew Adams To: Noam Postavsky Subject: RE: bug#36989: 26.2; Doc string of `y-or-n-p': say it returns nil if answer is not `y' or `DEL' References: <85ef1u2rwg.fsf@gmail.com> In-Reply-To: <85ef1u2rwg.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9344 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=680 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908090171 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9344 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=728 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908090171 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36989 Cc: 36989@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > Subject line says it all. The doc says only that it returns `t' if > > the answer is `y'. It should also say what it returns if the answer > > is no (not `y' or `DEL'). >=20 > Did you miss where it says: > Return t if answer is "y" and nil if it is "n". > ^^^^^^^^^^^^^^^^ No, I didn't miss it, because it's not in the Emacs release I reported on (the latest release, AFAIK): Emacs 26.2. This is the full doc string (`C-h f'): y-or-n-p is a compiled Lisp function in 'subr.el'. (y-or-n-p PROMPT) Ask user a "y or n" question. Return t if answer is "y". Takes one argument, which is the string to display to ask the question. It should end in a space; 'y-or-n-p' adds '(y or n) ' to it. No confirmation of answer is requested; a single character is enough. Also accepts SPC to mean yes, or DEL to mean no. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 09 13:26:30 2019 Received: (at 36989) by debbugs.gnu.org; 9 Aug 2019 17:26:30 +0000 Received: from localhost ([127.0.0.1]:43212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw8es-0002YF-CH for submit@debbugs.gnu.org; Fri, 09 Aug 2019 13:26:30 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:39679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw8ep-0002Xw-MF; Fri, 09 Aug 2019 13:26:28 -0400 Received: by mail-ot1-f65.google.com with SMTP id r21so129517950otq.6; Fri, 09 Aug 2019 10:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hvAP/l8RaZJS+E3cGubHBMUvOX/0qKBPNT7MRnQTXek=; b=TTX5bifjo6i532bHRXgC1EA39IKY2BkgNDP1BkMgH2rwBj8FKAawL0l/mcyFh8pYu9 WhEkIqAx2+ATB+KnUxkj8r/E0wTp5i8EyS4EJuJgkJScXFjgFVZt+RCaVQHwKZHLg59k qcduM2FTflOQmnEcq2BAysNogxDwe33yvYTOMccTSLO/9cIrxSWNVBT5VrZmSiN1gBRu ZtS7BbIhgcbH0Oeof+9ohIqvSgLpQJLi515pfE7xt28NKJZA7vjIcKt1tHEJcTMlL+9o gOP1wc7xL0UP5eTlnD3LnVRDOH6fNvQ2somtfjToyxoRQCPtqWZiI3QEZa7ItavuaqEB TC7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hvAP/l8RaZJS+E3cGubHBMUvOX/0qKBPNT7MRnQTXek=; b=smofxTxWlHJEWOlfMASBujpapOj2DUi52uay/tFfHoe7rQ3o/PbBhGNwJ+Ei4L6kuZ oYRpYbVmd3H1vBX29MlkATrVRpmFN+c5dTXJpKC5Mr3XA7E3o1BfWxWHWydX9ev4TCCC HtqTULWSmJWJziQXwFkl8Gg7gb1gSew9Kp1QexhSXENQELtrQ0piVnxiQLS/axzL16/V UMSedP6RuhmnHZHUzzLoSLHcwbdG7yt2bAZQZ9RXCxw8HUhyVsvMn11QcxGDwg5IZhFh 1m6CviCRlzPTgQtTTp9C/9I5jo7gRWM4pa0GEsj1h3gJFTlJH2s7Af3Rvie5S60vE7UC wLuA== X-Gm-Message-State: APjAAAXXK10e+NR7wSZmNQ55sqSircbCv/fcp4VK38xi+kDh8zjEx3JV bz7zYzuio4i17dU1wh6R3QhwCjAX X-Google-Smtp-Source: APXvYqwJLX6nnqhYXXEi4excyckGWix8bTbbwYwMzyEcdb3nzW2PDlk0J9ICQRfB2pX5qDy25YPUiw== X-Received: by 2002:a02:3946:: with SMTP id w6mr6556849jae.55.1565371581933; Fri, 09 Aug 2019 10:26:21 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id h19sm65489024iol.65.2019.08.09.10.26.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Aug 2019 10:26:21 -0700 (PDT) From: Noam Postavsky To: Drew Adams Subject: Re: bug#36989: 26.2; Doc string of `y-or-n-p': say it returns nil if answer is not `y' or `DEL' References: <85ef1u2rwg.fsf@gmail.com> <8b912ab4-fceb-47ef-9fec-7ef16fa7d102@default> Date: Fri, 09 Aug 2019 13:26:20 -0400 In-Reply-To: <8b912ab4-fceb-47ef-9fec-7ef16fa7d102@default> (Drew Adams's message of "Fri, 9 Aug 2019 10:20:37 -0700 (PDT)") Message-ID: <85blwy2qtf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36989 Cc: 36989@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) notfound 36989 26.2 found 36989 24.5 tags 36989 fixed close 36989 25.1 quit Drew Adams writes: >> Did you miss where it says: >> Return t if answer is "y" and nil if it is "n". >> ^^^^^^^^^^^^^^^^ > > No, I didn't miss it, because it's not in the Emacs release > I reported on (the latest release, AFAIK): Emacs 26.2. I don't think you are looking at the docstring from Emacs 26.2. https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/subr.el?h=emacs-26.2#n2507 > Ask user a "y or n" question. Return t if answer is "y". That seems to be the docstring from 24.5. https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/subr.el?h=emacs-24.5#n2212 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 09 13:32:44 2019 Received: (at 36989) by debbugs.gnu.org; 9 Aug 2019 17:32:44 +0000 Received: from localhost ([127.0.0.1]:43222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw8ku-0004q7-6B for submit@debbugs.gnu.org; Fri, 09 Aug 2019 13:32:44 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:39212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw8kr-0004pt-Hi for 36989@debbugs.gnu.org; Fri, 09 Aug 2019 13:32:41 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x79HTPtP087137; Fri, 9 Aug 2019 17:32:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=a1PjNwkkm7Ro2WNQZXH/zKrwl9F2q3KE57NteEDfsf8=; b=QdGWehIY3O1CDNLMJd8HIYxAx0IEne7bcY2Sk96ucr9I/oGrzHtzikiakl6pkRb0RADF mHCqIvic+LPpDLKbTk7Z/Rs70u0tW84oxH6/woV5g73PmegK5QSW19V6p+vrIZ0yFoPH GG6fIvmhZXFqe6frPBwmWV0m9RTsOCOvFjscEl/u4honvQO6zD9Sw70kXeCYnH5JM3nI NtwRmdEJa6PB4icI0UWlc1ilTZG/U+wJpABYKAox1ALSygBvGOxzBFaFAZIugbuxaYaZ nza20le+H0EzyfWws3r1d0tYUuJn1AT0rQvQXg4zNUEJmwMIe+A/xvlEFAmhzOXUGHfD 0w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=a1PjNwkkm7Ro2WNQZXH/zKrwl9F2q3KE57NteEDfsf8=; b=rDdF1C9ZTv24hpB8YT+PujdUQWxr3A/L2nMIZr3tCY+ROythKG2yIDTKgGUNtCIpGXsD ojvJ3UkPFM+dowMdL0ac0pqw1osM547/eq2WRj3dNBSJg0DJdUX3QqsJ6zEkXDVsOCsx XBz048sVSCySKZ5KvU0nNB70aMvqk/h7NtBL7nKoWPfVWFLaFG4c81spfOdXOn1BIkw5 MJDjB3SxHRMbVK/vGwFTorFKl7icXUW92m00oJZc9lpCGr4ZkCk6HgOyMHdKVuUUz9PQ eL346haxHos+mZnNhpmINcvYcOrjAwUVYUeRbRK10XDaLvuylUyTasJ4IY2/3ONzZJHD oQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 2u8hash7xt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 09 Aug 2019 17:32:35 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x79HSCu1008549; Fri, 9 Aug 2019 17:32:35 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 2u8x9fqt5v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 09 Aug 2019 17:32:34 +0000 Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x79HWYJD028312; Fri, 9 Aug 2019 17:32:34 GMT MIME-Version: 1.0 Message-ID: <49d845c7-3f1f-4075-844d-8de52e86cce8@default> Date: Fri, 9 Aug 2019 10:32:33 -0700 (PDT) From: Drew Adams To: Noam Postavsky Subject: RE: bug#36989: 26.2; Doc string of `y-or-n-p': say it returns nil if answer is not `y' or `DEL' References: <85ef1u2rwg.fsf@gmail.com> <8b912ab4-fceb-47ef-9fec-7ef16fa7d102@default> <85blwy2qtf.fsf@gmail.com> In-Reply-To: <85blwy2qtf.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9344 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=787 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908090173 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9344 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=855 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908090173 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36989 Cc: 36989@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > I don't think you are looking at the docstring from Emacs 26.2. >=20 > > Ask user a "y or n" question. Return t if answer is "y". >=20 > That seems to be the docstring from 24.5. Very sorry. My bad. I am in 26.2, but that doc string is from a redefinition I had of the function. I'll close the bug, if you haven't already. Sorry for wasting your time. And thanks for identifying the problem so quickly. From unknown Mon Aug 18 09:01:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 07 Sep 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator