unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs, Org Mode, and Exporting to The Command Line Troubles
@ 2010-10-01  7:49 Colin Grey
  2010-10-01 17:25 ` Erik Iverson
  2010-10-01 18:57 ` Stefan Vollmar
  0 siblings, 2 replies; 4+ messages in thread
From: Colin Grey @ 2010-10-01  7:49 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 837 bytes --]

Hello,

I'm trying to write a shell script that will automatically change a bunch of
my org-mode files into HTML files.  But am running into some problems.  The
structure, as best I understand it, should like something like this:

emacs -batch -eval '(progn (find-file "test.org.txt") (org-export-as-html
"test.html"))'

However, when I run that, it gives the output:

Loading 00fink-vars...
Exporting...
Exporting...
Exporting...
Wrong type argument: stringp, nil


Oddly, I've noticed that if I don't use my custom extension (.org.txt) but
just use .org like so:

emacs -batch -eval '(progn (find-file "test.org") (org-export-as-html
"test.html"))'

It will run, but will always spit out a blank HTML file, no matter the
contents of test.org

Thank you in advance for any help,

Colin Grey

www.CGPGrey.com
www.ProductivePorcupine.com

[-- Attachment #2: Type: text/html, Size: 1211 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-01 19:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01  7:49 Emacs, Org Mode, and Exporting to The Command Line Troubles Colin Grey
2010-10-01 17:25 ` Erik Iverson
2010-10-01 19:01   ` Erik Iverson
2010-10-01 18:57 ` Stefan Vollmar

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).