Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpt-rewrite with inline-diff: cannot enter interactive mode #633

Open
1 task done
mfasold opened this issue Feb 11, 2025 · 0 comments
Open
1 task done

gpt-rewrite with inline-diff: cannot enter interactive mode #633

mfasold opened this issue Feb 11, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@mfasold
Copy link

mfasold commented Feb 11, 2025

Please update gptel first -- errors are often fixed by the time they're reported.

  • I have updated gptel to the latest commit and tested that the issue still exists

Bug Description

I would like to try the new inline-diff feature of gpt-rewrite. But I cannot enter the interactive mode.

Backend

None

Steps to Reproduce

  1. Open a buffer and enter a text like "Lorem ipsumom dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam asvoluptua."
  2. Mark the region and run gptel-rewrite
  3. d - set the instruction to "Proofread:"
  4. r - rewrite. Not the text is replaced
  5. Now run gptel--rewrite-inline-diff (I have to do this because if I press RET, the option inline-diff is not shown in the action menu)

Image

  1. The diff is displayed correctly, but there is no interactive accept/reject.

Additional Context

Emacs Version: 29.4 on ARM Mac

I used the exact snippet as in Rewrite-Addons

Backtrace

Log Information

@mfasold mfasold added the bug Something isn't working label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant