Subject: Re: bug#24848: [sh-script] How to save "Local rules set" result from sh-learn-buffer-indent?

From: <[email-masked]>
Date: Fri, 25 Aug 2017 08:37:56 +0000

PS When I first load the bash script, if I run smie-config-show-indent on the line after "then", I get:

Rules used: :elem basic -> 4, :after "then" -> nil

If I then run smie-config-guess followed by smie-config-show-indent on the same line, I now get:

Rules used: :elem basic -> 2(via 4), :after "then" -> nil

If I run smie-config-save (response: "Mode rules replaced in `smie-config'") followed by customize-variable smie-config the value is simply:

((2 :elem basic 4))