Enhance gptel
to allow selecting from list of existing gptel buffers, when called interactively
#310
Labels
enhancement
New feature or request
This is a feature suggestion.
I use gptel all the time so I often have a half dozen gptel buffers open at once. When I call
gptel
, and more than one gptel buffer exists, it switches to one based only onbackend-name
. I think it would be preferable if in that case it gave me a list of the existing gptel buffers so I could choose the one I want.I've hacked this up below, and it seems to work. However, I should admit that I don't have very expert knowledge of emacs so I'm not sure if this is the best way to do it.
In particular, I'm aware that when it comes to implementing selectable lists, some ways are better than others because they fit into intended extension points. I have no idea if I've used the right way. I probably haven't, so I'm sharing this code just to give an idea of the functionality I am proposing, rather than raising a PR.
The text was updated successfully, but these errors were encountered: