It looks like a recent change in helm to make the helm buffer read-only broke helm-do-ag somewhat in emacs.
See: emacs-helm/helm#2755
Calling helm-do-ag and inputting text causes slowdown and many repeated errors:
helm-ag--propertize-candidates: Buffer is read-only: #<buffer *helm-ag*>
As a workaround I have added the following to my .spacemacs, and am including it here in case it helps anyone else. Note that this snippet was generated by an LLM:
;; Workaround for helm-ag propertizing a read-only Helm buffer.
(with-eval-after-load 'helm-ag
(defun dotfiles/helm-ag--do-ag-propertize-inhibit-read-only (orig-fun input)
(let ((inhibit-read-only t))
(funcall orig-fun input)))
(unless (advice-member-p #'dotfiles/helm-ag--do-ag-propertize-inhibit-read-only
'helm-ag--do-ag-propertize)
(advice-add 'helm-ag--do-ag-propertize
:around #'dotfiles/helm-ag--do-ag-propertize-inhibit-read-only)))
Long-term I guess Spacemacs could use helm-do-grep-ag? I'm not incredibly familiar with Spacemacs internals though.
It looks like a recent change in helm to make the helm buffer read-only broke
helm-do-agsomewhat in emacs.See: emacs-helm/helm#2755
Calling
helm-do-agand inputting text causes slowdown and many repeated errors:helm-ag--propertize-candidates: Buffer is read-only: #<buffer *helm-ag*>As a workaround I have added the following to my .spacemacs, and am including it here in case it helps anyone else. Note that this snippet was generated by an LLM:
Long-term I guess Spacemacs could use
helm-do-grep-ag? I'm not incredibly familiar with Spacemacs internals though.