all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: "jun" <netjunegg@qq.com>
Cc: 21793@debbugs.gnu.org
Subject: bug#21793: Emacs hangs in sh-mode
Date: Sat, 31 Oct 2015 07:02:53 +0100	[thread overview]
Message-ID: <87d1vv8tiq.fsf@gnu.org> (raw)
In-Reply-To: <tencent_2669A2B3320E4A1C219FC2C9@qq.com> (jun's message of "Fri,  30 Oct 2015 17:20:10 +0800")

"jun" <netjunegg@qq.com> writes:

Hi!

> 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.
> #!/bin/sh
>
> while [ 1 -gt 0]
> do

I can't reproduce this with emacs 24.5, but given your example and
description, I think this is a duplicate of

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21747

which I have fixed in 1bab3cefc133e06aaf4a48efb1623d1b458ab212.

  http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=1bab3cefc133e06aaf4a48efb1623d1b458ab212

If you can do that, could you please check if applying that patch to
your sh-script.el fixes the problem?  (Be sure to recompile it
afterwards.)

Bye,
Tassilo





  reply	other threads:[~2015-10-31  6:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-30  9:20 bug#21793: Emacs hangs in sh-mode jun
2015-10-31  6:02 ` Tassilo Horn [this message]
2015-11-02  2:07   ` Glenn Morris
2015-11-02 19:38     ` Tassilo Horn
2015-11-02 22:27       ` Glenn Morris

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=87d1vv8tiq.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=21793@debbugs.gnu.org \
    --cc=netjunegg@qq.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.