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

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

bug#20846: 24.4; Electric-indent-mode does not call indent-line-function


From: Eli Zaretskii
Subject: bug#20846: 24.4; Electric-indent-mode does not call indent-line-function after hitting RET inside a comment
Date: Fri, 28 May 2021 16:06:09 +0300

> Cc: robin.neatherway@gmail.com, monnier@iro.umontreal.ca,
>  20846@debbugs.gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Fri, 28 May 2021 15:56:51 +0300
> 
> On 28.05.2021 08:49, Eli Zaretskii wrote:
> >    If it is called somewhere where auto-indentation cannot be done
> >    (e.g. inside a string), the function should simply return ‘noindent’.
> 
> I believe it's the choice of the indentation function - whether it works 
> inside string, comments, etc. Some do, some don't.

Then that sentence is misleading and should be rephrased, because my
reading of it is that it clearly states that auto-indentation inside
strings is generally impossible, and expects the implementations to
behave like that.





reply via email to

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