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
Clean up deprecations #10575
Clean up deprecations #10575
Conversation
bbf80ed
to
d1c28be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If cutrewrite
is meant to be superseded by enough
, should it not be reflected in ide/coq_commands.ml
?
And same remark for commands, obviously. |
I'm not sure what you are suggesting I should do, concretely. |
What I meant is that, if the users click on "cutrewrite", they get a deprecation warning. The interface should never make it much easier to use a deprecated feature than a non-deprecated one. So, "cutrewrite" should be removed from the list, and "enough" should be added. Similarly, for deprecated commands. |
I see, thanks. But this seems to me more like a CoqIDE maintenance task, which I'd rather not do (I'm working hard on VsCoq these days instead). Especially, if |
This comment has been minimized.
This comment has been minimized.
56f16b3
to
bfed211
Compare
@Zimmi48 could you be the assignee for this PR? |
Sure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I meant is that, if the users click on "cutrewrite", they get a deprecation warning. The interface should never make it much easier to use a deprecated feature than a non-deprecated one. So, "cutrewrite" should be removed from the list, and "enough" should be added. Similarly, for deprecated commands.
I see, thanks. But this seems to me more like a CoqIDE maintenance task, which I'd rather not do (I'm working hard on VsCoq these days instead). Especially, if
enough
is missing, it probably means that a pass should be done on tactics by CoqIDE maintainers.This deserves an issue at the very least.
Did you open one? Note the menu "Reference in new issue" which make it easy to open a new issue from a comment.
Remove deprecated commands
AddPath
,AddRecPath
andDelPath
It doesn't look like they were clearly deprecated, but I don't mind removing them as they were not documented either.
bfed211
to
bffdcc1
Compare
The manual was already saying that it was deprecated, but no warning was emitted. Fixes coq#10572
bffdcc1
to
a394876
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've removed commits made irrelevant or already integrated in PRs #11119, #11184, #11186, #11187, I've rebased and I've fixed the two remaining issues that I had noticed during my review (in particular the deprecation warning when calling Search
). So this is now good to go and I will merge this on Monday.
@Zimmi48 if you can do it soon enough, we might still make the beta on time for the 1st of December AOE... |
Reviewed-by: Zimmi48 Reviewed-by: silene
Thanks for taking care of this! |
We try to make deprecations coherent between the manual and the code.
We also remove some deprecated and undocumented features.