Can anyone help me understand why point seems to not be being updated?
(defun mpvmacs--socket-filter (proc msg)
(when (buffer-live-p (process-buffer proc))
(with-current-buffer (process-buffer proc)
(save-excursion
;; Insert the text, advancing the process marker.
(goto-char (process-mark proc))
(insert msg)
(set-marker (process-mark proc) (point)))
(while (ignore-errors (mpvmacs--parse-json (json-read)) t))
(goto-char (process-mark proc)))))
Both
json-read and goto-char should be changing point but every time the function is called it parses the whole buffer.https://redd.it/1x6dau0
@r_emacs