summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2022-12-20Merge pull request #470 from amesgen/envrc-rustfmtbrotzeit
Support envrc for rustfmt
2022-12-20Merge pull request #467 from jimblandy/in-macrobrotzeit
Simplify and correct angle bracket propertizing and macro argument detection.
2022-12-19Support envrc for rustfmtamesgen
2022-12-19Merge pull request #477 from imichael2e2/masterbrotzeit
rust-mode updated to the latest version for Eask test suites
2022-12-19rust-mode updated to the latest version for Eask test suitesMichael
2022-12-18Merge pull request #476 from imichael2e2/masterbrotzeit
Fix the issue #475
2022-12-18Automatically remove the redundant window after calling rustfmt. Fix the ↵Michael
issue #475
2022-12-10Merge pull request #473 from jcs-PR/tests/improve-cibrotzeit
tests: Avoid actions' warnings
2022-12-11Update eask's clean commandJen-Chieh Shen
2022-12-11Avoid actions' warningJen-Chieh Shen
2022-12-11Add script directive for future useJen-Chieh Shen
2022-12-05Merge pull request #472 from jcs-PR/tests/remove-setup-nodebrotzeit
tests: Setup node is no longer required
2022-12-06chore(Eask): Add package's metadataJen-Chieh Shen
2022-12-06tests: Setup node is no longer requiredJen-Chieh Shen
2022-11-02Simplify and correct angle bracket propertizing and macro argument detection.Jim Blandy
Fixes #465. When `rust-syntax-propertize` uses `rust-macro-scopes` to find ranges of text that are macro arguments, it ends up inadvertently poisoning the `syntax-ppss` cache by applying it to text that doesn't have the necessary `syntax-table` properties applied yet - the very job that `rust-syntax-propertize` is trying to do. However, `rust-macro-scopes` does much more work than necessary. Rather than producing a list of ranges of macro arguments, we can just use the list of enclosing opening parens provided by syntax-ppss, checking each paren to see if it seems to be a macro or `macro_rules` call. We have to keep syntax-ppss's cache accurate for other reasons anyway, so we might as well just use its data, rather than introducing another cache of our own - especially a problematic one (see #465). * rust-mode.el (rust-in-macro): Consult `syntax-ppss`'s list of enclosing parens, rather than using `rust-macro-scope`. Remove optional arguments, which were only used by tests. (rust-macro-scopes, rust-macro-scope): Delete. Now we just use `syntax-ppss`'s internal cache. (rust-syntax-propertize): Don't bind `rust-macro-scopes`. (rust-looking-back-macro-rules): New function. (rust-looking-back-macro): Support a space between macro name and `!`, by consulting `rust-expression-introducers`. (rust-expression-introducers): New constant. Use in `rust-looking-back-macro` and `rust-is-in-expression-context`. (rust-is-in-expression-context): Use `rust-expression-introducers`. (rust-looking-back-ident): Don't use `looking-back`. We've already moved to the correct spot for `looking-at`, within a `save-excursion`. * rust-mode-tests.el: Update tests.
2022-09-24Merge pull request #462 from ybiquitous/fix-link-in-readmebrotzeit
Fix internal link in README.md
2022-09-24Fix internal link in README.mdMasafumi Koba
2022-09-19Merge pull request #461 from tarsiiformes/obsoletebrotzeit
Use line-beginning-position instead of obsolete point-at-bol
2022-09-19Use line-beginning-position instead of obsolete point-at-bolJonas Bernoulli
Obsolete since Emacs 29 / b7e867b841f47dcff3aeaef9b5608a237386ce70.
2022-09-17Merge pull request #459 from phst/skipbrotzeit
Skip test if Cargo isn’t installed.
2022-09-16Skip test if Cargo isn’t installed.Philipp Stephani
This test requires Cargo and fails if it’s not installed.
2022-09-16Merge pull request #458 from phst/compilebrotzeit
Avoid compilation warnings about potentially-undefined functions.
2022-08-29Avoid compilation warnings about potentially-undefined functions.Philipp Stephani
The byte compiler isn’t smart enough to figure out that these functions are indeed defined in this code branch.
2022-08-25Merge pull request #457 from yanchith/workspace-aware-compilationbrotzeit
Make compilation buffer workspace-aware
2022-08-25rust-buffer-project: don't use rust-buffer-crate when file-remote-pbrotzeit
2022-08-25Fulfil requirements of cargo locate-project --workspaceyanchith
2022-08-25Make compilation buffer workspace-awareyanchith
This fixes incorrect paths for workspace projects when running starting compilation from a source file instead of the project root.
2022-08-19Merge pull request #455 from rust-lang/minor-fixesbrotzeit
minor fixes
2022-08-18apply minor fixesbrotzeit
2022-08-18more test fixingbrotzeit
2022-08-18fix quirks in rust-mode-tests.elbrotzeit
2022-08-18fixesbrotzeit
2022-07-14add deprecation note for racer and rlsbrotzeit
close #453
2022-06-26bump version to 1.0.5brotzeit
2022-06-24Merge pull request #449 from rust-lang/remote-crate-pathbrotzeit
use rust-buffer-crate to get remote crate path
2022-06-24use rust-buffer-crate to get remote crate pathbrotzeit
2022-06-23Merge pull request #447 from glasserc/support-envrcbrotzeit
Support envrc
2022-06-23Add some comments documenting the changeEthan Glasser-Camp
Thanks @brotzeit for the suggestion.
2022-06-22Pass process-environment and exec-path through with-temp-bufferEthan Glasser-Camp
This is the only place in rust-mode where we actually shell out, so I didn't extract this as a macro, but merely made the change in the one place it was necessary.