13 Examining Prolog Messages

Sweep redirects messages that the embedded Prolog runtime emits to a dedicated Emacs buffer. By default, the Sweep messages buffer is named *Sweep Messages*. To instruct Sweep to use another buffer name instead, customize the user option sweeprolog-messages-buffer-name to a suitable value.

The *Sweep Messages* buffer enables the minor mode compilation-minor-mode, which let’s you jump to source locations that appear in errors and warning by clicking on them.

Command: sweeprolog-view-messages

Display the Sweep messages buffer.

You can use the command M-x sweeprolog-view-messages RET to display the Sweep messages buffer. This command is bound to h e in sweeprolog-prefix-map (see Quick Access to Sweep Commands).