From unknown Sat Aug 16 21:00:44 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#44532: 27.1.50; Regression in `rx' forms in `pcase'
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Mon, 09 Nov 2020 13:45:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 44532
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 44532@debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.160492950117880
(code B ref -1); Mon, 09 Nov 2020 13:45:02 +0000
Received: (at submit) by debbugs.gnu.org; 9 Nov 2020 13:45:01 +0000
Received: from localhost ([127.0.0.1]:34282 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1kc7Tg-0004eJ-UK
for submit@debbugs.gnu.org; Mon, 09 Nov 2020 08:45:01 -0500
Received: from lists.gnu.org ([209.51.188.17]:55510)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1kc7TQ-0004dx-V8
for submit@debbugs.gnu.org; Mon, 09 Nov 2020 08:44:59 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:60834)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1kc7TQ-0001xd-Jx
for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 08:44:44 -0500
Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:38654)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1kc7TK-0002Kz-Q2
for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 08:44:44 -0500
Received: by mail-wr1-x434.google.com with SMTP id p8so7934557wrx.5
for ; Mon, 09 Nov 2020 05:44:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=k+GijhBDGNUmgwdeXf3Eak1L4qUGBGZQYSlCaxl27u0=;
b=OXq3VnFNrR0TH/i/ferG1jQS8cYUGNql6UqTqLOT7mi76m86QbLgrRL5v+NVRFRzj+
lwbspNOtSG62EwzTcWtT7Omt1ocVlILn8g+65kp4R3CfemRHYc23wsBHzp9fP9Slq/uW
vzf5cwp51/eco9vEOtYdAFedUZrVVpQxtwWYGhanPL6vf5wUcHM88KjEsiL7jT/CSV5f
b7ALmHxvBjf13WjEvvMQJCBOW9QyVSwjhgvEupOT/rFWSvw84YgfWPOKZLHtWkkcC/lT
DZPWyPFaoYDTzvbCgi945aTMtTJXfIvGTQ4qmUnTuPEd++ZXdX5an0XeKWENTKEUtW+V
z6Zw==
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
:content-transfer-encoding;
bh=k+GijhBDGNUmgwdeXf3Eak1L4qUGBGZQYSlCaxl27u0=;
b=g3QKpA+ux0LKovN+DaRfgMfwCEiLAW8ouB9lfmkjoyPbKYWDicVErlB4ynKEFvXgPc
OdSdAjyinyZPKceTqk0BMtlW1dS081ynXEVOeG5GkUQh1ZwW+0pyJSqlo00BT20vhhnN
GDOShqDDMlTmGgNbBh9nN3qDjrCERtm/bIj3yt6ZL7Gxv4iGSM33ARVNoaxvkRoV4sja
8nckCEbn1UK+paau0Nw6YKv5oaRlalD+4bRy1JoVH/tzYJeUVKyjDte3miOQeBjiIyDp
N+2DxKCu4iHIJ1mdfVCbT/sBfDe36gt1XJV5ww0eS4yRJd0D2FYlzFUwVRSUIBwGap0c
GJ/w==
X-Gm-Message-State: AOAM530N1XApeURhrgH7vYCyTvRIBqWiD0Ku+sDarsinbA6lFTCa1urF
MZCdsBkw09zkQlvibp9CCFRdfDmaCNM=
X-Google-Smtp-Source: ABdhPJw8m9yqXcMUONSQG9wFQuD+NnWQ/PePrb5VT71nI4tp+kWH9O6YBObovoYRinl/icaHbnjADw==
X-Received: by 2002:a5d:5604:: with SMTP id l4mr17437184wrv.140.1604929476578;
Mon, 09 Nov 2020 05:44:36 -0800 (PST)
Received: from phst1 ([46.128.199.221])
by smtp.gmail.com with ESMTPSA id a9sm8931977wrp.21.2020.11.09.05.44.35
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 09 Nov 2020 05:44:36 -0800 (PST)
From: Philipp Stephani
Date: Mon, 09 Nov 2020 14:44:34 +0100
Message-ID:
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::434;
envelope-from=p.stephani2@gmail.com; helo=mail-wr1-x434.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
That's all we know.
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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-Spam-Score: 3.0 (+++)
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: It looks like `rx' forms in `pcase' forms don't work in all
places with the reimplementation of `rx'. This is a rather annoying regression,
so I'd propose to fix it on the release branch. With Emacs 2 [...]
Content analysis details: (3.0 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
in digit (p.stephani2[at]gmail.com)
0.0 T_SPF_HELO_TEMPERROR SPF: test of HELO record failed (temperror)
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (p.stephani2[at]gmail.com)
1.8 SPOOFED_FREEMAIL No description available.
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.1 (--)
It looks like `rx' forms in `pcase' forms don't work in all places with
the reimplementation of `rx'. This is a rather annoying regression, so
I'd propose to fix it on the release branch.
With Emacs 26:
emacs -Q -batch -l cl-lib -l pcase -l rx -eval '(print (pcase "1" ((rx (? (=
let foo digit))) foo)))'
"1"
(as expected)
However, with Emacs 27
emacs -Q -batch -l cl-lib -l pcase -l rx -eval '(print (pcase "1" ((rx (? (=
let foo digit))) foo)))'
Unknown rx form =E2=80=98let=E2=80=99
In GNU Emacs 27.1.50 (build 9, x86_64-pc-linux-gnu, GTK+ Version 3.24.20)
of 2020-11-09
Repository revision: f5d7fb3a2dee3f9ae49151e3d01483aad7fb734b
Repository branch: emacs-27
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux rodete
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Configured using:
'configure --enable-checking=3Dall --enable-gtk-deprecation-warnings
--enable-gcc-warnings=3Dwarn-only --enable-check-lisp-object-type
--with-mailutils --without-pop 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-g3'
Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY
LIBSELINUX GNUTLS FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3
X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER GMP
Important settings:
value of $LANG: en_US.utf8
value of $XMODIFIERS: @im=3Dibus
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec epa epg epg-config gnus-util
rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils phst skeleton
derived edmacro kmacro pcase ffap thingatpt url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json map url-vars mailcap subr-x rx gnutls puny seq
byte-opt gv bytecomp byte-compile cconv dbus xml compile comint
ansi-color ring cl-loaddefs cl-lib tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)
Memory information:
((conses 16 68084 6885)
(symbols 48 8614 1)
(strings 32 23702 1904)
(string-bytes 1 764915)
(vectors 16 13051)
(vector-slots 8 169356 7186)
(floats 8 25 36)
(intervals 56 208 0)
(buffers 1000 12))
--=20
Google Germany GmbH
Erika-Mann-Stra=C3=9Fe 33
80636 M=C3=BCnchen
Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Falls Sie diese f=C3=A4lschlicherweise erhal=
ten haben
sollten, leiten Sie diese bitte nicht an jemand anderes weiter, l=C3=B6sche=
n Sie
alle Kopien und Anh=C3=A4nge davon und lassen Sie mich bitte wissen, dass d=
ie E-Mail
an die falsche Person gesendet wurde.
This e-mail is confidential. If you received this communication by mistake,
please don=E2=80=99t forward it to anyone else, please erase all copies and
attachments, and please let me know that it has gone to the wrong person.
From unknown Sat Aug 16 21:00:44 2025
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@gnu.org
From: help-debbugs@gnu.org (GNU bug Tracking System)
To: Philipp Stephani
Subject: bug#44532: closed (bug#44532: 27.1.50; Regression in `rx' forms
in `pcase' )
Message-ID:
References:
X-Gnu-PR-Message: they-closed 44532
X-Gnu-PR-Package: emacs
Reply-To: 44532@debbugs.gnu.org
Date: Mon, 09 Nov 2020 16:31:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1604939461-14290-1"
This is a multi-part message in MIME format...
------------=_1604939461-14290-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your bug report
#44532: 27.1.50; Regression in `rx' forms in `pcase'
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 44532@debbugs.gnu.org.
--=20
44532: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44532
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
------------=_1604939461-14290-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 44532-done) by debbugs.gnu.org; 9 Nov 2020 16:30:18 +0000
Received: from localhost ([127.0.0.1]:35392 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1kcA3e-00030u-4p
for submit@debbugs.gnu.org; Mon, 09 Nov 2020 11:30:18 -0500
Received: from mail1441c50.megamailservers.eu ([91.136.14.41]:45270
helo=mail264c50.megamailservers.eu)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1kcA3a-0002p1-2d
for 44532-done@debbugs.gnu.org; Mon, 09 Nov 2020 11:30:16 -0500
X-Authenticated-User: mattiase@bredband.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu;
s=maildub; t=1604939406;
bh=lHrQGE+n8h1MqxHg56mpt2SqioCiCzn0RJCA4c/6uBI=;
h=From:Subject:Date:Cc:To:From;
b=Q4GUdkDVaLqKcIMK27M8ueK3MASSTJGhFNPzUBcyTQibtheh5pUfEu27CuM0NZlzK
UTU5QhtVFsUMV1rc09UPcRndazUaaNc58ccc7siLpNOWmniTUPqvjA8BmgBMYj0/4r
NCzJ7Uwhk7kIlPFkYSvBNGTFK2CoczrZCn9vEGBk=
Feedback-ID: mattiase@acm.or
Received: from [192.168.0.4] (c188-150-171-71.bredband.comhem.se
[188.150.171.71]) (authenticated bits=0)
by mail264c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 0A9GU43b022067;
Mon, 9 Nov 2020 16:30:06 +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: bug#44532: 27.1.50; Regression in `rx' forms in `pcase'
Message-Id:
Date: Mon, 9 Nov 2020 17:30:04 +0100
To: Philipp Stephani
X-Mailer: Apple Mail (2.3445.104.17)
X-CTCH-RefID: str=0001.0A782F17.5FA96E8E.0085, 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=FoV7AFjq c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117
a=SF+I6pRkHZhrawxbOkkvaA==:17 a=kj9zAlcOel0A:10 a=rrmvlW3SxqMA:10
a=M51BFTxLslgA:10 a=sODYdFMevSTjJbJkkrsA:9 a=CjuIK1q_8ugA:10
a=QYH75iMubAgA:10
X-Origin-Country: SE
X-Spam-Score: 1.4 (+)
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 very much for reporting this! Sorry about this
mistake
of mine; it's now been fixed. Only the ? and ?? operators were affected,
and only when written as characters rather than symbols.
Content analysis details: (1.4 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS
X-Debbugs-Envelope-To: 44532-done
Cc: 44532-done@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: -0.0 (/)
Thank you very much for reporting this! Sorry about this mistake of =
mine; it's now been fixed.
Only the ? and ?? operators were affected, and only when written as =
characters rather than symbols.
------------=_1604939461-14290-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by debbugs.gnu.org; 9 Nov 2020 13:45:01 +0000
Received: from localhost ([127.0.0.1]:34282 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1kc7Tg-0004eJ-UK
for submit@debbugs.gnu.org; Mon, 09 Nov 2020 08:45:01 -0500
Received: from lists.gnu.org ([209.51.188.17]:55510)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1kc7TQ-0004dx-V8
for submit@debbugs.gnu.org; Mon, 09 Nov 2020 08:44:59 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:60834)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1kc7TQ-0001xd-Jx
for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 08:44:44 -0500
Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:38654)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1kc7TK-0002Kz-Q2
for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 08:44:44 -0500
Received: by mail-wr1-x434.google.com with SMTP id p8so7934557wrx.5
for ; Mon, 09 Nov 2020 05:44:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=k+GijhBDGNUmgwdeXf3Eak1L4qUGBGZQYSlCaxl27u0=;
b=OXq3VnFNrR0TH/i/ferG1jQS8cYUGNql6UqTqLOT7mi76m86QbLgrRL5v+NVRFRzj+
lwbspNOtSG62EwzTcWtT7Omt1ocVlILn8g+65kp4R3CfemRHYc23wsBHzp9fP9Slq/uW
vzf5cwp51/eco9vEOtYdAFedUZrVVpQxtwWYGhanPL6vf5wUcHM88KjEsiL7jT/CSV5f
b7ALmHxvBjf13WjEvvMQJCBOW9QyVSwjhgvEupOT/rFWSvw84YgfWPOKZLHtWkkcC/lT
DZPWyPFaoYDTzvbCgi945aTMtTJXfIvGTQ4qmUnTuPEd++ZXdX5an0XeKWENTKEUtW+V
z6Zw==
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
:content-transfer-encoding;
bh=k+GijhBDGNUmgwdeXf3Eak1L4qUGBGZQYSlCaxl27u0=;
b=g3QKpA+ux0LKovN+DaRfgMfwCEiLAW8ouB9lfmkjoyPbKYWDicVErlB4ynKEFvXgPc
OdSdAjyinyZPKceTqk0BMtlW1dS081ynXEVOeG5GkUQh1ZwW+0pyJSqlo00BT20vhhnN
GDOShqDDMlTmGgNbBh9nN3qDjrCERtm/bIj3yt6ZL7Gxv4iGSM33ARVNoaxvkRoV4sja
8nckCEbn1UK+paau0Nw6YKv5oaRlalD+4bRy1JoVH/tzYJeUVKyjDte3miOQeBjiIyDp
N+2DxKCu4iHIJ1mdfVCbT/sBfDe36gt1XJV5ww0eS4yRJd0D2FYlzFUwVRSUIBwGap0c
GJ/w==
X-Gm-Message-State: AOAM530N1XApeURhrgH7vYCyTvRIBqWiD0Ku+sDarsinbA6lFTCa1urF
MZCdsBkw09zkQlvibp9CCFRdfDmaCNM=
X-Google-Smtp-Source: ABdhPJw8m9yqXcMUONSQG9wFQuD+NnWQ/PePrb5VT71nI4tp+kWH9O6YBObovoYRinl/icaHbnjADw==
X-Received: by 2002:a5d:5604:: with SMTP id l4mr17437184wrv.140.1604929476578;
Mon, 09 Nov 2020 05:44:36 -0800 (PST)
Received: from phst1 ([46.128.199.221])
by smtp.gmail.com with ESMTPSA id a9sm8931977wrp.21.2020.11.09.05.44.35
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 09 Nov 2020 05:44:36 -0800 (PST)
From: Philipp Stephani
To: bug-gnu-emacs@gnu.org
Subject: 27.1.50; Regression in `rx' forms in `pcase'
Date: Mon, 09 Nov 2020 14:44:34 +0100
Message-ID:
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::434;
envelope-from=p.stephani2@gmail.com; helo=mail-wr1-x434.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
That's all we know.
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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-Spam-Score: 3.0 (+++)
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: It looks like `rx' forms in `pcase' forms don't work in all
places with the reimplementation of `rx'. This is a rather annoying regression,
so I'd propose to fix it on the release branch. With Emacs 2 [...]
Content analysis details: (3.0 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
in digit (p.stephani2[at]gmail.com)
0.0 T_SPF_HELO_TEMPERROR SPF: test of HELO record failed (temperror)
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (p.stephani2[at]gmail.com)
1.8 SPOOFED_FREEMAIL No description available.
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: -2.1 (--)
It looks like `rx' forms in `pcase' forms don't work in all places with
the reimplementation of `rx'. This is a rather annoying regression, so
I'd propose to fix it on the release branch.
With Emacs 26:
emacs -Q -batch -l cl-lib -l pcase -l rx -eval '(print (pcase "1" ((rx (? (=
let foo digit))) foo)))'
"1"
(as expected)
However, with Emacs 27
emacs -Q -batch -l cl-lib -l pcase -l rx -eval '(print (pcase "1" ((rx (? (=
let foo digit))) foo)))'
Unknown rx form =E2=80=98let=E2=80=99
In GNU Emacs 27.1.50 (build 9, x86_64-pc-linux-gnu, GTK+ Version 3.24.20)
of 2020-11-09
Repository revision: f5d7fb3a2dee3f9ae49151e3d01483aad7fb734b
Repository branch: emacs-27
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux rodete
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Configured using:
'configure --enable-checking=3Dall --enable-gtk-deprecation-warnings
--enable-gcc-warnings=3Dwarn-only --enable-check-lisp-object-type
--with-mailutils --without-pop 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-g3'
Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY
LIBSELINUX GNUTLS FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3
X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER GMP
Important settings:
value of $LANG: en_US.utf8
value of $XMODIFIERS: @im=3Dibus
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec epa epg epg-config gnus-util
rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils phst skeleton
derived edmacro kmacro pcase ffap thingatpt url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json map url-vars mailcap subr-x rx gnutls puny seq
byte-opt gv bytecomp byte-compile cconv dbus xml compile comint
ansi-color ring cl-loaddefs cl-lib tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)
Memory information:
((conses 16 68084 6885)
(symbols 48 8614 1)
(strings 32 23702 1904)
(string-bytes 1 764915)
(vectors 16 13051)
(vector-slots 8 169356 7186)
(floats 8 25 36)
(intervals 56 208 0)
(buffers 1000 12))
--=20
Google Germany GmbH
Erika-Mann-Stra=C3=9Fe 33
80636 M=C3=BCnchen
Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Falls Sie diese f=C3=A4lschlicherweise erhal=
ten haben
sollten, leiten Sie diese bitte nicht an jemand anderes weiter, l=C3=B6sche=
n Sie
alle Kopien und Anh=C3=A4nge davon und lassen Sie mich bitte wissen, dass d=
ie E-Mail
an die falsche Person gesendet wurde.
This e-mail is confidential. If you received this communication by mistake,
please don=E2=80=99t forward it to anyone else, please erase all copies and
attachments, and please let me know that it has gone to the wrong person.
------------=_1604939461-14290-1--
From unknown Sat Aug 16 21:00:44 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#44532: 27.1.50; Regression in `rx' forms in `pcase'
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Mon, 09 Nov 2020 17:08:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 44532
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?=
Cc: 44532-done@debbugs.gnu.org
Received: via spool by 44532-done@debbugs.gnu.org id=D44532.160494166130521
(code D ref 44532); Mon, 09 Nov 2020 17:08:02 +0000
Received: (at 44532-done) by debbugs.gnu.org; 9 Nov 2020 17:07:41 +0000
Received: from localhost ([127.0.0.1]:35487 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1kcAdo-0007wD-P1
for submit@debbugs.gnu.org; Mon, 09 Nov 2020 12:07:40 -0500
Received: from mail-oo1-f44.google.com ([209.85.161.44]:36684)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1kcAdn-0007w1-Jf
for 44532-done@debbugs.gnu.org; Mon, 09 Nov 2020 12:07:39 -0500
Received: by mail-oo1-f44.google.com with SMTP id l20so2373342oot.3
for <44532-done@debbugs.gnu.org>; Mon, 09 Nov 2020 09:07:39 -0800 (PST)
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=zrAEESiniiBUN3FFHfvci79MqZwu+/rnxngW/rfcgOo=;
b=glR8UObZVJQtsKnEuIO7jF6Z8lbvZrgvVxdi4TkR0wYogqWH9ZPLhj4RuJxmU9xT0J
FEFcrZQOU0TmevRDmrUcIIb+vOvpWmhEpPxVuokIWy9AvPdmXiUGWArOoQZojwRsl/ao
CBMeJqlH9DUVi5FT5HCVWahUyO1+yKtmXnbI/g2wL16FQgTAoETsxRxzGywuxAzanEEe
ienVf4NU/+/Ainaod+KsWNTUAH5Ai1iCD9xVY3lLNkxve+6+EyKwC+6pemHPp9YPWOlc
KK7zNMKCBzCJls4d6zxm8klhMRhvWIj6QxEW6pO9cRAIxYA137r+0x0tRHazlCXncbwu
eAMA==
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=zrAEESiniiBUN3FFHfvci79MqZwu+/rnxngW/rfcgOo=;
b=uHK/Qh4kRUPc2M1ub0T3PATS30Je1VgP/8DcWg4MUhc3w5QuGmd8NOTjbYppLPrC3W
OiQySybAKM+pY2uAhADbjVVQ7Qp33ZzMN+8yj/wVlXpPji5+u9i6Vp8blRGFggSzrXP2
o18O8pGdCeWDR2+WjZ+dsguFYN9IAErNAXIovxDyM3tkr2oCQgZ/URrqp0mXLtRTVK8n
FU0yWz+KsB95tHO6AHkUuVSNITyWhSDO1+afmGooRrYL6GLb7y6W+bBZ9Ly189efDhzK
V2RV1MTDhOxOROrZTC771reBrHQBp7ICjXqK+ojHNiTvmI9Wi4h5+KsYAhXduiDJSJ61
KFBA==
X-Gm-Message-State: AOAM533TgV8gXxCiLJJo4NaEuRDESLiAvUqceQpuFrR0XfL9NPP65xbJ
rQJZ89ScpKFXPeg/SI0mt2dvLz5tkGYyC3eHfx8=
X-Google-Smtp-Source: ABdhPJwK0ldy29hvDoCuYOy8jujhOVcGXq5n6nLUwcehTG8/47WwjpPPX1bO7vcIGrx6LyOfndFWLiH79mLzFSpBuRc=
X-Received: by 2002:a4a:2d1a:: with SMTP id y26mr4944291ooy.71.1604941653943;
Mon, 09 Nov 2020 09:07:33 -0800 (PST)
MIME-Version: 1.0
References:
In-Reply-To:
From: Philipp Stephani
Date: Mon, 9 Nov 2020 18:07:22 +0100
Message-ID:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.3 (/)
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: -0.7 (/)
Am Mo., 9. Nov. 2020 um 17:30 Uhr schrieb Mattias Engdeg=C3=A5rd :
>
> Thank you very much for reporting this! Sorry about this mistake of mine;=
it's now been fixed.
> Only the ? and ?? operators were affected, and only when written as chara=
cters rather than symbols.
>
Thanks for the quick fix!