On Tue, 13 Apr 2010 18:57:07 -0600, "Eric Schulte" <schulte.e...@gmail.com> 
wrote:
> 
> So, for some reason the `org-mime-org-export' helper function is
> returning nil on your (and Eric's) machines.  Could you try evaluating
> (C-M-x) the following in your *scratch* buffer?
> 
> (insert (org-mime-org-export "html" "- first
> - second
> - third" (make-temp-file "quick-test")))

I get exactly the same as you do.

> to export a non-html buffer to html, or you could also try starting up
> Emacs with the -Q option, then loading org-mime.el, opening an org-mode
> file, and calling org-mime-org-buffer-htmlize, and sending an email to
> yourself.

Interesting.  This fails for me:

1. emacs -Q
2. in *scratch*: set load path appropriately, (require 'org-install), (require 
'org-mime)
3. visit org test buffer
4. invoke org-mime-org-buffer-htmlize which fails with 

   org-mime-file: Symbol's function definition is void: case

   although the HTML has been created and pushed to the kill ring
   according to the *Messages* buffer.

5. so try (require 'cl)
6. try org-mime-org-buffer-htmlize again and now there is no error but
   the output is:

   ,----
   |    <#multipart type=alternative><#part type=text/plain>
   | * Testing mime in org
   | 
   |   This file will provide a simple test for the new mime encoding and
   |   exporting features in org-mode.
   | 
   |   The most interesting aspect may be the use of \(y = \sum_i^n x_i^2\)
   |   and, please, see the figure:
   | 
   |   [[./mip.png]]
   |   <#part type=text/html>nil<#/multipart>
   |   <#part type="image/png" filename="/home/ucecesf/s/test/mip.png" 
id="<_home_ucecesf_s_test_mip.png>">
   |   <#/part>
   `----

I hope some of this might help identify where the problem may lie?  I
can obviously send you my full org environment if you wish. I'm also
happy to debug the org-mime code directly if you give me some idea of
where to look!

Thanks,
eric


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to