[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Undesirable sh-mode indent
From: |
Bob Proulx |
Subject: |
Undesirable sh-mode indent |
Date: |
Fri, 23 Oct 2015 15:38:51 -0600 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
In 24.5.1 from Debian Sid I am now getting undesirable indention that
is no longer controlled by sh-basic-offset. In 23 this worked.
emacs -Q /tmp/trial.sh
M-: (setq sh-basic-offset 2)
if true; then
true
^ indent should be 2 not 4 here
C-c ?
Rules used: :elem basic -> 4, :before "then" -> 0, :after "then" -> nil
Anyone know what is happening here? I have reviewed the NEWS but I
didn't find any intentionally noted changes here.
Does anyone know how to keep syntax highlighting but to disable
indentation? Then at least I could at least stop it from doing the
wrong thing without dropping all of the way to fundamental-mode.
Thanks,
Bob
- Undesirable sh-mode indent,
Bob Proulx <=