Skip to content

Fix checkdoc warnings#834

Merged
Matafou merged 3 commits intoProofGeneral:masterfrom
MorganJamesSmith:master
Jan 13, 2026
Merged

Fix checkdoc warnings#834
Matafou merged 3 commits intoProofGeneral:masterfrom
MorganJamesSmith:master

Conversation

@MorganJamesSmith
Copy link
Contributor

Hello! I am new to contributing to ProofGeneral.

Emacs now has a builtin utility called checkdoc to check docstrings and general file format. It also enables running a spell checker on all the docstrings.

Here I have added a make target to run this utility along with a dictionary of words that I assume are not typo's yet are not found in my ispell dictionary.

Running checkdoc yields 779 warnings. I have gone through an fixed most of them and I am now down to 29 warnings.

Please let me know what you think. Thank you for taking a look!

@MorganJamesSmith
Copy link
Contributor Author

I just rebased this and fixed all merge conflicts

@Matafou
Copy link
Contributor

Matafou commented Jan 6, 2026

Hi @MorganJamesSmith and many thanks for this contributions. I will merge this soon (after re-basing it).

@MorganJamesSmith MorganJamesSmith force-pushed the master branch 2 times, most recently from a6f684c to fd1cac4 Compare January 9, 2026 19:42
@MorganJamesSmith
Copy link
Contributor Author

Thank you @Matafou . I used the commits you provided at MorganJamesSmith#1 . I then modified them to include some more checkdoc fixes for some recent changes.

I now know it'd be ideal if the branch used wasn't called "master" but it doesn't look like I can fix that without opening a new pull request

@Matafou
Copy link
Contributor

Matafou commented Jan 11, 2026

Nevermind. Once the PR is closed your master branch can leave its own life.

@Matafou
Copy link
Contributor

Matafou commented Jan 11, 2026

@MorganJamesSmith the failed test labelled "check-doc-magic" (the other should suceed) needs a fix from your side as follows:

  • make doc locally
  • git status should show some changed files under directory doc. It should be only .texi I think.
  • commit this files and include them in the PR.

Thanks again!.

@hendriktews
Copy link
Collaborator

* ` make doc` locally

No, please do make -C doc magic in the root directory of the repository.

The manual contains literal copies of some variable and function documentation. The magic goal will copy your chnages into the texi sources of the manual. And then, as Pierre said, please include these changes in your PR.

Used command "make -C doc magic"
@MorganJamesSmith
Copy link
Contributor Author

MorganJamesSmith commented Jan 12, 2026 via email

@hendriktews
Copy link
Collaborator

All tests pass now, thanks!

@Matafou Matafou merged commit e164eca into ProofGeneral:master Jan 13, 2026
140 checks passed
@Matafou
Copy link
Contributor

Matafou commented Jan 13, 2026

Many thanks!

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.

3 participants