From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22381: 24.5; emacs hangs in shell-script-mode + show-paren-mode Date: Sat, 16 Jan 2016 10:08:04 +0200 Message-ID: <8360yueyl7.fsf@gnu.org> References: <87pox2s4dm.fsf@marv.Speedport_W_921V_1_39_000> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1452931761 14554 80.91.229.3 (16 Jan 2016 08:09:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jan 2016 08:09:21 +0000 (UTC) Cc: 22381-done@debbugs.gnu.org To: emacs@bobspin.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 16 09:09:09 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aKLv3-0000bm-9f for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jan 2016 09:09:09 +0100 Original-Received: from localhost ([::1]:50042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKLv2-0001Cb-FT for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jan 2016 03:09:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKLuy-0001CW-W8 for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2016 03:09:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKLuv-0007IM-QP for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2016 03:09:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKLuv-0007II-Mf for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2016 03:09:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aKLuv-0001Sb-JW for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2016 03:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Jan 2016 08:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22381 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 22381-done@debbugs.gnu.org id=D22381.14529316975552 (code D ref 22381); Sat, 16 Jan 2016 08:09:01 +0000 Original-Received: (at 22381-done) by debbugs.gnu.org; 16 Jan 2016 08:08:17 +0000 Original-Received: from localhost ([127.0.0.1]:50423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKLuC-0001RU-Tc for submit@debbugs.gnu.org; Sat, 16 Jan 2016 03:08:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37421) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKLuB-0001RI-Ov for 22381-done@debbugs.gnu.org; Sat, 16 Jan 2016 03:08:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKLu0-0007E4-PB for 22381-done@debbugs.gnu.org; Sat, 16 Jan 2016 03:08:10 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKLu0-0007E0-La; Sat, 16 Jan 2016 03:08:04 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1928 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aKLtz-0007Sy-Vx; Sat, 16 Jan 2016 03:08:04 -0500 In-reply-to: <87pox2s4dm.fsf@marv.Speedport_W_921V_1_39_000> (emacs@bobspin.de) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111667 Archived-At: > From: emacs@bobspin.de > Date: Sat, 16 Jan 2016 02:24:37 +0100 > > when I'm in shell-script-mode with show-paren-mode enabled my Emacs > might hang if I'm writing a while-loop. In order for this to happen the > last line in the buffer has to start with "while" and must not be > terminated with a newline. The following actions trigger this symptom > for me when I start emacs using "emacs -Q": > > 1) Enable show-paren-mode by typing "(show-paren-mode 1)" and evaluating > it with "C-x C-e". > 2) Enable shell-script-mode by typing "(shell-script-mode)" and > evaluting it with "C-x C-e". > 3) Clear the *scratch*-buffer by first doing "C-x h" followed by "C-w". > 4) Type the word "while". Other words might follow but the line might > not be terminated with a newline. > 5) Go to the begining of the line using "C-a". Afterwards emacs hangs. I > can't move the cursor anymore. Thank you for your report. I can reproduce this bug in Emacs 24.5, but not in the current development sources on the emacs-25 branch. So this bug appears to be already fixed. I'm therefore closing this bug.