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

kotct/load-corresponding fails when file requires something #83

Open
rye opened this issue Aug 9, 2017 · 1 comment
Open

kotct/load-corresponding fails when file requires something #83

rye opened this issue Aug 9, 2017 · 1 comment

Comments

@rye
Copy link
Member

rye commented Aug 9, 2017

I think the ability to write easy tests is important.

lisp/code/languages/sh.el requires indentation, because it uses some features from lisp/code/indentation.el. However, when the tests were run in a sterile environment, (i.e. presumably with a bad load-path) there were problems.

So kotct/load-corresponding calls kotct/quietly-load-file and loads the file directly. It's just a matter of features being unable to be loaded. Can we set load-path somehow so that it covers all possible things that our tests can require?

@cg505
Copy link
Contributor

cg505 commented Jul 7, 2018

This and a couple other things make me think that it would be good to break out some of the logic in init.el out into init-lib.el (like the old kotct.emacs). That way we can do some stuff without loading the whole config.

@rye rye modified the milestones: Version 0.2.0, Version 0.3.0 Jul 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants