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

Fix magit-section usage so the expand/contract functionality works #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bustercopley
Copy link
Contributor

@bustercopley bustercopley commented Mar 2, 2024

Use named sections so magit-section can track which sections are expanded.
Don't use sections for individual diagnostics, since they can't be tracked.
Capture data in lexicals for deferred rendering by magit-insert-section-body.
Use with-current-buffer (delete lean4-with-info-output-to-buffer).
Make the diagnostic line:col headers into text buttons.

@bustercopley
Copy link
Contributor Author

force-push: rebase onto #51

Use named sections so magit-section can track which sections are expanded.
Don't use sections for individual diagnostics, since they can't be tracked.
Capture data in lexicals for deferred rendering by `magit-insert-section-body'.
Use `with-current-buffer` (delete `lean4-with-info-output-to-buffer`).
Make the diagnostic `line:col` headers into text buttons.
@bustercopley
Copy link
Contributor Author

bustercopley commented Mar 6, 2024

Rebased onto leanprover-community:master

@sebeaumont
Copy link

Can someone merge this please?

@bustercopley
Copy link
Contributor Author

bustercopley commented Aug 15, 2024

I see no reason not to. It's just a minor bugfix. @sebeaumont, please ping Yury (@urkud) on Zulip.

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