emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mime-htmlize
@ 2022-07-04  7:55 Joseph Vidal-Rosset
       [not found] ` <4eoZuINSAkjkvh0IcTUuoSgZn8H5zNFQL0NLZFViOlN4gNx3v5J6py9cGzLHtw74wS6atdSaVQd38tJ_VqSmQcKnCwqD_0B9BgxpJ69n4-I=@vidal-rosset.net>
  0 siblings, 1 reply; 9+ messages in thread
From: Joseph Vidal-Rosset @ 2022-07-04  7:55 UTC (permalink / raw)
  To: emacs-orgmode list

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

Hello,

I noticed that org-mime-htmlize that I use sometimes with Gnus to send email with formulas in .png format and bibliographical references does no longer work for bibliographical references as it did before.

Example of citation : &tennant1999

I do not know why it does not work, and I try to get and export with bibliographical references inside an email. I’m using org-ref 3.

Your help is welcome,

All the best,

Jo.

/home/joseph/Dropbox/myblog/blog.bib

[-- Attachment #2: Type: text/html, Size: 727 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* org-mime-htmlize
@ 2012-12-28 15:07 George McNinch
  2012-12-28 15:27 ` org-mime-htmlize Eric Schulte
  0 siblings, 1 reply; 9+ messages in thread
From: George McNinch @ 2012-12-28 15:07 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2022-07-05 17:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04  7:55 org-mime-htmlize Joseph Vidal-Rosset
     [not found] ` <4eoZuINSAkjkvh0IcTUuoSgZn8H5zNFQL0NLZFViOlN4gNx3v5J6py9cGzLHtw74wS6atdSaVQd38tJ_VqSmQcKnCwqD_0B9BgxpJ69n4-I=@vidal-rosset.net>
     [not found]   ` <CAJ51EToLd-87Bd=RnBM56X3Q=ASb7a6WjBmFCq6-mCNPQEBkMw@mail.gmail.com>
2022-07-05 17:31     ` Fw: org-mime-htmlize Joseph Vidal-Rosset
  -- strict thread matches above, loose matches on Subject: below --
2012-12-28 15:07 org-mime-htmlize George McNinch
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

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