From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59900: 30.0.50; map pattern in pcase causes a byte-compile error Date: Thu, 08 Dec 2022 13:06:44 +0200 Message-ID: <83ilim2lyz.fsf@gnu.org> References: <877cz22v26.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30245"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59900@debbugs.gnu.org To: Akira Komamura Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 08 12:08:23 2022 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 1p3ElJ-0007ew-OF for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Dec 2022 12:08:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3El1-0005hm-R4; Thu, 08 Dec 2022 06:08:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3El0-0005h8-ML for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 06:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3El0-0002zz-A6 for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 06:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3El0-0000RS-0N for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 06:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2022 11:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59900 X-GNU-PR-Package: emacs Original-Received: via spool by 59900-submit@debbugs.gnu.org id=B59900.16704976241688 (code B ref 59900); Thu, 08 Dec 2022 11:08:01 +0000 Original-Received: (at 59900) by debbugs.gnu.org; 8 Dec 2022 11:07:04 +0000 Original-Received: from localhost ([127.0.0.1]:56083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3Ek3-0000RA-MH for submit@debbugs.gnu.org; Thu, 08 Dec 2022 06:07:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3Ek0-0000Qn-D2 for 59900@debbugs.gnu.org; Thu, 08 Dec 2022 06:07:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3Ejv-00015E-0e; Thu, 08 Dec 2022 06:06:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7Rpx3/PiUBBhsDJZ4hL6PXnuhAXlUjgbgl2+hy1maoE=; b=ZUxe8ygHcu35 zWR2eQewpV0OEhu8HDVVtS83gMMEbXsA12HDFo63B+pWPkwgSaokhWqbYYHEth2RtgYrTNmru+/H8 V2fC5grdRhs4JZjP6JvfIufCeOWVXxmSWSoRBL7Bt1CZJqAyE+nph7Wy3yyHmhBdSd/B5ETyHGKw7 rttA04w1/AxiJxzsdwJV2iyPuh+1FYZuyWqwGImhdgk3f37OPP6IlvbYW49bfYgynpNucL1X67OVc thUrXhojgOEGBNDEU1QaBm86GiMdI8igk5jAxBPvVS4kew0TpT7Jd/vVRsn4KTC4hABCR0hpTodet o7XHrYQJbNDHB1YddtlYxw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3Eju-0001xH-7A; Thu, 08 Dec 2022 06:06:54 -0500 In-Reply-To: <877cz22v26.fsf@gmail.com> (message from Akira Komamura on Thu, 08 Dec 2022 16:50:25 +0900) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250271 Archived-At: > From: Akira Komamura > Date: Thu, 08 Dec 2022 16:50:25 +0900 > > After upgrading to Emacs 29, some packages throw byte-compile errors > due to use of `map' pattern in `pcase': > > > org-bookmark-heading.el:176:6: Error: Unknown map pattern: (map > > 'filename 'outline-path 'id 'front-context-string 'indirectp) > > The error can be avoided by `require'ing `map' at compile time in the > library depending on pcase: > > (eval-when-compile > ;; Support map pattern in pcase > (require 'map)) > > However, this was not necessary in the previous versions. Could you please point out where does pcase.el uses 'map' in its source? The error message you quote doesn't reference pcase.el, only org-bookmark-heading.el, which is not part of Emacs and is not on ELPA, AFAICT. So I wonder where's the place in the core Emacs sources which causes the problem, and I couldn't find it. I'm probably missing something. Thanks.