X-Loop: help-debbugs@HIDDEN Subject: bug#8566: 23.3; fails to do correct parenthesis matching in Autoconf mode Resent-From: Vincent Lefevre <vincent@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 27 Apr 2011 10:51:02 +0000 Resent-Message-ID: <handler.8566.B.130390140515322 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 8566 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8566 <at> debbugs.gnu.org Cc: Vincent Lefevre <vincent@HIDDEN> X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.130390140515322 (code B ref -1); Wed, 27 Apr 2011 10:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2011 10:50:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1QF2Jk-0003yh-FP for submit <at> debbugs.gnu.org; Wed, 27 Apr 2011 06:50:05 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <vincent@HIDDEN>) id 1QF2Jd-0003yN-Sb for submit <at> debbugs.gnu.org; Wed, 27 Apr 2011 06:49:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <vincent@HIDDEN>) id 1QF2JU-0005bH-QH for submit <at> debbugs.gnu.org; Wed, 27 Apr 2011 06:49:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:49102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <vincent@HIDDEN>) id 1QF2JU-0005bC-OR for submit <at> debbugs.gnu.org; Wed, 27 Apr 2011 06:49:44 -0400 Received: from eggs.gnu.org ([140.186.70.92]:55134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <vincent@HIDDEN>) id 1QF2JQ-0002Oh-Ob for bug-gnu-emacs@HIDDEN; Wed, 27 Apr 2011 06:49:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <vincent@HIDDEN>) id 1QF2JM-0005XB-Cg for bug-gnu-emacs@HIDDEN; Wed, 27 Apr 2011 06:49:40 -0400 Received: from ypig.lip.ens-lyon.fr ([140.77.13.48]:48154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <vincent@HIDDEN>) id 1QF2JM-0005Wf-2W for bug-gnu-emacs@HIDDEN; Wed, 27 Apr 2011 06:49:36 -0400 Received: from vlefevre by ypig.lip.ens-lyon.fr with local (Exim 4.75) (envelope-from <vincent@HIDDEN>) id 1QF2JH-0003wY-JS; Wed, 27 Apr 2011 12:49:31 +0200 From: Vincent Lefevre <vincent@HIDDEN> Date: Wed, 27 Apr 2011 12:49:31 +0200 Message-ID: <87liywufyc.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.6 (------) Emacs fails to do correct parenthesis matching in Autoconf mode. For instance, test with M-x check-parens on a file containing: AC_DEFUN([FOO], [ case $host in *) foo ;; esac ]) Note: I can't reproduce bug 4920. So, this is a different problem. In GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.4) of 2011-04-10 on brahms, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10905000 configured using `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.3/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.3/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: POSIX value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: en_DK value of $LANG: POSIX value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: <escape> x r e p o <tab> r <tab> <return> Recent messages: Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...done Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done Loading /etc/emacs/site-start.d/50rnc-mode.el (source)...done Loading /etc/emacs/site-start.d/50thailatex.el (source)...done Loading /etc/emacs/site-start.d/50w3m-el.el (source)...done Loading /home/vlefevre/share/emacs/site-lisp/mutteditor.el (source)...done Loading time...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: /usr/share/emacs23/site-lisp/css-mode/css-mode hides /usr/share/emacs/site-lisp/css-mode/css-mode /usr/share/emacs23/site-lisp/html-helper-mode/tempo hides /usr/share/emacs/site-lisp/html-helper-mode/tempo /usr/share/emacs23/site-lisp/html-helper-mode/visual-basic-mode hides /usr/share/emacs/site-lisp/html-helper-mode/visual-basic-mode /usr/share/emacs23/site-lisp/html-helper-mode/hhm-config hides /usr/share/emacs/site-lisp/html-helper-mode/hhm-config /usr/share/emacs23/site-lisp/html-helper-mode/html-helper-mode hides /usr/share/emacs/site-lisp/html-helper-mode/html-helper-mode /usr/share/emacs/23.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs/23.3/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs23/site-lisp/flim/sha1 hides /usr/share/emacs/23.3/lisp/sha1 /usr/share/emacs23/site-lisp/flim/hex-util hides /usr/share/emacs/23.3/lisp/hex-util /usr/share/emacs23/site-lisp/flim/md4 hides /usr/share/emacs/23.3/lisp/md4 /usr/share/emacs23/site-lisp/html-helper-mode/tempo hides /usr/share/emacs/23.3/lisp/tempo /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.3/lisp/textmodes/ispell /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.3/lisp/textmodes/flyspell /usr/share/emacs23/site-lisp/css-mode/css-mode hides /usr/share/emacs/23.3/lisp/textmodes/css-mode /usr/share/emacs23/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.3/lisp/net/hmac-md5 /usr/share/emacs23/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.3/lisp/net/sasl-ntlm /usr/share/emacs23/site-lisp/flim/ntlm hides /usr/share/emacs/23.3/lisp/net/ntlm /usr/share/emacs23/site-lisp/flim/sasl hides /usr/share/emacs/23.3/lisp/net/sasl /usr/share/emacs23/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.3/lisp/net/sasl-cram /usr/share/emacs23/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.3/lisp/net/sasl-digest /usr/share/emacs23/site-lisp/flim/hmac-def hides /usr/share/emacs/23.3/lisp/net/hmac-def /usr/share/emacs23/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/23.3/lisp/language/thai-word Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 sha1-el hex-util hashcash mail-utils warnings emacsbug help-mode easymenu view time cus-start cus-load paren cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt w3m-load tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Vincent Lefevre <vincent@HIDDEN> Subject: bug#8566: Acknowledgement (23.3; fails to do correct parenthesis matching in Autoconf mode) Message-ID: <handler.8566.B.130390140515322.ack <at> debbugs.gnu.org> References: <87liywufyc.fsf@HIDDEN> X-Gnu-PR-Message: ack 8566 X-Gnu-PR-Package: emacs Reply-To: 8566 <at> debbugs.gnu.org Date: Wed, 27 Apr 2011 10:51:02 +0000 Thank you for filing a new bug report with GNU. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 8566 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 8566: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8566 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#8566: 23.3; fails to do correct parenthesis matching in Autoconf mode Resent-From: Vincent Lefevre <vincent@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 27 Apr 2011 14:48:02 +0000 Resent-Message-ID: <handler.8566.B8566.13039156676986 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 8566 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8566 <at> debbugs.gnu.org Received: via spool by 8566-submit <at> debbugs.gnu.org id=B8566.13039156676986 (code B ref 8566); Wed, 27 Apr 2011 14:48:02 +0000 Received: (at 8566) by debbugs.gnu.org; 27 Apr 2011 14:47:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1QF61n-0001oY-8C for submit <at> debbugs.gnu.org; Wed, 27 Apr 2011 10:47:47 -0400 Received: from vinc17.pck.nerim.net ([213.41.242.187] helo=smtp-prunille.vinc17.net) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <vincent@HIDDEN>) id 1QF61g-0001oF-Ks for 8566 <at> debbugs.gnu.org; Wed, 27 Apr 2011 10:47:40 -0400 Received: by prunille.vinc17.org (Postfix, from userid 501) id 7B3C05F80540; Wed, 27 Apr 2011 16:47:30 +0200 (CEST) Date: Wed, 27 Apr 2011 16:47:30 +0200 From: Vincent Lefevre <vincent@HIDDEN> Message-ID: <20110427144730.GA22000@HIDDEN> References: <87liywufyc.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <87liywufyc.fsf@HIDDEN> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6171-vl-r42848 (2011-03-30) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -4.0 (----) I'd add that with (show-paren-mode 1) incorrect matching is also shown. It should do strict parenthesis matching. --=20 Vincent Lef=E8vre <vincent@HIDDEN> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Ar=E9naire project (LIP, ENS-Lyon)
X-Loop: help-debbugs@HIDDEN Subject: bug#8566: 23.3; fails to do correct parenthesis matching in Autoconf mode Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 27 Apr 2011 17:47:02 +0000 Resent-Message-ID: <handler.8566.B8566.130392638923040 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 8566 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vincent Lefevre <vincent@HIDDEN> Cc: 8566 <at> debbugs.gnu.org Received: via spool by 8566-submit <at> debbugs.gnu.org id=B8566.130392638923040 (code B ref 8566); Wed, 27 Apr 2011 17:47:02 +0000 Received: (at 8566) by debbugs.gnu.org; 27 Apr 2011 17:46:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1QF8om-0005zY-45 for submit <at> debbugs.gnu.org; Wed, 27 Apr 2011 13:46:28 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <monnier@HIDDEN>) id 1QF8oj-0005zK-Ry for 8566 <at> debbugs.gnu.org; Wed, 27 Apr 2011 13:46:26 -0400 Received: from 121-249-126-200.fibertel.com.ar ([200.126.249.121]:61635 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1QF8oe-0004Bo-2h; Wed, 27 Apr 2011 13:46:20 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 3F4EC660D8; Wed, 27 Apr 2011 14:46:16 -0300 (ART) From: Stefan Monnier <monnier@HIDDEN> Message-ID: <jwvhb9jpoz7.fsf-monnier+emacs@HIDDEN> References: <87liywufyc.fsf@HIDDEN> Date: Wed, 27 Apr 2011 14:46:16 -0300 In-Reply-To: <87liywufyc.fsf@HIDDEN> (Vincent Lefevre's message of "Wed, 27 Apr 2011 12:49:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.0 (------) > Emacs fails to do correct parenthesis matching in Autoconf mode. > For instance, test with M-x check-parens on a file containing: > AC_DEFUN([FOO], > [ > case $host in > *) > foo ;; > esac > ]) I guess it needs to use sh-script's handling of case's ")". Stefan
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.