From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zachary Young Subject: Export HTML from command line Date: Tue, 16 Mar 2010 12:47:53 -0700 Message-ID: <91dc62521003161247u204eb069sd4be923c9c8d62c9@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1447423205==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nrcos-0001eZ-Bc for emacs-orgmode@gnu.org; Tue, 16 Mar 2010 15:52:50 -0400 Received: from [140.186.70.92] (port=44947 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nrcoq-0001bO-TQ for emacs-orgmode@gnu.org; Tue, 16 Mar 2010 15:52:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nrcoo-0006jp-Tc for emacs-orgmode@gnu.org; Tue, 16 Mar 2010 15:52:48 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:64447) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nrcoo-0006jN-Lz for emacs-orgmode@gnu.org; Tue, 16 Mar 2010 15:52:46 -0400 Received: by pwi4 with SMTP id 4so374518pwi.0 for ; Tue, 16 Mar 2010 12:52:44 -0700 (PDT) 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: emacs-orgmode@gnu.org --===============1447423205== Content-Type: multipart/alternative; boundary=00504502e88523975b0481f04684 --00504502e88523975b0481f04684 Content-Type: text/plain; charset=UTF-8 Hi all, When I run `org-export-as-html' in a buffer, it works as I expect, but when I try to run it from an emacs batch command: emacs --batch --execute='(setq vc-follow-symlinks nil)' --visit= current-day.org --execute='(org-export-as-html-and-open nil)' anything between #+BEGIN_HTML: and #+END_HTML: are exported like the following:

#+BEGIN_HTML: <pre>Revision: 934 Message:

  1. Revved 'release-name' variable to '1.10'.

---- Modified : /trunk/scripts/AutoDoc/AutoDoc.build</pre> #+END_HTML:

and I am expecting:
Revision: 934
Message:
1) Revved 'release-name' variable to '1.10'.
----
Modified : /trunk/scripts/AutoDoc/AutoDoc.build
This is my first try at running emacs as a batch command, so I might be doing something wrong there. If more information is required, please let me know. Thank you, Zach --00504502e88523975b0481f04684 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all,

When I run `org-export-as-html' in a buffer,= it works as I expect, but when I try to run it from an emacs batch command= :

emacs --batch --execute=3D'(setq vc-follow-symlinks nil)' --vi= sit=3Dcurrent-day.org --execute=3D&#= 39;(org-export-as-html-and-open nil)'

=
anything between #+BEGIN_HTML: and #+END_HTML: are exported like the follow= ing:

<p>#= +BEGIN_HTML:
&lt;pre&gt;Revision: 934
Messa= ge:
</p><ol>=C2=A0
&l= t;li>=C2=A0
Revved 'release-name' variable = to '1.10'.
</li>=C2=A0
</ol>=C2=A0
=C2=A0
<p>----
Modified : /trunk/scripts/AutoDoc/AutoDoc.build&lt;/pre&gt;<= /div>
#+END_HTML:
</p>

<= /div>
and I am expecting:

<pre>Revision: 934
Message:
1) Revved &= #39;release-name' variable to '1.10'.
----
= Modified : /trunk/scripts/AutoDoc/AutoDoc.build</pre>

This is my first try at running emacs as a batch c= ommand, so I might be doing something wrong there.

If mo= re information is required, please let me know.

Thank you,
Zach
--00504502e88523975b0481f04684-- --===============1447423205== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1447423205==--