From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4920: 23.1; (check-parens) problem with bash script case items unbalanced close paren Date: Sat, 09 Jul 2016 20:11:27 -0400 Message-ID: References: <87hbsxgjfe.fsf@stupidchicken.com> <8737nlc4td.fsf@users.sourceforge.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1468109546 3623 80.91.229.3 (10 Jul 2016 00:12:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2016 00:12:26 +0000 (UTC) Cc: 4920@debbugs.gnu.org, Chong Yidong , Jeremy Hall To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 10 02:12:15 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 1bM2M3-0002TK-3U for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2016 02:12:15 +0200 Original-Received: from localhost ([::1]:52836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bM2M2-0007tC-EM for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 20:12:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bM2Lw-0007t7-G6 for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 20:12:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bM2Lq-0007Fa-DX for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 20:12:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bM2Lq-0007FW-9r for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 20:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bM2Lq-00037U-2c for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 20:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2016 00:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4920 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 4920-submit@debbugs.gnu.org id=B4920.146810949511960 (code B ref 4920); Sun, 10 Jul 2016 00:12:02 +0000 Original-Received: (at 4920) by debbugs.gnu.org; 10 Jul 2016 00:11:35 +0000 Original-Received: from localhost ([127.0.0.1]:44495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bM2LP-00036q-F3 for submit@debbugs.gnu.org; Sat, 09 Jul 2016 20:11:35 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:54725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bM2LO-00036d-6I for 4920@debbugs.gnu.org; Sat, 09 Jul 2016 20:11:34 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CXDQA731xV/wfHSC1cgxCEAsEVhH6CTQQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLNBIUGA2IWwjPIwEBAQEBAQQBAQEBHos6hQUHFoQXBbUEI4FmVYFZIoJ4AQEB X-IPAS-Result: A0CXDQA731xV/wfHSC1cgxCEAsEVhH6CTQQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLNBIUGA2IWwjPIwEBAQEBAQQBAQEBHos6hQUHFoQXBbUEI4FmVYFZIoJ4AQEB X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="247170880" Original-Received: from 45-72-199-7.cpe.teksavvy.com (HELO pastel.home) ([45.72.199.7]) by ironport2-out.teksavvy.com with ESMTP; 09 Jul 2016 20:11:28 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 90E546150B; Sat, 9 Jul 2016 20:11:27 -0400 (EDT) In-Reply-To: <8737nlc4td.fsf@users.sourceforge.net> (npostavs's message of "Thu, 07 Jul 2016 21:10:54 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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" Xref: news.gmane.org gmane.emacs.bugs:120728 Archived-At: > diff --git i/lisp/emacs-lisp/lisp.el w/lisp/emacs-lisp/lisp.el > index ea7cce6..9786429 100644 > --- i/lisp/emacs-lisp/lisp.el > +++ w/lisp/emacs-lisp/lisp.el > @@ -719,2 +719,3 @@ check-parens > (interactive) > + (syntax-propertize (point-max)) > (condition-case data FWIW, the new support in Emacs-25 for calling syntax-propertize directly from forward-parsing operations should make the above unnecessary (tho I must admit I haven't tested this). Stefan