Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove parsing of __ in title strings, fixes #53#54

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
zbraniecki merged 1 commit intorust-lang:masterfromndmitchell:fix-53
Oct 26, 2023

Conversation

@ndmitchell
Copy link
Contributor

In#53 I reported the issue that__ in titles gets parsed specially. This feature isn't documented anywhere, and doing a bit of git archaeology, I get lost 4 years ago with phrases like "more tests" adding the code. I can't figure out why someone would want this feature, but assume there was a reason when it was added, however, I'm not sure it is still useful. There doesn't seem any way to opt out of this feature, and as a result, error messages containing__ get dropped (which is super confusing).

In the absence of feedback as the right way to proceed, I've made a diff removing the feature entirely. The alternative would be to document the feature, explain why it's useful, and explain how to avoid it (an alternative API? an escaping scheme?).

@ndmitchellndmitchell mentioned this pull requestMar 5, 2022
@ndmitchell
Copy link
ContributorAuthor

I had a user of Starlark get really confused by the missing__ recently. Anything we can do to get this merged?

@jyn514
Copy link
Member

I don't think this library is currently maintained.

@zbraniecki
Copy link
Contributor

I consider it maintained at low velocity. I plan to look into this issue over the weekend.

jyn514, ndmitchell, cstrahan-blueshift, jshort, harupy, and T-256 reacted with heart emoji

@jshort
Copy link

I'm affected by this too so I'd love to see this merged!

@harupy
Copy link

@zbraniecki I'm also affected by this. Can we merge this PR?

@zong-zhe
Copy link

zong-zhe commentedOct 17, 2023
edited
Loading

Hi, I want to ask when will this PR be merged? I have encountered the same issue. We have developed a language compiler
KCL that uses this library, and when the user-defined variable__b cannot be found, it is displayed asb in the error message, which is confusing.

@zertosh
Copy link

Please consider merging this

@zbraniecki
Copy link
Contributor

Apologies for radio silence and thank you for the PR.

This feature has been added to support text style annotation based on the source, but I'm not sure if it's useful anymore.

zertosh reacted with thumbs up emoji

@zbranieckizbraniecki merged commit160ef45 intorust-lang:masterOct 26, 2023
@zertosh
Copy link

@zbraniecki, no worries. Much appreciated. Any chance you can get a release out? Thank you :)

facebook-github-bot pushed a commit to facebookexperimental/rust-shed that referenced this pull requestOct 27, 2023
Summary:PR was merged:rust-lang/annotate-snippets-rs#54Easier to keep track of by pointing to an upstream rev rather than afork.Reviewed By: ndmitchell, shayne-fletcherDifferential Revision: D50743702fbshipit-source-id: f9a58c4901f85e0b489e5785a8137e2ffc477884
facebook-github-bot pushed a commit to facebook/sapling that referenced this pull requestOct 27, 2023
Summary:PR was merged:rust-lang/annotate-snippets-rs#54Easier to keep track of by pointing to an upstream rev rather than afork.Reviewed By: ndmitchell, shayne-fletcherDifferential Revision: D50743702fbshipit-source-id: f9a58c4901f85e0b489e5785a8137e2ffc477884
facebook-github-bot pushed a commit to facebook/fb303 that referenced this pull requestOct 27, 2023
Summary:PR was merged:rust-lang/annotate-snippets-rs#54Easier to keep track of by pointing to an upstream rev rather than afork.Reviewed By: ndmitchell, shayne-fletcherDifferential Revision: D50743702fbshipit-source-id: f9a58c4901f85e0b489e5785a8137e2ffc477884
facebook-github-bot pushed a commit to facebook/sapling that referenced this pull requestNov 11, 2023
Summary:rust-lang/annotate-snippets-rs#54 was releasedas `annotate-snippets-0.9.2`. There are no new changes here, just thatwe're pulling from crates.io.Reviewed By: capickettDifferential Revision: D51218745fbshipit-source-id: 2195771458b7578606f71b3b413a2813e5843f24
facebook-github-bot pushed a commit to facebook/fb303 that referenced this pull requestNov 11, 2023
Summary:rust-lang/annotate-snippets-rs#54 was releasedas `annotate-snippets-0.9.2`. There are no new changes here, just thatwe're pulling from crates.io.Reviewed By: capickettDifferential Revision: D51218745fbshipit-source-id: 2195771458b7578606f71b3b413a2813e5843f24
facebook-github-bot pushed a commit to facebookexperimental/rust-shed that referenced this pull requestNov 11, 2023
Summary:rust-lang/annotate-snippets-rs#54 was releasedas `annotate-snippets-0.9.2`. There are no new changes here, just thatwe're pulling from crates.io.Reviewed By: capickettDifferential Revision: D51218745fbshipit-source-id: 2195771458b7578606f71b3b413a2813e5843f24
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

7 participants

@ndmitchell@jyn514@zbraniecki@jshort@harupy@zong-zhe@zertosh

[8]ページ先頭

©2009-2025 Movatter.jp