   (interactive)
   (setq live-py-version (expand-file-name
                          (read-shell-command "Type the python command:")))
-  (live-py-trace-update))
+  (live-py-update-all))
 
 (defun live-py-set-dir()
   "Prompt user to enter the working directory."

  (if live-py-update-all-delay
      (setq-local live-py-timer (run-at-time live-py-update-all-delay
                                             nil
                                             #'live-py-trace-update))
    (live-py-trace-update)))

(defun live-py-trace-update ()
  "Trace the Python code using code_tracer.py."
  ;; For when called from elsewhere than `live-py-after-change-function'.
  (when live-py-timer (cancel-timer live-py-timer))
  ;; For `live-py-lighter' in `live-py-after-change-function'.

    (with-current-buffer live-py-trace-buffer
      (setq-local buffer-read-only 1)
      (unless reused-buffer (toggle-truncate-lines 1)))
    (live-py-update-scroll
     (line-number-at-pos (window-start)) (line-number-at-pos))
    (setq-local live-py-timer nil)))

(defun live-py-update-scroll (window-start-line-nr point-line-nr)
  "Update window start and point of trace buffer to that of source buffer.

Pass the possibly reused (line-number-at-pos (window-start)) to
WINDOW-START-LINE-NR and (line-number-at-pos) to POINT-LINE-NR,
both are relative to (point-min). Numbering starts at 1 for all
*-LINE-NR in this function signature and body.

When the source buffer is narrowed the trace buffer remains
aligned but will not hide the part after the narrowing."
  (let ((point-min-pos (point-min))
        (point-min-line-nr 1))
