Skip to content

Emacs: Update emacs mode to be more similar to the vim mode. - #5103

Closed
huonw wants to merge 1 commit into
rust-lang:incomingfrom
huonw:emacs-mode-update
Closed

Emacs: Update emacs mode to be more similar to the vim mode.#5103
huonw wants to merge 1 commit into
rust-lang:incomingfrom
huonw:emacs-mode-update

Conversation

@huonw

Copy link
Copy Markdown
Contributor

Copy the keyword list from rust.vim, and add self so that it is highlighted
(being liberal with the correct categories).

I'm not quite willing to dive in to clean up the emacs code yet, but at least this gets a (more) modern syntax highlighting list.

Copy the keyword list, and add `self` so that it is somewhat highlighted
(being liberal with the correct categories).
bors added a commit that referenced this pull request Feb 26, 2013
Copy the keyword list from rust.vim, and add `self` so that it is highlighted
(being liberal with the correct categories).
I'm not quite willing to dive in to clean up the emacs code yet, but at least this gets a (more) modern syntax highlighting list.
@borsbors closed this Feb 26, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 28, 2020
…nts, r=Manishearth,flip1995
Parse doctests in needless_doctest_main
This switches from text-based search to running the parser to avoid false positives. Inspired by how [rustdoc](https://github.com/rust-lang/rust/blob/3f3250500fe152b5759c21453ba9a9129808d0d8/src/librustdoc/test.rs#L366) handles this and by rust-lang#4729.
cc @llogiq
changelog: Fix multiple false positives in [`needless_doctest_main`].
Fixesrust-lang#5879Fixesrust-lang#4906Fixesrust-lang#5103Fixesrust-lang#4698
RalfJung added a commit to RalfJung/rust that referenced this pull request Jun 12, 2026
add borrow model test for mixed-mutability static
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
Add a test in call_hierarchy that already passed
Fixesrust-lang#5103
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
5110: Use the selection range when resolving call hierarchy items r=kjeremy a=kjeremy
Add a test in call_hierarchy that already passed and a corresponding
heavy test to test the LSP requests which exposed the issue.
Fixesrust-lang#5103
Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@huonw@graydon@bors