-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
doc/upgrade-breakage: Carefully adjust to the two available heading levels #1160
base: master
Are you sure you want to change the base?
Conversation
Hm, I may understand you might have tried to sort the "syntax now parsed, if not quoted" items from most to least probable? Do I interpret it correctly that bare assignment issue ( |
BTW As the (...) subshell to forkwait {..} stuff seems to be discouragement/deprecation, not breakage, that might be shortened/left to the link mentioned under "summary"? |
As mentioned in the previous thread, I don't agree with promoting those items to a top level heading. It seems like "making a mountain out of a mole hill", i.e. spending a lot of space on something that's minor. Also I don't think most of these are wording improvemenets, e.g. the heading "Syntax Parsed, if not quoted (usually ok)" is very awkward and hard to read. |
I'm still sort of interested in the table change on
If there was only one problem, I would probably be more excited and help get it into shape ... But since there are 2 different problems, I will just work on all the other important stuff (like hiring the compiler engineer) until something closer comes along, or someone else hits it, etc. |
Hm, though my own feeling, when first reading the doc, and having to "spoon collect" the docs, though, has been much more like "what the heck, there's stuff being hidden and not told, to make it look less". Thus rather getting wary about ugly things just waiting to break scripts. That's where the motivation to fix this comes from. It made me very glad to see the things are harmless, get a nice error message, and are really easy to fix.
Sure, if you tell me what you find awkward like now, that should be easy for us to work out. And I know you can do nice and short wording, better than me. But naturally, short things may sometimes be understood differently, and could end up better after slight improvements. For example, what I wondered about was the "more"in "More Quotes May Be Needed" -> how many more, yet? What about "Some Quotes May Be Needed"? Maybe even adding (in a few/rare occasions)? |
(The general problem with too short wording seems to be that it can create more questions than answers for people not knowing as much about it as you do.) |
Ok, found the forkwait and cd block idioms and examples are properly mentioned in: https://www.oilshell.org/release/latest/doc/idioms.html (EDIT: Which is linked at the end) Better to simply remove those from upgrade-breakage, to not distract/confuse readers, and end up providing a concise overview? |
After quite some refinements and shortenings, I think it has now started to be a listing that can be shown (linked to) "with a straight face". |
A thing that seems to be contradicting and might need your attention: Extended Globs are disabled by Simple Word Evaluation, but then |
Why not check how your doc actually answers its question. Just some. Where your document does not list simple word eval (splice/glob/maybe) the document is incomplete, vague at best (no thanks/know-how to use later), where it mentions the oil:upgrade group it's redundant to the initial statement, where it says unconditional it's proofs wrong its "you don't need to read this for osh". The parts dealing with forkwait and blocks are not breakages at all. But I've now read enough feedback in the wild already complaining about that state of the "docs" not giving a proper answer, to know this can't be unknown to you. |
Focused only on a helpful documentation TOC .
See the individual commits for steped details.
Unknown: Is
=foo as first-word, is too similar to = foo
still relevant after this: dc51f5b