Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test-org-ehtml doesn't exist #24

Open
edrex opened this issue Oct 14, 2015 · 1 comment
Open

test-org-ehtml doesn't exist #24

edrex opened this issue Oct 14, 2015 · 1 comment

Comments

@edrex
Copy link

edrex commented Oct 14, 2015

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)

@mkaito
Copy link

mkaito commented Nov 22, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants