GNU bug report logs - #15613
Wrong indentation in Shell-script[sh] mode?

Previous Next

Package: emacs;

Reported by: Angelo Graziosi <angelo.graziosi <at> alice.it>

Date: Mon, 14 Oct 2013 20:54:01 UTC

Severity: normal

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Angelo Graziosi <angelo.graziosi <at> alice.it>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>, Glenn Morris <rgm <at> gnu.org>
Cc: 15613 <at> debbugs.gnu.org
Subject: bug#15613: Wrong indentation in Shell-script[sh] mode?
Date: Thu, 17 Oct 2013 18:46:07 +0200
Il 17/10/2013 5.57, Stefan Monnier ha scritto:
> I installed the patch below which should fix it, thank you,

Confirmed!

Thanks,
  Angelo.


>
> --- lisp/progmodes/sh-script.el	2013-10-13 23:21:56 +0000
> +++ lisp/progmodes/sh-script.el	2013-10-17 03:53:43 +0000
> @@ -3097,6 +3097,7 @@
>   OPEN and CLOSE are regexps denoting the tokens to be matched.
>   Optional parameter DEPTH (usually 1) says how many to look for."
>     (let ((parse-sexp-ignore-comments t)
> +        (forward-sexp-function nil)
>   	prev)
>       (setq depth (or depth 1))
>       (save-excursion
>





This bug report was last modified 11 years and 217 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.