emacs-ediprolog 1.2 Emacs Does Interactive Prolog
This package provides a major mode that let the user interact with SWI-Prolog in all buffers. For instance, one can consult Prolog programs and evaluate embedded queries. This mode is focused on the command
ediprolog-dwim (Do What I Mean) which is supposed to, depending on the context, carry out the appropriate action.