Skip to content

[input.output] Fix missing is \keyword{true} or is \keyword{false}#6534

Closed
eisenwave wants to merge 20 commits into
cplusplus:mainfrom
eisenwave:io-fix-equals
Closed

[input.output] Fix missing is \keyword{true} or is \keyword{false}#6534
eisenwave wants to merge 20 commits into
cplusplus:mainfrom
eisenwave:io-fix-equals

Conversation

@eisenwave

Copy link
Copy Markdown
Member

Similar fixes to #6526

I've realized halfway through just how much work there is to do, and so I'd like some feedback on how to proceed first.

My plan is to cherry-pick the commits and put each into a separate PR so that they can be examined and discussed separately. After all, there are some wording changes, it's not just changing formatting for some words.

@eisenwave eisenwave changed the title [input.outpu] Fix missing is \keyword{true} or is \keyword{false} [input.output] Fix missing is \keyword{true} or is \keyword{false} Aug 30, 2023
@wg21bot wg21bot added the needs rebase The pull request needs a git rebase to resolve merge conflicts. label Oct 17, 2024
@eisenwave eisenwave marked this pull request as ready for review March 30, 2025 08:10

@jwakely jwakely left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nobody likes the requirement to say "is true" in places like this, so it would be better to use wording like "a equals b" instead of the clunky "a == b is true"

Comment thread source/iostreams.tex
\tcode{+=} offset &
\remarks With \tcode{ql = pl;} before the \tcode{+=}, then:
\tcode{pl - o == ql} \\ \rowsep
\tcode{pl - o == ql} is \keyword{true} \\ \rowsep

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
\tcode{pl - o == ql} is \keyword{true} \\ \rowsep
\tcode{pl - o} equals \tcode{ql} \\ \rowsep

And similarly below

Comment thread source/iostreams.tex
and
if
\tcode{rdbuf() != 0}
\tcode{rdbuf() != 0} is \keyword{true}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rbduf() is null, or something like that

@eisenwave eisenwave added the P2-Bug Presentational errors and omissions label Nov 10, 2025
@eisenwave

Copy link
Copy Markdown
Member Author

Too big of a change for one PR, and subject to regression.

Maybe if we have checks in the future that can be toggled within certain regions of the markup, we could do some automatic detection, but for now we probably have more important things to focus on.

@eisenwave eisenwave closed this Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs rebase The pull request needs a git rebase to resolve merge conflicts. P2-Bug Presentational errors and omissions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants