You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enabling explain-pause-mode causes committing via magit/with-editor over TRAMP to stop working (Root cause: with-editor checks for itself with process-filter, which fails because we wrapped it) #46
To commit, switch to the "magit: tmp-git" buffer, and hit "c c"
Expected
magit's mode for writing commit message is displayed.
Actual
magit's mode for writing commit message is not displayed. The current buffer is still "magit: tmp-git". There is a buffer named "magit-process: git-tmp" which is typically read by with-editor's process filter (which doesn't get executed, when explain-pause-mode is enabled).
Some diagnosis
If I don't execute explain-pause-mode, then I get the expected behaviour.
Attempt at figuring root cause
Using edebug-defun I set edebug to trace calls to explain--wrap-set-process-filter-callback and with-editor-process-filter .
When explain-pause-mode is enabled, I observe only is executed explain--wrap-set-process-filter-callback (notably, with-editor-process-filter is not executed). I expect with-editor-process-filter to also execute, however.
When explain-pause-mode is disabled, I observe with-editor-process-filter is executed, as expected.