emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: compose and send html email using orgmode
Date: Tue, 15 Jan 2008 13:36:49 -0800	[thread overview]
Message-ID: <18317.10097.604805.830153@gargle.gargle.HOWL> (raw)
In-Reply-To: <85FF7E95-A50E-4DFC-8A1A-AE512F39B31C@gmail.com>

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

  reply	other threads:[~2008-01-15 21:36 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 [this message]
2008-01-16  8:06     ` Carsten Dominik

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18317.10097.604805.830153@gargle.gargle.HOWL \
    --to=schulte.eric@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).