help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hanging indent instead of alignment in sh-mode with smie?


From: Philipp Stephani
Subject: Hanging indent instead of alignment in sh-mode with smie?
Date: Wed, 28 Jan 2015 15:45:01 +0000

Hi,

I noticed that in Emacs 25.0.50.1 the indentation for sh-mode uses SMIE and
aligns shell command arguments after a continuation character:

command-name arg-1 \
             arg-2

I prefer a hanging indent with a fixed number of spaces without alignment,
e.g.:

command-name arg-1 \
    arg-2

Is there some knob or SMIE customization point to switch to the hanging
indent style?

Thanks,
Philipp


reply via email to

[Prev in Thread] Current Thread [Next in Thread]