Skip to content

Conversation

ultronozm
Copy link
Contributor

Steps to reproduce: using gptel-rewrite with mark-even-if-inactive set
to nil (and tmm enabled) yields the error "The mark is not active now".

  • gptel-rewrite.el (gptel--suffix-rewrite): Postpone deactivate-mark
    to prevent "The mark is not active now" error when
    `mark-even-if-inactive' is nil.

* gptel-rewrite.el (gptel--suffix-rewrite): Postpone deactivate-mark
to prevent "The mark is not active now" error when
`mark-even-if-inactive' is nil.
@karthink karthink merged commit 43c42e2 into karthink:master Jan 25, 2025
@karthink
Copy link
Owner

@ultronozm Thanks for the PR!

karthink pushed a commit to pirminj/gptel that referenced this pull request Jan 27, 2025
gptel-rewrite.el (gptel--suffix-rewrite): Postpone deactivate-mark
to prevent "The mark is not active now" error when
`mark-even-if-inactive' is nil.
marcbowes pushed a commit to marcbowes/gptel that referenced this pull request Mar 19, 2025
gptel-rewrite.el (gptel--suffix-rewrite): Postpone deactivate-mark
to prevent "The mark is not active now" error when
`mark-even-if-inactive' is nil.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants