From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Stribblehill Subject: Org-mode version 6.30trans; HTML exporting problem Date: Mon, 21 Sep 2009 17:03:25 +0100 Message-ID: <1f38ae890909210903r7d5c3e74i2b8b19ced9e0339d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MplMV-0006aV-Ji for emacs-orgmode@gnu.org; Mon, 21 Sep 2009 12:03:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MplMQ-0006XL-Cn for emacs-orgmode@gnu.org; Mon, 21 Sep 2009 12:03:34 -0400 Received: from [199.232.76.173] (port=59230 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MplMP-0006X7-Ra for emacs-orgmode@gnu.org; Mon, 21 Sep 2009 12:03:29 -0400 Received: from mail-bw0-f220.google.com ([209.85.218.220]:36565) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MplMO-00074w-Vo for emacs-orgmode@gnu.org; Mon, 21 Sep 2009 12:03:29 -0400 Received: by bwz20 with SMTP id 20so2492791bwz.42 for ; Mon, 21 Sep 2009 09:03:26 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Emacs : GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-03-19 on yellow, modified by Debian Package: Org-mode version 6.30trans (git pulled this afternoon) I have the following file: ========================== #+BEGIN_SRC conf CONF=/etc/passwd EXTRAFLAGS="--snark" #+END_SRC ========================== When I try to export it to HTML, I get an error, "Invalid face". Here's the backtrace: ======================== Debugger entered--Lisp error: (error "Invalid face") internal-get-lisp-face-attribute(nil :height nil) face-attribute(nil :height) htmlize-face-size(default) htmlize-face-to-fstruct(default) htmlize-make-face-map((default font-lock-string-face font-lock-variable-name-face)) htmlize-buffer-1() htmlize-region(1 22) org-export-htmlize-region-for-paste(1 22) org-export-format-source-code-or-example(html #("conf" 0 4 (fontified t font-lock-fontified t)) #("EXTRAFLAGS=\"--snark\"\n" 0 14 (fontified t font-lock-fontified t) 14 15 (fontified t font-lock-fontified t) 15 16 (fontified t font-lock-fontified t) 16 17 (fontified t font-lock-fontified t) 17 18 (fontified t font-lock-fontified t) 18 19 (fontified t font-lock-fontified t) 19 20 (fontified t font-lock-fontified t) 20 21 (fontified t font-lock-fontified t)) "" 0) org-export-replace-src-segments-and-examples(html) org-export-preprocess-string(#("#+BEGIN_SRC conf\nCONF=/etc/passwd\nEXTRAFLAGS=\"--snark\"\n#+END_SRC\n" 0 16 (fontified t font-lock-fontified t auto-composed t face org-meta-line font-lock-multiline t) 16 17 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-meta-line) 17 23 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block :org-license-to-kill t) 23 24 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block :org-license-to-kill t) 24 25 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block :org-license-to-kill t) 25 26 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block :org-license-to-kill t) 26 27 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block :org-license-to-kill t) 27 28 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block :org-license-to-kill t) 28 29 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block :org-license-to-kill t) 29 30 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block :org-license-to-kill t) 30 31 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block :org-license-to-kill t) 31 32 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block :org-license-to-kill t) 32 33 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block :org-license-to-kill t) 33 34 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block :org-license-to-kill t) 34 48 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block) 48 49 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block) 49 50 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block) 50 51 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block) 51 52 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block) 52 53 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block) 53 54 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-block) 54 55 (fontified t font-lock-fontified t auto-composed t font-lock-multiline t face org-meta-line) 55 64 (fontified t font-lock-fontified t auto-composed t face org-meta-line font-lock-multiline t) 64 65 (fontified t auto-composed t)) :emph-multiline t :for-html t :skip-before-1st-heading nil :drawers nil :todo-keywords t :tags not-in-toc :priority nil :footnotes t :timestamps t :archived-trees headline :select-tags ("export") :exclude-tags ("noexport") :add-text nil :LaTeX-fragments nil) org-export-as-html(nil nil (:buffer-will-be-killed t :base-directory "~/org/" :base-extension "org" :publishing-directory "~/public_html/org/" :style-include-default nil :style "") nil nil "/home/stribb/www/org/") org-publish-org-to("html" (:base-directory "~/org/" :base-extension "org" :publishing-directory "~/public_html/org/" :style-include-default nil :style "") "/home/stribb/org/bug.org" "/home/stribb/www/org/") org-publish-org-to-html((:base-directory "~/org/" :base-extension "org" :publishing-directory "~/public_html/org/" :style-include-default nil :style "") "/home/stribb/org/bug.org" "/home/stribb/www/org/") org-publish-file("/home/stribb/org/bug.org") byte-code(... [force org-publish-use-timestamps-flag org-publish-file buffer-file-name] 2) org-publish-current-file(nil) call-interactively(org-publish-current-file) org-export(nil) call-interactively(org-export nil nil) ======================== current state: ============== (setq org-clock-in-switch-to-state "DOING" org-todo-keyword-faces '(("BLOCKING" . org-agenda-dimmed-todo-face) ("DOING" . stribb/org-agenda-doing)) org-agenda-clockreport-parameter-plist '(:link t :maxlevel 2 :effort t) org-agenda-custom-commands '(("U" "unscheduled TODOs" alltodo "" ((org-agenda-skip-function (quote (org-agenda-skip-subtree-if (quote scheduled) (quote deadline)) ) ) ) ) ("S" "snippet view" agenda "" ((org-agenda-show-log t) (org-agenda-log-mode-items (quote (state))) (org-agenda-archives-mode t) (org-agenda-include-inactive-timestamps t) (org-agenda-clockreport-mode t)) ) ) org-agenda-files '("~/org/money.org" "~/org/kill-all-gateways.org" "~/org/notes.org" "~/org/objectives.org" "~/org/perms.org" "~/org/todo.org" "~/org/whisky.org") org-after-todo-state-change-hook '(org-clock-out-if-current) org-clock-history-length 35 org-clock-in-prepare-hook '(stribb/org-mode-ask-effort) org-babel-interpreters '("python" "sh" "emacs-lisp") org-src-lang-modes '(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist)) org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-todo-keywords '((sequence "TODO(t)" "DOING(w!)" "|" "DONE(d!)" "CANCELLED(c@)") (sequence "BLOCKING(b@/!)")) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-agenda-start-with-follow-mode t org-default-notes-file "~/org/refile.org" org-directory "~/org/" org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-publish-project-alist '(("org" :base-directory "~/org/" :base-extension "org" :publishing-directory "~/public_html/org/" :style-include-default nil :style "") ) org-refile-target-verify-function '(lambda nil (not (member "ARCHIVE" (org-get-tags)))) org-mode-hook '((lambda nil (auto-fill-mode 1)) #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] ) org-clock-out-remove-zero-time-clocks t org-refile-targets '((org-agenda-files :maxlevel . 2)) org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-execute-src-block-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-refile-use-outline-path 'file org-log-into-drawer t org-export-interblocks '((src org-babel-exp-inline-src-blocks) (r org-export-interblocks-format-R) (R org-export-interblocks-format-R)) org-occur-hook '(org-first-headline-recenter) org-remember-templates '(("refile" 114 "* %?\n :PROPERTIES:\n :Filed: %U\n :END:\n%i\n %a" nil nil) ) org-metadown-hook '(org-babel-pop-to-session-maybe) org-export-blocks '((src org-babel-exp-src-blocks nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil) (r org-export-blocks-format-R nil) (R org-export-blocks-format-R nil)) )