emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Shell-script[bash] indention broken (or fixed?)


From: Steven T. Hatton
Subject: Re: Shell-script[bash] indention broken (or fixed?)
Date: Sun, 12 Jun 2005 17:29:02 -0400
User-agent: KMail/1.8

On Sunday 12 June 2005 16:51, Stefan Monnier wrote:
> > To my way of thinking, the '\' says I'm breaking the line for the sake of
> > the human reader, but the computer should not see the linebreak.
>
> Indeed, and to make the thing more readable, it is common practice to
> arrange for the indentation to help the reader figure out where the
> broken-line finishes and ends (otherwise, it really doesn't help the human
> reader much).  Your shell example is a prime example, where you used
> a single space of indentation.
>
> Of course, sometimes the exact number of spaces/tabs shouldn't be touched
> by Emacs, but I don't think there's a way for Emacs to figure it out, and
> the (relative) lack of complaint over the current default indentation
> choice seems to indicate that this default is a good choice.
>
>
>         Stefan
From what I can tell by looking at the customize options, there is no "leave 
as is" option similar to the one for comments.  My preference would be to 
have that option.
-- 
Regards,
Steven




reply via email to

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