From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: compose and send html email using orgmode Date: Tue, 15 Jan 2008 13:36:49 -0800 Message-ID: <18317.10097.604805.830153@gargle.gargle.HOWL> References: <18311.50982.47190.136076@erics-mac.local> <85FF7E95-A50E-4DFC-8A1A-AE512F39B31C@gmail.com> Reply-To: schulte.eric@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JEtSa-00032x-Nl for emacs-orgmode@gnu.org; Tue, 15 Jan 2008 16:36:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JEtSY-00031b-Ue for emacs-orgmode@gnu.org; Tue, 15 Jan 2008 16:36:40 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEtSY-00031V-Cy for emacs-orgmode@gnu.org; Tue, 15 Jan 2008 16:36:38 -0500 Received: from smtp-bedford.mitre.org ([129.83.20.191]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JEtSY-0006zH-1l for emacs-orgmode@gnu.org; Tue, 15 Jan 2008 16:36:38 -0500 Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m0FLaaCl022554 for ; Tue, 15 Jan 2008 16:36:36 -0500 In-Reply-To: <85FF7E95-A50E-4DFC-8A1A-AE512F39B31C@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Hi, Carsten Thanks for looking into this. On Tuesday, January 15, at 12:13, Carsten Dominik wrote: > Hi Eric, > > this is a *very* interesting application. > > On Jan 11, 2008, at 8:44 PM, Eric Schulte wrote: > > > > Note: This is still very young, so here are some issues, and ideas for > > improvement that the list may be able to help with. :) > > > > 1. it seems that for the org-export-as-html command to work, the > > buffer must be associated with a file, this adds some complexity to > > the process, is it possible to export-as-html without associating > > the buffer with a path? > > You can use org-replace-region-by-html which will work in a buffer > without a file. Thanks, I will try that out, which should help to greatly trim down the amount/complexity of this code. > > > > 2. if org-export-as-html has not yet been called since turning emacs > > on, then the following error occurs in org-export-as-html > > ------*Messages*------- > > Exporting... [2 times] > > byte-code: Wrong type argument: stringp, nil > > ------*Messages*------- > > Hence they hacky turn-on-full-org-mailing function, and > > mail-turn-on-full-org-mailing-first-time variable > > Can you provide more details about how to produce this bug? yes, the simplest way to reproduce is... 1. completely turn off emacs 2. start up emacs 3. open a non-org-mode buffer (I began editing a file called "test") 4. start up orgstruct-mode 5. enter some text, select the text as a region, then call org-export-region-as-html this function should fail with something like this in your messages. Exporting... [2 times] Wrong type argument: stringp, nil I'm using GNU Emacs 22, with org-5.17a Hope this helps, Eric