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

Calling Coq from within insert mode is slow #6

Open
tchajed opened this issue Aug 4, 2016 · 1 comment
Open

Calling Coq from within insert mode is slow #6

tchajed opened this issue Aug 4, 2016 · 1 comment

Comments

@tchajed
Copy link
Contributor

tchajed commented Aug 4, 2016

There's a performance problem with triggering any prover interaction (most obviously next/previous/go to) from within insert mode. It manifests itself with these operations being much slower in insert mode than in normal mode. This is arguably a performance bug in evil (see issue #696 for the details), where the cursor color is changed too frequently when Proof General makes a bunch of set-window calls to check window properties and re-layout.

I run into this particularly often since I use F2/F3/F4 in insert mode to navigate the proof (see the customized branch of my fork), though anybody using Proof General's C-c C-n/C-c C-u/C-c C-RET bindings in insert mode will run into the same issue. I have a workaround there where I just make the insert and normal mode colors the same.

@olivierverdier
Copy link
Owner

very nice! perhaps a candidate for a pull request?

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

No branches or pull requests

2 participants