summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-22Bump version to 1.0.6Sibi Prabakaran
2024-05-20Merge pull request #546 from bradneuman/workspace-localSibi Prabakaran
Adds a customization to default to workspace or local crate.
2024-05-19Change implementation to use a list of default argumentsBrad Neuman
2024-05-15Merge pull request #544 from isvilen/run-interactiveSibi Prabakaran
Support running interactive programs
2024-05-14Support running interactive programsSvilen Ivanov
2024-05-13Adds a customization to default to workspace or local crate.Brad Neuman
Adds rust-locate-project-in-workspace custom variable, which controls whether or not to locate the workspace project using `--workspace` (the default) or not. In cases where there is only one create, this should make no difference. The default setting should match the existing behavior. Github issue #545
2024-04-15Merge pull request #539 from Dev380/fix-auto-mode-treesitSibi Prabakaran
fix(treesit): auto mode precedence of rust-mode
2024-04-13fix(treesit): auto mode precedence of rust-modeDev380
Currently, `rust-ts-mode` will add itself to the `auto-mode-alist` when it is loaded, which is after the autoload for adding `rust-mode`. We need to re-add `rust-mode` after loading the treesitter package to make sure this mode has higher priority.
2024-03-29Merge pull request #534 from tarsiiformes/fixupSibi Prabakaran
Fix ancient defect and dependency complications related to having two rust-mode implementations
2024-03-27Fix dependencies between rust-mode implementationsJonas Bernoulli
"rust-prog-mode.el" and "rust-mode-treesitter.el" provide competing implementations of `rust-mode'. Both implementations depend on code in "rust-mode.el", and thus must require that. Doing that is complicated by the fact that "rust-mode.el" loads one of these libraries, depending on `rust-mode-treesitter-derive's value. Address this conflict by: 1. Requiring feature `rust-mode' in the two libraries that implement the `rust-mode' major-mode and that use things defined in "rust-mode.el". 2. Moving the require forms for these two libraries in "rust-mode.el", below the `provide' form for `rust-mode'.
2024-03-27Merge pull request #536 from rust-lang/emacs-29.3Sibi Prabakaran
CI: Support for emacs 29.3
2024-03-27CI: Support for emacs 29.3Sibi Prabakaran
2024-03-16rust--format-call: Delete file in case of errorJonas Bernoulli
That was always the intention, but the cleanup code was always placed outside the unwind forms. lib/rust-mode/rust-rustfmt.el:60:12: Warning: ‘unwind-protect’ without unwind forms
2024-03-13Merge pull request #533 from condy0919/mailSibi Prabakaran
Add email in package description
2024-03-12Add email in package descriptioncondy
Fix #531
2024-03-12Merge pull request #532 from jroimartin/rust-mode-interactiveSibi Prabakaran
Allow autoloaded rust-mode function to be called interactively
2024-03-12Allow autoloaded rust-mode function to be called interactivelyRoi Martin
2024-03-12Merge pull request #530 from jroimartin/fix-rust-mode-autoloadSibi Prabakaran
Fix rust-mode lazy loading
2024-03-11Fix rust-mode lazy loadingRoi Martin
This PR fixes the following error that happends when opening a .rs file: File mode specification error: (void-function rust-mode) It conditionally autoloads the proper rust-mode version depending on the user environment. Fixes #528
2024-03-02Merge pull request #526 from rust-lang/rem-autoloadSibi Prabakaran
Remove autoload for prog-mode based rust-mode
2024-03-02Remove autoload for prog-mode based rust-modeSibi Prabakaran
The load of specific rust-mode now depends on the tree sitter variable that we have, so disabling autoload for this too.
2024-03-01Merge pull request #525 from condy0919/highlightSibi Prabakaran
Require rust-ts-mode carefully
2024-03-01Require rust-ts-mode carefullycondy
Fix #524
2024-02-28Merge pull request #523 from rust-lang/ci-29Sibi Prabakaran
CI: Update to test with last 3 emacs version
2024-02-28Remove continue-on-errorSibi Prabakaran
2024-02-28CI: Update to test with last 3 emacs versionSibi Prabakaran
Also includes Emacs 29.2
2024-02-28Merge pull request #521 from rust-lang/treesit-old-emacsSibi Prabakaran
Fix tree-sitter integration for older emacs
2024-02-28Ad comment explaining about when clauseSibi Prabakaran
2024-02-28Fix treesitter for older emacsSibi Prabakaran
2024-02-28Fix tree sitter mode with hooks integrationSibi Prabakaran
2024-02-28Merge pull request #519 from ccqpein/masterSibi Prabakaran
Fix undefined function
2024-02-26require rust-rustfmt for importing rust-after-save-method definationccQpein
2024-02-25Merge pull request #515 from rust-lang/treesit-modeSibi Prabakaran
Fix rust-mode and tree sitter integration
2024-02-25Fix rust-mode and tree sitter integrationSibi Prabakaran
2024-02-24Merge pull request #513 from rust-lang/509-warningsSibi Prabakaran
Fix native compile warnings
2024-02-24Fix warnings from rust-utils.elSibi Prabakaran
2024-02-24Update changelogSibi Prabakaran
2024-02-24Merge pull request #482 from rust-lang/treesitterSibi Prabakaran
provide alternative rust-mode that derives from rust-ts-mode
2024-02-17Update docs and fix treesiter modeSibi Prabakaran
2024-02-17provide alternative rust-mode that derives from rust-ts-modebrotzeit
2024-02-17Merge pull request #510 from luckysori/match-panicsSibi Prabakaran
Match panics in `compilation-mode`
2024-02-13Match panics in compilation-modeLucas Soriano del Pino
If we encounter a panic when executing Rust code in `compilation-mode`, we now correctly highlight the location where the panic occurred. For example: ``` thread 'main' panicked at src/main.rs:2:5: explicit panic note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` Here, `src/main.rs:2:5` is highlighted. The developer is then able to execute `compile-goto-error` to jump to the correct spot in the code. Co-authored-by: Brent Westbrook <brentrwestbrook@gmail.com> Co-authored-by: zlef <zachlefevre@gmail.com>
2023-08-06Merge pull request #501 from jcs-PR/test/29Sibi Prabakaran
test: Emacs 29.1
2023-08-05Merge pull request #500 from micl2e2/masterSibi Prabakaran
Eliminate "Containing expression ends prematurely" error
2023-08-04test: Emacs 29.1Jen-Chieh Shen
2023-08-04dbg! insertion:Michael Lee
- Change rust-insert-dbg to ...-sexp - Handle the cases where forwarding is impossible - Add tests
2023-08-03Improve the usability of `rust-dbg-wrap-or-unwrap` (#498)Michael Lee
* rust-dbg-wrap-or-unwrap: Cut unnecessary conditional branches for region-active-p * rust-dbg-wrap-or-unwrap: Do not using save-excursion anymore * rust-dbg-wrap-or-unwrap: Use cond, allow more other cases. * rust-dbg-wrap-or-unwrap: Introduce rust-insert-dbg-alone * rust-dbg-wrap-or-unwrap: Adjust cursor position after insertion * rust-dbg-wrap-or-unwrap: Add tests for empty line * rust-dbg-wrap-or-unwrap: Test final position in empty line case * rust-dbg-wrap-or-unwrap: Test final cursor position in existing wrap tests
2023-04-26Merge pull request #496 from phst/dupSibi Prabakaran
Don’t duplicate test name.
2023-04-26Don’t duplicate test name.Philipp Stephani
Emacs 29 will signal an error in this case in batch mode, and in any case the first test in the duplicate series will never run.
2023-01-15Merge pull request #488 from jimblandy/fill-variablesJim Blandy
Establish more-controlled environment for fill-paragraph tests.