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


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: bgoodr <at> gmail.com
Cc: 23795 <at> debbugs.gnu.org
Subject: bug#23795: 24.5; rx eval on variable gives symbol error
Date: Sat, 18 Jun 2016 12:13:20 -0400
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.




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.