all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#1719: 23.0.60; Does rx (eval FORM) interfere with byte compiling?
Date: Sun, 28 Dec 2008 03:29:09 +0100	[thread overview]
Message-ID: <4956E475.1010104@gmail.com> (raw)

I believe that rx (eval FORM) interferes with byte compiling. The
following code gives an error like this during byte compilation:

  nxhtml-js.el:118:8:Error: Symbol's value as variable is void:
nxhtml-smoothgallery-mark

(defconst nxhtml-smoothgallery-mark "<!-- SmoothGallery -->")
(defun nxhtml-smoothgallery-find ()
  (save-excursion
    (save-restriction
      (widen)
      (goto-char (point-min))
      (when  (search-forward nxhtml-smoothgallery-mark nil t)
        (back-to-indentation)
        (when (looking-at (rx
                           "<div id=\""
                           (submatch
                            (1+ (not (any ">")))
                            )
                           "\">" (eval nxhtml-smoothgallery-mark)
                           ))
          (cons
           (copy-marker (match-beginning 0))
           (buffer-substring-no-properties
           (match-beginning 1) (match-end 1))))))))



In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-12-25
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'






             reply	other threads:[~2008-12-28  2:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87d4fdhqs4.fsf@cyd.mit.edu>
2008-12-28  2:29 ` Lennart Borgman (gmail) [this message]
2008-12-28  4:30   ` bug#1719: marked as done (23.0.60; Does rx (eval FORM) interfere with byte compiling?) Emacs bug Tracking System

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

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

  git send-email \
    --in-reply-to=4956E475.1010104@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=1719@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.