Skip to content

Coq: user keys of PG commands also in goals and response - #918

Merged
Matafou merged 1 commit into
ProofGeneral:masterfrom
Matafou:coq-output-user-keys
Nov 9, 2026
Merged

Matafou merged 1 commit into
ProofGeneral:masterfrom
Matafou:coq-output-user-keys

Conversation

@Matafou

@Matafou Matafou commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

The bindings that the user adds in coq-mode-map for the Proof General commands valid in every buffer (processing and retracting the script, interrupting, layout...) apply also in the goals and response buffers, like those of coq-all-buffers-commands. The list of these commands, proof-all-buffers-commands in pg-vars.el, is independent of the default keys of proof-universal-keys. coq-all-buffers-keymap takes the additional commands of the interaction backend; the Proof General one adds coq-toggle-highlight-hyp-at-point.

… response.

The bindings that the user adds in coq-mode-map for the Proof General
commands valid in every buffer (processing and retracting the script,
interrupting, layout...) apply also in the goals and response buffers,
like those of coq-all-buffers-commands.  The list of these commands,
proof-all-buffers-commands in pg-vars.el, is independent of the default
keys of proof-universal-keys.  coq-all-buffers-keymap takes the
additional commands of the interaction backend; the Proof General one
adds coq-toggle-highlight-hyp-at-point.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Matafou
Matafou merged commit 210c2c6 into ProofGeneral:master Nov 9, 2026
140 checks passed
@Matafou
Matafou deleted the coq-output-user-keys branch November 9, 2026 22:16
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.

1 participant