emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Delafond" <sdelafond@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Exporting org-babel to HTML fails (uses copy-seq instead of copy-sequence in ob.el)
Date: Fri, 22 Jul 2011 11:33:34 +0000 (UTC)	[thread overview]
Message-ID: <20110722132959.573@usenet.piggo.com> (raw)

Hello,

From Debian bug #634695[0]:

  the babel part of org-mode uses copy-seq on line 758, where in fact, I
  think, it should be using copy-sequence. Or is there a valid reason for
  this? At least, it makes exporting org-mode documents to HTML impossible
  if they use babel features. That bug seems to be also present upstream
  (I checked commit ce2a33104b0e724b5227445cf5d5ceb240783870).

The following patch, contributed by the bug submitter, seems to fix it.

Cheers,

--Seb

--- org-mode-7.6.orig/lisp/ob.el
+++ org-mode-7.6/lisp/ob.el
@@ -755,7 +755,7 @@ the current subtree."
                 lst)
             (norm (arg)
                   (let ((v (if (listp (cdr arg))
-                               (copy-seq (cdr arg))
+                               (copy-sequence (cdr arg))
                              (cdr arg))))
                     (when (and v (not (and (sequencep v)
                                            (not (consp v))

             reply	other threads:[~2011-07-22 11:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-22 11:33 Sébastien Delafond [this message]
2011-07-22 13:29 ` Exporting org-babel to HTML fails (uses copy-seq instead of copy-sequence in ob.el) Bastien
2011-07-22 14:53   ` Sébastien Delafond

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=20110722132959.573@usenet.piggo.com \
    --to=sdelafond@gmail.com \
    --cc=emacs-orgmode@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 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).