From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: rx of (any SET...) Date: Thu, 18 Aug 2022 11:44:41 +0200 Message-ID: <87tu6928dy.fsf@gmx.de> References: <87ilmq3mfk.fsf@gmx.de> <87y1vmioub.fsf@hajtower> 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="13099"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: To: Harald =?utf-8?Q?J=C3=B6rg?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 18 11:47:07 2022 Return-path: Envelope-to: geh-help-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 1oOc7G-00039r-Vd for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 18 Aug 2022 11:47:06 +0200 Original-Received: from localhost ([::1]:37790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOc7F-0005qs-Q3 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 18 Aug 2022 05:47:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOc52-0005mi-AB for help-gnu-emacs@gnu.org; Thu, 18 Aug 2022 05:44:48 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:60151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOc50-0006u9-ID for help-gnu-emacs@gnu.org; Thu, 18 Aug 2022 05:44:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1660815883; bh=o5ST+kww1cRieGU9BJHlFM9tQ30oV6J9gan8AHq9LxM=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=kCT97wZN3T13lXWh/hu86GysOxmiUYTvfTTkNmT0hYTYsm9xH+60n5tlb84sEnzIG 6L8V0DLa1q5aKfJkTVgvsO6CIFXoq+ms2jBTcDgwmKpPPrzl2SebwvgQwLaU2uAIGd uWGB1DlWYRkXfzAtUL88LFLjGDsjz/DrMXLa84G0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.149.211]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MzhjF-1nTuvb3dQ1-00viHA; Thu, 18 Aug 2022 11:44:42 +0200 In-Reply-To: <87y1vmioub.fsf@hajtower> ("Harald =?utf-8?Q?J=C3=B6rg=22's?= message of "Wed, 17 Aug 2022 20:42:36 +0000") X-Provags-ID: V03:K1:aDmyTXAMMebGdhr1fJ3bEc9sgTSGzCqdRR9zK5/xq7qB5U9F2/3 k1mDDohglv8R2/qp6G2J3wAZ8yniWQcm0tw+YePpUcmvxx8DVhdNY4Tf2fGlp01K6Agjpls 90WLXKdYLsAofDKh9X1gCND9yuNfrSU+/wf/x+IhF2sj3wBEBeWXkExcVrckDDE2jHOJ+KY I+BOZYJ2e+PYdyhPk9KLg== X-UI-Out-Filterresults: notjunk:1;V03:K0:7C5KOyzzGu0=:mPdTQs80/FTg9S3qtBhjJO QLUbYYki8KsL6/JhR6tKL7CY/g9q3qPW2dvET+s9TUncuTLYizYLGf1h5NjqZuW0HcRmh5Niy 1u4eDI362ZcggrN4dcWdmiqlSV7D23g/tTTNx3338YsvVH5U3gFl2p82cSmx3gL3JKaDxjtvJ yI9/GcGpy8mtoOzzOUuL/rGQSlTSjRPChOjqReXTVfxs6QuHqoLY8FhAeexpnG2d3fxnmzkkG uk4uAMiGoVIY377DKGECMIlRf3K+OwqyPNW3NpHSBpKYlHrC/EgiODdLeh1zMXcbJiu3S3TaR Ho1rnpkPmxf0zNfMwCUeuvBJPj7N4OGskSQ4nigrkAG8h+A/Zex4eIWhFraymxMUl3YMgu/Hr PihGk2NdAvFpqTUVon0/BN9zLErrfiodQTkN8BrIJV/jeQSHIsFNpb1S27bD9XNGCO6L7J4gR VTgj4Z2SFQZ1e5lUvfvXGWLRWE3ItwukhFpMESxtp0caSuZ6dyoNj/e5K2V8Tewk4p0iej4Jo pdv+fI8Ej6ZlUPS5j84Y9esUxihw+mjwp+gtbtyMcHnahgpVEh6zagUYseGHv3XNnX2rix058 MjEp0+tL1FSY/B74aqeXM1veTq7idfjm/UqhdKxm2fdNNzYO31N5feXy+AegAac/pMoKqecYg yIlETc2bDREpp7bXZA6EnwaJHYG1C4ZxdA+mB79Ldy32cMt2Z3Sf0C6EoM1kuo4REQmb2TQFt 5LlKzQq8x8y/3ZmeQUNxX2E7U8NvSXB2W9ukCp9y278qB4p7oXOAYHe2dbZuPyEBjAlHINvi Received-SPF: pass client-ip=212.227.17.22; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:138915 Archived-At: Harald J=C3=B6rg writes: Hi Harald, > I found that variables can be included in rx forms with some form of > eval, or by using rx-to-string, which is a function and not a macro. > > With the value of mm-7bit-chars at macro expansion time: > (rx (eval `(not (any ,mm-7bit-chars)))) > > With the value of mm-7bit-chars at runtime: > (eval `(rx (not (any ,mm-7bit-chars)))) > (rx-to-string `(not (any ,mm-7bit-chars))) Thanks, that does the trick! > Cheers, > haj Best regards, Michael.