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

'can not' should mostly be 'cannot' #1891

Conversation

RaimoNiskanen
Copy link
Contributor

Following the erlang-questions discussion about 'cannot' /= 'can not' I grepped through the OTP repository and found 204 uses of 'can not' that was not justified.

Before this change there were 1789 uses of 'cannot' and 218 of 'can not'. 14 of the latter still remains, primarily in archived standards documents in the source tree, even though all of them also ought to be changed if they had been ours to change.

To consider is when this kind of broadside to the repository would be least uncomfortable to merge since it touches 120 files in 29 applications...

@RaimoNiskanen RaimoNiskanen self-assigned this Jul 27, 2018
@RaimoNiskanen RaimoNiskanen added the testing currently being tested, tag is used by OTP internal CI label Jul 27, 2018
After this whitespace modification there should be no "can not"s
separated by a newline in the entire OTP repository, so to find
them all a simple git grep will do just fine.
I did not find any legitimate use of "can not", however skipped
changing e.g RFCs archived in the source tree.
@RaimoNiskanen RaimoNiskanen force-pushed the raimo/can_not-should-mostly-be-cannot branch from a94c2b6 to 37c11cd Compare July 27, 2018 08:17
@RaimoNiskanen
Copy link
Contributor Author

I just removed the changes from lib/os_mon/mibs/OTP-OS-MON-MIB.mib since that file is is removed by another topic branch causing a merge conflict.

@RaimoNiskanen RaimoNiskanen added testing currently being tested, tag is used by OTP internal CI and removed testing currently being tested, tag is used by OTP internal CI labels Jul 27, 2018
@RaimoNiskanen RaimoNiskanen deleted the raimo/can_not-should-mostly-be-cannot branch July 30, 2018 13:44
@RaimoNiskanen RaimoNiskanen restored the raimo/can_not-should-mostly-be-cannot branch July 30, 2018 13:54
@RaimoNiskanen RaimoNiskanen reopened this Jul 30, 2018
@RaimoNiskanen RaimoNiskanen merged commit 93a7cfe into erlang:master Jul 30, 2018
@RaimoNiskanen RaimoNiskanen removed the testing currently being tested, tag is used by OTP internal CI label Jul 30, 2018
@RaimoNiskanen RaimoNiskanen deleted the raimo/can_not-should-mostly-be-cannot branch February 20, 2020 11:05
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.

1 participant