Integrated repository, worktree, git stacker, and project manager
0

Configure Feed

Select the types of activity you want to include in your feed.

pm-process.el: hide the stderr buffer

Renamed the per-verb stderr buffer from `*pm: <verb>*` to
` *pm-err: <verb>*` so it stays out of the buffer list. Emacs's
implicit stderr-pipe sentinel writes a "Process … stderr finished"
line on every successful exit; surfacing that buffer to the user
created startup noise (e.g. `pm-refresh` on `after-init-hook`).

`pm--surface-error` still reads the same buffer for `display-warning`
text on non-zero exits — only the visibility changed.

Jordan Isaacs (May 5, 2026, 7:04 PM UTC) 16b14265 3b6d5e4b

+7 -3
+2 -1
integrations/emacs/README.md
··· 113 113 worktree prompt. 114 114 115 115 Every `pm` invocation is async; non-zero exits surface via 116 - `display-warning` and a kept `*pm: <verb>*` buffer for inspection. 116 + `display-warning` and a kept ` *pm-err: <verb>*` buffer (hidden from 117 + `list-buffers` by its leading space; reachable via `M-x switch-to-buffer`). 117 118 118 119 ### Buffers 119 120
+5 -2
integrations/emacs/pm-process.el
··· 40 40 (get-buffer-create (format " *pm-out: %s*" verb))) 41 41 42 42 (defun pm--err-buffer (verb) 43 - "Return (or create) the stderr buffer for VERB." 44 - (get-buffer-create (format "*pm: %s*" verb))) 43 + "Return (or create) the stderr buffer for VERB. 44 + The leading space hides the buffer from `list-buffers'; Emacs writes 45 + a `Process … stderr finished' trailer on exit even when no stderr 46 + was emitted, and there is no need to expose that to the user." 47 + (get-buffer-create (format " *pm-err: %s*" verb))) 45 48 46 49 (defun pm--surface-error (verb err-buf exit-code) 47 50 "Surface a non-zero pm result for VERB from ERR-BUF with EXIT-CODE."