tags 24848 + patch quit writes: > Anyway, to help get to the bottom of this, I disabled sh-indentation > and tried your steps around editing smie-config and M-x normal-mode > and I got the same result as you: it worked. > > So as you indicated, it appears to be that smie-config isn't being loaded (properly) when Emacs starts. > > I await your next inspiration! :-) Okay, the patch below fixes the loading for me. I also added a mention of `smie-config-guess' in `sh-learn-buffer-indent's docstring so that it should be possible to figure how to save config rules by reading docstrings rather than hunting in the source code.