Skip to content

Conversation

@MuntasirSZN
Copy link
Collaborator

No description provided.

@MuntasirSZN MuntasirSZN marked this pull request as ready for review July 17, 2025 09:27
@MuntasirSZN MuntasirSZN changed the title feat: emacs stuff (wip) feat: emacs tests Jul 17, 2025
@cordx56
Copy link
Owner

cordx56 commented Jul 18, 2025

I don't have enough knowledge to review this PR.
@flowerhill @Kyure-A Can you review this PR? I heard that you have knowledge about Emacs Lisp.

@Kyure-A
Copy link
Collaborator

Kyure-A commented Jul 19, 2025

I don't have enough knowledge to review this PR. @flowerhill @Kyure-A Can you review this PR? I heard that you have knowledge about Emacs Lisp.

I'm a bit busy so I'll review it within a week.

@MuntasirSZN MuntasirSZN requested a review from Copilot August 5, 2025 06:18

This comment was marked as outdated.

@MuntasirSZN MuntasirSZN changed the title feat: emacs tests feat!: emacs tests Aug 5, 2025
• 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.
@MuntasirSZN MuntasirSZN requested a review from Copilot August 9, 2025 12:40
Copy link

Copilot AI left a 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))`
@MuntasirSZN
Copy link
Collaborator Author

@cordx56 its ready (besides commitlint uhh merge commits....)

@github-actions
Copy link
Contributor

🤖 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.

@MuntasirSZN MuntasirSZN added enhancement New feature or request dont-close Don't close this issue or pull request. and removed no-pr-activity labels Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dont-close Don't close this issue or pull request. enhancement New feature or request

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

4 participants