From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Bug: Regression with HTML exports on master branch [N/A (N/A @ /home/bernt/git/org-mode/lisp/org-install.el)] Date: Tue, 24 Apr 2012 21:35:59 -0400 Message-ID: <87r4vc4mps.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMr9Q-0006Df-2r for emacs-orgmode@gnu.org; Tue, 24 Apr 2012 21:36:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMr9N-0005Tl-Pa for emacs-orgmode@gnu.org; Tue, 24 Apr 2012 21:36:11 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:37027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMr9N-0005T8-La for emacs-orgmode@gnu.org; Tue, 24 Apr 2012 21:36:09 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.165.89] helo=mail.norang.ca) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SMr9F-000G6S-EG for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 01:36:01 +0000 Received: from localhost.localdomain (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.14.3/8.14.3/Debian-9.4) with ESMTP id q3P1ZxEZ030658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 24 Apr 2012 21:36:00 -0400 Received: from localhost.localdomain (gollum [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3/Debian-9.4) with ESMTP id q3P1ZxtJ018638 for ; Tue, 24 Apr 2012 21:35:59 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Bastien, Since org-version doesn't exist anymore I can't export to HTML from the master branch. I get the following error I'll switch to maint until a fix is available. Regards, Bernt Debugger entered--Lisp error: (void-variable org-version) (concat "Org version " org-version " with Emacs version " (number-to-stri= ng emacs-major-version)) (let ((html-post ...) (email ...) (creator-info ...)) (when (plist-get op= t-plist :html-postamble) (insert "\n
\n") (cond ... ..= . ... ...) (insert "\n
"))) (if body-only nil (insert "\n") (let (... ... ...) (when ... ... ..= . ...))) (unless body-only (insert "\n") (let (... ... ...) (when ... ... ..= . ...))) (let ((case-fold-search nil) (org-odd-levels-only odd)) (mapc (lambda ...= ...) org-export-plist-vars) (setq umax (if arg ... org-export-headline-lev= els)) (setq umax-toc (if ... ... umax)) (unless body-only (insert ...) (whe= n ... ...) (insert ... "\n

" title "

\n")) (if org= -export-with-toc (progn ... ... ... ... ... ... ...)) (setq head-count 0) (= org-init-section-numbers) (org-open-par) (while (setq line ... origline lin= e) (catch ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .= .. ... ... ... ...)) (when inquote (insert "\n") (org-open-par)) (org= -html-level-start 1 nil umax (and org-export-with-toc ...) head-count opt-p= list) (when (and ... first-heading-pos) (insert "\n")) (save-excursio= n (goto-char ...) (while ... ... ... ...)) (when footnotes (insert ... "\n"= )) (let (...) (when bib ...)) (unless body-only (insert "\n") (let ..= . ...)) (if org-export-html-with-timestamp (insert org-export-html-html-hel= per-timestamp)) (unless body-only (insert "\n\n\n")) (unless = (plist-get opt-plist :buffer-will-be-killed) (normal-mode) (if ... ...)) (g= oto-char (point-min)) (when thetoc (if ... ... ... ...) (insert "
\n") (let ... ... ... ...)) (goto-char (point-min)) (= while (re-search-forward "

[ =0D\n ]*

" nil t) (replace-match "")) (go= to-char (point-min)) (goto-char (point-min)) (let (beg end n) (while ... ..= . ... ... ...)) (goto-char (point-min)) (when (looking-at "\\s-+\n") (repla= ce-match "")) (remove-text-properties (point-min) (point-max) (quote ...)) = (run-hooks (quote org-export-html-final-hook)) (or to-buffer (save-buffer))= (goto-char (point-min)) (or (org-export-push-to-kill-ring "HTML") (message= "Exporting... done")) (if (eq to-buffer ...) (prog1 ... ...) (current-buff= er))) (let* ((opt-plist ...) (body-only ...) (style ...) (html-extension ...) v= alid thetoc have-headings first-heading-pos (odd org-odd-levels-only) (regi= on-p ...) (rbeg ...) (rend ...) (subtree-p ...) (level-offset ...) (opt-pli= st ...) (org-current-export-dir ...) (org-current-export-file buffer-file-n= ame) (level 0) (line "") (origline "") txt todo (umax nil) (umax-toc nil) (= filename ...) (current-dir ...) (auto-insert nil) (buffer ...) (org-levels-= open ...) (date ...) (author ...) (html-validation-link ...) (title ...) (l= ink-up ...) (link-home ...) (dummy ...) (html-table-tag ...) (quote-re0 ...= ) (quote-re ...) (inquote nil) (infixed nil) (inverse nil) (email ...) (lan= guage ...) (keywords ...) (description ...) (num ...) (lang-words nil) (hea= d-count 0) cnt ...) (let (...) (org-unmodified ...)) (message "Exporting...= ") (setq org-min-level (org-get-min-level lines level-offset)) (setq org-la= st-level org-min-level) (org-init-section-numbers) (cond (... ...) (date) (= t ...)) (setq lang-words (or ... ...)) (set-buffer buffer) (let (...) (eras= e-buffer)) (fundamental-mode) (org-install-letbind) (and (fboundp ...) (set= -buffer-file-coding-system coding-system-for-write)) (let (... ...) (mapc .= .. org-export-plist-vars) (setq umax ...) (setq umax-toc ...) (unless body-= only ... ... ...) (if org-export-with-toc ...) (setq head-count 0) (org-ini= t-section-numbers) (org-open-par) (while ... ...) (when inquote ... ...) (o= rg-html-level-start 1 nil umax ... head-count opt-plist) (when ... ...) (sa= ve-excursion ... ...) (when footnotes ...) (let ... ...) (unless body-only = ... ...) (if org-export-html-with-timestamp ...) (unless body-only ...) (un= less ... ... ...) (goto-char ...) (when thetoc ... ... ...) (goto-char ...)= (while ... ...) (goto-char ...) (goto-char ...) (let ... ...) (goto-char .= ..) (when ... ...) (remove-text-properties ... ... ...) (run-hooks ...) (or= to-buffer ...) (goto-char ...) (or ... ...) (if ... ... ...))) org-export-as-html(nil hidden) org-export-as-html-and-open(nil) call-interactively(org-export-as-html-and-open) (if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) (set-process-sent= inel p ...) (message "Background process \"%s\": started" p)) (if subtree-p= (progn ... ...)) (call-interactively (nth 1 ass)) (when (and bpos ...) (le= t ... ... ... ... ...))) (let* ((bg ...) (subtree-p ...) (help "[t] insert the export option tem= plate\n[v] limit export to visible part of outline tree\n[1] switch buf= fer/subtree export\n[SPC] publish enclosing subtree (with LaTeX_CLASS or EX= PORT_FILE_NAME prop)\n\n[a/n/u] export as ASCII/Latin-1/UTF-8 [A/N/= U] to temporary buffer\n\n[h] export as HTML [H] to temporary buffer = [R] export region\n[b] export as HTML and open in browser\n\n[l] export as= LaTeX [L] to temporary buffer\n[p] export as LaTeX and process to PDF = [d] ... and open PDF file\n\n[D] export as DocBook [V] export = as DocBook, process to PDF, and open\n\n[o] export as OpenDocument Text = [O] ... and open\n\n[j] export as TaskJuggler = [J] ... and open\n\n[m] export as Freemind mind map\n[x] export a= s XOXO\n[g] export using Wes Hardaker's generic exporter\n\n[i] export curr= ent file as iCalendar file\n[I] export all agenda files as iCalendar files = [c] ...as one combined file\n\n[F] publish current file [P] publ= ish current project\n[X] publish a project... [E] publish every pr= ojects") (cmds ...) r1 r2 ass (cpos ...) (cbuf ...) bpos) (save-excursion (= save-window-excursion ... ... ... ... ... ...)) (if (fboundp ...) (redispla= y)) (and bpos (goto-char bpos)) (setq r2 (if ... ... r1)) (unless (setq ass= ...) (error "No command associated with key %c" r1)) (if (and bg ... ... .= ..) (let ... ... ...) (if subtree-p ...) (call-interactively ...) (when ...= ...))) org-export(nil) call-interactively(org-export nil nil) Emacs : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian Package: Org-mode version N/A (N/A @ /home/bernt/git/org-mode/lisp/org-inst= all.el)