I'd like to use the PceEmacs editor but whenever I use the command emacs., I'm met with the error code
ERROR: Undefined procedure: emacs/0 (DWIM could not correct goal). The normal built in commands seem to work as normal so I don't know if I'm just using the emacs command wrong.
Launching PceEmacs through SWI-Prolog command line
527 Views Asked by Nathanael Payen At
2
There are 2 best solutions below
0
On
I ran into this same problem and found that the issue was that I had not built SWI-Prolog with support for library(pce).
It turns out that I was missing a lot of libraries. You can check which ones you are missing by running check_installation. from swipl.
Unfortunately I know nothing about Mac OS but the solution that worked for me with Linux was to go through the lists (below) of packages required for a complete install and make sure each one is installed. After you know each one is installed go ahead and rebuild SWI-Prolog.
You have probably not installed everything. You need to tell us what operating system you are using, how you installed SWI-Prolog, and stuff like that.
For example, in an installation without PCE, you won't have PceEmacs. On a machine on which I purposefully don't have PCE, I see the exact same thing as you do:
This is because I have, in my build script: