Yea, that looks good to me. Is it necessary to set `comint-use-prompt-regexp` to `t`? The behaviour of `comint-previous/next-prompt` seems better when that is nil. Thanks! On Sun, Dec 3, 2023 at 8:30 PM john muhl wrote: > Noah Peart writes: > > > Tags: patch > > > > Bug: In `lua-ts-inferior-lua`, `comint-preoutput-filter-functions` hook > > isn't added locally. > > Thanks. I think that obsoletes the buffer-name check at the > beginning. A quick test looks that way to me. Could you give a try? > >