If there is a way to customize status line in goals buffer? I really want it to show number of goals. I am using PG+CompanyCoq.
Hi. You should already see the number of goals in the modeline (of the buffer being scripted), but it is a bit raw: it show the number of goals currently under focus. It should be relatively simple to make this better when Set Printing Unfocused
is set, but it is not implemented yet.
Ah, I can see it now (after I disabled doom-modeline-mode
). Thanks! I was looking for it in the "goals" buffer. Any way to make it work with it or better yet to add the number of goals display via simple hook modifying mode line variable for goals buffer?
Sorry to come to this months after your question. This seems possible. Not sure we have much time for it. Of course if someone proposes a patch we would be glad to review and merge it.
Hi. I recently proposed a fix with a PR #755 that enables information visible in the goals buffer modeline (it also clears the goals buffer when skipping a proof) . As my first contribution to this project, I'd be glad to receive some pieces of advice on enhancement of the feature, or even some other issues I could work on. Thanks in advance !
Hi. Thanks for your PR. I just made a review.
What kind of other fix would you like to fix (we welcome that!).
Many thanks for your review ! I think I will browse issues on PG, but I wondered if you had fixes in mind that were "urgent" and that could save you some time of digging.
@Axel Daboust thanks for working on this! By the way, here is my workaround (adding the following hook in coq). (add-to-list 'global-mode-string '(" " (:eval (assq 'proof-active-buffer-fake-minor-mode minor-mode-alist))) " ")
I am not sure how you implemented it but you may find this helpful.
@Vadim Zaliva You're welcome ! Thanks for your tip, it may help making the solution cleaner.
Last updated: Oct 13 2024 at 01:02 UTC