From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akira Komamura Newsgroups: gmane.emacs.bugs Subject: bug#59900: 30.0.50; map pattern in pcase causes a byte-compile error Date: Thu, 08 Dec 2022 16:50:25 +0900 Message-ID: <877cz22v26.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29025"; mail-complaints-to="usenet@ciao.gmane.io" To: 59900@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 08 10:51:22 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 1p3DYn-0007RC-UV for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Dec 2022 10:51:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3DYb-0007dx-DQ; Thu, 08 Dec 2022 04:51:09 -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 1p3DYW-0007b7-CU for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 04:51:04 -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 1p3DYV-0002gL-Gh for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 04:51:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3DYV-0007zS-Bi for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 04:51:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Akira Komamura Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2022 09:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59900 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.167049305830678 (code B ref -1); Thu, 08 Dec 2022 09:51:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Dec 2022 09:50:58 +0000 Original-Received: from localhost ([127.0.0.1]:55667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3DYP-0007yj-Va for submit@debbugs.gnu.org; Thu, 08 Dec 2022 04:50:58 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:33606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3Bft-0005K8-Ns for submit@debbugs.gnu.org; Thu, 08 Dec 2022 02:50:37 -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 1p3Bfs-0004bR-QC for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 02:50:33 -0500 Original-Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3Bfr-0002o8-8P for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 02:50:32 -0500 Original-Received: by mail-pl1-x631.google.com with SMTP id jl24so767366plb.8 for ; Wed, 07 Dec 2022 23:50:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=mP4TM2Lh+6KyVs4mzf4/mtE+vvGJQ0WPo4Pfvt6vK1Q=; b=fEYtYzSjaBoJc8V10t1n5B9YYqIVk69P/aG65ubdrlfAfiBCekUMW2l/LmqzILwy/V 8XiDh7Zqv18SW1QEyn6ZuE8Ax0QdfvpvNiy4avJKvT9q4RaTZltAwBBvYhX9/REr2uO3 pk+vS9h3zvmbKwCYkNgdxXyyo7JIC+4GdSNVueYQspJIYD2x3xM5dNr0IgQMQ2/eW/j3 Mnpzq89dhZDhybrLbUd3CoG2BqmltMJ7ONZfxiwuGumyQLjSc6zgqfTZNmXmP2H8UXag 1xCyi3hTjSZOYOOqgpYys0neh/M6ePBlDGLJhPHsFBlnRnap3eNmLWaHFprXPHGUNOsr VMkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mP4TM2Lh+6KyVs4mzf4/mtE+vvGJQ0WPo4Pfvt6vK1Q=; b=Y6xz2azIlBKvrecfM2wisEev4oDGTZe2uNJcLKrIRpvKOEqmDyvuv1SXNoLgI8kFsM 4cPTsfwSWqM0TsngNUkii4ca61SIrDM4SHvs44MF8ohmiwpA01jKZI901PgxOQR5Sc3Q QLUbaoj2+VguqaRE2JHzPX0dtVDkpyjdA8/CHXwDCOgiJReOzBv4nebs8n1hrhnnOLbs Bqy6Ft/Z7Ga2sxLDWuULT6zPbQD+i/st9MADJphMz4SdDikN9d3LHUIiWWkkEwluhPHi C/HmM6XP45T9xD6zQZCqvUbleDq+DVbdyq3mdXQMkUXY3ML3gMMI89WV2Gz5dDFgtJos LRAQ== X-Gm-Message-State: ANoB5pmbLvKyqnYH+z2G7kT6oKO3P/+t66Tl1qG5fxuJfxGtsXLhEZ+x RHTQuuVLnj7yF714xx9dGfcDVBtdtTQ= X-Google-Smtp-Source: AA0mqf7kKfshEEHFio5PdnXFb3ldxHuyNx9Fc44wF/wy7poR6ljWbB4cU00tw47XwesO5K9aAEdbvg== X-Received: by 2002:a17:902:d885:b0:185:441f:70aa with SMTP id b5-20020a170902d88500b00185441f70aamr1788376plz.47.1670485828481; Wed, 07 Dec 2022 23:50:28 -0800 (PST) Original-Received: from li (42-150-27-70.rev.home.ne.jp. [42.150.27.70]) by smtp.gmail.com with ESMTPSA id o17-20020a170902d4d100b00186cf82717fsm15963011plg.165.2022.12.07.23.50.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 23:50:27 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=akira.komamura@gmail.com; helo=mail-pl1-x631.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-Mailman-Approved-At: Thu, 08 Dec 2022 04:50:53 -0500 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:250258 Archived-At: 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. As a similar example, the `rx' pattern for `pcase' is autoloaded (see `rx.el'), so shouldn't the `map' pattern support be autoloaded as well? ;;;###autoload (pcase-defmacro rx (&rest regexps) ...