-
-
Notifications
You must be signed in to change notification settings - Fork 112
feat!: emacs tests #291
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
base: main
Are you sure you want to change the base?
feat!: emacs tests #291
Conversation
|
I don't have enough knowledge to review this PR. |
I'm a bit busy so I'll review it within a week. |
• Simplify rustowl-cursor to always issue async requests for better responsiveness; remove explicit lsp-mode/workspace guard • Rework rustowl-cursor-call to build params via plist for clarity and reduce boilerplate • Rename public autoloads to consistent rustowl-* names and update mode hooks accordingly • Make rustowl-underline robust by clamping to buffer bounds and handling reversed ranges to avoid overlay errors • Change add-hook/remove-hook usage to non-buffer-local, aligning with typical mode-level activation BREAKING CHANGE: • Function renames: • enable-rustowl-cursor -> rustowl-enable-cursor • disable-rustowl-cursor -> rustowl-disable-cursor • Hook behavior changed: post-command-hook is no longer added/removed buffer-locally from these helpers. If you relied on buffer-local hooks, pass a local arg in your own configuration or adapt your setup accordingly.
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.
Pull Request Overview
This PR introduces comprehensive Emacs testing infrastructure and improvements to the RustOwl Emacs plugin. The changes add extensive ERT tests, improve code quality with better documentation and error handling, and establish CI/CD for Emacs-specific validation.
- Added comprehensive ERT test suite covering all public functions and edge cases
- Enhanced code quality with improved documentation, error handling, and function renaming for consistency
- Established CI/CD pipeline with linting, testing, and build validation for Emacs components
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/bump.sh | Added version update logic for Emacs package files (Eask and rustowl.el) during stable releases |
| rustowl.el | Enhanced with comprehensive documentation, improved error handling, function renaming for consistency, and code formatting improvements |
| emacs-tests/rustowl-test.el | New comprehensive test suite with 284 lines covering all public functions, edge cases, and error conditions |
| Eask | New Emacs package configuration file defining package metadata, dependencies, and test scripts |
| .github/workflows/emacs-checks.yml | New CI workflow for Emacs-specific linting, testing, and build validation |
…timize line calc - Make post-command hooks buffer-local to avoid global side effects - Restore LSP active/workspace check in `rustowl-cursor` - Optimize line count using `(line-number-at-pos (point-max))`
2a2351a to
f8f5304
Compare
|
@cordx56 its ready (besides commitlint uhh merge commits....) |
|
🤖 Bot: PR has not seen activity in 30 days and will therefore be marked as stale. It will be closed in 7 days if no further response is found. |
No description provided.