 (defvar live-py-dir nil)
 (defvar live-py-path nil)
 (defvar live-py-version nil)
+(defvar live-py-lighter-delaying nil
+  "Lighter during the plugin state \"delaying\".
+For understanding purposes this can be set to for example \" Live-D\"
+when the other `live-py-lighter-*' are adapted too.")
+(defvar live-py-lighter-tracing nil
+  "Lighter during the plugin state \"tracing\".
+For understanding purposes this can be set to for example \" Live-T\".
+when the other `live-py-lighter-*' are adapted too.")
+(defvar live-py-lighter-ready " Live"
+  "Lighter during the plugin state \"trace ready\".
+For understanding purposes this can be set to for example \" Live-t\".
+when the other `live-py-lighter-*' are adapted too.")
+(defvar live-py-lighter-fail " Live-FAIL"
+  "Lighter during the plugin state \"failed\".")
 
 ;; Internal variables.
 (defvar live-py-output-window nil)

                       t))))

  (unless (string-prefix-p live-py-dir buffer-file-name)
    (user-error "Working directory %s must be a parent of %s."
		live-py-dir
		buffer-file-name))
  (setq-local live-py-module (file-name-base buffer-file-name))

                                          (1+ (buffer-size))
                                          command-line
                                          live-py-trace-buffer))
           live-py-lighter-ready
         live-py-lighter-fail))
      (force-mode-line-update)
      (redisplay))
    (with-current-buffer live-py-trace-buffer
      (setq-local buffer-read-only 1)
      (unless reused-buffer (toggle-truncate-lines 1)))
