Skip to content

Instantly share code, notes, and snippets.

@QiangF
Created August 18, 2026 05:55
Show Gist options
  • Select an option

  • Save QiangF/748e71cf3761458333f3f6bac7fdb65f to your computer and use it in GitHub Desktop.

Select an option

Save QiangF/748e71cf3761458333f3f6bac7fdb65f to your computer and use it in GitHub Desktop.
Debugger entered--Lisp error: (args-out-of-range "] 0/0 " 0 -17)
(term-emulate-terminal #<process mistty tty *mistty*> "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m")
(progn (fset 'term--handle-colors-list vnew) (fset 'term-buffer-vertical-motion vnew) (mistty-log "RECV %S" str) (term-emulate-terminal proc str) (let ((buf (process-buffer proc))) (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (goto-char (process-mark proc)))))))
(unwind-protect (progn (fset 'term--handle-colors-list vnew) (fset 'term-buffer-vertical-motion vnew) (mistty-log "RECV %S" str) (term-emulate-terminal proc str) (let ((buf (process-buffer proc))) (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (goto-char (process-mark proc))))))) (fset 'term--handle-colors-list old) (fset 'term-buffer-vertical-motion old))
(let* ((vnew #'(lambda (count) (let ((start-point ...) (res ...)) (setq res (- count res)) (if (and ... ... ... ...) (progn ...)) res))) (vnew (let ((real-handle-colors-list (symbol-function 'term--handle-colors-list))) #'(lambda (parameters) (funcall real-handle-colors-list parameters) (setq term-current-face (mistty--clear-term-face-value term-current-face))))) (old (symbol-function 'term--handle-colors-list)) (old (symbol-function 'term-buffer-vertical-motion)) (inhibit-read-only t)) (unwind-protect (progn (fset 'term--handle-colors-list vnew) (fset 'term-buffer-vertical-motion vnew) (mistty-log "RECV %S" str) (term-emulate-terminal proc str) (let ((buf (process-buffer proc))) (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (goto-char ...)))))) (fset 'term--handle-colors-list old) (fset 'term-buffer-vertical-motion old)))
(mistty--emulate-terminal #<process mistty tty *mistty*> "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m")
(funcall mistty--emulate-terminal #<process mistty tty *mistty*> "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m")
(if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t))
(#f(lambda () [(data "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m") (proc #<process mistty tty *mistty*>) (needs-postprocessing nil) (dest mistty--emulate-terminal)] (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t))))
(funcall #f(lambda () [(data "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m") (proc #<process mistty tty *mistty*>) (needs-postprocessing nil) (dest mistty--emulate-terminal)] (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t))))
(progn (fset 'move-to-column vnew) (fset 'term-delete-chars vnew) (funcall func))
(unwind-protect (progn (fset 'move-to-column vnew) (fset 'term-delete-chars vnew) (funcall func)) (fset 'move-to-column old) (fset 'term-delete-chars old))
(let* ((vnew #'(lambda (count) (let ((save-point ...)) (move-to-column (+ ... count) t) (delete-region save-point (point))))) (vnew (let ((orig (symbol-function 'move-to-column))) #'(lambda (&rest args) (apply #'mistty--around-move-to-column orig args)))) (old (symbol-function 'move-to-column)) (old (symbol-function 'term-delete-chars)) (inhibit-modification-hooks nil)) (unwind-protect (progn (fset 'move-to-column vnew) (fset 'term-delete-chars vnew) (funcall func)) (fset 'move-to-column old) (fset 'term-delete-chars old)))
(#f(lambda (func) [t] (let* ((vnew #'(lambda (count) (let ... ... ...))) (vnew (let ((orig ...)) #'(lambda ... ...))) (old (symbol-function 'move-to-column)) (old (symbol-function 'term-delete-chars)) (inhibit-modification-hooks nil)) (unwind-protect (progn (fset 'move-to-column vnew) (fset 'term-delete-chars vnew) (funcall func)) (fset 'move-to-column old) (fset 'term-delete-chars old)))) #f(lambda () [(data "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m") (proc #<process mistty tty *mistty*>) (needs-postprocessing nil) (dest mistty--emulate-terminal)] (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t))))
(funcall #f(lambda (func) [t] (let* ((vnew #'(lambda (count) (let ... ... ...))) (vnew (let ((orig ...)) #'(lambda ... ...))) (old (symbol-function 'move-to-column)) (old (symbol-function 'term-delete-chars)) (inhibit-modification-hooks nil)) (unwind-protect (progn (fset 'move-to-column vnew) (fset 'term-delete-chars vnew) (funcall func)) (fset 'move-to-column old) (fset 'term-delete-chars old)))) #f(lambda () [(data "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m") (proc #<process mistty tty *mistty*>) (needs-postprocessing nil) (dest mistty--emulate-terminal)] (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t))))
(#f(lambda () [(f #f(lambda () [(data "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m") (proc #<process mistty tty *mistty*>) (needs-postprocessing nil) (dest mistty--emulate-terminal)] (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t)))) (wrapper #f(lambda (func) [t] (let* ((vnew ...) (vnew ...) (old ...) (old ...) (inhibit-modification-hooks nil)) (unwind-protect (progn ... ... ...) (fset ... old) (fset ... old)))))] (funcall wrapper f)))
(funcall #f(lambda () [(f #f(lambda () [(data "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m") (proc #<process mistty tty *mistty*>) (needs-postprocessing nil) (dest mistty--emulate-terminal)] (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t)))) (wrapper #f(lambda (func) [t] (let* ((vnew ...) (vnew ...) (old ...) (old ...) (inhibit-modification-hooks nil)) (unwind-protect (progn ... ... ...) (fset ... old) (fset ... old)))))] (funcall wrapper f)))
(#f(lambda (func) [(work-buffer #<buffer *scratch term*>)] (funcall func) (let ((buf work-buffer)) (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (mistty--needs-refresh)))))) #f(lambda () [(f #f(lambda () [(data "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m") (proc #<process mistty tty *mistty*>) (needs-postprocessing nil) (dest mistty--emulate-terminal)] (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t)))) (wrapper #f(lambda (func) [t] (let* ((vnew ...) (vnew ...) (old ...) (old ...) (inhibit-modification-hooks nil)) (unwind-protect (progn ... ... ...) (fset ... old) (fset ... old)))))] (funcall wrapper f)))
(funcall #f(lambda (func) [(work-buffer #<buffer *scratch term*>)] (funcall func) (let ((buf work-buffer)) (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (mistty--needs-refresh)))))) #f(lambda () [(f #f(lambda () [(data "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m") (proc #<process mistty tty *mistty*>) (needs-postprocessing nil) (dest mistty--emulate-terminal)] (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t)))) (wrapper #f(lambda (func) [t] (let* ((vnew ...) (vnew ...) (old ...) (old ...) (inhibit-modification-hooks nil)) (unwind-protect (progn ... ... ...) (fset ... old) (fset ... old)))))] (funcall wrapper f)))
(#f(lambda () [(f #f(lambda () [(f #f(lambda () ... ...)) (wrapper #f(lambda (func) ... ...))] (funcall wrapper f))) (wrapper #f(lambda (func) [(work-buffer #<buffer *scratch term*>)] (funcall func) (let ((buf work-buffer)) (if (buffer-live-p buf) (progn ...)))))] (funcall wrapper f)))
(funcall #f(lambda () [(f #f(lambda () [(f #f(lambda () ... ...)) (wrapper #f(lambda (func) ... ...))] (funcall wrapper f))) (wrapper #f(lambda (func) [(work-buffer #<buffer *scratch term*>)] (funcall func) (let ((buf work-buffer)) (if (buffer-live-p buf) (progn ...)))))] (funcall wrapper f)))
(let ((old-sync-position (let ((buf term-buffer)) (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (marker-position mistty-sync-marker))))))) (funcall func) (let ((buf term-buffer)) (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (if (/= mistty-sync-marker old-sync-position) (progn (mistty-log "Detected terminal change above sync mark, at scrolline %s" mistty--sync-marker-scrolline) (mistty--realign-buffers))))))))
(mistty--detect-write-before-sync-mark #f(lambda () [(f #f(lambda () [(f #f(lambda () ... ...)) (wrapper #f(lambda (func) ... ...))] (funcall wrapper f))) (wrapper #f(lambda (func) [(work-buffer #<buffer *scratch term*>)] (funcall func) (let ((buf work-buffer)) (if (buffer-live-p buf) (progn ...)))))] (funcall wrapper f)) #<buffer mistty tty *mistty*>)
(#f(lambda (func) [(term-buffer #<buffer mistty tty *mistty*>)] (mistty--detect-write-before-sync-mark func term-buffer)) #f(lambda () [(f #f(lambda () [(f #f(lambda () ... ...)) (wrapper #f(lambda (func) ... ...))] (funcall wrapper f))) (wrapper #f(lambda (func) [(work-buffer #<buffer *scratch term*>)] (funcall func) (let ((buf work-buffer)) (if (buffer-live-p buf) (progn ...)))))] (funcall wrapper f)))
(funcall #f(lambda (func) [(term-buffer #<buffer mistty tty *mistty*>)] (mistty--detect-write-before-sync-mark func term-buffer)) #f(lambda () [(f #f(lambda () [(f #f(lambda () ... ...)) (wrapper #f(lambda (func) ... ...))] (funcall wrapper f))) (wrapper #f(lambda (func) [(work-buffer #<buffer *scratch term*>)] (funcall func) (let ((buf work-buffer)) (if (buffer-live-p buf) (progn ...)))))] (funcall wrapper f)))
(#f(lambda () [(f #f(lambda () [(f #f(lambda () ... ...)) (wrapper #f(lambda (func) ... ... ...))] (funcall wrapper f))) (wrapper #f(lambda (func) [(term-buffer #<buffer mistty tty *mistty*>)] (mistty--detect-write-before-sync-mark func term-buffer)))] (funcall wrapper f)))
(funcall #f(lambda () [(f #f(lambda () [(f #f(lambda () ... ...)) (wrapper #f(lambda (func) ... ... ...))] (funcall wrapper f))) (wrapper #f(lambda (func) [(term-buffer #<buffer mistty tty *mistty*>)] (mistty--detect-write-before-sync-mark func term-buffer)))] (funcall wrapper f)))
(progn (let ((tail (reverse wrappers))) (while tail (let ((wrapper (car tail))) (setq func (let ((f func)) #'(lambda nil ...))) (setq tail (cdr tail))))) (funcall func))
(#f(lambda (wrappers func) [t] (progn (let ((tail (reverse wrappers))) (while tail (let ((wrapper ...)) (setq func (let ... ...)) (setq tail (cdr tail))))) (funcall func))) (#f(lambda (func) [(term-buffer #<buffer mistty tty *mistty*>)] (mistty--detect-write-before-sync-mark func term-buffer)) #f(lambda (func) [(work-buffer #<buffer *scratch term*>)] (funcall func) (let ((buf work-buffer)) (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (mistty--needs-refresh)))))) #f(lambda (func) [t] (let* ((vnew #'(lambda ... ...)) (vnew (let (...) #'...)) (old (symbol-function 'move-to-column)) (old (symbol-function 'term-delete-chars)) (inhibit-modification-hooks nil)) (unwind-protect (progn (fset 'move-to-column vnew) (fset 'term-delete-chars vnew) (funcall func)) (fset 'move-to-column old) (fset 'term-delete-chars old))))) #f(lambda () [(data "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m") (proc #<process mistty tty *mistty*>) (needs-postprocessing nil) (dest mistty--emulate-terminal)] (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t))))
(funcall #f(lambda (wrappers func) [t] (progn (let ((tail (reverse wrappers))) (while tail (let ((wrapper ...)) (setq func (let ... ...)) (setq tail (cdr tail))))) (funcall func))) (#f(lambda (func) [(term-buffer #<buffer mistty tty *mistty*>)] (mistty--detect-write-before-sync-mark func term-buffer)) #f(lambda (func) [(work-buffer #<buffer *scratch term*>)] (funcall func) (let ((buf work-buffer)) (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (mistty--needs-refresh)))))) #f(lambda (func) [t] (let* ((vnew #'(lambda ... ...)) (vnew (let (...) #'...)) (old (symbol-function 'move-to-column)) (old (symbol-function 'term-delete-chars)) (inhibit-modification-hooks nil)) (unwind-protect (progn (fset 'move-to-column vnew) (fset 'term-delete-chars vnew) (funcall func)) (fset 'move-to-column old) (fset 'term-delete-chars old))))) #f(lambda () [(data "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m") (proc #<process mistty tty *mistty*>) (needs-postprocessing nil) (dest mistty--emulate-terminal)] (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t))))
(let ((data (funcall --cl-fifo-to-string-- processed))) (funcall --cl-run-wrapped-- around-process-filter #'(lambda nil (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t)))))
(#f(lambda (proc) [(--cl-run-wrapped-- #f(lambda (wrappers func) [t] (progn (let (...) (while tail ...)) (funcall func)))) (--cl-fifo-to-string-- #f(lambda (fifo) [t] (let ((lst ...)) (let* (...) (cond ... ... ...))))) (needs-postprocessing nil) (processed #s(mistty--fifo :newest nil :oldest nil)) (around-process-filter (#f(lambda (func) [(term-buffer #<buffer mistty tty *mistty*>)] (mistty--detect-write-before-sync-mark func term-buffer)) #f(lambda (func) [(work-buffer #<buffer *scratch term*>)] (funcall func) (let (...) (if ... ...))) #f(lambda (func) [t] (let* (... ... ... ... ...) (unwind-protect ... ... ...))))) (dest mistty--emulate-terminal)] (let ((data (funcall --cl-fifo-to-string-- processed))) (funcall --cl-run-wrapped-- around-process-filter #'(lambda nil (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t)))))) #<process mistty tty *mistty*>)
(funcall #f(lambda (proc) [(--cl-run-wrapped-- #f(lambda (wrappers func) [t] (progn (let (...) (while tail ...)) (funcall func)))) (--cl-fifo-to-string-- #f(lambda (fifo) [t] (let ((lst ...)) (let* (...) (cond ... ... ...))))) (needs-postprocessing nil) (processed #s(mistty--fifo :newest nil :oldest nil)) (around-process-filter (#f(lambda (func) [(term-buffer #<buffer mistty tty *mistty*>)] (mistty--detect-write-before-sync-mark func term-buffer)) #f(lambda (func) [(work-buffer #<buffer *scratch term*>)] (funcall func) (let (...) (if ... ...))) #f(lambda (func) [t] (let* (... ... ... ... ...) (unwind-protect ... ... ...))))) (dest mistty--emulate-terminal)] (let ((data (funcall --cl-fifo-to-string-- processed))) (funcall --cl-run-wrapped-- around-process-filter #'(lambda nil (if (string-empty-p data) nil (funcall dest proc data) (setq needs-postprocessing t)))))) #<process mistty tty *mistty*>)
(progn (funcall --cl-process-data-- proc) (funcall --cl-flush-- proc) (funcall --cl-post-process-- proc))
(if (funcall --cl-toplevel-accumulator-p-- proc) (progn (funcall --cl-process-data-- proc) (funcall --cl-flush-- proc) (funcall --cl-post-process-- proc)))
(#[(proc data) ((if t nil reset-f add-processor-f add-post-processor-f add-around-f) (mistty--fifo-enqueue unprocessed data) (setq unprocessed-bytes (+ unprocessed-bytes (length data))) (if (funcall --cl-toplevel-accumulator-p-- proc) (progn (funcall --cl-process-data-- proc) (funcall --cl-flush-- proc) (funcall --cl-post-process-- proc)))) ((reset-f . #[nil (...) (... ... ... ...)]) (add-processor-f . #[(processor) (...) (... ...)]) (add-post-processor-f . #[(post-processor) (...) (...)]) (add-around-f . #[(func) (...) (...)]) (--cl-process-data-- . #[(proc) (...) (... ... ... ... ... ... ... ... ... ... ...)]) (--cl-toplevel-accumulator-p-- . #[(proc) (...) (... ...)]) (--cl-post-process-- . #[(proc) (...) (... ...)]) (--cl-flush-- . #[(proc) (...) (... ... ... ... ... ...)]) (unprocessed-bytes . 0) (unprocessed . #s(mistty--fifo nil nil))) nil mistty--accumulator] #<process mistty tty *mistty*> "\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/0 \33[2m \33[0m\15\33[2K\33[36m\342\240\201\33[0m updating lock file [00:00:00] [\33[38;5;11m\33[37m\33[2m\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\342\224\200\33[0m\33[0m] 0/7 \33[2m \33[0m")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment