Skip to content

FYI: ess-smart-equals and c++-mode #363

@rsparapa

Description

@rsparapa

ess-smart-equals is an ELPA mode for ESS[R] that provides "<-" when you type "=", but does this smartly, i.e., not in comments nor within parentheses, etc. By default, ess-smart-equals is loaded for ess-roxy-mode. However, I have found this to be dangerous. For example, polymode apparently loads roxy for all of the indirect buffer modes like C++. What happens then, typing "=" in c++-mode will give you "<-" which is very annoying. The easiest thing to do here is remove ess-roxy-mode from ess-smart-equals-default-modes. But could/should this be fixed in polymode itself? If so, then how? Thanks

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