0

I wrote some days ago about a problem with imported_procedures and I was thinking turning off autoloading of libraries. So I used the command :- set_prolog_flag(autoload, false). and now I receive this error:

Unhandled exception: pce(object) `@prolog_warnings/emacs_hit_list' does not exist

I don't even know what this error is: I tried to search online emacs_hit_list for an answer but I didn't find anything. What should I do?

In case you're wondering what I'm using: I'm using SWI-Prolog 8.2.1. The code that generates the error is this:

vertices(G, Vs) :-
   findall(V, vertex(G, V), Vs).

Thanks in advance!

false
  • 10,264
  • 13
  • 101
  • 209
  • PCE is the interface of object-oriented systems of SWI-Prolog, see [An Architecture for Making Object-Oriented Systems Available from Prolog](https://arxiv.org/abs/cs/0207053), 2002. `@prolog_warnings` seems to be the reference to the window to display errors and warnings. I'm not completely sure what's going but this error message comes from the interface to the windowing system, not your code. You are probably using the built-in editor started by predicate `emacs/0`? – David Tonhofer Sep 15 '20 at 17:59
  • Yup, I'm using emacs for writing in Prolog. So there's no way to fix it? – Emanuele Papa Sep 15 '20 at 18:34
  • I don't know. This is question about interna. Maybe try in on the SWI-Prolog mailing list: https://swi-prolog.discourse.group/ – David Tonhofer Sep 15 '20 at 19:05
  • This is cross posted at [SWI-Prolog Forum](https://swi-prolog.discourse.group/t/prolog-error-unhandled-exception-pce-object-prolog-warnings-emacs-hit-list-does-not-exist/2934t) – Guy Coder Sep 16 '20 at 07:58

0 Answers0