Skip to content

emacs mode: ']', ')', and '}' close previous open paren/brace/bracket #6

Closed
@steveklabnik

Description

@steveklabnik

Issue by pnkfelix
Monday Nov 04, 2013 at 15:42 GMT

For earlier discussion, see rust-lang/rust#10262

This issue was labelled with: A-tools in the Rust repository


Here is the illustrative example:

fn foo() {
    { bar('}'); }
    { bar(']'); }
    { bar(')'); }
}

The characters within ' characters above are incorrectly treated by src/etc/rust-mode.el as closing the opening paren of the invocation of bar. This confuses Emacs in a number of ways (e.g. obviously paren matching; but also the auto-indentation gets confused too, which is more annoying).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions