kaz-yos / eval-in-repl

Consistent ESS-like eval interface for various REPLs
174 stars 27 forks source link

Prevent dynamic changing of vterm buffer name #50

Closed wentasah closed 1 year ago

wentasah commented 2 years ago

When an user customizes vterm-buffer-name-string to be non-nil, vterm buffer names can change dynamically, depending, for example, on the working directory of the shell. This causes problems in eval-in-repl, which assumes that the buffer names does not change and is always equal to eir-shell-buffer-name. Specifically, each call to eir-eval-in-shell causes a new buffer to be created.

This change prevents the dynamic name changes for vterm buffers created by eval-in-repl.