From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brent Goodrick Newsgroups: gmane.emacs.bugs Subject: bug#23795: 24.5; rx eval on variable gives symbol error Date: Sat, 18 Jun 2016 09:15:07 -0700 Message-ID: References: <22373.28050.673856.847792@gargle.gargle.HOWL> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fdea256290f05358fc6ad X-Trace: ger.gmane.org 1466266586 26465 80.91.229.3 (18 Jun 2016 16:16:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2016 16:16:26 +0000 (UTC) Cc: 23795@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 18 18:16:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bEIuv-0004G4-44 for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jun 2016 18:16:17 +0200 Original-Received: from localhost ([::1]:35520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEIuu-00025I-21 for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jun 2016 12:16:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEIum-00022c-Hs for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 12:16:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEIug-0007LS-F3 for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 12:16:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEIug-0007LM-Bc for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 12:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bEIug-0007FC-8q for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 12:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Brent Goodrick Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jun 2016 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23795 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23795-submit@debbugs.gnu.org id=B23795.146626651425235 (code B ref 23795); Sat, 18 Jun 2016 16:16:02 +0000 Original-Received: (at 23795) by debbugs.gnu.org; 18 Jun 2016 16:15:14 +0000 Original-Received: from localhost ([127.0.0.1]:45311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEItt-0006Yn-V0 for submit@debbugs.gnu.org; Sat, 18 Jun 2016 12:15:14 -0400 Original-Received: from mail-io0-f173.google.com ([209.85.223.173]:34846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEItt-0006SQ-4g for 23795@debbugs.gnu.org; Sat, 18 Jun 2016 12:15:13 -0400 Original-Received: by mail-io0-f173.google.com with SMTP id f30so91909475ioj.2 for <23795@debbugs.gnu.org>; Sat, 18 Jun 2016 09:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9MAMnEZu9XyFIoQYLe0OQ1P0NNsiu9VNdsIXnNWV0BQ=; b=u6y/M9z8oVKtnJxRIBsttBODNzO0YUKLYCSWCGweUDJDuG0WjlbgdUjKUZf6x9xAJO R7iGO5YoohFBcF3aABPNo47Zi2zjsMakB+RKVc5HenZ37v2wHCRRPhPKfYfIl9rJOzUx sSkm1OrQKj7vbIQtxk/aoHbGoENasy1comVQnNC+waz1p4RqJV6AHO8lehMzVSoyzdhp MeRnZstxKf9D32VfFDaltFxbYTenFCDszTLCTYLXH+Mw0ZM1wRawXaOzuGqV0kJzvLei TXb+3ceSy2Lb1MSqd+aebaaohNI4jd6AbeBzl6Ki/sUj+Fz+0PDPr12tZRKMU1sVG6rS Gqzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9MAMnEZu9XyFIoQYLe0OQ1P0NNsiu9VNdsIXnNWV0BQ=; b=aL133aZD1aLOvjPxiU4rYod+ZxSYSyXcNcZv6MzC32vR195j4/G5HzB8BPDdsc64cl 7WqN1uEaQWwMG9M83GVmRlCpeibdElwbSXbXMFLL/l/9ckirY5WxIZYwl8oyjpLtP7ae HyGjvaNlFehba3a2igAyOhkNK62E8e4OZB+8265d/2dHPLsAbFa4iDeziMTWYU+1R069 Pe8c+//GyyAHKfa5Hb2pxgc1v8vnTSmFLPqMtx7SaVkrf90fUN7RRr7CwEwzB4J2Bo0A WYiPKk1ZU16na7bbB0AUQHIbvlIXC2V/xODGjBypGRKG3SdypUh2Zrh3FpeETSGB7E4t DM3A== X-Gm-Message-State: ALyK8tJX9dQZMdoXVjkhzSsgRMMzG/Nz5sp9pakWc14qIWuZItPiQLE38EX++BcTum0uoft2BmfyCFxblVNqGQ== X-Received: by 10.107.14.71 with SMTP id 68mr11913368ioo.47.1466266507682; Sat, 18 Jun 2016 09:15:07 -0700 (PDT) Original-Received: by 10.64.133.81 with HTTP; Sat, 18 Jun 2016 09:15:07 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119733 Archived-At: --001a113fdea256290f05358fc6ad Content-Type: text/plain; charset=UTF-8 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. > --001a113fdea256290f05358fc6ad Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ok thanks Noam. Then I conclude this isn't a bug per s= e.

On Sa= t, Jun 18, 2016 at 9:13 AM, Noam Postavsky <npostavs@users.so= urceforge.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"))
=C2=A0 (rx "[[" (eval page-name) "]]"))

Not sure if the plain let case can/should be fixed.

--001a113fdea256290f05358fc6ad--