From unknown Thu Sep 11 18:07:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#46636 <46636@debbugs.gnu.org> To: bug#46636 <46636@debbugs.gnu.org> Subject: Status: 28.0.50; M-: (funcall #'or) doesn't throw an error Reply-To: bug#46636 <46636@debbugs.gnu.org> Date: Fri, 12 Sep 2025 01:07:25 +0000 retitle 46636 28.0.50; M-: (funcall #'or) doesn't throw an error reassign 46636 emacs submitter 46636 Pip Cet severity 46636 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 19 08:27:08 2021 Received: (at submit) by debbugs.gnu.org; 19 Feb 2021 13:27:08 +0000 Received: from localhost ([127.0.0.1]:48942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD5oJ-0001Eq-2U for submit@debbugs.gnu.org; Fri, 19 Feb 2021 08:27:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:57036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD5oG-0001Ei-Ny for submit@debbugs.gnu.org; Fri, 19 Feb 2021 08:27:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD5oG-0006GB-Ep for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 08:27:04 -0500 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]:36833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lD5oE-0003LQ-Sf for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 08:27:04 -0500 Received: by mail-oi1-x234.google.com with SMTP id x20so2108754oie.3 for ; Fri, 19 Feb 2021 05:27:02 -0800 (PST) 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=0SzO009OppicJwqf/W0OtL66KGG8ul2/yTeSRO3/Sgo=; b=OAccoakC2y8lEjJ0fKhOH/IctvYzi9GOLuWPcd7OlwGfErTkSCSdEOazsPAW8Ypihy jxZMm8pQhHFEcPAENN5QknGwNPrEcDK10WCtgL1Qry93SnGxGjOnwUBfvO+NVfRSM8Mp n00LzaC1E59kYOUoQiXVejjxORurjUXUUW1+LvJmxSr/uvSTdMze8YUWFo1SaEJ3H3jq bw6EWgb6Nx7nkUhjYbxwEShIwXLJPvOdNAf6dotpu4dO3VtYNzgjHeqTTN2pzGYQdCDe c61q/pQaDqxz0MQGd5BvfY2ci7BTkTgCd+oy5GIuG6akKzqwNfZqPcxMDZUc8heuo+Wb kUBw== 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=0SzO009OppicJwqf/W0OtL66KGG8ul2/yTeSRO3/Sgo=; b=LU/SgYSJsvjp1MkDGZsJA2B84kU78DegJ9NxYi6UX91fJxV55/GONPoTcDyowVqxaQ oknJfqoAuP6i3NgY/C6wYyNT694D6IMKk8fW5LLX5KlNC2Onetwb4Yn7LoII3Ozlpg+j p6pkSjncV/vXVm/FHOyd3Cb6cDSnTq3Zrb68PjeoZ7EoYkMomzvZVTKELSb2Zs9LFvZ+ JMteqXVkahOimi4Q78V0Mnmvip0sd+3jCwwRqYamYZfr3W1ervzPK/Tx7SCkKq6ehNxe OyQrcr7Rt2hGOrLi76A5Fkhl6yOAGHg8zBkpZWmoCRFyTdiZ+GhWsRSxAICdHaa676Hs JZJA== X-Gm-Message-State: AOAM532J+B5Jeo7gqUceLueuMnvtjD7WjRpiHf9atEFU8rhAuHvN3eeW vn3vY/67ltTblA+1yYe4vsFtZeny9IWxNLydNBcxtIKJ X-Google-Smtp-Source: ABdhPJyqHp0dbMj6UgstP56waJE9wNJ3BwYY9f+k4GzDePfJglzlsZgEQaISiJECjVssQo6VQz6Z273R6LzLPcXmB14= X-Received: by 2002:a05:6808:8e1:: with SMTP id d1mr6562490oic.122.1613741221522; Fri, 19 Feb 2021 05:27:01 -0800 (PST) MIME-Version: 1.0 From: Pip Cet Date: Fri, 19 Feb 2021 13:26:25 +0000 Message-ID: Subject: 28.0.50; M-: (funcall #'or) doesn't throw an error To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::234; envelope-from=pipcet@gmail.com; helo=mail-oi1-x234.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 (--) Recipe starting from emacs -Q: M-: (funcall #'or) RET Expected result: An error, as `or' is not a function. Actual result: nil ------ Effectively, this makes `funcall' behave as though it were a macro, even though it is a function. Probably not a serious issue, but it can confuse people into thinking that "funcall" accepts macros in general, which it doesn't do. It certainly confused me (the byte compiler also mis-compiles (apply #'or nil), which did not help). From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 19 08:36:01 2021 Received: (at 46636) by debbugs.gnu.org; 19 Feb 2021 13:36:01 +0000 Received: from localhost ([127.0.0.1]:48951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD5wu-0001TI-Pv for submit@debbugs.gnu.org; Fri, 19 Feb 2021 08:36:01 -0500 Received: from quimby.gnus.org ([95.216.78.240]:59814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD5wq-0001Sx-W0 for 46636@debbugs.gnu.org; Fri, 19 Feb 2021 08:35:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UZw/rGtgNWcFuqI9u748OenL189FQaQ2UkHtZY6emv0=; b=kPdls4PTzaYI3GV4yuaSMgLgO1 N9I9p3gh1Ej4VvKZPd0iZF/Io7mmG2q12vbenzuU7u35fs/4suBklHQmQ2oIsVpdp8UdD5yMQ/pld SuetdxEWioLyIJdjBXvnsxNLSOvFYoYCjnO6lCtxPUuqYDgTK0Roiwulm7BMdrBzuvVc=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lD5wh-0002S9-0T; Fri, 19 Feb 2021 14:35:50 +0100 From: Lars Ingebrigtsen To: Pip Cet Subject: Re: bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error References: X-Now-Playing: Kate Bush's _Never For Ever_: "The Wedding List" Date: Fri, 19 Feb 2021 14:35:42 +0100 In-Reply-To: (Pip Cet's message of "Fri, 19 Feb 2021 13:26:25 +0000") Message-ID: <87pn0wrxht.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pip Cet writes: > Recipe starting from emacs -Q: > > M-: (funcall #'or) RET > > Expected result: > > An error, as `or' is not a function. M-: (funcall 'or) -> funcall: Invalid function: # Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46636 Cc: 46636@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 (-) Pip Cet writes: > Recipe starting from emacs -Q: > > M-: (funcall #'or) RET > > Expected result: > > An error, as `or' is not a function. M-: (funcall 'or) -> funcall: Invalid function: # So, indeed, that does seem rather inconsistent. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 19 09:02:02 2021 Received: (at 46636) by debbugs.gnu.org; 19 Feb 2021 14:02:02 +0000 Received: from localhost ([127.0.0.1]:48975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD6M6-00028g-AT for submit@debbugs.gnu.org; Fri, 19 Feb 2021 09:02:02 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:49331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD6M3-00028E-Qu for 46636@debbugs.gnu.org; Fri, 19 Feb 2021 09:02:01 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4DhtYL39FCz1rynf; Fri, 19 Feb 2021 15:01:58 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4DhtYL0pFZz1t6pm; Fri, 19 Feb 2021 15:01:58 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 3jC0QE-qWBGY; Fri, 19 Feb 2021 15:01:57 +0100 (CET) X-Auth-Info: kyNykBBwawbPnbXFxHQtiAvHngBJDo18eT3UkfFzU8UIQV//WWXQCROgcmHHc3Sc Received: from igel.home (ppp-46-244-177-94.dynamic.mnet-online.de [46.244.177.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 19 Feb 2021 15:01:57 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id D40D52C3750; Fri, 19 Feb 2021 15:01:56 +0100 (CET) From: Andreas Schwab To: Pip Cet Subject: Re: bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error References: X-Yow: Yow! Are you the self-frying president? Date: Fri, 19 Feb 2021 15:01:56 +0100 In-Reply-To: (Pip Cet's message of "Fri, 19 Feb 2021 13:26:25 +0000") Message-ID: <87h7m82m23.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 46636 Cc: 46636@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.4 (-) On Feb 19 2021, Pip Cet wrote: > Recipe starting from emacs -Q: > > M-: (funcall #'or) RET If you want authentic results, use ielm, not eval-expression. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 19 11:46:36 2021 Received: (at 46636) by debbugs.gnu.org; 19 Feb 2021 16:46:36 +0000 Received: from localhost ([127.0.0.1]:50274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD8vL-0000Hj-U5 for submit@debbugs.gnu.org; Fri, 19 Feb 2021 11:46:36 -0500 Received: from mail-oo1-f52.google.com ([209.85.161.52]:36503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD8vJ-0000HU-Pe for 46636@debbugs.gnu.org; Fri, 19 Feb 2021 11:46:34 -0500 Received: by mail-oo1-f52.google.com with SMTP id x10so1408086oor.3 for <46636@debbugs.gnu.org>; Fri, 19 Feb 2021 08:46:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=thPDKUYKYy1zTPO3GAywqPvrOewRqzzgGE48GUMp2o4=; b=FMdGAf3vn9P3+D9O5QsQpoDXt4XfLSgmkWiRXkRNFuIATWnF6k85gsZwAuHofeAQWn xWnva0VC3yYo25lisiGSJj9UN/JsZllgb6wpSw7j0asX9Zc4DMitW5k07ixXTv/IIaza dyNzLPjGWNpQQxxBIky5ZllhyS4rpGsJezxxw6ZOUGANGqSadqT1LW5aZC+nkeZe/DAj wQQRzZR+pd/Fy4SumnzZUnKDTrETJ6XdG/YTXI741zyWoOiQJ4s3u/kln5IcrzWIdarK QQWqNJg2LzwsU73/mcx4ym5yye8t4BI0RHtu9KsPQ5Xr2NXUnY+hVqrnTurZWvXAlkex xPZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=thPDKUYKYy1zTPO3GAywqPvrOewRqzzgGE48GUMp2o4=; b=q8OkHYJbqgUeYEYp9UF6or28yP4c2XWrhqFQIraFstSqoQOWigLQiSWqjt1oi4hzH/ iS4flsMXTJrBvJR1hINRXCttTD1+CFwmd3bpZFwsqfYdnHyJQspbgSPTDkkWXEqy8t5M n4ckFJx2DNglrANC2LNFfWdk0IC6dTXtLfkrg1ckPyNyqVsr6Oof46d1fNuuMglGnzwt gQaBfLefG12bHaoX1eGu2xQlTcc7ZlMCix3r+D8qzRoG0NDgbKKfITbsOs7F3oz9pdzo /zGkVtcwbnTqfKvJmCjbOi0wlgUazTyXlW5aYyYTPeZQxToRkzGkEZaKFjW5fAwdXWtS 3Q0Q== X-Gm-Message-State: AOAM5311VjoBUQl4NakFreljdKnk9UEflyGAfXkvp98eO6/zw327roSv WoQBBm4YFwK+5ySIlQSqbZ1N7j1TKPkfiyOuMyo= X-Google-Smtp-Source: ABdhPJw6wjfssSvWoGNOzccbNVVTeWE/TcML0gzah2OfCp/rCO0+vtHFs/S1CCQbwu7XiPlQ/nSxQwtLJ7YY5cyTH0k= X-Received: by 2002:a4a:c108:: with SMTP id s8mr7564336oop.91.1613753188038; Fri, 19 Feb 2021 08:46:28 -0800 (PST) MIME-Version: 1.0 References: <87h7m82m23.fsf@igel.home> In-Reply-To: <87h7m82m23.fsf@igel.home> From: Philipp Stephani Date: Fri, 19 Feb 2021 17:46:16 +0100 Message-ID: Subject: Re: bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error To: Andreas Schwab Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 46636 Cc: 46636@debbugs.gnu.org, Pip Cet 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: -0.7 (/) Am Fr., 19. Feb. 2021 um 15:03 Uhr schrieb Andreas Schwab : > > On Feb 19 2021, Pip Cet wrote: > > > Recipe starting from emacs -Q: > > > > M-: (funcall #'or) RET > > If you want authentic results, use ielm, not eval-expression. > Ah, so the rewrite that macroexpand-all (in macroexp--expand-all) performs is the culprit here. Maybe it should only rewrite if the first argument is indeed a function, or an autoload of a function? From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 19 13:11:13 2021 Received: (at 46636) by debbugs.gnu.org; 19 Feb 2021 18:11:13 +0000 Received: from localhost ([127.0.0.1]:50342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDAFE-0002Ju-QV for submit@debbugs.gnu.org; Fri, 19 Feb 2021 13:11:12 -0500 Received: from mail-ot1-f45.google.com ([209.85.210.45]:41600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDAFA-0002Jf-ER for 46636@debbugs.gnu.org; Fri, 19 Feb 2021 13:11:11 -0500 Received: by mail-ot1-f45.google.com with SMTP id s107so5883643otb.8 for <46636@debbugs.gnu.org>; Fri, 19 Feb 2021 10:11:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AXMPzJc4y3wCglfZPscy8Tm2KCLhKaeGb2MVchZILB4=; b=TtI1H74lBKKNeoJ7HZPrQ8/VSaaxwNfFKkaLpUUj7j3OPeP3CKFWU3QimEVBVND3LZ 2s+150wak13g50yvuoTmA7kCT4/+BVwQYg4RleS9nHZBqyFZZglOMXUQo8HOVpovoINu DjK3zbXmE5F71C5/fRBehc8kQcf+xP2CK2O+y4Un4NtPnjYWvYcWcGhoc8lT+qzPX4zT q3BC6kuXPQ0sUh/GXuIJwZR81rpOmFqlnIk7E6ppUO0T9+03E9XGRwi0zo255uS762YR 0pi+gsUoYUluLnMO4m0C+f0sZ9b5sDzjcyiWeMFBJJwi3p3M/o4DW11cIIoccQgZsorL MO1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AXMPzJc4y3wCglfZPscy8Tm2KCLhKaeGb2MVchZILB4=; b=BF2AqddBdtKeCdb7pevs6ijAz+G2ngL65DWfi1Y2yI/ChS1W3BsZQMewIwH3N9PwDM A2ZLDu3VFoVhwpe4d8IBmo0wyfvlu/06V3nT9mHa2wAS8q58VlOHHlnzur0zNSjv22jN JWOBg5CAQkMowpmnxaYSiIuvHR9mqRktUKQv0t9eyrgfzYY+t/ugObvVNvzkt893QVKV oeOpu3N5LD3gsWr3e26LFwIyO9KgekdCtyGpXXgtkcePJWhREHKU426Uo1qEcQs6nVLo oIqGvRJGffrT6BdJ1QNVQgAGwjwudIjbX0a8+S+1imXJ8XU/xKuT9meA08g3N8JGMeOI Qrbg== X-Gm-Message-State: AOAM5317U6dqH6oQ/WxrAWN9Bx4wOLF1hn3Gn3ljRoooc68bTjrFVzbQ E0Lv7BI1rm4pdi117vwVMYhnKqhOHFKn4hnck5U= X-Google-Smtp-Source: ABdhPJwWKev4+VuidituYWF+kyXJqfVUmIgJheGv68CTiqvAg3JfrRKLTxY5BeqcqkBf/AK69gGRpg/dx+NN3Bzia98= X-Received: by 2002:a05:6830:1605:: with SMTP id g5mr7887324otr.292.1613758262744; Fri, 19 Feb 2021 10:11:02 -0800 (PST) MIME-Version: 1.0 References: <87h7m82m23.fsf@igel.home> In-Reply-To: From: Pip Cet Date: Fri, 19 Feb 2021 18:10:26 +0000 Message-ID: Subject: Re: bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error To: Philipp Stephani Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46636 Cc: 46636@debbugs.gnu.org, Andreas Schwab 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 (-) On Fri, Feb 19, 2021 at 4:46 PM Philipp Stephani wrote: > Am Fr., 19. Feb. 2021 um 15:03 Uhr schrieb Andreas Schwab > : > > > > On Feb 19 2021, Pip Cet wrote: > > > > > Recipe starting from emacs -Q: > > > > > > M-: (funcall #'or) RET > > > > If you want authentic results, use ielm, not eval-expression. > > Ah, so the rewrite that macroexpand-all (in macroexp--expand-all) > performs is the culprit here. Yes, I think so. > Maybe it should only rewrite if the > first argument is indeed a function, or an autoload of a function? I'm unconvinced it's worth it at all to rewrite funcalls or applys, either in macroexp or in the byte compiler. But if we have to, we have to make sure (apply #'or nil) and (funcall #'or) are rejected somewhere (maybe as early as the #'). From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 19 13:28:42 2021 Received: (at 46636) by debbugs.gnu.org; 19 Feb 2021 18:28:42 +0000 Received: from localhost ([127.0.0.1]:50354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDAW9-0002iY-Kk for submit@debbugs.gnu.org; Fri, 19 Feb 2021 13:28:42 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:54066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDAW5-0002iI-DD for 46636@debbugs.gnu.org; Fri, 19 Feb 2021 13:28:39 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11JIOv1b187415; Fri, 19 Feb 2021 18:28:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=J7kkoEYcbwP6tT8kDX0BI5gU6qUjlwbQKc55ljj5S70=; b=LQYLAZei+XiG/nkmDzquaAt2PUOwslKJwC45Vti8Xruwbjg3fTcSsl+CrvGTQBrWnRha lkz+lLoicblP3J54BM9CHYb07jeEZdrUnU9AwFIG3qR+3nteuiS++4oQf4w1rv2c3qRV jMDod3Gck/G7vThaveDwjsFt+Ka+Bka+BKDF7wbXTYGn1oL91X5aGHKSN2sdWanTBWMl sgRITMy2DNagDiwpukH7oYw+lVA9ocxFm9lfUo5NI/5maX1p8xD8Wg7gawZf2YhLb7rX ql+q5wssGwYSReQoP1Qk7BTVdwJQOLkypjYg/2efjmiMiS8pAFhCaZZrKS4ZO80U1y12 sw== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 36p7dntb7p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 19 Feb 2021 18:28:31 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11JIKMJg060596; Fri, 19 Feb 2021 18:28:30 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2105.outbound.protection.outlook.com [104.47.58.105]) by aserp3020.oracle.com with ESMTP id 36prp36h39-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 19 Feb 2021 18:28:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h7n8RMJ/qqZpur70Fv+jBXfz922Bv4esd2zM3X5SUajtv5iMABOjnXY8hqPRXlak3NUjLo6Xk9vrBhuBczGPAnl4Bh2WchUKraJQQiMFxTG5iMwkW2gLCl+AzS33GZjvQbFkMP1rLHp2CsLIlO84NZJ4T+cLFnc+0zgiBiaT6C2pPVeSC/foNx4LIipWoje3hlE8m0dLkxZ53qqwzwtKF0syG0tl4yYf+0L8VCnlnbguoLlQgtCPEMcw1EnwaBbwwcM4JGLevNW7hDacOiXs4pVNib4kWfw2tW/rmyEvaxvaaqLK6DtQ6CRvOCZq0aokld0Av5YKuKb5XKK6d96i4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=J7kkoEYcbwP6tT8kDX0BI5gU6qUjlwbQKc55ljj5S70=; b=jps7AhqgGQNHR5zYP1S8+OWo7Ru9iQKulyZ7mbE1i3hj3gmpHHKi0YkRj8UZEiWzATfUIOA1YHzZRoHQYJ9WnvThJ3kJ44zkrEaC9Zf7Dou6iSpfceQoiRx3TIHCZCROnHNYKpUz7uEfgTInqy2iHkdELISTXLAN7i0BQuI7cKkAh9QNv1yfL0kaoPwhTP1GMF3c1r8nV6Gd/Pc5uzlqJPutb1oZAxAf3UwGOJl4szk693v3WfonEyCaWfvMIj4RR+7g82WIGXzBrfZZO24qOApvD2RjN/z55vbU6pgsxV+pF7j3eh9ZhwYIqTyyZWYI49nIKCFYKUNQxUtl6aslwQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=J7kkoEYcbwP6tT8kDX0BI5gU6qUjlwbQKc55ljj5S70=; b=hGiq2/Hwv63xtVhSgLtkN8iiHeQn9PdfHYOPrTxegA7PfzAfGkJp7UlP4uAIpyR1QVoVeaCwYU9kU3FjJvPvNT/sujGoK+E+QtDgOLzYP2ojjdD0p9jaDB6YOx2bmlyk2kV2kL8tMCkx1lWmAViLVyNXEq5XC8Cwwoy/M2a+f0g= Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SN6PR10MB2781.namprd10.prod.outlook.com (2603:10b6:805:d4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.27; Fri, 19 Feb 2021 18:28:29 +0000 Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315%5]) with mapi id 15.20.3846.043; Fri, 19 Feb 2021 18:28:29 +0000 From: Drew Adams To: Pip Cet , "46636@debbugs.gnu.org" <46636@debbugs.gnu.org> Subject: RE: [External] : bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error Thread-Topic: [External] : bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error Thread-Index: AQHXBsQpKuGXTqZXM0WG9+YmIJ+buapfzDqg Date: Fri, 19 Feb 2021 18:28:29 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f2ead899-a938-472a-b947-08d8d504276c x-ms-traffictypediagnostic: SN6PR10MB2781: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZAUqv82qfnatqii4gvEM+ri8+2DhwDYgI8CbElH9hgt6L0p2fiCokFSeZBNB5q9gOfSSpy983hY8yzz8FoXzvIY9Z1AToXkvaekXdWmJPS4fnPd8JHWHiK9vwj0P1GsI720JUsMHYDwCpH6l52oQw2+x+Acv/N+nvs0gzYsH+qFy56EUI9sF9O/Ni4xm8Af8AkYoj+1NZfnK/MRolJpwQTZO++sh4HkydsxJFwnp9zApE0zk5J3GRW5oBoUadFMq7j+I0eaSvKJJr3iLSt8t4VsNUlj9Zvz87wYKR7hP9np2k6sI4X3ozwwFTkmSR3OCSm8uYP8TFEAlKLdyvUBqp9qVx1bYoo7mJy6+gU9UCD1Cvi7WPNucOQ7ODNAB7hVnO5EK8yhbX79WuB2UBqfuQqP9P9kMw78RHF63vHyP0+OcLJDzs5/srKLZmV1Kq1lZvoLGS5jw3EwBXQz0LUhnx4YJ1I/9FBjkAqAXM6RcJL2bLBTG2ErjcZaadPYNX4Q0Kyxru/9vvwl5b+2dCK/Qvg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(376002)(346002)(366004)(396003)(136003)(316002)(26005)(186003)(71200400001)(478600001)(6506007)(7696005)(86362001)(66946007)(8676002)(9686003)(66446008)(66556008)(110136005)(76116006)(8936002)(2906002)(55016002)(4744005)(5660300002)(44832011)(66476007)(64756008)(33656002)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?cjIzN2Q5cEthSy91dEMwNEJjKzlzcHlOZ21oZkVWQ0M3dUNNdk1xdmdZdWFU?= =?utf-8?B?ZHZIK0d4c3BKYUFYM3BaU3UwV01VbS8yQkxUQnl2NDNoSkZIUXFZT1hRMjNC?= =?utf-8?B?dGZCZVZOTUQrQ3d3NXVPUXAvS0d1T1psZkNUUUE2dzI2NmxKN2dVVEV4M0hH?= =?utf-8?B?VzAxbU5uSzh3NHh2alVhRTNFTlFZOXNWMFVleW16all2V0pOZGlXVmNKdGtY?= =?utf-8?B?M2hxZHhqZlhzNlRscDZwOVpPSGtYV3JmVG9Zb0NYWjBCVklnV2FIVkZhdnFv?= =?utf-8?B?TWlvcjFSd3ZrQzEzTG9CdEpRd1UvdUhXUUJlYnJtNmJEaGVxRnlRMlFtYmdr?= =?utf-8?B?US8wZmNKU1BScjN4UmU4bmxBeWxUUi9zdEFORWZXR3VPRzBoS2RBZVlXRUZx?= =?utf-8?B?SkxteEZISStVN0JueFFuU0hIWkVBOVhVZWpld21HNVpsVTgwNDJXWEVyS1Ir?= =?utf-8?B?TzJVKzYvbGQ5RHVMMjlZSjhFbWVydzc3QzVIUW0vSTZNMmd2VzRadm1CVmZY?= =?utf-8?B?VmRLVVR5OEpSaUU3NVhxbllHTWFBclhNdStzRmtFSEhwZUwzZ0puTDdlWDQy?= =?utf-8?B?cWlZa24zbWFLbjd2bVdlaFNuREZSeGJRWU9PMGFKcTUyYytrYWdsSitmTHVO?= =?utf-8?B?YWtaNE94SENwWkNxV1VKRUNXTEQwdUIzNXNFQUZtYytmS0lnM3RtMnh5bXBG?= =?utf-8?B?WkVWejkwRUp0dlVqc2dKa1hkU2g0TUwxUTNxUERJTExHK1duaWUwektFUDFv?= =?utf-8?B?MkxmbUloclVWQXFJRk5peVZXWEloRHRkLzBiYzBzN2NlTFo5WFpld0p2STRE?= =?utf-8?B?L1c2MlpLWitLcEQxZFNFdCs0RU1ZL1A3c3RINzFOUUlNOGVJdzkxNnovYlY5?= =?utf-8?B?M3VjTkI2QUhkU0lWaTA2ZHlYOUkzRUR2dTdISzllZG1KTWVnWk9pU2I5SGlz?= =?utf-8?B?S0ZKQUtpV3AwSkhscGhIOTJKODMvYmxRclZKK1h2TDQvNHZySVN0QnpOa21B?= =?utf-8?B?VE1xc04vQkMyNjk5MWh4QnBCU2MrSUl2NkN0dlRDYU9ycmdXQWlLdFZpSWJz?= =?utf-8?B?YmIwVExvcEt6S1BNQXNxcjBpQnVmek42cmxXWWlBU1ZhaXFOOVFxdFFRQml2?= =?utf-8?B?ZHdDeFFhTkI4RVVGSlc4bVJsVkx2citmdjNzbmt2SVdvaGZ4V0R4bWpHbk5U?= =?utf-8?B?MmowdlhHd050Z2JWVDh0M1Z2NFRxSEFCajh3aUZpSmdnRTJHVE9ZVnhzTEhk?= =?utf-8?B?a2ZvMzJ4WllHYkNINXcrRFpycUl6d1BsM3QxaHVGLzN5Z254Z1R4MC94N3pT?= =?utf-8?B?T21LcFloLzlVUlhTY0Y2U0RpTUVJMytTY2o1Uzc0SXlRVWdLTXpqdEVPeGpW?= =?utf-8?B?Y1FxRGYyU0p3b0VuMVU0YzJIVnBwUVJtYjhsakFzUmR0bnlSRVo3UWVtaU1Y?= =?utf-8?B?TUlrTHJWSDRkOXlaOGxQQlQvWm1RVk51VFNhcHlQNTU3eDVjV1JjVFZkbktN?= =?utf-8?B?L3krVE9LUW5kTStWL0lUakZTZGYwRmdnejY1KzZPcTlLaUlHM3RQTDlSczRn?= =?utf-8?B?TjRIS3oycDRXN1ZVWVFlMzlDSnd3OHpyOFZiZnVUL0l5VDJSd3drVWh3NmQy?= =?utf-8?B?Z2JlSTFyUUlEQ2VLblVSdm9mQmlsZXVKVFV2Y3JDR2RsUlJwTU1uREpYYUxn?= =?utf-8?B?cDQzbUE4WXprMHVYQWpxSHIxUm9CbnRUMW03ZWxQdW1HbUFtdHU3VnR1SXBX?= =?utf-8?Q?j8bUphqa6SlvOvo87zmCQ6/ncAq2agqgdLYKtIL?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f2ead899-a938-472a-b947-08d8d504276c X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Feb 2021 18:28:29.0549 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: IDiaQ5RNg2wKBEsdVc5/R4PFtDUOP314YpQgbKRQAHqlfUko1OE12kTB12BteMqd+YiFXK2s4731fQ3HnD7zRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2781 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9900 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 spamscore=0 malwarescore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102190144 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9900 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 suspectscore=0 mlxscore=0 phishscore=0 spamscore=0 adultscore=0 clxscore=1011 impostorscore=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102190144 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 46636 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 (---) PiBNLTogKGZ1bmNhbGwgIydvcikgUkVUDQo+IEV4cGVjdGVkIHJlc3VsdDoNCj4gQW4gZXJyb3Is IGFzIGBvcicgaXMgbm90IGEgZnVuY3Rpb24uDQo+IEFjdHVhbCByZXN1bHQ6DQo+IG5pbA0KPiAt LS0tLS0NCj4gRWZmZWN0aXZlbHksIHRoaXMgbWFrZXMgYGZ1bmNhbGwnIGJlaGF2ZSBhcyB0aG91 Z2ggaXQgd2VyZSBhIG1hY3JvLA0KPiBldmVuIHRob3VnaCBpdCBpcyBhIGZ1bmN0aW9uLg0KPiAN Cj4gUHJvYmFibHkgbm90IGEgc2VyaW91cyBpc3N1ZSwgYnV0IGl0IGNhbiBjb25mdXNlIHBlb3Bs ZSBpbnRvIHRoaW5raW5nDQo+IHRoYXQgImZ1bmNhbGwiIGFjY2VwdHMgbWFjcm9zIGluIGdlbmVy YWwsIHdoaWNoIGl0IGRvZXNuJ3QgZG8uIEl0DQo+IGNlcnRhaW5seSBjb25mdXNlZCBtZSAodGhl IGJ5dGUgY29tcGlsZXIgYWxzbyBtaXMtY29tcGlsZXMgKGFwcGx5ICMnb3INCj4gbmlsKSwgd2hp Y2ggZGlkIG5vdCBoZWxwKS4NCg0KWWVhaCwgdGhpcyBpcyBiYWQsIElNTy4gIENvbmZ1c2VzIHVz ZXJzIGFuZCBsZWFkcw0KdGhlbSBkb3duIHRoZSBnYXJkZW4gcGF0aC4gIENvbW1vbiBMaXNwIGFu ZCBvdGhlcg0KTGlzcHMgaGF2ZW4ndCBkb25lIHRoaXMsIEFGQUlLLg0K From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 22 01:20:14 2021 Received: (at 46636) by debbugs.gnu.org; 22 Feb 2021 06:20:14 +0000 Received: from localhost ([127.0.0.1]:55390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE4Zq-00079i-7J for submit@debbugs.gnu.org; Mon, 22 Feb 2021 01:20:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE4Zo-00079T-Tu for 46636@debbugs.gnu.org; Mon, 22 Feb 2021 01:20:13 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48300) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE4Zj-0006PE-Lf; Mon, 22 Feb 2021 01:20:07 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1lE4Zf-0006Hs-Eu; Mon, 22 Feb 2021 01:20:05 -0500 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Drew Adams In-Reply-To: (message from Drew Adams on Fri, 19 Feb 2021 18:28:29 +0000) Subject: Re: bug#46636: [External] : bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error References: Message-Id: Date: Mon, 22 Feb 2021 01:20:03 -0500 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46636 Cc: 46636@debbugs.gnu.org, pipcet@gmail.com 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: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] I think I agree that funcalling `or' should give an error. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 22 03:25:35 2021 Received: (at 46636) by debbugs.gnu.org; 22 Feb 2021 08:25:35 +0000 Received: from localhost ([127.0.0.1]:55513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE6X9-0001t5-Cu for submit@debbugs.gnu.org; Mon, 22 Feb 2021 03:25:35 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:53786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE6X6-0001sw-KS for 46636@debbugs.gnu.org; Mon, 22 Feb 2021 03:25:33 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4DkZxm0Jkrz1qsZq; Mon, 22 Feb 2021 09:25:32 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4DkZxl6y8Kz1qql0; Mon, 22 Feb 2021 09:25:31 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id p-ve1uofpDBi; Mon, 22 Feb 2021 09:25:31 +0100 (CET) X-Auth-Info: pzu96uFElZ04zMAI1diXNaIM9BXka1sXbPO8hOLO/Bg+Xctz5HysTxeRrUC6LNdz Received: from igel.home (ppp-46-244-167-177.dynamic.mnet-online.de [46.244.167.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 22 Feb 2021 09:25:31 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 976C42C31A2; Mon, 22 Feb 2021 09:25:30 +0100 (CET) From: Andreas Schwab To: Richard Stallman Subject: Re: bug#46636: [External] : bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error References: X-Yow: Th' MIND is the Pizza Palace of th' SOUL Date: Mon, 22 Feb 2021 09:25:30 +0100 In-Reply-To: (Richard Stallman's message of "Mon, 22 Feb 2021 01:20:03 -0500") Message-ID: <877dn0cxvp.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 46636 Cc: 46636@debbugs.gnu.org, pipcet@gmail.com, Drew Adams 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.5 (-) On Feb 22 2021, Richard Stallman wrote: > I think I agree that funcalling `or' should give an error. It does. The problem is in macroexp--expand-all, called by eval-expression, which transforms this into a no-op. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 22 03:41:47 2021 Received: (at 46636) by debbugs.gnu.org; 22 Feb 2021 08:41:47 +0000 Received: from localhost ([127.0.0.1]:55569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE6mp-0002Jt-1T for submit@debbugs.gnu.org; Mon, 22 Feb 2021 03:41:47 -0500 Received: from mail-ot1-f42.google.com ([209.85.210.42]:46320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE6mn-0002Jg-Lz for 46636@debbugs.gnu.org; Mon, 22 Feb 2021 03:41:45 -0500 Received: by mail-ot1-f42.google.com with SMTP id k13so741940otn.13 for <46636@debbugs.gnu.org>; Mon, 22 Feb 2021 00:41:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7f8vv08tjBsprQV2yGDe0yK8Z8k3cOkCR0bmG4zF/fg=; b=dMwUZFePOha4UAkVXvm1SSuulMsNO8f4lYvkD3aXrdqmmAlZo6bfhHUw91sI5+zhau ngHQyzm8Kq8FBL3bb5EwMlEbAwJYdTJj2ieoRsEcegY4OBWYYhtwrttJcCzzbDftaY5n VB7OF4Zx8RhBNYxdniPEsL9gq10lD/LCaa9NXB673Tphdp3GIs4JcfrjJMftyqv3Rlop yZrtK+OyjVU3Q3PYIgAOcpZIMckF7z5NU6acMxHn0B+XGfjYnr7+g3f6OJ6VoS6DQa5K iC4pS9sw6D0UzIOPuxnh4Vz2tJs7PL2awN7odDmjMM8F0QCyDDlM+pL3KCcBPZQmXESe 3aQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7f8vv08tjBsprQV2yGDe0yK8Z8k3cOkCR0bmG4zF/fg=; b=I7v46Rgnh2u8JOgKYI6YsLlPnFgfGT4jyAW/Ej5yQebzYuE4pIU1H+0LmWIPuXFxJQ 84mp8Nue8aYZpaXD1WbM407ImdKDh4aOqw32Xz1Ut0j6LvA0iahn4oZGoYHKVVG8TrUm jN3oMBbrkTUvUwD+mZjM9y6eUl22/ZFIhnMNrjII13OzSlaDn5cphmlB7TnoEaoZUv9v 6CW6Lxkf6t4wGA6MR0YJHJVBJSAodbkDaWPm6b+Ut7kS3rnJ9vvztWnx1g2TPf1k2gu+ 1f3StT7xZvfnhhLBljD5OZjP2vkqXRUF7R0RHPQICl9WLTIf6odxJQ+vQZbijq3lwSLN QD8A== X-Gm-Message-State: AOAM532+z9kHeC5L/jyJKU3YSZpu7z7A5z2dr7t/ZJu89AwLCVSIL958 fzeU6i10uMq1Cbje7Bzm/xvVx6ibTLeDWuVJUDo= X-Google-Smtp-Source: ABdhPJydj6cCdZuvnedo49xFbtK1cEYkeynw6lMvfCgwKw/vWWlkABEypwHc3U+ytGIfYkEI+fMw+RABLs6rPjrHci8= X-Received: by 2002:a05:6830:249a:: with SMTP id u26mr10768866ots.287.1613983300109; Mon, 22 Feb 2021 00:41:40 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pip Cet Date: Mon, 22 Feb 2021 08:41:03 +0000 Message-ID: Subject: Re: bug#46636: [External] : bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error To: rms@gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 46636 Cc: 46636@debbugs.gnu.org, Drew Adams 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 (-) On Mon, Feb 22, 2021 at 6:20 AM Richard Stallman wrote: > I think I agree that funcalling `or' should give an error. This applies to all macros. I chose #'or as an example because it is often used as though it were a function, so people might be confused into trying it (as I have, I must confess). (funcall #'setq x 3) also "works", and it's clear in that case that it should not. I think the right way to fix this is not to macroexpand (funcall #'f) in eval-expression, but to leave it to the byte compiler to do so; the byte compiler often assumes that function bindings don't change, so it would not be a new problem for it to also assume that if #'or is a macro at compile time, it will be a macro at runtime, so it can avoid simplifying calls to well-known macros, at least. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 22 04:17:01 2021 Received: (at 46636) by debbugs.gnu.org; 22 Feb 2021 09:17:02 +0000 Received: from localhost ([127.0.0.1]:55635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE7Kv-0003F7-Kb for submit@debbugs.gnu.org; Mon, 22 Feb 2021 04:17:01 -0500 Received: from mail-oi1-f172.google.com ([209.85.167.172]:45792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE7Kq-0003El-UH for 46636@debbugs.gnu.org; Mon, 22 Feb 2021 04:17:00 -0500 Received: by mail-oi1-f172.google.com with SMTP id q186so13238410oig.12 for <46636@debbugs.gnu.org>; Mon, 22 Feb 2021 01:16:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HnxC3VT4Kj2OIaVAEVE23tTNx0wkozxykwZYaDkSgLk=; b=qx69Pfz21kWQWoN/TS123WTcAX2xyac0RHbv6DwNF3n3SX4iSbbIEKhRzCMDiWBqmm NEJ2D/9siq5GPyomSuPDO9eYJSkDgkfmXlwzuHjxXahEWs3ih7tWtCWpXSsgnaQEe2Xk euznMfgJAz2pAC3OjURZagxepWlAiwTmQ2bU8dlfXfvULIvun9Ba6Lg2yBMNIanCXs2M bqmMyZ2JsRH4fNyf8lT9Ln1cWbin455OB5GlMtv9gMWm8Gq4Hql0oePNnQvAgc2Ltlns T6eV/ATdRXiS/1SHotxeapcH55XzkrUA8fHzoWxjE1iLERcfdci6lD4NY08u5IdaJPn3 idMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HnxC3VT4Kj2OIaVAEVE23tTNx0wkozxykwZYaDkSgLk=; b=jQVDygRenTKBGuFgcfJR4ofN0mFUcHeLRKOIcH3KWI6e5D9v80XngBkoCxfgawV8Wi 4u3A52i0lP3KcxAoQ9g1HEhTZKfpMCKoI5I6G4s9NM45Q3EOPJ458ixSE25Kqa6t7IkW KQFLyxlfi7ARe/OAsDCiipqwORn53xD62KZVtMuIJPDk8ilkTVwihV2fzeIP9tvwxAPs sFcU4UMHdPSAvVUiVhowsKDcKu/Vi3AUwfYeEw9OpnqoD8eycZQ5x/mhWev9m9r5QpDF xzCejqVao7B9imExUtSks2C2ucPWRm0/rVj9oflBYfnTadbWTPjGz37MRkHQKaPVf63o Akeg== X-Gm-Message-State: AOAM5323OrnPdb+8UqHuFS2Nxsqk6dVr0xUjsuX4cd3I3fgRGt4eonwG tN6ublXVHOZrr3eGXY6SB3eUTmHkLHXTld00aqY= X-Google-Smtp-Source: ABdhPJz5PYLKks/FH6sW2/abZqDB7WqaxeABqYvBhqj/zOBk4Buj08lUxcMVn6x9gw/XHV0KzBinvJGjgDxgMN6488w= X-Received: by 2002:a05:6808:8e1:: with SMTP id d1mr15158214oic.122.1613985411376; Mon, 22 Feb 2021 01:16:51 -0800 (PST) MIME-Version: 1.0 References: <877dn0cxvp.fsf@igel.home> In-Reply-To: <877dn0cxvp.fsf@igel.home> From: Pip Cet Date: Mon, 22 Feb 2021 09:16:15 +0000 Message-ID: Subject: Re: bug#46636: [External] : bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error To: Andreas Schwab Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46636 Cc: 46636@debbugs.gnu.org, Richard Stallman , Drew Adams 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 (-) On Mon, Feb 22, 2021 at 8:25 AM Andreas Schwab wrote: > > I think I agree that funcalling `or' should give an error. > It does. Just to clarify: your point is that there are non-standard ways of executing Emacs Lisp which do not suffer from this bug, right? Or is it that the bug isn't in Ffuncall (it isn't)? > The problem is in macroexp--expand-all, called by > eval-expression, which transforms this into a no-op. There and in the byte compiler, which does the same thing to (apply ...) forms, too. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 17 13:39:35 2022 Received: (at 46636) by debbugs.gnu.org; 17 Jun 2022 17:39:35 +0000 Received: from localhost ([127.0.0.1]:46903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2FwU-0004GO-WB for submit@debbugs.gnu.org; Fri, 17 Jun 2022 13:39:35 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2FwT-0004GA-J4 for 46636@debbugs.gnu.org; Fri, 17 Jun 2022 13:39:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eu+BQQ+SXJxk8tjuV17afV/rRWAvOgfOZ7Da308y2/4=; b=BQY1S8/lcrTv2+BvDp75KI1Ork EBORkzoMxziUn56gwFP/40LKCOZHGMHnqb2joOTnLMZTIEjRahkp0rphrm568liLa8uBbUbndLO6Z jdn6s7czq5LXZqtbO7DCyAmb5j6+6uDOZp2VbXUKGngjrz59H6ewWAp/gR35fYp8ZlfM=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o2FwL-0005ay-2p; Fri, 17 Jun 2022 19:39:27 +0200 From: Lars Ingebrigtsen To: Pip Cet Subject: Re: bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error References: X-Now-Playing: Kevin Blechdom's _Jelly Donuts_: "I Done Usin' U's And Bees (feat. Fred Frith)" Date: Fri, 17 Jun 2022 19:39:23 +0200 In-Reply-To: (Pip Cet's message of "Fri, 19 Feb 2021 13:26:25 +0000") Message-ID: <87iloz42b8.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pip Cet writes: > Recipe starting from emacs -Q: > > M-: (funcall #'or) RET > > Expected result: > > An error, as `or' is not a function. > > Actual result: > > nil I can reproduce this in Emacs 28, but in Emacs 29 we now get: Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 46636 Cc: 46636@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 (---) Pip Cet writes: > Recipe starting from emacs -Q: > > M-: (funcall #'or) RET > > Expected result: > > An error, as `or' is not a function. > > Actual result: > > nil I can reproduce this in Emacs 28, but in Emacs 29 we now get: Debugger entered--Lisp error: (invalid-function #) or() funcall(or) eval((funcall #'or) t) eval-expression((funcall #'or) nil nil 127) funcall-interactively(eval-expression (funcall #'or) nil nil 127) So it seems like this has been fixed now, and I'm therefore closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 17 13:39:40 2022 Received: (at control) by debbugs.gnu.org; 17 Jun 2022 17:39:40 +0000 Received: from localhost ([127.0.0.1]:46906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Fwa-0004Gf-7J for submit@debbugs.gnu.org; Fri, 17 Jun 2022 13:39:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2FwY-0004GH-Dw for control@debbugs.gnu.org; Fri, 17 Jun 2022 13:39:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EU8rDTimt3ThIRDPyVb8cpwbT7JQIYSL9JKsTQXjQZs=; b=Oh0v1HuJXfzej7AZTrWNXa5FFG d1/LQGrq4nyoU02il4VNKBTunMawqC4Cho0li+4yUtegLacFbf1ria1h8pMG7YmpQxT10hb0EHjgS 9OVsFvAFSWNLHf3cza/jKKQg9awu2HrGa9y80/C0EjvDq+jYhA2l/Ktks1XF8WpDErls=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o2FwQ-0005b6-H0 for control@debbugs.gnu.org; Fri, 17 Jun 2022 19:39:32 +0200 Date: Fri, 17 Jun 2022 19:39:29 +0200 Message-Id: <87h74j42b2.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #46636 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 46636 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) close 46636 29.1 quit From unknown Thu Sep 11 18:07:25 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, 16 Jul 2022 11:24:07 +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