From: George McNinch <gmcninch@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-mime-htmlize
Date: Fri, 28 Dec 2012 10:07:17 -0500 [thread overview]
Message-ID: <87obhejjve.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 400 bytes --]
Hi--
I did a "clean" install of elpa package
org-plus-contrib-20121224
(i.e. removed old package, restarted emacs with -q flag, installed above
package, restarted emacs again...)
Then I started gnus, started composing a message, and executed the command
M-x org-mime-htmlize
The result is the following error:
org-export-as-html: Wrong type argument: stringp, t
Here is the backtrace:
[-- Attachment #2: backtrace --]
[-- Type: application/octet-stream, Size: 11506 bytes --]
Debugger entered--Lisp error: (wrong-type-argument stringp t)
file-name-as-directory(t)
org-export-as-html(nil nil nil string t)
(let ((indent-line-function (quote org-indent-line)) (paragraph-start (quote "\f\\|[ ]*$\\|\\(?:[*\f]+\\)")) (auto-fill-inhibit-regexp (quote "[*\f]+")) (paragraph-separate (quote "[ \f]*$\\|\\(?:[*\f]+\\)")) (outline-regexp (quote "\\*+ ")) (outline-level (quote org-outline-level)) (org-todo-kwd-alist (quote (("TODO" sequence "TODO" "DONE" "DONE") ("DONE" sequence "TODO" "DONE" "DONE")))) (org-todo-key-alist (quote ((:startgroup) ("TODO" . 116) ("DONE" . 100) (:endgroup)))) (org-todo-key-trigger (quote nil)) (org-todo-keywords-1 (quote ("TODO" "DONE"))) (org-done-keywords (quote ("DONE"))) (org-todo-heads (quote ("TODO"))) (org-todo-sets (quote (("TODO" "DONE")))) (org-todo-log-states (quote nil)) (org-file-properties (quote nil)) (org-file-tags (quote nil)) (org-use-sub-superscripts (quote t)) (org-ds-keyword-length (quote 12)) (org-drawer-regexp (quote "^[ ]*:\\(HIDDEN\\|PROPERTIES\\|CLOCK\\|LOGBOOK\\|RESULTS\\):[ ]*$")) (org-not-done-keywords (quote ("TODO"))) (org-todo-regexp (quote "\\(TODO\\|DONE\\)")) (org-not-done-regexp (quote "\\(TODO\\)")) (org-todo-line-regexp (quote "^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?: +\\(.*?\\)\\)?[ ]*$")) (org-complex-heading-regexp (quote "^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?: +\\(\\[#.\\]\\)\\)?\\(?: +\\(.*?\\)\\)??\\(?:[ ]+\\(:[[:alnum:]_@#%:]+:\\)\\)?[ ]*$")) (org-complex-heading-regexp-format (quote "^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?: +\\(\\[#.\\]\\)\\)?\\(?: +\\(?:\\[[0-9%%/]+\\] *\\)?\\(%s\\)\\(?: *\\[[0-9%%/]+\\]\\)?\\)\\(?:[ ]+\\(:[[:alnum:]_@#%%:]+:\\)\\)?[ ]*$")) (org-todo-line-tags-regexp (quote "^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?: +\\(.*?\\)\\)??\\(?:[ ]+\\(:[[:alnum:]:_@#%]+:\\)\\)?[ ]*$")) (org-deadline-regexp (quote "\\<DEADLINE:")) (org-deadline-time-regexp (quote "\\<DEADLINE: *<\\([^>]+\\)>")) (org-deadline-line-regexp (quote "\\<\\(DEADLINE:\\).*")) (org-scheduled-regexp (quote "\\<SCHEDULED:")) (org-scheduled-time-regexp (quote "\\<SCHEDULED: *<\\([^>]+\\)>")) (org-closed-time-regexp (quote "\\<CLOSED: *\\[\\([^]]+\\)\\]")) (org-keyword-time-regexp (quote "\\<\\(SCHEDULED:\\|DEADLINE:\\|CLOSED:\\|CLOCK:\\) *[[<]\\([^]>]+\\)[]>]")) (org-keyword-time-not-clock-regexp (quote "\\<\\(SCHEDULED:\\|DEADLINE:\\|CLOSED:\\) *[[<]\\([^]>]+\\)[]>]")) (org-maybe-keyword-time-regexp (quote "\\(\\<\\(SCHEDULED:\\|DEADLINE:\\|CLOSED:\\|CLOCK:\\)\\)? *\\([[<][0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} ?[^]\r\n>]*?[]>]\\|<%%([^\r\n>]*>\\)")) (org-all-time-keywords (quote ("SCHEDULED" "DEADLINE" "CLOCK" "CLOSED"))) (org-latex-and-specials-regexp (quote nil)) (org-font-lock-keywords (quote ((org-font-lock-hook) ("^\\(\\**\\)\\(\\* \\)\\(.*\\)" (1 (org-get-level-face 1)) (2 (org-get-level-face 2)) (3 (org-get-level-face 3))) ("^[ ]*\\(\\(|\\|\\+-[-+]\\).*\\S-\\)" (1 (quote org-table) t)) ("^[ ]*|\\(?:.*?|\\)? *\\(:?=[^|\n]*\\)" (1 (quote org-formula) t)) ("^[ ]*| *\\([#*]\\) *|" (1 (quote org-formula) t)) ("^[ ]*|\\( *\\([$!_^/]\\) *|.*\\)|" (1 (quote org-formula) t)) ("| *\\(<[lrc]?[0-9]*>\\)" (1 (quote org-formula) t)) ("^[ ]*:\\(HIDDEN\\|PROPERTIES\\|CLOCK\\|LOGBOOK\\|RESULTS\\):[ ]*$" (0 (quote org-special-keyword) t)) ("^[ ]*:END:" (0 (quote org-special-keyword) t)) ("^[ ]*\\(:\\([-[:alnum:]_]+\\+?\\):\\)[ ]*\\([^ \r\n].*\\)" (1 (quote org-special-keyword) t) (3 (quote org-property-value) t)) (org-activate-tags (1 (quote org-tag) prepend)) (org-activate-angle-links (0 (quote org-link) t)) (org-activate-plain-links) (org-activate-bracket-links (0 (quote org-link) t)) (org-activate-target-links (0 (quote org-link) t)) (org-activate-dates (0 (quote org-date) t)) (org-activate-footnote-links) ("^&?%%(.*\\|<%%([^>\n]*?>" (0 (quote org-sexp-date) t)) (org-hide-wide-columns (0 nil append)) ("^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)\\(?: +\\(.*?\\)\\)?[ ]*$" (2 (org-get-todo-face 2) t)) (org-font-lock-add-priority-faces) (org-font-lock-add-tag-faces) ("\\<DEADLINE:" (0 (quote org-special-keyword) t)) ("\\<SCHEDULED:" (0 (quote org-special-keyword) t)) ("\\<CLOSED:" (0 (quote org-special-keyword) t)) ("\\<CLOCK:" (0 (quote org-special-keyword) t)) (org-do-emphasis-faces) ("^[ ]*\\(?:[-+*]\\|[0-9]+[.)]\\)[ ]+\\(?:\\[@\\(?:start:\\)?[0-9]+\\][ ]*\\)?\\(\\[[- X]\\]\\)" 1 (quote org-checkbox) prepend) ("\\[\\([0-9]*%\\)\\]\\|\\[\\([0-9]*\\)/\\([0-9]*\\)\\]" (0 (org-get-checkbox-statistics-face) t)) ("^[ ]*[-+*][ ]+\\(.*?[ ]+::\\)\\([ ]+\\|$\\)" 1 (quote org-list-dt) prepend) ("^\\*+ \\(.*:ARCHIVE:.*\\)" (1 (quote org-archived) prepend)) (org-do-latex-and-special-faces) (org-fontify-entities) (org-raise-scripts) (org-activate-code (1 (quote org-code) t)) ("^\\(\\*+\\)\\(?: +\\(COMMENT\\|QUOTE\\)\\)\\(?: +\\(.*?\\)\\)?[ ]*$" (2 (quote org-special-keyword) t)) (org-fontify-meta-lines-and-blocks)))) (org-table-may-need-update (quote t)) (indent-region-function (quote org-indent-region)) (org-target-link-regexp (quote nil)) (fill-paragraph-function (quote org-fill-paragraph)) (normal-auto-fill-function (quote org-auto-fill-function)) (comment-line-break-function (quote org-comment-line-break-function)) (comment-use-syntax (quote nil)) (comment-start (quote "# ")) (comment-start-skip (quote "^\\s-*#\\(?: \\|$\\)")) (comment-insert-comment-function (quote org-insert-comment)) (comment-region-function (quote org-comment-or-uncomment-region)) (outline-isearch-open-invisible-function (quote #[(&rest ignore) "\300\301!\207" [org-show-context isearch] 2])) ...) (org-export-as-html nil nil nil (quote string) t))
eval((let ((indent-line-function (quote org-indent-line)) (paragraph-start (quote "\f\\|[ ]*$\\|\\(?:[*\f]+\\)")) (auto-fill-inhibit-regexp (quote "[*\f]+")) (paragraph-separate (quote "[ \f]*$\\|\\(?:[*\f]+\\)")) (outline-regexp (quote "\\*+ ")) (outline-level (quote org-outline-level)) (org-todo-kwd-alist (quote (("TODO" sequence "TODO" "DONE" "DONE") ("DONE" sequence "TODO" "DONE" "DONE")))) (org-todo-key-alist (quote ((:startgroup) ("TODO" . 116) ("DONE" . 100) (:endgroup)))) (org-todo-key-trigger (quote nil)) (org-todo-keywords-1 (quote ("TODO" "DONE"))) (org-done-keywords (quote ("DONE"))) (org-todo-heads (quote ("TODO"))) (org-todo-sets (quote (("TODO" "DONE")))) (org-todo-log-states (quote nil)) (org-file-properties (quote nil)) (org-file-tags (quote nil)) (org-use-sub-superscripts (quote t)) (org-ds-keyword-length (quote 12)) (org-drawer-regexp (quote "^[ ]*:\\(HIDDEN\\|PROPERTIES\\|CLOCK\\|LOGBOOK\\|RESULTS\\):[ ]*$")) (org-not-done-keywords (quote ("TODO"))) (org-todo-regexp (quote "\\(TODO\\|DONE\\)")) (org-not-done-regexp (quote "\\(TODO\\)")) (org-todo-line-regexp (quote "^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?: +\\(.*?\\)\\)?[ ]*$")) (org-complex-heading-regexp (quote "^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?: +\\(\\[#.\\]\\)\\)?\\(?: +\\(.*?\\)\\)??\\(?:[ ]+\\(:[[:alnum:]_@#%:]+:\\)\\)?[ ]*$")) (org-complex-heading-regexp-format (quote "^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?: +\\(\\[#.\\]\\)\\)?\\(?: +\\(?:\\[[0-9%%/]+\\] *\\)?\\(%s\\)\\(?: *\\[[0-9%%/]+\\]\\)?\\)\\(?:[ ]+\\(:[[:alnum:]_@#%%:]+:\\)\\)?[ ]*$")) (org-todo-line-tags-regexp (quote "^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?: +\\(.*?\\)\\)??\\(?:[ ]+\\(:[[:alnum:]:_@#%]+:\\)\\)?[ ]*$")) (org-deadline-regexp (quote "\\<DEADLINE:")) (org-deadline-time-regexp (quote "\\<DEADLINE: *<\\([^>]+\\)>")) (org-deadline-line-regexp (quote "\\<\\(DEADLINE:\\).*")) (org-scheduled-regexp (quote "\\<SCHEDULED:")) (org-scheduled-time-regexp (quote "\\<SCHEDULED: *<\\([^>]+\\)>")) (org-closed-time-regexp (quote "\\<CLOSED: *\\[\\([^]]+\\)\\]")) (org-keyword-time-regexp (quote "\\<\\(SCHEDULED:\\|DEADLINE:\\|CLOSED:\\|CLOCK:\\) *[[<]\\([^]>]+\\)[]>]")) (org-keyword-time-not-clock-regexp (quote "\\<\\(SCHEDULED:\\|DEADLINE:\\|CLOSED:\\) *[[<]\\([^]>]+\\)[]>]")) (org-maybe-keyword-time-regexp (quote "\\(\\<\\(SCHEDULED:\\|DEADLINE:\\|CLOSED:\\|CLOCK:\\)\\)? *\\([[<][0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} ?[^]\r\n>]*?[]>]\\|<%%([^\r\n>]*>\\)")) (org-all-time-keywords (quote ("SCHEDULED" "DEADLINE" "CLOCK" "CLOSED"))) (org-latex-and-specials-regexp (quote nil)) (org-font-lock-keywords (quote ((org-font-lock-hook) ("^\\(\\**\\)\\(\\* \\)\\(.*\\)" (1 (org-get-level-face 1)) (2 (org-get-level-face 2)) (3 (org-get-level-face 3))) ("^[ ]*\\(\\(|\\|\\+-[-+]\\).*\\S-\\)" (1 (quote org-table) t)) ("^[ ]*|\\(?:.*?|\\)? *\\(:?=[^|\n]*\\)" (1 (quote org-formula) t)) ("^[ ]*| *\\([#*]\\) *|" (1 (quote org-formula) t)) ("^[ ]*|\\( *\\([$!_^/]\\) *|.*\\)|" (1 (quote org-formula) t)) ("| *\\(<[lrc]?[0-9]*>\\)" (1 (quote org-formula) t)) ("^[ ]*:\\(HIDDEN\\|PROPERTIES\\|CLOCK\\|LOGBOOK\\|RESULTS\\):[ ]*$" (0 (quote org-special-keyword) t)) ("^[ ]*:END:" (0 (quote org-special-keyword) t)) ("^[ ]*\\(:\\([-[:alnum:]_]+\\+?\\):\\)[ ]*\\([^ \r\n].*\\)" (1 (quote org-special-keyword) t) (3 (quote org-property-value) t)) (org-activate-tags (1 (quote org-tag) prepend)) (org-activate-angle-links (0 (quote org-link) t)) (org-activate-plain-links) (org-activate-bracket-links (0 (quote org-link) t)) (org-activate-target-links (0 (quote org-link) t)) (org-activate-dates (0 (quote org-date) t)) (org-activate-footnote-links) ("^&?%%(.*\\|<%%([^>\n]*?>" (0 (quote org-sexp-date) t)) (org-hide-wide-columns (0 nil append)) ("^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)\\(?: +\\(.*?\\)\\)?[ ]*$" (2 (org-get-todo-face 2) t)) (org-font-lock-add-priority-faces) (org-font-lock-add-tag-faces) ("\\<DEADLINE:" (0 (quote org-special-keyword) t)) ("\\<SCHEDULED:" (0 (quote org-special-keyword) t)) ("\\<CLOSED:" (0 (quote org-special-keyword) t)) ("\\<CLOCK:" (0 (quote org-special-keyword) t)) (org-do-emphasis-faces) ("^[ ]*\\(?:[-+*]\\|[0-9]+[.)]\\)[ ]+\\(?:\\[@\\(?:start:\\)?[0-9]+\\][ ]*\\)?\\(\\[[- X]\\]\\)" 1 (quote org-checkbox) prepend) ("\\[\\([0-9]*%\\)\\]\\|\\[\\([0-9]*\\)/\\([0-9]*\\)\\]" (0 (org-get-checkbox-statistics-face) t)) ("^[ ]*[-+*][ ]+\\(.*?[ ]+::\\)\\([ ]+\\|$\\)" 1 (quote org-list-dt) prepend) ("^\\*+ \\(.*:ARCHIVE:.*\\)" (1 (quote org-archived) prepend)) (org-do-latex-and-special-faces) (org-fontify-entities) (org-raise-scripts) (org-activate-code (1 (quote org-code) t)) ("^\\(\\*+\\)\\(?: +\\(COMMENT\\|QUOTE\\)\\)\\(?: +\\(.*?\\)\\)?[ ]*$" (2 (quote org-special-keyword) t)) (org-fontify-meta-lines-and-blocks)))) (org-table-may-need-update (quote t)) (indent-region-function (quote org-indent-region)) (org-target-link-regexp (quote nil)) (fill-paragraph-function (quote org-fill-paragraph)) (normal-auto-fill-function (quote org-auto-fill-function)) (comment-line-break-function (quote org-comment-line-break-function)) (comment-use-syntax (quote nil)) (comment-start (quote "# ")) (comment-start-skip (quote "^\\s-*#\\(?: \\|$\\)")) (comment-insert-comment-function (quote org-insert-comment)) (comment-region-function (quote org-comment-or-uncomment-region)) (outline-isearch-open-invisible-function (quote #[(&rest ignore) "\300\301!\207" [org-show-context isearch] 2])) ...) (org-export-as-html nil nil nil (quote string) t)))
org-export-string(#("\n-- \n George McNinch <gmcninch@gmail.com>\n http://gmcninch.math.tufts.edu \n" 0 1 (fontified t) 1 5 (fontified t) 5 77 (fontified t)) html "/tmp/")
org-mime-htmlize(nil)
call-interactively(org-mime-htmlize record nil)
command-execute(org-mime-htmlize record)
execute-extended-command(nil "org-mime-htmlize")
call-interactively(execute-extended-command nil nil)
[-- Attachment #3: Type: text/plain, Size: 86 bytes --]
-gm
--
George McNinch <gmcninch(at)gmail.com>
http://gmcninch.math.tufts.edu
next reply other threads:[~2012-12-28 15:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-28 15:07 George McNinch [this message]
2012-12-28 15:27 ` org-mime-htmlize Eric Schulte
2012-12-28 16:40 ` org-mime-htmlize Bastien
2012-12-31 18:44 ` org-mime-htmlize George McNinch
2013-01-01 16:35 ` org-mime-htmlize Bastien
2013-01-01 22:55 ` org-mime-htmlize George McNinch
2013-01-01 23:34 ` org-mime-htmlize Bastien
-- strict thread matches above, loose matches on Subject: below --
2022-07-04 7:55 org-mime-htmlize Joseph Vidal-Rosset
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=87obhejjve.fsf@gmail.com \
--to=gmcninch@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).