[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24648: 25.1; smie indentation in strings
From: |
Stefan Monnier |
Subject: |
bug#24648: 25.1; smie indentation in strings |
Date: |
Sun, 09 Oct 2016 17:01:30 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> 1. Open a new buffer in octave-mode (or ruby mode)
> 2. Insert a string:
>
> "line 1
> line 2
> line 3"
>
> 3. Move point to the beginning of `line 2' and pressing TAB
>
> line 2 will be indented freely. This is a big surprise. Regression?
What would you like instead? You're indenting within a string, so
octave-mode has no idea what rule to follow since the string may
represent anything. By design, it should behave like in text-mode, more
or less.
Stefan
bug#24648: 25.1; smie indentation in strings,
Stefan Monnier <=