From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: steve-humphreys@gmx.com Newsgroups: gmane.emacs.help Subject: Re: rx expressions Date: Mon, 1 Feb 2021 13:19:18 +0100 Message-ID: References: <87h7mw15jd.fsf@posteo.net> <87y2g8f6nv.fsf@zoho.eu> <87bld4110m.fsf@posteo.net> <87lfc8f0p0.fsf@zoho.eu> 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="24192"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: moasenwood@zoho.eu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 01 13:20:12 2021 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 1l6YBg-0006Af-8U for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 Feb 2021 13:20:12 +0100 Original-Received: from localhost ([::1]:49808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6YBf-0006nQ-9b for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 Feb 2021 07:20:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6YAu-0006n0-LI for help-gnu-emacs@gnu.org; Mon, 01 Feb 2021 07:19:26 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:42613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6YAr-0007CC-EH for help-gnu-emacs@gnu.org; Mon, 01 Feb 2021 07:19:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612181958; bh=/elVWJpECyBSbdbTgz8p1ox03keS6qK40xAewA3Jq5E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=HYPKWlEHWWPmksMqnPus6+VEK40W0FJGKwcI/6oETDIquNb29OS5TCwSLCwozG60x aZ0i7cLgCXQSwQA5+AJXgFkEePY1ZiAALwUUJto+O0hoIpV07MrQ1uJOP8K1tPEGp9 owoIrJHxhVlX9WFJzSau1Vy/RkxuCsNVvrXWuTCo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs14.server.lan [172.19.170.182]) (via HTTP); Mon, 1 Feb 2021 13:19:18 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87lfc8f0p0.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:lwXbcC1/TlmO6wFZguSYrX9gHFG6k77R/C9xlAr6Vudm5yXuoYcXchjwANcyZxrgJvTv1 /J5wSd6syqMLU+/KDeoHITToWgeg90Uqd5iCAc+ufNKic1/V+yEIvxOLxAMcnC/iaWRx77Y7XD6p acL6QTUqZEg9/+VLVjjrzJhCKEBqOF2dp+cMPftaqvTXw6rU+JkH26pbWnohKDcGiFiYO5Gm7j/t eoABBtgUL565cMrgsMoZDksB6Ca0+2b5B9DmZvmMI+Vaev22QuBI07oLz7Qt2ViJSQrrX2S31gaY t0= X-UI-Out-Filterresults: notjunk:1;V03:K0:nuQk9kUyh98=:4GPo1V0JU8LNd+WbGJEh+L AToYsL8RnHjqlGJsS7e6F1eX1J4nmCC3fQbZtVRKW1yFVEyH8ZIwQ6Z5eK7+QeJEQrfotp8qb LUHYneyrAizAQQ6E22t8v1H03teGErDKvcuRIJoOy4rrP7xJDPpI5LWAvFOxrurJGDvBJ4C9g h2R65govviwCAec1I9zonOzMMDl6mk4PmY+0hwIFBJjl6v7KggmHM5JJj1oGx0C1mE2qOOJCb DUhvhwIVCuZnOuGSWiYMTJ17mkF3r20HE4UwxndX3UrVdI+MiR4z+X4EKbTZdB5Zy5YHRFVkh IaeiYFr0fttHBQnNSncymyIvlUtJOtCi48NsjF9pP9gky1TUh+hGb/fbiaM5Ut2AkkTjPgXYn Wyi1KmOOlcoAKpIJPFl0FsPyXTXa3SRaujakJt+LPswuax0Pxiqj0sYLkJ8hKMLim6xzIMhrX EJgE1nIvRzX77WP7IJ7o9n8DbmV60AFyVETaU7JC8Lbg9HRk2sW4Yit4LlALMnYX4a+P2ArAt WAtwy2/z9NhvQLqF3A4speCpX4yIG0dV48iMffTiB5zagQXdbc+VszlLBlsHcu2KjPhfYgnIi VH4Uzbs60zH9o= Received-SPF: pass client-ip=212.227.15.19; envelope-from=steve-humphreys@gmx.com; 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:127518 Archived-At: It is part of a minor mode I have written, and included the following code=2E What do you think? (eval-when-compile (setq byte-compile-function-environment (delq (assq 'crucible-mode byte-compile-function-environment) byte-compile-function-environment))) > Sent: Tuesday, February 02, 2021 at 12:10 AM > From: "moasenwood--- via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu=2Eorg > Subject: Re: rx expressions > > Philip K=2E wrote: >=20 > >> (eval-when-compile (require 'rx)) > >> (rx--empty) > >> > >> geh=2Eel:=20 > >> In end of data: > >> geh=2Eel:294:1: Warning: the function =E2=80=98rx--empty=E2=80=99 mig= ht not be defined at > >> runtime=2E > > > > rx--empty is a function, so it doesn't make sense=2E I do > > eval-when-compile when all I use is the rx macro itself=2E >=20 > Byte-compiling Elisp almost always makes sense, for > several reasons=2E >=20 > Use >=20 > (require 'rx) >=20 > so everything is solid from the get-go and you can focus on > the byte-compiler messages that are actually useful, even > interesting to read=2E=2E=2E >=20 > --=20 > underground experts united > http://user=2Eit=2Euu=2Ese/~embe8573 > https://dataswamp=2Eorg/~incal >=20 >=20 >