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

M-x psci errors if there is no .psci file. #3

Closed
sellout opened this issue Jan 13, 2015 · 1 comment · Fixed by #5
Closed

M-x psci errors if there is no .psci file. #3

sellout opened this issue Jan 13, 2015 · 1 comment · Fixed by #5

Comments

@sellout
Copy link

sellout commented Jan 13, 2015

In a PureScript buffer, I run M-x psci and an empty “psci” buffer opens. Then the entry “psci/--project-root!: Wrong type argument: stringp, nil” is added to “Messages”. debug-on-error is enabled, but I don’t end up in the debugger for some reason.

It looks like psci/--project-root! doesn’t try to do anything (even report a better error, like “need a .psci file”) if locate-dominating-file returns nil.

@ardumont
Copy link
Collaborator

Yes, it's a dummy wrapper.
Will look into it.

Thanks for the reminder.

On Tue, 13 Jan 2015 17:39 Greg Pfeil [email protected] wrote:

In a PureScript buffer, I run M-x psci and an empty “psci” buffer
opens. Then the entry “psci/--project-root!: Wrong type argument: stringp,
nil” is added to “Messages”. debug-on-error is enabled, but I don’t end
up in the debugger for some reason.

It looks like psci/--project-root! doesn’t try to do anything (even
report a better error, like “need a .psci file”) if locate-dominating-file
returns nil.


Reply to this email directly or view it on GitHub
#3.

@ardumont ardumont mentioned this issue Jan 14, 2015
Merged
5 tasks
@karljs karljs mentioned this issue Oct 10, 2017
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

Successfully merging a pull request may close this issue.

2 participants