emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [ANN] org-mime -- using orgmode to send html mail?


From: Eric S Fraga
Subject: Re: [Orgmode] [ANN] org-mime -- using orgmode to send html mail?
Date: Wed, 14 Apr 2010 09:39:25 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Tue, 13 Apr 2010 18:57:07 -0600, "Eric Schulte" <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]