dvc-get-buffer will reuse a buffer, but only if it has not been renamed. So if I already have an xmtn-status buffer open with root c:/my_project, and I call (dvc-get-buffer 'status "c:/my_project"), I'll get that existing buffer.
However, if I start using uniquify, and open a second xmtn-status buffer on a different root, the first buffer will be renamed, and dvc-get-buffer will return a new buffer instead. Why does dvc-get-buffer care if the buffer has been renamed? Is there a use case for saving some buffer display by renaming? Could it be satisfied by copying the contents instead? Maybe I should add a user option to allow renamed buffers in dvc-get-buffer? -- -- Stephe _______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
