federicotdn / verb

Organize and send HTTP requests from Emacs
https://melpa.org/#/verb
GNU General Public License v3.0
540 stars 20 forks source link

http response buffer switching place with another buffer. #49

Closed nicodebo closed 1 year ago

nicodebo commented 2 years ago

Hello, Suppose I have 3 windows:

After executing a new request with C-c C-r C-r, the docker logs and http response buffer switch place and so on. Is it possible to make the http response stay on the same window ?

federicotdn commented 1 year ago

At the moment this is not possible, since Verb kills the buffer for old responses and then creates a new one. This could be maybe fixed with a PR that adds logic for re-using old buffers (they would need to be cleaned up properly) - this would avoid messing with the window configuration.

Alternatively we could record which window is displaying the last response buffer created, set it to display the new one and then delete the old one.

federicotdn commented 1 year ago

Closing due to inactivity, feel free to re-open with ideas if you want.