From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 16:38:07 2020 Received: (at submit) by debbugs.gnu.org; 22 Nov 2020 21:38:07 +0000 Received: from localhost ([127.0.0.1]:48455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgx3f-0008Vu-2Y for submit@debbugs.gnu.org; Sun, 22 Nov 2020 16:38:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:58282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgx3d-0008Vn-62 for submit@debbugs.gnu.org; Sun, 22 Nov 2020 16:38:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgx3c-0002nO-Qw for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 16:38:04 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:51336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kgx3a-0004qe-Ui for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 16:38:04 -0500 Received: by mail-wm1-x32d.google.com with SMTP id a186so13379152wme.1 for ; Sun, 22 Nov 2020 13:38:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=uF8oChrcD9oKWTYVZrbpmJ+nsX/AX34xnXrmu0JQY6g=; b=j+lI1bCCcSceN+eqEMxmKbQ8UBiC3Mgt5bj4Ap97Kg3nxBolBM8WR0f1gCeUOxr94G 7maubdytRbSY1QpxdXs1B4ak6w3+et/gTW4y19zK9TQeRLGhyVEUMgy3/BHmLfEOic+A 9HjqwwZN+E2VQgnpp48tS/Z3M90RepJuiTt+SKd4AlrdCkkh1564Zika81ZM1b0iAjCg 21ni6oDj4gkQre6K5qczfTPV7lu2bcYJyQjo5nQXPTNRektTBCg+x4cOcpAciSAYqaR/ +lhHxGVATNs9+DI5b/Qu5kTeg5GH+s3g1715aBO2YyTOpX0OgUdycvpezcz32pmRIqKB lXSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=uF8oChrcD9oKWTYVZrbpmJ+nsX/AX34xnXrmu0JQY6g=; b=ktzjSdT4SkUwM7N8/Y/u1Ej+O5AmW2nripNTB6UWdFOxuw6KT3Zl5i8P75FPUjmWbu NYh87eZqJcrZq7eH/sFaIGCZWrmsWQjlxXMK9Og4xmsWtZ+wyEoPCKzwhLAwIlCOB04b z6EfwhBpeNC2cCcpRXBzba8u6q45hlp6ys176HHOv5+jbmVR5kzTQGlq4NNKm/eCkFj/ MCm6+SHDyacaDeyN7eyFfszmJlwp8UCXQrjL458YOpfxrP1W5PGEs69nr7MHAAlPWtoE jbR7r5JUL4NEfZWQhUT/bFfCXS6RK85UmjOP2US3tNVC/r5qPfaxgwyVdcxj1d/rklWb iWbg== X-Gm-Message-State: AOAM530Sva4IydFNBOCHU/BK5ur9RHzP+D/N/yYY1xbX2WwE2zgZf0vs WeaUFo7rofZyfq81o0LhKapmkDySAtFsOF0U X-Google-Smtp-Source: ABdhPJzJ6CkjK3AHyAiWx6ef3xotyVD5/p1GEDr/vCkEVaEYuTrPpepJZYDbHVJrcXRXEN52nwOvNA== X-Received: by 2002:a1c:7402:: with SMTP id p2mr21540043wmc.104.1606081079228; Sun, 22 Nov 2020 13:37:59 -0800 (PST) Received: from localhost ([51.37.63.46]) by smtp.gmail.com with ESMTPSA id o4sm12649985wmh.33.2020.11.22.13.37.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Nov 2020 13:37:58 -0800 (PST) From: "Basil L. Contovounesios" To: bug-gnu-emacs@gnu.org Subject: 28.0.50; pcase macroexpander for rx is not autoloaded Date: Sun, 22 Nov 2020 21:37:57 +0000 Message-ID: <875z5xm5sa.fsf@tcd.ie> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::32d; envelope-from=contovob@tcd.ie; helo=mail-wm1-x32d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.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: -3.3 (---) Severity: wishlist 0. emacs -Q 1. (pcase "a" ((rx "a"))) 2. C-x C-s /tmp/a.el RET 3. M-x compile RET 4. C-a C-k emacs -Q -batch -f batch-byte-compile a.el RET This fails with: In toplevel form: a.el:4:1: Error: Unknown rx pattern: (rx "a") This can be solved by adding (require 'rx) to the file. Given that all other rx.el entry points are autoloaded, however, I was wondering whether the same could be done for its pcase macroexpander. Would adding an autoload cookie before (pcase-defmacro rx ...) work? Thanks, -- Basil In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2020-11-22 built on thunk Repository revision: 9490f12c4dc4deb16f4e900646319f6de033982c Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Debian GNU/Linux bullseye/sid Configured using: 'configure 'CC=ccache gcc' 'CFLAGS=-O2 -march=native' --config-cache --prefix=/home/blc/.local --with-x-toolkit=lucid --with-file-notification=yes --with-x' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 Important settings: value of $LANG: en_IE.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 24 02:08:56 2020 Received: (at 44807) by debbugs.gnu.org; 24 Nov 2020 07:08:56 +0000 Received: from localhost ([127.0.0.1]:56135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khSRb-0007iW-W9 for submit@debbugs.gnu.org; Tue, 24 Nov 2020 02:08:56 -0500 Received: from quimby.gnus.org ([95.216.78.240]:49970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khSPw-0007Wf-GF for 44807@debbugs.gnu.org; Tue, 24 Nov 2020 02:07:13 -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=omGzv4wmqPiZYRYbNATRGP+pUYIt45ydwcd3Pw/00eU=; b=pAXv2H0990g5d8HgoU6iYcktuH V9YdJ0TwjehS/gkOX2atL9gRAXMolzad1fFR3CaUUlZZDSW1X/mlIDysbUS7rj9TyF87fndml/14I AWNkfxmQLJrNkvLTJ2W1ZDdgSDvSi5N6U08u36RAgSC9MKaTZZg/FzcuxI/vedVXrVgM=; 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 1khSPo-0000db-EN; Tue, 24 Nov 2020 08:07:06 +0100 From: Lars Ingebrigtsen To: "Basil L. Contovounesios" Subject: Re: bug#44807: 28.0.50; pcase macroexpander for rx is not autoloaded References: <875z5xm5sa.fsf@tcd.ie> X-Now-Playing: The Specials's _The Specials_: "Concrete Jungle" Date: Tue, 24 Nov 2020 08:07:03 +0100 In-Reply-To: <875z5xm5sa.fsf@tcd.ie> (Basil L. Contovounesios's message of "Sun, 22 Nov 2020 21:37:57 +0000") Message-ID: <87wnyb8c88.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: "Basil L. Contovounesios" writes: > Would adding an autoload cookie before (pcase-defmacro rx ...) work? It's possible... have you tried? :-) 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: 44807 Cc: 44807@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 (-) "Basil L. Contovounesios" writes: > Would adding an autoload cookie before (pcase-defmacro rx ...) work? It's possible... have you tried? :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 24 04:43:05 2020 Received: (at 44807-done) by debbugs.gnu.org; 24 Nov 2020 09:43:05 +0000 Received: from localhost ([127.0.0.1]:57735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khUqn-0002Gn-Ff for submit@debbugs.gnu.org; Tue, 24 Nov 2020 04:43:05 -0500 Received: from mail1475c50.megamailservers.eu ([91.136.14.75]:45192 helo=mail118c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khUql-0002GH-9G for 44807-done@debbugs.gnu.org; Tue, 24 Nov 2020 04:43:04 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1606210975; bh=163uDQ8B/80bE4ZkQntA9pBQKXr8fj7uxQv7rOSFwz4=; h=From:Subject:Date:Cc:To:From; b=iaB4Qzhm7En3jUV9zwPeblVTV3sF8vXLLQLdhqmQxbhLWoMRw02WPUxDUsUhmBFpL fc8HWnQ+TCKQZ4/ECCKmOJE6ZGEsHsm8JvUiQ1hB8TJT82vKQKOZK8lLRdfjjCQTe6 qmmvavWRG25P9/YEEi4djt0d3PWq2dhdG6EnJIUQ= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-064ae655.032-75-73746f71.bbcust.telenor.se [85.230.74.6]) (authenticated bits=0) by mail118c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 0AO9grER018190; Tue, 24 Nov 2020 09:42:54 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#44807: 28.0.50; pcase macroexpander for rx is not autoloaded Message-Id: <1AE7B9C8-30EA-4725-B0F5-556543BCE849@acm.org> Date: Tue, 24 Nov 2020 10:42:52 +0100 To: "Basil L. Contovounesios" X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A782F27.5FBCD59F.0092, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=U/Ps8tju c=1 sm=1 tr=0 a=Ni+dBsiEfW2GqKMPYZim9A==:117 a=Ni+dBsiEfW2GqKMPYZim9A==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=MawsZMm1R6V3FHcbV7QA:9 a=CjuIK1q_8ugA:10 X-Origin-Country: SE X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: Thank you for suggesting this -- autoloading a pcase macro seems to work and it is now done for the rx expander. Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [91.136.14.75 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.7 FAKE_REPLY_B No description available. X-Debbugs-Envelope-To: 44807-done Cc: 44807-done@debbugs.gnu.org, Lars Ingebrigtsen 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.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: Thank you for suggesting this -- autoloading a pcase macro seems to work and it is now done for the rx expander. Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [91.136.14.75 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 2.7 FAKE_REPLY_B No description available. Thank you for suggesting this -- autoloading a pcase macro seems to work = and it is now done for the rx expander. From unknown Tue Jun 17 21:53:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 22 Dec 2020 12:24:04 +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