Closed karthink closed 9 months ago
@kofm Could you check a few things?
M-x find-library
transient
, look at the header of the file)emacs -q
or emacs --init-directory=/tmp/emacs-test
)I am also running into the same issue. Emacs built from source in last week (version reported as 30.0.50
). Transient version 0.5.3
(installed from melpa). I can repro with with emacs -q
as well. The system prompt for refactor, which makes you edit in the minibuffer seems to work fine though.
I can repro with with emacs -q as well.
Does it happen with Magit (or some other feature that depends on Transient) as well?
I updated the package (5470e06) to try to address this. Please give it a try (with emacs -q
) when you can.
Hey,
thanks for the time and effort to address this.
;; Package-Version: 0.5.3
However, the crowdsourced prompts menu still has the same problem I described.
Should be fully fixed now (6e604b2c). This fix introduced a side-effect: quitting the completing-read when selecting a crowdsourced prompt will quit the menu entirely. But I'm guessing this is a better alternative to the current behavior.
@karthink Upgraded to 20231226.2238, it works perfectly, thank you.
https://github.com/karthink/gptel/assets/1143191/9ba6f7d1-483b-41d2-88c2-9c15eeff00a7
@goofansu Thank you for testing! I'll close this now.
If anyone is still experiencing this issue, feel free to re-open.
Works perfectly. Thank you very much for your help and for creating this fantastic package.
Hello @karthink,
I'm sorry I don't have more detailed information, but I'm still experiencing the bug described in this issue, even after updating both
gptel
andtransient
to the latest commits from their main branches. Specifically, after pressingh
twice to edit the prompt, the cursor remains stuck in the menu, necessitating a manualC-g
command to exit. Post-exit, I can edit the prompt buffer and confirm withC-c
, and everything functions normally.Additionally, a similar issue occurs when selecting a crowdsourced prompt: after choosing one, the text loads into the prompt buffer for editing, but the focus remains on the menu. Again, I have to manually kill the transient menu to shift focus to the prompt buffer, edit the prompt, and save it with
C-c
to return to the main menu of gptel-menu.Please let me know if there's any more data I can provide to assist in diagnosing this issue.
Best regards.
Originally posted by @kofm in https://github.com/karthink/gptel/issues/140#issuecomment-1869638987