Matthieu Moy <[EMAIL PROTECTED]> writes: > Mark Triggs <[EMAIL PROTECTED]> writes:
[...] >> accidentally killed a process buffer, and now running commands gives: >> >> Debugger entered--Lisp error: (error "Selecting deleted buffer") >> pop-to-buffer(#<killed buffer>) > > Hmm, I suppose you're trying to run a command which hasn't been > migrated to the new process/buffer management system > (tla--run-tla-...), because with the new one, a new process buffer is > created for each new process, so, you should get this error only once. > (In the process sentinel of the buffer that was running in this > buffer). Yeah, I think I was running tla-update (although I've converted this command and a few others in my most recent patch). > Anyway: > >> Could we change forms like the above into something like >> (tla--show-last-process-buffer) and have that function check whether the >> buffer is alive beforehand? > > Yes Cool. I'll add this to xtla-core.el and change over things to use it instead. (I'll also make sure it uses tla-switch-to-buffer instead of pop-to-buffer). >> I notice we've got a `tla-show-process-buffer' already... maybe it >> was intended for this sort of thing? > > This is the equivalent for the old process managment system. It will > be removed when we'll have completed the migration. Thanks, I thought that might be the case. Mark -- Mark Triggs <[EMAIL PROTECTED]>
