Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-793

String indentation in emacs erlang-mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Help Wanted
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 21.0
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      Indentation in emacs-mode for adjacent string literals works poorly.

      I expect it to behave similar to binary indentation, but it does not.

      Expected behaviour:

      string() ->
          "a"
          "b"
          "c".
      

      Current:

      binary() ->
          <<"a"
            "b"
            "c">>.
      
      string() ->
          "a"
              "b"
              "c".
      

        Attachments

          Activity

            People

            Assignee:
            otp_team_ps Team PS
            Reporter:
            sebastiw sebastiw
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: