emacs-devel
[Top][All Lists]
Advanced

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

Re: sh-newline-and-indent


From: Stefan Monnier
Subject: Re: sh-newline-and-indent
Date: Mon, 21 Jul 2008 23:43:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> In shell-script-mode, C-j is bound to `sh-newline-and-indent'.
> However, sh-newline-and-indent seems to be a not-very-good function --
> it doesn't actually do correct indentation, but rather just indents the
> same as the previous line.  The normal `newline-and-indent' function
> seems to work much better.

> Is this function/binding a leftover from times when shell-script-mode
> was not so good at indentation?  Should they be deleted?

Sounds like it, yes,


        Stefan




reply via email to

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