From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#23795: 24.5; rx eval on variable gives symbol error Date: Sat, 18 Jun 2016 12:13:20 -0400 Message-ID: References: <22373.28050.673856.847792@gargle.gargle.HOWL> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1466266465 24894 80.91.229.3 (18 Jun 2016 16:14:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2016 16:14:25 +0000 (UTC) Cc: 23795@debbugs.gnu.org To: bgoodr@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 18 18:14:16 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 1bEIsw-00032k-FZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jun 2016 18:14:14 +0200 Original-Received: from localhost ([::1]:35502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEIsv-0001iq-PD for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jun 2016 12:14:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEIsq-0001hH-Mz for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 12:14:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEIsk-0006p0-JZ for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 12:14:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEIsk-0006ow-FM for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 12:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bEIsk-0006Kl-Ba for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 12:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jun 2016 16:14: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.146626641224297 (code B ref 23795); Sat, 18 Jun 2016 16:14:02 +0000 Original-Received: (at 23795) by debbugs.gnu.org; 18 Jun 2016 16:13:32 +0000 Original-Received: from localhost ([127.0.0.1]:45304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEIsG-0006Jo-J3 for submit@debbugs.gnu.org; Sat, 18 Jun 2016 12:13:32 -0400 Original-Received: from mail-oi0-f45.google.com ([209.85.218.45]:34138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEIsF-0006Hm-N7 for 23795@debbugs.gnu.org; Sat, 18 Jun 2016 12:13:31 -0400 Original-Received: by mail-oi0-f45.google.com with SMTP id d132so157213958oig.1 for <23795@debbugs.gnu.org>; Sat, 18 Jun 2016 09:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=3qdY6swynuHxRmWeKs2DYR02dUNHMirNwAsLBwd2yiE=; b=nOEKtkrpt2A0C3nFNlUNPPb6tJNSewzMEnYuiecf3/FjuPysolGDdNM5Ly687Ik3Oz GkHTyun7Nz8laXqL6E4gbjbhX5HpWPjVklzyDoZRZlXscwUHaMzksctQ+Vv1kwEuCZ34 hmxZVCILFju0s1GuRnVowpRacIb3JT8nmw7SpkhQw8XHOYUwPpMNmV9EI9y9NRqmT2qv I/HNteEcGJxUPan6yP9/nsMFZWgVf6jnppI38Wf7/YnQ8vxSePhgysWY52mVqEL52o9E SEAamWlnU7PArEdvE7Yk0JEwFRcb0Bt5jNJDP78qsYXNkaZ2QYZXys4HYDzxxfHtqcaG v7pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=3qdY6swynuHxRmWeKs2DYR02dUNHMirNwAsLBwd2yiE=; b=l5PzcTeEiiEZ/FwkXwU9yONIJRrJtQamvWjrUPCCOV01gnkdmlfvhS+YFPNbvwrbz/ Ynw8PaNZ2Mz6n/8uNxNhC+1HdIoTEas8KLJAROMMLQ6uKLiERofuNEl/Qtx1WELwbjTp hQY0MZdKNVF1Px/J54m602hd5uLaxBrm/L05jUPw+B60IMwDeB8xAfnorDGnVkxpWer0 b/8tpmBatVAJF2gCVeoRG7wKuVS8dq5n367P2uH/IjZCPnhPau1rOKKbfsi6Fp08QFx5 HSAUoL4t3t0NaKjn4pilJCTej/Lo5R3Csn/Beh0ETt1GU0PAbnHAR8Cfnx2ZEps4jsmD TUjA== X-Gm-Message-State: ALyK8tIDq0xQyjSI2+KdW+H5yDh2/vfzhmiiYQJrv5HNO3QsssiOL61CXoMfkSd2QBmpWIZOiSgbA13i7dDntw== X-Received: by 10.202.80.148 with SMTP id e142mr4401377oib.144.1466266401151; Sat, 18 Jun 2016 09:13:21 -0700 (PDT) Original-Received: by 10.157.52.238 with HTTP; Sat, 18 Jun 2016 09:13:20 -0700 (PDT) In-Reply-To: <22373.28050.673856.847792@gargle.gargle.HOWL> X-Google-Sender-Auth: V5kR8CTYpjq5fa5muoKKNq59xoU 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:119732 Archived-At: 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.