GNU bug report logs - #24848
[sh-script] How to save "Local rules set" result from sh-learn-buffer-indent?

Previous Next

Package: emacs;

Reported by: <richard.wiseman <at> bt.com>

Date: Tue, 1 Nov 2016 15:37:01 UTC

Severity: minor

Tags: fixed, patch

Merged with 29414

Found in version 24.5

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 24848 <at> debbugs.gnu.org (full text, mbox):

From: <richard.wiseman <at> bt.com>
To: <npostavs <at> gmail.com>, <24848 <at> debbugs.gnu.org>
Subject: Re: bug#24848: [sh-script] How to save "Local rules set" result from
 sh-learn-buffer-indent?
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))



This bug report was last modified 7 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.