GNU bug report logs - #23795
24.5; rx eval on variable gives symbol error

Previous Next

Package: emacs;

Reported by: bgoodr <at> gmail.com

Date: Sat, 18 Jun 2016 15:51:01 UTC

Severity: normal

Found in version 24.5

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 23795 <at> debbugs.gnu.org (full text, mbox):

From: Brent Goodrick <bgoodr <at> gmail.com>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: 23795 <at> debbugs.gnu.org
Subject: Re: bug#23795: 24.5; rx eval on variable gives symbol error
Date: Sat, 18 Jun 2016 09:15:07 -0700
[Message part 1 (text/plain, inline)]
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 <at> 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.
>
[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 29 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.