From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrey Orst Newsgroups: gmane.emacs.bugs Subject: bug#40653: 28.0.50; (fset 'yes-or-no-p 'y-or-n-p) has no effect in native-comp branch Date: Thu, 16 Apr 2020 10:59:12 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009509bc05a363cf44" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="96025"; mail-complaints-to="usenet@ciao.gmane.io" To: 40653@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 16 10:00:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jOzRU-000Os1-W2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Apr 2020 10:00:13 +0200 Original-Received: from localhost ([::1]:59088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOzRT-0007tV-Ux for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Apr 2020 04:00:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41579) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOzRM-0007tJ-0i for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 04:00:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOzRL-0000iX-2b for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 04:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54118) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOzRK-0000iJ-Vw for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 04:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jOzRK-0008Lh-UM for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 04:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrey Orst Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Apr 2020 08:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40653 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158702397032022 (code B ref -1); Thu, 16 Apr 2020 08:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Apr 2020 07:59:30 +0000 Original-Received: from localhost ([127.0.0.1]:37431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOzQo-0008KN-11 for submit@debbugs.gnu.org; Thu, 16 Apr 2020 03:59:30 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:58758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOzQk-0008KD-Bt for submit@debbugs.gnu.org; Thu, 16 Apr 2020 03:59:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41530) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOzQj-0007qo-BZ for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 03:59:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOzQi-0000QC-FY for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 03:59:25 -0400 Original-Received: from mail-yb1-xb2c.google.com ([2607:f8b0:4864:20::b2c]:38293) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOzQi-0000Px-9u for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 03:59:24 -0400 Original-Received: by mail-yb1-xb2c.google.com with SMTP id l5so1547117ybf.5 for ; Thu, 16 Apr 2020 00:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QB/LDTUIWwZhzFgwGS1PljB7YUolY9HPgvm0f22ucdM=; b=gDusccx+EIurSf8vk61eeF+Y2GnQOte4dDOicm49/fnxCBvTAk1zglFCserUzPSfM3 ZoHZQV/u69X5CHuwyQdcKjsn1Xj8jUd9yi/DdILLa3r88TS1X/61OWl6BQdFkxzgn1xH SH6z6mCvzYh3EiFD/+R5kDcAp/9p9jM4XJarHWLwUeT8VgICo/0F51zKkzA93DVERkRe kxp0s0+JCxm4A30zabFmM4/CquIXjf7MWf3of1YFI/kJ+V5GWWFpuwg9bPqM65rlRgV5 bZPGWF9SA+Y9oFtFptd77Os2EcQrR/K9vrNI9/rLIz0iZyQgruf6i1NWIXSoBeJOrAwH TniA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QB/LDTUIWwZhzFgwGS1PljB7YUolY9HPgvm0f22ucdM=; b=BgwoI/bFV1SaV4ROCubfQ2twexF7GVaWj50tOCDrJvtxoM0xJEtkiip2Y5NvISUHs1 2Ri50YDPuIR4vPboAiwmQpU0n3oRTJOuMQIw90kDZoq3jHw1zLaSMIa2NEy4iHNJ2tVV mFUywFRiVndPFqX0ccjXIEKkJ3+pVDixlgezsyyPLzmO/U3PXiKRZdrvbYiks3vMuqEb NE0w2gh3aB/VPuQaPY2gYaHnRgjT4wQrd8XwBT2EPEmsLotZOOeWGkmAOHUU4wApluMP ob6WUybSqu0+epUNiSSDyXjehf7YgxZXO0mq3QKQgE+Q/IiWagqGytDoDpvqXCHms3tp Meng== X-Gm-Message-State: AGi0PuaWcHEOubQ6U4NVXnsjpBmduwS6p+zY9ybA3aoUvgGBQDpI8Rs/ CCQPiOMZ347bXnGWvVzG/lrx+1A3nPv4/JC9yoFU80yi X-Google-Smtp-Source: APiQypIQimf1aloeUu737XIxjI344IGXGl7b7/eAYrPQbBS2srF0dnNFQDy8ArdIzVCG5SMteu0HTjb8NF99695PizQ= X-Received: by 2002:a25:8281:: with SMTP id r1mr14019436ybk.28.1587023963292; Thu, 16 Apr 2020 00:59:23 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178431 Archived-At: --0000000000009509bc05a363cf44 Content-Type: text/plain; charset="UTF-8" Call `emacs -q` do `M-x ansi-term RET` try to kill buffer - a prompt with `yes` or `no` will be provided. Cancel and call `M-: (fset 'yes-or-no-p 'y-or-n-p) RET`, and try to kill ansi-term buffer again. Prompt will still ask to input `yes` or `no` instead of `y` or `n`. Works in master branch of Emacs run with `-q`. -- Best regards, Andrey Orst --0000000000009509bc05a363cf44 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Call `emacs -q` do `M-x ansi-term RET` try to kill buffer = - a prompt
with `yes` or `no` will be provided. Cancel and call `M-: (fs= et
'yes-or-no-p 'y-or-n-p) RET`, and try to kill ansi-term buffe= r
again. Prompt will still ask to input `yes` or `no` instead of `y` or<= br>`n`. Works in master branch of Emacs run with `-q`.

--
Best r= egards,
Andrey Orst
--0000000000009509bc05a363cf44--