From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jeremy Hall Newsgroups: gmane.emacs.bugs Subject: bug#4920: 23.1; (check-parens) problem with bash script case items unbalanced close paren Date: Fri, 13 Nov 2009 16:14:40 +0000 Organization: BakBone Message-ID: <1258128880.8429.22.camel@jeremy> Reply-To: Jeremy Hall , 4920@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258144601 15579 80.91.229.12 (13 Nov 2009 20:36:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Nov 2009 20:36:41 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 13 21:36:34 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N92sh-0001OU-IK for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Nov 2009 21:36:32 +0100 Original-Received: from localhost ([127.0.0.1]:44558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N92sh-0008HE-1V for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Nov 2009 15:36:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8zJ1-0007gW-JF for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2009 11:47:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8zIw-0007f2-44 for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2009 11:47:26 -0500 Original-Received: from [199.232.76.173] (port=40345 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8zIv-0007ez-SQ for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2009 11:47:21 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58805) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8zIv-0008RP-93 for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2009 11:47:21 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nADGlJWN006884; Fri, 13 Nov 2009 08:47:19 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nADGj5sN006558; Fri, 13 Nov 2009 08:45:05 -0800 Resent-Date: Fri, 13 Nov 2009 08:45:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jeremy Hall Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 13 Nov 2009 16:45:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4920 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12581302006045 (code B ref -1); Fri, 13 Nov 2009 16:45:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 13 Nov 2009 16:36:40 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nADGacah006042 for ; Fri, 13 Nov 2009 08:36:39 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8z8Y-00025J-1e for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2009 11:36:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8z8S-00021d-DD for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2009 11:36:36 -0500 Original-Received: from [199.232.76.173] (port=42868 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8z8S-00021P-7L for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2009 11:36:32 -0500 Original-Received: from bbfe1.bakbone.com ([209.126.247.155]:46869 helo=bbfe2.bakbone.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8z8R-0006rZ-Dd for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2009 11:36:31 -0500 Original-Received: from USX1.corp.bb ([10.1.20.60] RDNS failed) by bbfe2.bakbone.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 13 Nov 2009 08:14:24 -0800 Original-Received: from 10.45.40.136 ([10.45.40.136]) by USX1.corp.bb ([10.1.20.63]) via Exchange Front-End Server mail2.bakbone.com ([10.1.20.65]) with Microsoft Exchange Server HTTP-DAV ; Fri, 13 Nov 2009 16:14:23 +0000 Original-Received: from jeremy by mail2.bakbone.com; 13 Nov 2009 16:14:41 +0000 X-Mailer: Evolution 2.24.1 (2.24.1-2.fc10) X-OriginalArrivalTime: 13 Nov 2009 16:14:24.0029 (UTC) FILETIME=[5D771CD0:01CA647C] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-Greylist: delayed 1325 seconds by postgrey-1.27 at monty-python; Fri, 13 Nov 2009 11:36:30 EST X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 13 Nov 2009 11:47:26 -0500 X-Mailman-Approved-At: Fri, 13 Nov 2009 15:36:00 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32592 Archived-At: Running (check-parens) fails on a bash script with case statements in because of the unmatched close ")". Would it be possible to fix this, or tell me how to work around it? For example:- case "$SYSNAME" in Darwin) # ssss ;; Linux) Many thanks, Jeremy mail@jeremy-hall.com In GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-09-08 on jeremy Windowing system distributor `The X.Org Foundation', version 11.0.10503000 configured using `configure 'CFLAGS=-march=native -O3 -s -ffast-math -fomit-frame-pointer -minline-all-stringops -pipe -fno-ident'' Important settings: value of $LC_ALL: C value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=imsettings locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Shell-script Minor modes in effect: cua-mode: t recentf-mode: t which-function-mode: t show-paren-mode: t diff-auto-refine-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: o c SPC " J A H " " J A H SPC c a l l SPC r e c u r s SPC u i n e SPC i n s t a l l SPC l i b c a n b i n e t " C-j C-u d e d u p e C-z C-z C-z C-@ Recent messages: Note: file is write protected Setting up indent for shell type bash setting up indent stuff Indentation variables are now local. Indentation setup for shell type bash newline: Buffer is read-only: # Setting up indent for shell type bash setting up indent stuff Indentation variables are now local. Indentation setup for shell type bash