From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: compose and send html email using orgmode Date: Wed, 16 Jan 2008 09:06:35 +0100 Message-ID: <071BE239-1EAB-4F8C-B66F-7AA08655FA95@gmail.com> References: <18311.50982.47190.136076@erics-mac.local> <85FF7E95-A50E-4DFC-8A1A-AE512F39B31C@gmail.com> <18317.10097.604805.830153@gargle.gargle.HOWL> Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JF3IK-0001pa-6K for emacs-orgmode@gnu.org; Wed, 16 Jan 2008 03:06:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JF3II-0001nm-BU for emacs-orgmode@gnu.org; Wed, 16 Jan 2008 03:06:43 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JF3II-0001nj-7J for emacs-orgmode@gnu.org; Wed, 16 Jan 2008 03:06:42 -0500 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JF3IH-0000rU-Ku for emacs-orgmode@gnu.org; Wed, 16 Jan 2008 03:06:41 -0500 Received: from fg-out-1718.google.com ([72.14.220.153]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JF3IH-0003ig-1z for emacs-orgmode@gnu.org; Wed, 16 Jan 2008 03:06:41 -0500 Received: by fg-out-1718.google.com with SMTP id d23so189586fga.30 for ; Wed, 16 Jan 2008 00:06:39 -0800 (PST) In-Reply-To: <18317.10097.604805.830153@gargle.gargle.HOWL> 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: schulte.eric@gmail.com Cc: emacs-orgmode@gnu.org > > 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 Ah, of course, since this is not an org-mode buffer, all the local variables needed by org-mode functions are not initialized. You need to call the function like this: (org-run-like-in-org-mode 'org-export-region-as-html) - Carsten