From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: 15613@debbugs.gnu.org, Angelo Graziosi <angelo.graziosi@alice.it>
Subject: bug#15613: Wrong indentation in Shell-script[sh] mode?
Date: Wed, 16 Oct 2013 23:57:34 -0400 [thread overview]
Message-ID: <jwv61swk0ry.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <2by55sr6vx.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 16 Oct 2013 22:03:14 -0400")
I installed the patch below which should fix it, thank you,
Stefan
--- 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
next prev parent reply other threads:[~2013-10-17 3:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-14 20:53 bug#15613: Wrong indentation in Shell-script[sh] mode? Angelo Graziosi
2013-10-15 14:37 ` Stefan Monnier
2013-10-15 14:56 ` Glenn Morris
2013-10-15 22:26 ` Angelo Graziosi
2013-10-15 22:23 ` Angelo Graziosi
2013-10-16 22:41 ` Glenn Morris
2013-10-17 1:03 ` Stefan Monnier
2013-10-17 2:03 ` Glenn Morris
2013-10-17 3:57 ` Stefan Monnier [this message]
2013-10-17 16:46 ` Angelo Graziosi
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=jwv61swk0ry.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=15613@debbugs.gnu.org \
--cc=angelo.graziosi@alice.it \
--cc=rgm@gnu.org \
/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.