Function: dbus-monitor
dbus-monitor is an autoloaded, interactive and byte-compiled function
defined in dbus.el.gz.
Signature
(dbus-monitor &optional BUS)
Documentation
Invoke dbus-register-monitor interactively, and switch to the buffer.
BUS is either a Lisp keyword, :system or :session, or a string denoting the bus address. The value nil defaults to :session.
Probably introduced at or before Emacs version 28.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/dbus.el.gz
;;;###autoload
(defun dbus-monitor (&optional bus)
"Invoke `dbus-register-monitor' interactively, and switch to the buffer.
BUS is either a Lisp keyword, `:system' or `:session', or a
string denoting the bus address. The value nil defaults to `:session'."
(interactive
(list
(let ((input
(completing-read
(format-prompt "Enter bus symbol or name" :session)
'(:system :session) nil nil nil nil :session)))
(if (and (stringp input)
(string-match-p "^\\(:session\\|:system\\)$" input))
(intern input) input))))
(dbus-register-monitor (or bus :session))
(switch-to-buffer (get-buffer-create "*D-Bus Monitor*")))