From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#36989: 26.2; Doc string of `y-or-n-p': say it returns nil if answer is not `y' or `DEL' Date: Fri, 09 Aug 2019 13:26:20 -0400 Message-ID: <85blwy2qtf.fsf@gmail.com> References: <85ef1u2rwg.fsf@gmail.com> <8b912ab4-fceb-47ef-9fec-7ef16fa7d102@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="129828"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) Cc: 36989@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 09 19:27:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hw8fV-000Xeb-VG for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Aug 2019 19:27:10 +0200 Original-Received: from localhost ([::1]:33158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw8fU-00017I-CI for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Aug 2019 13:27:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40090) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw8fP-00016r-9G for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 13:27:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hw8fO-0004WQ-3C for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 13:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34391) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hw8fN-0004WF-Tx for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 13:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hw8fN-0002ZN-Oc for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 13:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Aug 2019 17:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36989 X-GNU-PR-Package: emacs Original-Received: via spool by 36989-submit@debbugs.gnu.org id=B36989.15653715909820 (code B ref 36989); Fri, 09 Aug 2019 17:27:01 +0000 Original-Received: (at 36989) by debbugs.gnu.org; 9 Aug 2019 17:26:30 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <8b912ab4-fceb-47ef-9fec-7ef16fa7d102@default> (Drew Adams's message of "Fri, 9 Aug 2019 10:20:37 -0700 (PDT)") 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: 209.51.188.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:164811 Archived-At: 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