emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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

* Re: org-mime-htmlize
  2012-12-28 15:07 org-mime-htmlize George McNinch
@ 2012-12-28 15:27 ` Eric Schulte
  2012-12-28 16:40   ` org-mime-htmlize Bastien
  0 siblings, 1 reply; 9+ messages in thread
From: Eric Schulte @ 2012-12-28 15:27 UTC (permalink / raw)
  To: George McNinch; +Cc: emacs-orgmode

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

George McNinch <gmcninch@gmail.com> writes:

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

Thanks for the report.

This looks like a bug in `org-export-as-html', specifically in line 1258
or so of org-html.el the following form returns t while its calling
function requires a string argument.

  (or pub-dir (org-export-directory :html opt-plist))

The attached patch should fix this problem, and should be an improvement
generally, but I'll wait for someone more familiar with the export
system than myself to approve and apply it.

Best,


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Pass-the-dir-option-on-through-org-export-as-string.patch --]
[-- Type: text/x-patch, Size: 885 bytes --]

From cf2128fb320f714f78fa54b953405d01fa73bf33 Mon Sep 17 00:00:00 2001
From: Eric Schulte <eric.schulte@gmx.com>
Date: Fri, 28 Dec 2012 08:20:56 -0700
Subject: [PATCH] Pass the dir option on through org-export-as-string

* lisp/org-exp.el (org-export-string): Pass the dir option on through to
  any subsequent export functions.
---
 lisp/org-exp.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index f7155b0..3dc9a98 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -3050,7 +3050,7 @@ to the value of `temporary-file-directory'."
 	  (eval ;; convert to fmt -- mimicking `org-run-like-in-org-mode'
 	   (list 'let org-local-vars
 		 (list (intern (format "org-export-as-%s" fmt))
-		       nil nil nil ''string t))))
+		       nil nil nil ''string t dir))))
       (delete-file tmp-file))))
 
 ;;;###autoload
-- 
1.8.0.2


[-- Attachment #3: Type: text/plain, Size: 46 bytes --]


-- 
Eric Schulte
http://cs.unm.edu/~eschulte

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

* Re: org-mime-htmlize
  2012-12-28 15:27 ` org-mime-htmlize Eric Schulte
@ 2012-12-28 16:40   ` Bastien
  2012-12-31 18:44     ` org-mime-htmlize George McNinch
  0 siblings, 1 reply; 9+ messages in thread
From: Bastien @ 2012-12-28 16:40 UTC (permalink / raw)
  To: Eric Schulte; +Cc: George McNinch, emacs-orgmode

Hi George,

thanks for reporting this.

Eric Schulte <schulte.eric@gmail.com> writes:

> From cf2128fb320f714f78fa54b953405d01fa73bf33 Mon Sep 17 00:00:00 2001
> From: Eric Schulte <eric.schulte@gmx.com>
> Date: Fri, 28 Dec 2012 08:20:56 -0700
> Subject: [PATCH] Pass the dir option on through org-export-as-string
>
> * lisp/org-exp.el (org-export-string): Pass the dir option on through to
>   any subsequent export functions.

Applied, thanks!

-- 
 Bastien

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

* Re: org-mime-htmlize
  2012-12-28 16:40   ` org-mime-htmlize Bastien
@ 2012-12-31 18:44     ` George McNinch
  2013-01-01 16:35       ` org-mime-htmlize Bastien
  0 siblings, 1 reply; 9+ messages in thread
From: George McNinch @ 2012-12-31 18:44 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi,

Concerning:

    Bastien> Hi George, thanks for reporting this.

    Bastien> Eric Schulte <schulte.eric@gmail.com> writes:

    >> From cf2128fb320f714f78fa54b953405d01fa73bf33 Mon Sep 17 00:00:00
    >> 2001 From: Eric Schulte <eric.schulte@gmx.com> Date: Fri, 28 Dec
    >> 2012 08:20:56 -0700 Subject: [PATCH] Pass the dir option on
    >> through org-export-as-string
    >> 
    >> * lisp/org-exp.el (org-export-string): Pass the dir option on
    >> through to any subsequent export functions.

    Bastien> Applied, thanks!

I waited for a new org-plus-contrib elpa package to try this...  I
installed the new one just now, and

  M-x org-mime-htmlize 

in a message buffer now gives a "Wrong number of arguments" error.

Maybe I've done something boneheaded, but I can't work out what it is...

Here is a backtrace: 


[-- Attachment #2: backtrace-dec31 --]
[-- Type: application/octet-stream, Size: 30486 bytes --]

[-- Attachment #3: Type: text/plain, Size: 87 bytes --]


-george


-- 
  George McNinch <gmcninch@gmail.com>
  http://gmcninch.math.tufts.edu 

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

* Re: org-mime-htmlize
  2012-12-31 18:44     ` org-mime-htmlize George McNinch
@ 2013-01-01 16:35       ` Bastien
  2013-01-01 22:55         ` org-mime-htmlize George McNinch
  0 siblings, 1 reply; 9+ messages in thread
From: Bastien @ 2013-01-01 16:35 UTC (permalink / raw)
  To: George McNinch; +Cc: emacs-orgmode

Hi George,

George McNinch <gmcninch@gmail.com> writes:

> I waited for a new org-plus-contrib elpa package to try this...  I
> installed the new one just now, and
>
>   M-x org-mime-htmlize 
>
> in a message buffer now gives a "Wrong number of arguments" error.
>
> Maybe I've done something boneheaded, but I can't work out what it is...

I fixed this, the first patch applied was wrong.

Thanks for reporting this error!

-- 
 Bastien

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

* Re: org-mime-htmlize
  2013-01-01 16:35       ` org-mime-htmlize Bastien
@ 2013-01-01 22:55         ` George McNinch
  2013-01-01 23:34           ` org-mime-htmlize Bastien
  0 siblings, 1 reply; 9+ messages in thread
From: George McNinch @ 2013-01-01 22:55 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Hi Bastien,

    >> I waited for a new org-plus-contrib elpa package to try this...
    >> I installed the new one just now, and
    >> 
    >> M-x org-mime-htmlize
    >> 
    >> in a message buffer now gives a "Wrong number of arguments"
    >> error.

    Bastien> I fixed this, the first patch applied was wrong.

I "git cloned" just now, compiled, restarted emacs.

Now when I do M-x org-mime-htmlize in a message buffer, I get

   org-export-as-org: Wrong type argument: listp, string

(Is a backtrace useful?)

-g


-- 
  George McNinch <gmcninch@gmail.com>
  http://gmcninch.math.tufts.edu 

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

* Re: org-mime-htmlize
  2013-01-01 22:55         ` org-mime-htmlize George McNinch
@ 2013-01-01 23:34           ` Bastien
  0 siblings, 0 replies; 9+ messages in thread
From: Bastien @ 2013-01-01 23:34 UTC (permalink / raw)
  To: George McNinch; +Cc: emacs-orgmode

Hi George,

George McNinch <gmcninch@gmail.com> writes:

> I "git cloned" just now, compiled, restarted emacs.
>
> Now when I do M-x org-mime-htmlize in a message buffer, I get
>
>    org-export-as-org: Wrong type argument: listp, string

I forgot org-export-as-org -- this should now be fixed.
Also for org-export-as-docbook...  

> (Is a backtrace useful?)

It should not be this time, but for other errors yes!

Thanks,

-- 
 Bastien

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

* 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

* Re: Fw: org-mime-htmlize
       [not found]   ` <CAJ51EToLd-87Bd=RnBM56X3Q=ASb7a6WjBmFCq6-mCNPQEBkMw@mail.gmail.com>
@ 2022-07-05 17:31     ` Joseph Vidal-Rosset
  0 siblings, 0 replies; 9+ messages in thread
From: Joseph Vidal-Rosset @ 2022-07-05 17:31 UTC (permalink / raw)
  To: John Kitchin; +Cc: org-mode-email

Many thanks John. It  works perfectly now, as you can see it in my first
reply. I cc. this second reply to the list, it can be useful for others.

All the best, and again thanks for your generous help !

Jo.

Le 05/07/2022 à 18:39, John Kitchin a écrit :
> you probably have to do this via CSL now:
>
> (setq  org-export-before-parsing-hook '(org-ref-csl-preprocess-buffer))
>
>
> John

>     ------- Original Message -------
>     Le lundi 4 juillet 2022 à 09:55, Joseph Vidal-Rosset
>     <joseph@vidal-rosset.net <mailto:joseph@vidal-rosset.net>> a écrit :
>
>>     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 <http://&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
>>     <http:///home/joseph/Dropbox/myblog/blog.bib>
>>
>



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