bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24648: 25.1; smie indentation in strings


From: Leo Liu
Subject: bug#24648: 25.1; smie indentation in strings
Date: Thu, 13 Oct 2016 00:57:54 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (macOS 10.12)

On 2016-10-12 13:00 +0300, Dmitry Gutov wrote:
> This is actually intentional, and was added in commit f54e5ccf.

Look at that commit it is not clear what the intention is.

On 2016-10-09 17:01 -0400, Stefan Monnier wrote:
> 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

The behaviour in emacs 24 and before looks sane. I have a hard time
getting used to this change. Previously noindent means no indention now
it seems to mean any indention. And there are exceptions for example
lisp modes don't adopt this behaviour. Any ideas why?

Leo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]