From unknown Sun Jun 22 04:06:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54107: 29.0.50; re-builder signals error when using rx syntax Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Feb 2022 13:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 54107@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164553674419174 (code B ref -1); Tue, 22 Feb 2022 13:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Feb 2022 13:32:24 +0000 Received: from localhost ([127.0.0.1]:40320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMVHD-0004zA-QZ for submit@debbugs.gnu.org; Tue, 22 Feb 2022 08:32:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:48106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMVHC-0004z3-Gt for submit@debbugs.gnu.org; Tue, 22 Feb 2022 08:32:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMVHC-00010r-7M for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 08:32:22 -0500 Received: from [2a00:1450:4864:20::536] (port=34684 helo=mail-ed1-x536.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMVHA-00081t-2G for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 08:32:21 -0500 Received: by mail-ed1-x536.google.com with SMTP id z22so36930123edd.1 for ; Tue, 22 Feb 2022 05:32:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=deOQbVnlPFKTsTgJDok+3JXP0vOF1B8vLWqS/sZpnvA=; b=Dmti8fREXyP6ZgyBnXuHVoCRsWMO/JSx1sWrtxkhf2YlKO0Zd8IiT8vCZkFkgHxuzg W3sKArvpSsu4gY9tX3oe70u0rnPz0955ZYNENNEFESPS2rNyJOg51Yqoq7kNoWFpJPiM uCa5hfUJ0iV/W9xx19gopL3KPop1I+NylqcH9IvH8zY90Y9uRSo/HcOvEWkQz15ARwy1 V9g9SwAiShG5bSlo+M17WojA1wsadJ0yPN+6wZKHd5DqSUZbReZMOPMjtfMrRCzIEH68 kRvU/HLVtmn6HQ9RBor8vojU2kXWb31HAHin3bgGLCkv6VUbyLVrfdnaV9x+6MrX4zAU b+Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=deOQbVnlPFKTsTgJDok+3JXP0vOF1B8vLWqS/sZpnvA=; b=rNPA4U6NqM9N2AQWKk6ZgGGTzprwqlBEfdLo3MFzYvBuGP4aoQ60o6D6FlFIPFSElY 9NkP/u45kNgPazKkuBC6981to65pvRk0LoqM25QcfN1D5ukpxMWy5L3z/NhrvRZRvtQ5 8fGldtALXoT1NypIkfKJ3OxG3NpnkNZKxUyCkbW6BvuYS3HmcsK8/Q//w6VM3DVvYHdq w3QZT398QLJTkk78+43nh0Yb0DSr/F5Np70rxeSwlCLcM5UWbzOoa0XLOQclrSoSA1i+ IHJz1126X+ciUcg210bHU80RswYbkIZGsoY+opl2zrDzHbU+Yct8N1tbXZCg98ErPrLx BHSA== X-Gm-Message-State: AOAM5313yOHzIT3d/cAl6pA7Das/E92uXSXwU/4f5aSM4GjeAHxhIi2f otHJ7qD7MQAV2NaT4HrG2Gn7/cgD9BY= X-Google-Smtp-Source: ABdhPJw7tw5a4GKT7ZAtgNmfhEAktdMmlWrchMA0XDDeGQXi1Sce1iWkalbJkHEWRcMZmOk3UnKGJA== X-Received: by 2002:aa7:df17:0:b0:410:d029:ce90 with SMTP id c23-20020aa7df17000000b00410d029ce90mr26071873edy.50.1645536738232; Tue, 22 Feb 2022 05:32:18 -0800 (PST) Received: from phst ([2a02:2455:2a4:dc00:838a:c681:3be0:66]) by smtp.gmail.com with ESMTPSA id d12sm3621841edt.23.2022.02.22.05.32.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 05:32:17 -0800 (PST) From: Philipp Stephani Date: Tue, 22 Feb 2022 14:32:15 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::536 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=p.stephani2@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) 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: emacs -Q -f toggle-debug-on-error -l re-builder -eval "(customize-set-variable 'reb-re-syntax 'rx)" -f re-builder This gives an error Debugger entered--Lisp error: (error "Unknown rx symbol =?UTF-8?Q?=E2=80=98nil=E2=80=99?=") signal(error ("Unknown rx symbol =?UTF-8?Q?=E2=80=98nil=E2=80=99?=")) error("Unknown rx symbol `%s'" nil) rx--translate-symbol(nil) rx--translate(nil) rx-to [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (p.stephani2[at]gmail.com) 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) -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H5 RBL: Excellent reputation (+5) [209.51.188.17 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 T_SCC_BODY_TEXT_LINE No description available. 1.5 SPOOFED_FREEMAIL No description available. 0.8 SPOOF_GMAIL_MID From Gmail but it doesn't seem to be... 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 (--) emacs -Q -f toggle-debug-on-error -l re-builder -eval "(customize-set-varia= ble 'reb-re-syntax 'rx)" -f re-builder This gives an error Debugger entered--Lisp error: (error "Unknown rx symbol =E2=80=98nil=E2=80= =99") signal(error ("Unknown rx symbol =E2=80=98nil=E2=80=99")) error("Unknown rx symbol `%s'" nil) rx--translate-symbol(nil) rx--translate(nil) rx-to-string(nil) reb-cook-regexp(#("'()" 0 3 (fontified nil))) reb-update-regexp() reb-do-update() reb-initialize-buffer() re-builder() funcall-interactively(re-builder) call-interactively(re-builder nil nil) command-execute(re-builder) command-line-1(("-f" "toggle-debug-on-error" "-l" "re-builder" "-eval" "(= customize-set-variable 'reb-re-syntax 'rx)" "-f" "re-builder")) command-line() normal-top-level() In GNU Emacs 29.0.50 (build 58, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, = cairo version 1.16.0) of 2022-02-22 Repository revision: 85567d57981448200ba2617e45d5d4d3e5721cf7 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12014000 System Description: Debian GNU/Linux rodete Configured using: 'configure --enable-gcc-warnings=3Dwarn-only --enable-gtk-deprecation-warnings --without-pop --with-mailutils --enable-checking=3Dall --enable-check-lisp-object-type --with-modules 'CFLAGS=3D-O0 -ggdb3'' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_TIME: en_DK.utf8 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 show-paren-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 indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail phst skeleton 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 json map url-vars rx message mailcap yank-media rmc dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader gnutls puny elp dbus xml seq gv subr-x byte-opt bytecomp byte-compile cconv compile text-property-search comint ansi-color ring cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 67409 8879) (symbols 48 8201 1) (strings 32 23681 2049) (string-bytes 1 760900) (vectors 16 15596) (vector-slots 8 208549 49248) (floats 8 28 30) (intervals 56 230 0) (buffers 992 11)) --=20 Google Germany GmbH Erika-Mann-Stra=C3=9Fe 33 80636 M=C3=BCnchen Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Liana Sebastian 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 Sun Jun 22 04:06:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54107: 29.0.50; re-builder signals error when using rx syntax Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Feb 2022 13:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Philipp Stephani Cc: 54107@debbugs.gnu.org Received: via spool by 54107-submit@debbugs.gnu.org id=B54107.164553752020411 (code B ref 54107); Tue, 22 Feb 2022 13:46:01 +0000 Received: (at 54107) by debbugs.gnu.org; 22 Feb 2022 13:45:20 +0000 Received: from localhost ([127.0.0.1]:40341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMVTj-0005J7-Ny for submit@debbugs.gnu.org; Tue, 22 Feb 2022 08:45:19 -0500 Received: from quimby.gnus.org ([95.216.78.240]:51372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMVTi-0005It-I4 for 54107@debbugs.gnu.org; Tue, 22 Feb 2022 08:45:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=0v0DzUflJ7CC3VcDlv78wBqNZdsUchO6d4Fm8anQP7M=; b=UIsImt30FZrlc0JnWRzmc1JQWt /kbbRWAa7jGY8Tc+n6URuKYqLGdNdGW0QRShF//roqbNdQfBu1+oiawUxhnHX1uY3kvcMUTLjGZFE 2P5BMMAFk72avDiEiYuq1luaasZD3XmRyevz8dhIdCf1T9rLwhdYSRDtcaIbn15ntlkQ=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMVTY-0005rm-RG; Tue, 22 Feb 2022 14:45:11 +0100 From: Lars Ingebrigtsen References: X-Now-Playing: Carter Family's _Anthology of American Folk Music: Songs (1)_: "Single Girl, Married Girl" Date: Tue, 22 Feb 2022 14:45:05 +0100 In-Reply-To: (Philipp Stephani's message of "Tue, 22 Feb 2022 14:32:15 +0100") Message-ID: <8735kbc8wu.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Philipp Stephani writes: > emacs -Q -f toggle-debug-on-error -l re-builder -eval "(customize-set-variable 'reb-re-syntax 'rx)" -f re-builder > > This gives an error > > Debugger entered--Lisp error: (error "Unknown rx symbol [...] 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: -2.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: -3.3 (---) Philipp Stephani writes: > emacs -Q -f toggle-debug-on-error -l re-builder -eval "(customize-set-var= iable 'reb-re-syntax 'rx)" -f re-builder > > This gives an error > > Debugger entered--Lisp error: (error "Unknown rx symbol =E2=80=98nil=E2= =80=99") > signal(error ("Unknown rx symbol =E2=80=98nil=E2=80=99")) > error("Unknown rx symbol `%s'" nil) > rx--translate-symbol(nil) > rx--translate(nil) > rx-to-string(nil) > reb-cook-regexp(#("'()" 0 3 (fontified nil))) > reb-update-regexp() > reb-do-update() > reb-initialize-buffer() The problem is that the initial rx syntax is invalid -- this is caught elsewhere (and the mode line just says "invalid"), so I've done the same in startup, which makes the problem go away (in Emacs 29). But this may or may not be the best solution here -- perhaps it would be better if the initial form for rx was valid instead?=20=20 --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 22 08:45:29 2022 Received: (at control) by debbugs.gnu.org; 22 Feb 2022 13:45:29 +0000 Received: from localhost ([127.0.0.1]:40345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMVTt-0005JZ-0z for submit@debbugs.gnu.org; Tue, 22 Feb 2022 08:45:29 -0500 Received: from quimby.gnus.org ([95.216.78.240]:51386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMVTr-0005JH-5u for control@debbugs.gnu.org; Tue, 22 Feb 2022 08:45:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IZmgqOU13npiYDra1xoigXjeqRamnBRNcXNoAVTVjdQ=; b=C1PTPcOy1DY6M5fU/3GdvgpFik taUS22sBZ6JZ9HxfhrL74JQcAnCtkj4AYvWiR4dep8xOaAESdL5x4vy8NjIxy4QCURNBSlxSIoL60 G4PE8CeaZ1vgzNT0YNUA24xG4g54LUPZ4XZv07fitVLSN6UmmwdnTDEbfVw4j5EMCu3I=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMVTi-0005s5-Vh for control@debbugs.gnu.org; Tue, 22 Feb 2022 14:45:21 +0100 Date: Tue, 22 Feb 2022 14:45:16 +0100 Message-Id: <871qzvc8wj.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54107 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: close 54107 29.1 quit 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: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) close 54107 29.1 quit