[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Updating Worg: call to Worg authors
From: |
Jay Kerns |
Subject: |
Re: [O] Updating Worg: call to Worg authors |
Date: |
Thu, 25 Apr 2013 19:18:44 -0400 |
Greetings,
First: thanks to Nicholas Goaziou and Thorsten Jolitz. There is
a bunch of work already completed - indeed, out of the 83
currently existing headlines, 63 are marked DONE.
But there is a lot of updating that remains. And the longer the
process continues, the further the two branches will diverge so all
the more difficult the eventual merge of the two branches will be.
Moving forward, I would like to start marking *.org files DONE if they
export cleanly on my machine with no change. To this end, it occurred
to me that just because a file exports cleanly on *my* machine doesn't
necessarily mean that it would be OK on Worg. (This occurred to me
when I noticed Babel code evaluating during export, something not
permitted on Worg).
For testing purposes, we should be using a minimal config, consistent
with the one on Worg, right? This let me to here:
http://orgmode.org/worg/sources/emacs.el
Though that one, of course, has a bunch of extra stuff which isn't
relevant for the time being (publishing, etc.). In addition, that one
is not necessarily compatible with Org 8.0 and the new exporter.
I've made a first stab at a minimal init file, copy-pasted below. I've
also put a soft copy called
worgtest-init.el
which lives right beside worgmap.org in the top-level of the
worg-new-exporter branch. It would seem that the new asynchronous
export would make it relatively easy to test files uniformly and
minimally for Org 8.0 by doing something like
$ emacs -Q -l "~/git/worg/worgtest-init.el"
and testing from there.
Here are my questions:
1. Is this overkill?
2. Is there something extra/missing in worgtest-init.el?
3. Anything I should be asking but amn't?
--
Jay
#+BEGIN_SRC emacs-lisp
(custom-set-variables
'(org-modules (quote (org-jsinfo)))
'(safe-local-variable-values
(quote ((org-tags-column . -80)
(org-export-html-style . "<link rel=\"stylesheet\"
type=\"text/css\" href=\"stylesheet.css\" />")
(org-export-html-style-extra . "<link rel=stylesheet
href=\"org-faq.css\" type=\"text/css\"> <style type=\"text/css\">
</style>")
(org-export-html-style . "<link rel=stylesheet
href=\"freeshell2.css\" type=\"text/css\"> <style type=\"text/css\">
.tag { color: red; font-weight:bold}</style>")))))
(add-to-list 'load-path "~/git/org-mode/lisp/")
(add-to-list 'load-path "~/git/org-mode/contrib/lisp/")
(show-paren-mode 1)
(menu-bar-mode 0)
(require 'org)
(require 'htmlize)
(setq org-export-in-background t)
(setq org-export-async-init-file "~/git/worg/worgtest-init.el")
(setq org-export-async-debug t)
(setq org-export-default-language "en"
org-export-html-extension "html"
org-export-with-timestamps nil
org-export-with-section-numbers nil
org-export-with-tags 'not-in-toc
org-export-skip-text-before-1st-heading nil
org-export-with-sub-superscripts '{}
org-export-with-LaTeX-fragments t
org-export-with-archived-trees nil
org-export-highlight-first-table-line t
org-export-html-style-include-default nil
org-export-htmlize-output-type 'css
org-startup-folded nil
org-export-allow-BIND t
org-export-babel-evaluate nil
org-confirm-babel-evaluate nil)
#+END_SRC