emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-element loading fails with "regexp" argument not "stringp"
@ 2023-07-04 23:51 Justin
  2023-07-05 10:35 ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Justin @ 2023-07-04 23:51 UTC (permalink / raw)
  To: emacs-orgmode

Using emacs 26.1 (in case it matters).  Loading is failing at:

(defconst org-element--current-element-re
   (rx
    (or
     (group-n 1 (regexp org-element--latex-begin-environment-nogroup))

rx is a macro, and so org-element* is not being evaluated.  It's 
complaining that the argument to regexp is not a stringp.

Does the rx argument need a backquote?  org-element-clock-line-re uses 
rx-to-string with a backquote?

(rx `(or (group-n 1 (regexp ,org-element--...

-Justin



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-08  9:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04 23:51 [BUG] org-element loading fails with "regexp" argument not "stringp" Justin
2023-07-05 10:35 ` Ihor Radchenko
2023-07-05 16:00   ` [PATCH] Fix Emacs-26 compatibility (was: Re: [BUG] org-element loading fails with "regexp" argument not "stringp") Max Nikulin
2023-07-06  9:54     ` Ihor Radchenko
2023-07-08  4:56       ` [PATCH v2] " Max Nikulin
2023-07-08  9:18         ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).