all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Philip K." <philipk@posteo.net>
To: steve-humphreys@gmx.com
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: rx expressions
Date: Mon, 01 Feb 2021 10:49:42 +0100	[thread overview]
Message-ID: <87h7mw15jd.fsf@posteo.net> (raw)
In-Reply-To: <trinity-c00657ee-2196-4fba-bf62-88948dd53436-1612105223663@3c-app-mailcom-bs16> (steve-humphreys@gmx.com's message of "Sun, 31 Jan 2021 16:00:23 +0100")

steve-humphreys@gmx.com writes:

> When using rx expressions does one need to call
>
> (require 'rx)

I usually add

	(eval-when-compile (require 'rx))

so that rx doesn't have to be loaded if it the file is byte-compiled,
but otherwise it's autoloaded (C-h o rx):

    rx is an autoloaded Lisp macro in ‘rx.el’.

-- 
	Philip K.



  parent reply	other threads:[~2021-02-01  9:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-31 15:00 rx expressions steve-humphreys
2021-01-31 16:42 ` moasenwood--- via Users list for the GNU Emacs text editor
2021-01-31 18:26 ` Michael Heerdegen
2021-01-31 18:32   ` steve-humphreys
2021-01-31 18:53     ` Michael Heerdegen
2021-02-01  9:49 ` Philip K. [this message]
2021-02-01 10:01   ` moasenwood--- via Users list for the GNU Emacs text editor
2021-02-01 11:27     ` Philip K.
2021-02-01 12:10       ` moasenwood--- via Users list for the GNU Emacs text editor
2021-02-01 12:19         ` steve-humphreys

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7mw15jd.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=steve-humphreys@gmx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.