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: Dmitry Gutov
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 15:56:51 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

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.





reply via email to

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