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

Make SWI work on Windows again. #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chansey97
Copy link

Detail see #7

1. In some.pl buffer, `M-x ediprolog-dwim` blocks Emacs, and *ediprolog-history* prints `No prompt found.
This patch fixed this issue by setting process-environment explicitly. See https://github.com/SWI-Prolog/swipl/blob/d715454d15f6a24c0ffddf6fc157a82ac5be9383/src/pl-init.c#L432

2. In some.pl buffer, placing cursor at `?- member(X, [a,b,c]).` and `M-x ediprolog-dwim`, ediprolog can return the first solution, but when press `;` the Emacs blocks again.
This because the `ediprolog-send-string need ";\n" instead of just ";".

3. Missing ";" in the original buffer for each solution.
So add `ediprolog-insert-at-marker`.
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 this pull request may close these issues.

1 participant