Subject: Emacs hangs in sh-mode

From: "jun" <[email-masked]>
Date: Fri, 30 Oct 2015 17:20:10 +0800

Run emacs with "emacs -Q". Open the attached file. Turn on show-paren-mode. 
Then let cursor stay on word "while" or "do". Emacs hangs.

Emacs version: 24.5 on Linux.