From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#59900: 30.0.50; map pattern in pcase causes a byte-compile error Date: Thu, 08 Dec 2022 20:19:26 +0530 Message-ID: <87mt7y2bnt.fsf@gmail.com> References: <877cz22v26.fsf@gmail.com> <83ilim2lyz.fsf@gnu.org> <87tu262gkq.fsf@gmail.com> <83bkoe2d0k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2694"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: akira.komamura@gmail.com, 59900@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 08 15:50:14 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 1p3IE1-0000V3-N9 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Dec 2022 15:50:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3IDv-0007cC-I1; Thu, 08 Dec 2022 09:50:07 -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 1p3IDs-0007an-IY for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 09:50:05 -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 1p3IDq-0003Tu-Nx for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 09:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3IDq-0003kd-GV for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 09:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2022 14:50:02 +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.167051097714389 (code B ref 59900); Thu, 08 Dec 2022 14:50:02 +0000 Original-Received: (at 59900) by debbugs.gnu.org; 8 Dec 2022 14:49:37 +0000 Original-Received: from localhost ([127.0.0.1]:57206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3IDR-0003k1-DJ for submit@debbugs.gnu.org; Thu, 08 Dec 2022 09:49:37 -0500 Original-Received: from mail-pj1-f65.google.com ([209.85.216.65]:46028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3IDP-0003ju-M7 for 59900@debbugs.gnu.org; Thu, 08 Dec 2022 09:49:36 -0500 Original-Received: by mail-pj1-f65.google.com with SMTP id v13-20020a17090a6b0d00b00219c3be9830so1761180pjj.4 for <59900@debbugs.gnu.org>; Thu, 08 Dec 2022 06:49:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Nc3cTKo3ZNOBFnNAkJSNJ7g43qoVGhph/ElsDtGtvJ4=; b=XXncNkq5InplJlJZpi1dSSLVv8u2H6/Pf6tJa6TSKydxPwOalpJAczLUkBZy6LlMQK E51eGtE+j8bffWBI7t3KlYK/gHa2H7M/cuPAGQifxa7V4UQmqyKEu6Ckk7qoiL8RqbY3 EDo0SqQlAwNgycWHfcnL537r2Ot3cxhEiczPQuoHEBLuppAVeWVRKh9y7QPCgnFxQXJ0 UPJHdT3hVWj/gjyFAKylI/EG9gXZCJrXl/RAlI8yWThylUrJz/heCLP80RME956nnZwq pkzUb2tURePvP+GVj3168BEa5Y6lqhWRg//rZaDdUFcfrY5X9ddmDDseg+2QrT4BMRQk htrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Nc3cTKo3ZNOBFnNAkJSNJ7g43qoVGhph/ElsDtGtvJ4=; b=GB3C5CZiwUffR/ZelHscTxnLSdnGO5ixP9GliFAcpdesKv5bhISvXHas3xV4fE8beD ncxjxL+qg+XsF3KDht/hkVMrlSz050QERp8ysQL+sMOX6dCTcmW7hSwf+Nd0Ri7hptvk gq/0qAvv4wsV/ZPNny3SFavqUnSAHfrTnj8pVpoAz20KuV2Wj25DsiU75KkzMgec6zGF JAU46cMunoNX1zflSlOTRY+z/YJEiALRMOOk3w07Law+9IC/kwudga9VC5upJbifuFYR WROLS/BUPHSTMmlJ0Gt7NG2paLUQrFOP13U6KRsyaLqUrkGbwSobvbj3sEfa2gRQCdTM cRjQ== X-Gm-Message-State: ANoB5pm6k4EKUrvemGaJjE+s7BDz3g83UqanLT1uqnF6BETVVYr6bgwJ sALZhymj6HbUzldeu+T2DLQ= X-Google-Smtp-Source: AA0mqf79phVThOFm+H9Pn2k55j9twXmknmVbBeJTiKiXN3x/Ir/FfHu5tCX9gdkIKUlgMuWoaOzzGw== X-Received: by 2002:a17:902:d4cb:b0:189:d0b4:52d0 with SMTP id o11-20020a170902d4cb00b00189d0b452d0mr3304840plg.46.1670510969783; Thu, 08 Dec 2022 06:49:29 -0800 (PST) Original-Received: from localhost ([49.204.142.121]) by smtp.gmail.com with ESMTPSA id iw10-20020a170903044a00b001871461688esm13303419plb.175.2022.12.08.06.49.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 06:49:29 -0800 (PST) In-Reply-To: <83bkoe2d0k.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 08 Dec 2022 16:20:11 +0200") 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:250297 Archived-At: [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE=9F= =E0=AE=BF=E0=AE=9A=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 08, 2022] E= li Zaretskii wrote: >> From: Visuwesh >> Cc: Akira Komamura , 59900@debbugs.gnu.org >> Date: Thu, 08 Dec 2022 18:33:17 +0530 >>=20 >> [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE= =9F=E0=AE=BF=E0=AE=9A=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 08, 2022= ] Eli Zaretskii wrote: >>=20 >> > Could you please point out where does pcase.el uses 'map' in its >> > source? >>=20 >> Pcase matcher that uses the map library is in in map.el. >> See the (pcase-defmacro map (&rest args) line. > > Thanks, but if the offending code is in map.el, then there should be > no problem for it to use functions or macros in map.el, right? > > Or what am I missing? I do not understand your reply but AFAIU, the error shows up because the compiler does not know about the pcase map matching pattern during compilation-time so I think the problem is in org-bookmark-heading package missing a require statement for map.el and not in core. [ Akira proposes to autoload the map.el matching pattern to avoid future errors as rx's pattern is already autoloaded. ]