From: Carsten Dominik <carsten.dominik@gmail.com>
To: schulte.eric@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: compose and send html email using orgmode
Date: Wed, 16 Jan 2008 09:06:35 +0100 [thread overview]
Message-ID: <071BE239-1EAB-4F8C-B66F-7AA08655FA95@gmail.com> (raw)
In-Reply-To: <18317.10097.604805.830153@gargle.gargle.HOWL>
>
> 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
prev parent reply other threads:[~2008-01-16 8:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-11 19:44 compose and send html email using orgmode Eric Schulte
2008-01-15 11:13 ` Carsten Dominik
2008-01-15 21:36 ` Eric Schulte
2008-01-16 8:06 ` Carsten Dominik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=071BE239-1EAB-4F8C-B66F-7AA08655FA95@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.