emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exporting org-babel to HTML fails (uses copy-seq instead of copy-sequence in ob.el)
@ 2011-07-22 11:33 Sébastien Delafond
  2011-07-22 13:29 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Sébastien Delafond @ 2011-07-22 11:33 UTC (permalink / raw)
  To: emacs-orgmode

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))

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

* Re: Exporting org-babel to HTML fails (uses copy-seq instead of copy-sequence in ob.el)
  2011-07-22 11:33 Exporting org-babel to HTML fails (uses copy-seq instead of copy-sequence in ob.el) Sébastien Delafond
@ 2011-07-22 13:29 ` Bastien
  2011-07-22 14:53   ` Sébastien Delafond
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2011-07-22 13:29 UTC (permalink / raw)
  To: Sébastien Delafond; +Cc: emacs-orgmode

Hi Sébastien,

Sébastien Delafond <sdelafond@gmail.com> writes:

>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.

Eric already fixed this (although differently) in this commit:
  http://orgmode.org/w/?p=org-mode.git;a=commit;h=4b6bfab81741552697c4666488bcad00e33bc881

Thanks,

-- 
 Bastien

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

* Re: Exporting org-babel to HTML fails (uses copy-seq instead of copy-sequence in ob.el)
  2011-07-22 13:29 ` Bastien
@ 2011-07-22 14:53   ` Sébastien Delafond
  0 siblings, 0 replies; 3+ messages in thread
From: Sébastien Delafond @ 2011-07-22 14:53 UTC (permalink / raw)
  To: emacs-orgmode

On 2011-07-22, Bastien <bzg@altern.org> wrote:
> Eric already fixed this (although differently) in this commit:
>   http://orgmode.org/w/?p=org-mode.git;a=commit;h=4b6bfab81741552697c4666488bcad00e33bc881

Ah sorry, I missed that ; thanks for following up :)

Cheers,

--Seb

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

end of thread, other threads:[~2011-07-22 14:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-22 11:33 Exporting org-babel to HTML fails (uses copy-seq instead of copy-sequence in ob.el) Sébastien Delafond
2011-07-22 13:29 ` Bastien
2011-07-22 14:53   ` Sébastien Delafond

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).