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

Delete modes and commands #3311

Merged
merged 16 commits into from
Jan 15, 2024
Merged

Delete modes and commands #3311

merged 16 commits into from
Jan 15, 2024

Conversation

aadcg
Copy link
Member

@aadcg aadcg commented Jan 15, 2024

Description

Fixes #1633
Fixes #3297

Checklist:

  • Git branch state is mergable.
  • Changelog is up to date (via a separate commit).
  • New dependencies are accounted for.
  • Documentation is up to date.
  • Compilation and tests ((asdf:test-system :nyxt/gi-gtk))
    • No new compilation warnings.
    • Tests are sufficient.

@aadcg aadcg requested a review from jmercouris January 15, 2024 11:18
@aadcg aadcg added the 4-series Related to releases whose major version is 4. label Jan 15, 2024
@@ -169,35 +169,6 @@ Important pieces of functionality are:
"Scroll to top if no input element is active, forward event otherwise."
(call-non-input-command-or-forward #'scroll-to-top :buffer buffer))

Copy link
Member

Choose a reason for hiding this comment

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

I see you deleted all of the go-* functions. Yes, why not. I don't think anyone will miss them. Plus they need some reworking to consider /all/ cases, to be more reliable.

Copy link
Member Author

@aadcg aadcg Jan 15, 2024

Choose a reason for hiding this comment

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

go-to-homepage and go-up aren't hard to get right so heuristics would be needed. Should do engage in such endeavors when we have so many concrete and properly defined issues at hand? Probably not.

go-next and go-previous seemed to misbehave. I tried them out and a JS warning was raised if I'm not mistaken.

Copy link
Member

@jmercouris jmercouris left a comment

Choose a reason for hiding this comment

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

I've gone through commit by commit. I've tested it on my local system. All appears well. Thank you Andre!

@aadcg aadcg merged commit 3d94f46 into master Jan 15, 2024
2 checks passed
@aadcg aadcg deleted the delete-modes-and-commands branch January 15, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4-series Related to releases whose major version is 4.
2 participants