all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Karl Wette <karl.wette@gmail.com>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 24785@debbugs.gnu.org
Subject: bug#24785: 24.5; Shell-script indentation after line continuation
Date: Tue, 25 Oct 2016 14:42:55 +0200	[thread overview]
Message-ID: <CA+Rc+14U7AfNpMTYPnML6PS45aG7rHL3iwm=pRw_k8phc6xvsQ@mail.gmail.com> (raw)
In-Reply-To: <CAArVCkQEgdWpqsAxiNyj398pnOezqBEgGFCirVfvFLUMdgpoig@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 895 bytes --]

Thanks. Unfortunately this isn't yet an option in my version of Emacs, but
I'll keep it in mind for the future.

On 24 October 2016 at 22:20, Philipp Stephani <p.stephani2@gmail.com> wrote:

>
>
> Karl Wette <karl.wette@gmail.com> schrieb am Mo., 24. Okt. 2016 um
> 22:04 Uhr:
>
>>
>> In Shell-script mode, indentation after a line continuation seems broken:
>>
>> aaaaaaaaaaaaaaaaaaaa \
>>     indents to the correct 4 spaces, but
>>
>> aaaaaaaaaa aaaaaaaaa \
>>            indents to the first whitespace in the line
>>
>> ${aaaaaaaaaaa}aaaaa \
>>               indents to after the closing bracket
>>
>> ( aaaaaaaaa ) && aa \
>>                      indents to after the line continuation
>>
>> This seems to be very underisable, and there should at least be an option
>> of getting back the old behaviour of a fixed indent.
>>
>>
> There is: Set `sh-indent-after-continuation' to 'always.
>

[-- Attachment #2: Type: text/html, Size: 2266 bytes --]

  reply	other threads:[~2016-10-25 12:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-24 18:22 bug#24785: 24.5; Shell-script indentation after line continuation Karl Wette
2016-10-24 20:20 ` Philipp Stephani
2016-10-25 12:42   ` Karl Wette [this message]
2016-10-25 14:11     ` Philipp Stephani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+Rc+14U7AfNpMTYPnML6PS45aG7rHL3iwm=pRw_k8phc6xvsQ@mail.gmail.com' \
    --to=karl.wette@gmail.com \
    --cc=24785@debbugs.gnu.org \
    --cc=p.stephani2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.