summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2023-01-11Merge pull request #489 from jimblandy/use-when-letJim Blandy
Use when-let as appropriate.
2023-01-11Use when-let as appropriate.Jim Blandy
2023-01-11Merge pull request #310 from czipperz/pub-scoped-beg-defunJim Blandy
Add scoped pub support to beginning-of-defun
2023-01-11Test pub scoped defun recognitionChris Gregory
2023-01-11Establish more-controlled environment for fill-paragraph tests.Jim Blandy
Define a macro `rust-test-with-standard-fill-settings` to bind all the variables that affect `fill-paragraph`, and use it around all calls to `fill-paragraph`. Some tests based on `rust-test-fill-paragraph` were failing for me because I set `sentence-end-double-space` to nil, so double spaces after periods in the test input were getting collapsed into single spaces.
2023-01-08Merge pull request #480 from psibi/playpen-fixJim Blandy
Abilty to customize the enabling of URL shortener for playpen
2023-01-08Abilty to customize the enabling of URL shortener for playpenSibi Prabakaran
This makes me share the Playpen URL directly. And this is kind of necessary for me since the region I'm out of currently, the URL shortener domain itself is blocked. Snapshot here: https://imgur.com/a/ugLLVwP
2023-01-08Merge pull request #399 from Lispython/feature/fix-rust-buffer-projectJim Blandy
Add let-binding for json-object-type around json-read call
2023-01-08Add let-binding for json-object-type around json-read call in ↵Alex
rust-buffer-project function
2023-01-07Merge pull request #486 from rust-lang/docs-readmebrotzeit
docs: Mention rust-toggle-mutability instead of rustic one
2023-01-07docs: Mention rust-toggle-mutability instead of rustic oneSibi Prabakaran
Also some other minor improvments.
2023-01-07Merge pull request #485 from VlachJosef/masterbrotzeit
Update README.md - add default keybindings
2023-01-06Update README.md - add default keybindingsJosef Vlach
2022-12-25Merge pull request #481 from imichael2e2/masterbrotzeit
Refine the error message displaying
2022-12-25Merge pull request #479 from ntBre/masterbrotzeit
check for rustfmt window before deleting it, fixes the fix to #475
2022-12-24Prevent from generating the redundant error messages in minibuffer.Michael
2022-12-20check for rustfmt window before deleting it, fixes the fix to #475Brent Westbrook
adapted from https://github.com/dominikh/go-mode.el/blob/08aa90d52f0e7d2ad02f961b554e13329672d7cb/go-mode.el#L1986