summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-28rust-mode: Default rust-indent-offset to 4, not default-tab-widthAnders Kaseorg
default-tab-width is standardly 8, but most programmers and style guides prefer an indentation width smaller than that. Rust itself uses 4 space indents. Most other Emacs modes define the indentation width as 4 or 2 spaces, independently of the width of a Tab character. Depending on default-tab-width makes especially little sense for rust-mode because it sets indent-tabs-mode to nil. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2013-08-27fix typo in rust-mode.elFelix S. Klock II
2013-08-26extend file regexp to match files with embedded spaces.Felix S. Klock II
2013-08-25revisions to emacs compilation regexp, more readable and robust.Felix S. Klock II
2013-08-25compilation error regexp specific to rustc.Felix S. Klock II
Fix #6887.
2013-08-08rust-mode: make indentation customizablePaul Collins
Add new variable rust-indent-offset, defaulting to the old value, and use it.
2013-08-03etc: add the `in` keyword to the emacs mode.Huon Wilson
2013-07-24rewrite rust-mode to use font-lock-mode and emacs builtin syntax analysisGraydon Hoare
2013-07-22Note incompatibility with global-whitespace-mode.Felix S. Klock II
See #3994.
2013-04-26Fix typoUwe Dauernheim
2013-04-26Allow customization of indent offsetUwe Dauernheim
2013-03-08rust-mode.el uses the 'cl macros, so it should actually require themJed Davis
Without this change, rust-mode doesn't work if 'cl hasn't been required by something else, apparently. I'm not entirely sure what changed such that I started seeing this problem instead of not, but maybe the emacs world has been making progress towards not loading 'cl at runtime if it's only needed at compile time.
2013-02-25Emacs: Update emacs mode to be more similar to the vim mode.Huon Wilson
Copy the keyword list, and add `self` so that it is somewhat highlighted (being liberal with the correct categories).
2013-02-16Make 'foo use font-lock-builtin-face, like module names, and make ↵Niko Matsakis
capitalized identifiers optionally use font-lock-type-face
2013-02-16emacs mode: Highlight 'foo as a lifetime, not a character constant.Niko Matsakis
2013-02-10rust-mode.el uses the 'cl macros, so it should actually require themJed Davis
Without this change, rust-mode doesn't work if 'cl hasn't been required by something else, apparently. I'm not entirely sure what changed such that I started seeing this problem instead of not, but maybe the emacs world has been making progress towards not loading 'cl at runtime if it's only needed at compile time.
2012-09-28rust-mode: Add 'ref' keywordBrian Anderson
2012-09-21rust-mode: Add pub and privBrian Anderson
2012-09-06emacs mode: include use as a keywordNiko Matsakis
2012-08-27change to 4-space indents everywhereNiko Matsakis
2012-08-16add auto-mode-alist to autoloadsMax Penet
2012-08-16fix indentationMax Penet
2012-08-16add instructions for install from MELPAMax Penet
2012-08-14update readme with package.el installation stepsMax Penet
2012-08-14Add author to meta-dataMax Penet
2012-08-14update readmeMax Penet
2012-08-13add UrlMax Penet
2012-08-13proper package footerMax Penet
2012-08-13initial stab at making rust-mode elpa friendlyMax Penet
2012-08-11Merge pull request #3185 from megakorre/masterBrian Anderson
Removed comma from rust-mode.el
2012-08-12removed a comma from the keyword list to getPatrik Kårlin
fn keyword highlighted
2012-08-07Add 'static' to rust-mode.el.Michael Sullivan
2012-08-06emacs: add match as keywordNiko Matsakis
2012-08-02Add trait to emacs keyword table.Graydon Hoare
2012-08-02Update rust-mode.el with new keywords.Michael Sullivan
2012-07-31Remove "iface" from vim and emacs modes.Lindsey Kuper
2012-07-06For #2229, recognize 'again' in place of 'cont', final change pending snapshot.Graydon Hoare
2012-07-01Add 'do' to rust-modeBrian Anderson
2012-06-27More keyword paring and migration in runtime, docs, code modes.Graydon Hoare
2012-05-23Update reserved words for syntax highlighters (vim is still behind, though)Paul Stansifer
2012-03-27emacs: Make 'mut' a keywordBrian Anderson
2012-01-20rust-mode: tag -> enum. Closes #1577Brian Anderson
2012-01-16Move emacs mode into treeMarijn Haverbeke