|
From: | Stefan Monnier |
Subject: | Re: newline-and-indent vs. electric-indent-mode |
Date: | Fri, 22 Jan 2021 17:56:24 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> For `electric-indent-mode` have you tried >> (setq-default electric-indent-inhibit t) ? > That would disable the effects of electric-indent-functions, and in > particular, of ruby--electric-indent-p. I don't see why. AFAIK it should only inhibit the "reindent original line when inserting \n". It should affect indentation of the line after the inserted \n nor should it affect indentation when inserting other chars. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |