chep / copilot-chat.el

Chat with Github copilot in Emacs !
MIT License
111 stars 15 forks source link

Can't clear list of buffers in `copilot-chat-list` #41

Open Lyonsclay opened 1 week ago

Lyonsclay commented 1 week ago

I can't clear the list of buffers in the copilot-chat-list.

I've tried copilot-chat-reset and copilot-chat-list-clear-buffers, but the list of all the buffers I have visited remains.

I think I found a work around at some point, but can't remember if I deleted a cache file or what I did. Now that I am I looking for it I can't seem to find where the cache for the list is.

I am using Doom emacs in evil mode so this might be an issue particular to my setup.

chep commented 1 week ago

I can't reproduce it. When I call copilot-chat-list-clear-buffers it clears the list. Can you give me a recipe to reproduce it ?

Lyonsclay commented 1 week ago

Ok it seems that after I invalidated the projectile cache it did clear.

Lyonsclay commented 1 week ago

No I guess that wasn't it, I had to quit emacs without saving.

chep commented 3 days ago

Do you still have the bug ?

Lyonsclay commented 3 days ago

Yes, I'm on Version: 1.2.0 Where does copilot-chat store the list of buffers?

chep commented 2 days ago

It is the last element of copilot-chat--instance.