From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#50136: 28.0.50; A problem with rx-let expansion Date: Fri, 20 Aug 2021 23:21:00 -0400 Message-ID: References: <878s0wcj3j.fsf@web.de> <87y28whw1b.fsf@web.de> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1490"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattiase@acm.org, 50136@debbugs.gnu.org, monnier@iro.umontreal.ca, rms@gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 21 05:23:04 2021 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 1mHHb6-0000AT-7x for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Aug 2021 05:23:04 +0200 Original-Received: from localhost ([::1]:34552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHHb4-0004X6-CZ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Aug 2021 23:23:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHHa6-0003Bb-4C for bug-gnu-emacs@gnu.org; Fri, 20 Aug 2021 23:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mHHa5-0004AC-TF for bug-gnu-emacs@gnu.org; Fri, 20 Aug 2021 23:22:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mHHa5-00019T-Ie for bug-gnu-emacs@gnu.org; Fri, 20 Aug 2021 23:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Aug 2021 03:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50136 X-GNU-PR-Package: emacs Original-Received: via spool by 50136-submit@debbugs.gnu.org id=B50136.16295160854380 (code B ref 50136); Sat, 21 Aug 2021 03:22:01 +0000 Original-Received: (at 50136) by debbugs.gnu.org; 21 Aug 2021 03:21:25 +0000 Original-Received: from localhost ([127.0.0.1]:35720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHHZV-00018a-AQ for submit@debbugs.gnu.org; Fri, 20 Aug 2021 23:21:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHHZS-00018N-VT for 50136@debbugs.gnu.org; Fri, 20 Aug 2021 23:21:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59688) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHHZL-0003Sf-Pi; Fri, 20 Aug 2021 23:21:15 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mHHZ6-0005U2-LF; Fri, 20 Aug 2021 23:21:00 -0400 In-Reply-To: <87y28whw1b.fsf@web.de> (message from Michael Heerdegen on Fri, 20 Aug 2021 19:21:20 +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" Xref: news.gmane.io gmane.emacs.bugs:212312 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Actually it's the rx `eval` form that you are looking for if you want > > arbitrary compile-time computation. `regexp` and `literal` are > > explicitly made for run-time expressions. If there are variables which can hold an rx expression, we need to make them as unsafe file variable bindings. Or else have special code to study them and see if evaluation constructs are used. Has this been done? Are these constructs an insecurity? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)