unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Brent Goodrick <bgoodr@gmail.com>
To: Noam Postavsky <npostavs@users.sourceforge.net>
Cc: 23795@debbugs.gnu.org
Subject: bug#23795: 24.5; rx eval on variable gives symbol error
Date: Sat, 18 Jun 2016 09:15:07 -0700	[thread overview]
Message-ID: <CAJj=8EHKYDVdeiMVoT3EwssQbPGYDr6uKD6DDo4RBNhYf9YSig@mail.gmail.com> (raw)
In-Reply-To: <CAM-tV-_Agj0j9aUhqRwKyRzEvtvL0m9p7JsM6h04RhBtAvfe2g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 392 bytes --]

Ok thanks Noam. Then I conclude this isn't a bug per se.

On Sat, Jun 18, 2016 at 9:13 AM, Noam Postavsky <
npostavs@users.sourceforge.net> wrote:

> rx is a macro so it doesn't see runtime bindings, using
> let-when-compile (new in Emacs 25) works:
>
> (let-when-compile ((page-name "the page"))
>   (rx "[[" (eval page-name) "]]"))
>
> Not sure if the plain let case can/should be fixed.
>

[-- Attachment #2: Type: text/html, Size: 760 bytes --]

  reply	other threads:[~2016-06-18 16:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-18 15:49 bug#23795: 24.5; rx eval on variable gives symbol error bgoodr
2016-06-18 16:13 ` Noam Postavsky
2016-06-18 16:15   ` Brent Goodrick [this message]
2016-06-18 16:19 ` Andreas Schwab
2016-06-18 16:21   ` Brent Goodrick

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAJj=8EHKYDVdeiMVoT3EwssQbPGYDr6uKD6DDo4RBNhYf9YSig@mail.gmail.com' \
    --to=bgoodr@gmail.com \
    --cc=23795@debbugs.gnu.org \
    --cc=npostavs@users.sourceforge.net \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).