org-ehtml icon indicating copy to clipboard operation
org-ehtml copied to clipboard

test-org-ehtml doesn't exist

Open edrex opened this issue 10 years ago • 1 comments

ELISP> (require 'test-org-ehtml)
*** Eval error ***  Cannot open load file: no such file or directory, test-org-ehtml

Do I need to have some testing stuff installed to do this? (Emacs newb)

edrex avatar Oct 14 '15 19:10 edrex

It's in test/lisp, which needs to be on your load-path. I presume the Makefile takes care of that.

You can give it a "manual" whirl like this:

mkdir whatever
cd whatever
touch init.el
mkdir vendor
git clone https://github.com/eschulte/emacs-web-server vendor/emacs-web-server
git clone https://github.com/eschulte/emacs-web-server vendor/org-ehtml

Put this in init.el:

(add-to-list (quote load-path) (expand-file-name "vendor/org-ehtml/src"
                                                 (file-name-directory load-file-name)))
(add-to-list (quote load-path) (expand-file-name "vendor/emacs-web-server"
                                                 (file-name-directory load-file-name)))

(add-to-list (quote load-path) (expand-file-name "vendor/org-ehtml/test/lisp"
                                                 (file-name-directory load-file-name)))

(require 'test-org-ehtml)
(ert "org-ehtml")

Then run this:

emacs -Q --batch -l init.el

mkaito avatar Nov 22 '15 17:11 mkaito