Sweep provides a convenient interface for listing the active Prolog top-levels and operating on them, called the Top-level Menu buffer. This buffer shows the list of active Sweep top-level buffers in a table that includes information and statistics for each top-level.
Display a list of running Prolog top-levels.
To open the Top-level Menu buffer, use the command M-x sweeprolog-list-top-levels RET. By default, the buffer is called *Sweep Top-levels*.
The Top-level Menu buffer uses a special major mode named
sweeprolog-top-level-menu-mode
. This mode provides several
commands that operate on the top-level corresponding to the table row
at point. The available commands are:
Open the specified top-level buffer (sweeprolog-top-level-menu-go-to
).
Kill the specified top-level buffer
(sweeprolog-top-level-menu-kill
).
Signal the specified top-level buffer
(sweeprolog-top-level-menu-signal
). See Sending signals to running top-levels.
Create a new top-level buffer (sweeprolog-top-level-menu-new
).
Update the Top-level Menu contents (revert-buffer
).