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

2010-04-15 Thread Eric Schulte
Org-mime should now fully support the WL mailer, thanks to Eric S Fraga. I've updated the documentation on worg, but basically to use org-mime with WL, you need only add the following to your config. --8---cut here---start-8--- (require 'org-mime) (setq

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

2010-04-14 Thread Eric S Fraga
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

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

2010-04-14 Thread Eric Schulte
Hi Andrew, I started my emacs with the -Q option, and to my surprise I got the same error that you have described. I've been able to hunt down the source of this problem, and it is an old version of org-export-as-org, which means that you are not loading the latest version of the core org-mode,

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

2010-04-14 Thread Eric Schulte
Hi Eric, Thanks for the explicit feedback, it's very helpful. Eric S Fraga ucec...@ucl.ac.uk writes: [...] 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

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

2010-04-14 Thread Andrew Hyatt
Thanks! I finally got it to work. I actually did have the latest code, but my issue was that when I upgraded to the new org, I forgot to byte-compile before I did M-x org-reload. After I got your latest code, it all works now. I'm looking forward to using it! On Wed, Apr 14, 2010 at 10:59 AM,

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

2010-04-14 Thread Eric S Fraga
On Wed, 14 Apr 2010 09:12:59 -0600, Eric Schulte schulte.e...@gmail.com wrote: Hi Eric, Thanks for the explicit feedback, it's very helpful. You're very welcome! It's the least I can do. 6. try org-mime-org-buffer-htmlize again and now there is no error but the output is: I see

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

2010-04-14 Thread Eric Schulte
Eric S Fraga ucec...@ucl.ac.uk writes: [...] Thanks. I've pulled and it now works better, in that the HTML element is now not-nil. However, it's not quite right and other aspects are still not working. I'm attaching three files: the original org file I'm using to test the mime encoding,

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

2010-04-13 Thread Eric S Fraga
Eric, I have been away a couple of weeks where I have avoided using email as much as possible. I have therefore come back to find this whole incredible thread that has led to org-mime. Very exciting! Although I'm not a big fan of html email in general, an easy to use mime interface which

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

2010-04-13 Thread Eric Schulte
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))) When I execute the

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

2010-04-13 Thread Eric Schulte
Hi Eric, It looks like you're having the same issue as Andrew. Could you try the suggestions I put in the email to him and let me know the results? Thanks -- Eric Eric S Fraga ucec...@ucl.ac.uk writes: Eric, I have been away a couple of weeks where I have avoided using email as much as

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

2010-04-13 Thread Andrew Hyatt
I do get the same result you do. Hopefully, I'll have some time tomorrow to look into the issue. RIght now, though, my problem is not the nil, but the error I reported in my previous email. On Tue, Apr 13, 2010 at 8:57 PM, Eric Schulte schulte.e...@gmail.comwrote: So, for some reason the

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

2010-04-12 Thread Andrew Hyatt
This looks great. However, I get an error on my test mail: This is should be HTML mode. ~foo~ =bar= _baz_ | Table | A | | 1 | 2 | On calling org-mime-htmlize Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match(nil #(This is should be HTML mode. 0 28 (fontified

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

2010-04-12 Thread Eric Schulte
Hi Andrew, Thanks for the report. My guess is that somehow the call to org-export-as-html is erroring out because some org-mode variables aren't being set, maybe you don't have orgstruct-mode as a minor-mode in your email composition -- not that it's required, but that could be the difference

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

2010-04-12 Thread Andrew Hyatt
Thanks for the response. I upgraded, now I get a Debugger entered--Lisp error: (wrong-type-argument arrayp t) substring(t 33) (progn (insert org-mime-default-header) (insert body) (write-file tmp-file) (org-load-modules-maybe) (unless org-local-vars (setq org-local-vars ...)) (substring (eval

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

2010-04-09 Thread Eric Schulte
Announcing the addition of org-mime to the contrib directory of Org-mode this allows sending HTML email using org-mode including... #+TITLE: NONE #+OPTIONS: latex:t - *tables* | colname one | colname two | |-+-| | 1 | 1 | | 2 |

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

2010-04-09 Thread Matt Price
eric, this looks great -- On Fri, Apr 9, 2010 at 12:41 PM, Eric Schulte schulte.e...@gmail.comwrote: Setup org-mime exposes two functions `org-mime-htmlize' can be called from within a mail composition buffer to export either the entire buffer or just the active region to html, and embed

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

2010-04-09 Thread Eric Schulte
Matt Price mopto...@gmail.com writes: eric, this looks great -- Thanks Just quickly -- so if I'm using wanderlust, will the resultant message still be properly formatted? I remember there was some discussion about the separation syntax in different mailers but don'tremember how it turned

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

2010-04-09 Thread David Maus
Matt Price wrote: Just quickly -- so if I'm using wanderlust, will the resultant message still be properly formatted? This depends *entirely on recipients environment*. May be, may be not. Maybe the parts are displayed, maybe they are not:

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

2010-04-09 Thread Eric Schulte
David Maus dm...@ictsoc.de writes: Matt Price wrote: Just quickly -- so if I'm using wanderlust, will the resultant message still be properly formatted? I think the question was if wanderlust mime encoding works correctly. I believe the answer here is yes, but I do not have a wanderlust