From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#40968: 28.0.50; (apply nil) Date: Thu, 7 May 2020 06:53:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="53530"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40968@debbugs.gnu.org, Stefan Kangas To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 07 08:54:09 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 1jWaQ5-000DqI-S7 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 May 2020 08:54:09 +0200 Original-Received: from localhost ([::1]:37256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWaQ4-0006xl-HI for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 May 2020 02:54:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWaPy-0006xP-7v for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 02:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWaPx-0005WK-Vn for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 02:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWaPx-0005BI-Uo for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 02:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 May 2020 06:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40968 X-GNU-PR-Package: emacs Original-Received: via spool by 40968-submit@debbugs.gnu.org id=B40968.158883443919904 (code B ref 40968); Thu, 07 May 2020 06:54:01 +0000 Original-Received: (at 40968) by debbugs.gnu.org; 7 May 2020 06:53:59 +0000 Original-Received: from localhost ([127.0.0.1]:41899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWaPv-0005Ay-0p for submit@debbugs.gnu.org; Thu, 07 May 2020 02:53:59 -0400 Original-Received: from mail-oi1-f171.google.com ([209.85.167.171]:40838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWaPt-0005Ab-3r for 40968@debbugs.gnu.org; Thu, 07 May 2020 02:53:57 -0400 Original-Received: by mail-oi1-f171.google.com with SMTP id t199so4291180oif.7 for <40968@debbugs.gnu.org>; Wed, 06 May 2020 23:53:57 -0700 (PDT) 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:content-transfer-encoding; bh=0/DYySZHjgOr6QJyiIXHlYwo9zrw0pMHQeTVu1lKCe4=; b=M3bZIQRPTrF90vmmORTxnuhw+lhi65EbkkE9aWJrvuQYj0kPfnsy8OqiDxHZvZspur bGQ4qnwIdn8hsXzLoGJmdrMaw8RHJdY8B8pCVeTHjRcKML/BEqtvmJzfV0r31Hbua+T7 ghtUoPuCmqzcP1JAshbN3ubjirRWZ8c4k1tDhMwZhGFdv5BDSvwQewtF8Ftv+/FT02DW fzPJc3WOXo4u9tXdOotzwunvA3JW4hZMpDlixCoBeqKgtmppghhIpd6FT821OdvBPz44 eNNfcf+cJH/YfpqGpbVAhg4htJUYvnzFUUtgPVBvl/VvvHQguMA659ejAuoKgFzFfXOX i+fQ== 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:content-transfer-encoding; bh=0/DYySZHjgOr6QJyiIXHlYwo9zrw0pMHQeTVu1lKCe4=; b=PBHIKEwa+A5Q460PFfhULnRrl0opaevaop9lOCnGRdB11Z+LA2N+pUC0h5miydy9lR 224DKNywf3jZlRrS5BCbHjsxi3ExH5d2csY86WM59TuvA9kOI2Rf1o5rzK8gWWX/Tfof FCFkq+eRrbHKI5z59saNcDtFnQCUDxEe2aAx7MKS7fvRRHfSNZ87OVt3Xa9n0LA64i6o bZQq3hTI9q1a4+sVnNKJOI6y4L4PJnegnabjwJoO21hZBI4OmFB9aUxlik1mt9fQA1AI jcHfu7YFc5gI3btIIO0RZbhWYQjRFUeRHHhiitD7E3ApiKD66YWyyxsNwZpT3Xba9qRu gcIA== X-Gm-Message-State: AGi0Pua1AvssP3C4Iu2Tok1g9Eb1hipYrdoUarBRrJRrCVUGRTAdDrsG a9wR2b+7hAPHO9bmj+fxEWlDdU+pPbeyGThJb3M= X-Google-Smtp-Source: APiQypLFQD6EnKZSLjjKVUp8hsu83bDGFpESrfETcHM5VAaEth1BDPNaZus6h/maj5F9jJCQhjd4y9X6bxsq/xl0Mgo= X-Received: by 2002:aca:5614:: with SMTP id k20mr5477822oib.30.1588834431447; Wed, 06 May 2020 23:53:51 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:179863 Archived-At: enterOn Wed, May 6, 2020 at 6:42 PM Mattias Engdeg=C3=A5rd wrote: > That patch is fine but perhaps incomplete, if we want (apply nil) to resu= lt in the same error when interpreted and byte-compiled. It is incomplete. However, I've yet to find an elegant way to fix the byte compiler and get it to emit the right error message. Can you think of one? (apply nil) is easy to fix, of course, but (apply (function-returning-nil)) is more difficult.