-
Notifications
You must be signed in to change notification settings - Fork 30
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
How do I disable the scrolling in buffer, when typing something to complete? #32
Comments
Ah, thanks, I understand now. The trick is that in #8 I saved the position of the goals buffer, but not the response buffer. Let me have a look. |
Should fix #32. Needs a bit more testing, though, as window positions were only saved in very few places before.
Should be fixed on the |
Yes, I'm very glad to ~ 2015-12-22 23:40 GMT+08:00 Clément Pit--Claudel notifications@github.com:
|
But I'm curious that may this intelligent scrolling in buffer become a 2015-12-23 8:54 GMT+08:00 Zhaohui Li lizhaohui1991@gmail.com:
|
Do you see any case where preventing the buffer from randomly scrolling wouldn't be the desired behaviour? If so, we can make it an option. |
I have test the feature. 2015-12-23 15:23 GMT+08:00 Clément Pit--Claudel notifications@github.com:
|
Yes, unfortunately. There's no better way to prevent the flickering from company-coq (I'll add a patch to Proof General soon, and then things should be better). |
It's sounds very cool to fix Proof General directly ~ |
See cpitclaudel/company-coq#8 and cpitclaudel/company-coq#32 for some background info.
See cpitclaudel/company-coq#8 and cpitclaudel/company-coq#32 for some background info.
This should be fixed in the https://github.com/ProofGeneral/PG/tree/fix-scrolling-buffers branch of PG. Maybe you could try it? |
This is another instance of #32 (see also comment in source)
Sorry for delay respons... 2016-01-01 0:55 GMT+08:00 Clément Pit--Claudel notifications@github.com:
|
Great! I merged the branch, too, so the fix should be available to everyone :) |
Thanks for your help! |
Sorry, I read your responds late in Issue #8 .
When using auto-complete-context and auto-complete-search-results,
the scrolling in buffer
*goals*
or*response*
is somewhat annoying.I already read some code in company-coq.el, and guess the problem may
in the function
company-coq-search-then-scroll-up
.Your code is beautiful ~
I read the detail in Issue #8 , and reinstalled company-coq and PG, but problem
not disappeared.
Detailed situation:
For example, when I open an empty ".v" file, and type
SearchAbout "_"
,then there's a list lemmas in
*response*
buffer.I find the lemma
True_rect
in line 81 is what I need.Then, naturally, I keep typing "apply True_rect" while staring at
*response*
.To my annoy, as I'm just typing "apply True" and the company menu is appearing,
*response*
buffer automatically scrolls to the beginning of the buffer, and I losemy focus. ( In my window, I need to use several PageDown jumping to line 81 from line 1)
Version information:
Emacs: 24.3
company-coq: 20150718 from melpa
PG: latest from github
Thank for your help~
The text was updated successfully, but these errors were encountered: