From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 01 06:39:06 2012 Received: (at submit) by debbugs.gnu.org; 1 Oct 2012 10:39:07 +0000 Received: from localhost ([127.0.0.1]:35774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIdOz-0002zL-RM for submit@debbugs.gnu.org; Mon, 01 Oct 2012 06:39:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57415) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIdOr-0002yh-TI for submit@debbugs.gnu.org; Mon, 01 Oct 2012 06:39:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIdOL-0005uM-HC for submit@debbugs.gnu.org; Mon, 01 Oct 2012 06:38:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:58103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIdOL-0005uG-C6 for submit@debbugs.gnu.org; Mon, 01 Oct 2012 06:38:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIdOG-0003IK-VL for bug-gnu-emacs@gnu.org; Mon, 01 Oct 2012 06:38:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIdOB-0005qs-Hp for bug-gnu-emacs@gnu.org; Mon, 01 Oct 2012 06:38:20 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:49889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIdOB-0005qM-7q for bug-gnu-emacs@gnu.org; Mon, 01 Oct 2012 06:38:15 -0400 Received: by padfa10 with SMTP id fa10so4416264pad.0 for ; Mon, 01 Oct 2012 03:38:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=lV2XZc7Z9ipxi/wPKN0Z+tlFGWnwOi/vsNbIQm8iSeM=; b=G/qIrm6QNbcfwufzUc3BxnhWgXi/Rqsh6T4W7HvxktOa6LXVmdQ16j+JzKolqgaccx 4QZlK2/Z5LCoWxreCFnS02zFFCwYVvNTD4pMYzZBQqruWg32R6XuyultxJPXGOS80asg WDllv+RXRU4vqVGgrYYfpjQ6p7fvEBdErLeS52O/WkHwPyqG0l7uIYuB7ErHcqS7TIP1 IFuooCf84tv+Su8HVdjEqJg2UmCBTijhvLGqa/SojUbLMxHn+Btx1NBT6MBI4ULofJav CXtYbbOW5oID2yH3SjVlwtO9tU+VgK2/Zjn0EiRG3lH4nFlKfA6qNxIpFw96ffSiJXBy iLfg== Received: by 10.68.232.163 with SMTP id tp3mr40001346pbc.44.1349087894022; Mon, 01 Oct 2012 03:38:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.15.164 with HTTP; Mon, 1 Oct 2012 03:37:53 -0700 (PDT) From: Jack Duthen Date: Mon, 1 Oct 2012 12:37:53 +0200 X-Google-Sender-Auth: fFYli7RSJV4XDsrmerbmXjCPp8A Message-ID: Subject: 23.3; sh-mode backward-list with case and = To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 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: 208.118.235.17 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.3 (----) --text follows this line-- This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your report will be posted to the bug-gnu-emacs@gnu.org mailing list and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Create ans edit the file "bug_file.ksh". Try C-M-n and C-M-p over the file: => Unbalanced parentheses $ cat bug_file.ksh #!/bin/ksh # Move point here and type C-n C-M-n C-M-n C-M-n function foo_ok { case "${foo}" in (=G*) ;; esac } function foo_ok { case "${foo}" in "=G"*) ;; esac } function foo_bug { case "${foo}" in =G*) ;; esac } # Move point here and type C-p C-M-p # bug_file.ksh ends here If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/23.3/etc/DEBUG. In GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-21 on akateko, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11103000 configured using `configure '--build' 'i686-linux-gnu' '--build' 'i686-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-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i686-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_ALL: nil 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_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Shell-script Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-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 line-number-mode: t transient-mark-mode: t Recent input: C-x C-f . e J B E B B K C-n C-n C-M-n C-M-n C-M-n Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Setting up indent for shell type pdksh setting up indent stuff Indentation variables are now local. Indentation setup for shell type pdksh forward-list: Scan error: "Unbalanced parentheses", 265, 1 Load-path shadows: /usr/share/emacs/23.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs/23.3/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.3/lisp/textmodes/flyspell /usr/share/emacs/23.3/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.3/lisp/textmodes/ispell 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 hex-util hashcash mail-utils emacsbug regexp-opt sh-script executable help-mode easymenu view 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) From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 25 10:07:34 2012 Received: (at 12547) by debbugs.gnu.org; 25 Oct 2012 14:07:34 +0000 Received: from localhost ([127.0.0.1]:33305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TRO5t-0005Jd-QZ for submit@debbugs.gnu.org; Thu, 25 Oct 2012 10:07:34 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:57486) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TRO5r-0005JP-EQ for 12547@debbugs.gnu.org; Thu, 25 Oct 2012 10:07:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu0/O+LFW/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="202835025" Received: from 206-248-177-86.dsl.teksavvy.com (HELO pastel.home) ([206.248.177.86]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 25 Oct 2012 10:05:21 -0400 Received: by pastel.home (Postfix, from userid 20848) id 63D2D59347; Thu, 25 Oct 2012 10:05:21 -0400 (EDT) From: Stefan Monnier To: Jack Duthen Subject: Re: bug#12547: 23.3; sh-mode backward-list with case and = Message-ID: References: Date: Thu, 25 Oct 2012 10:05:21 -0400 In-Reply-To: (Jack Duthen's message of "Mon, 1 Oct 2012 12:37:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12547 Cc: 12547@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > function foo_ok { > case "${foo}" in > (=G*) ;; > esac > } sh-mode does not understand this (=G*) syntax. Is it valid? Is it equivalent to =G*) or to \(=G*) ? If it is valid and you have a pointer to some doc about it, that would be very helpful, Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 25 11:25:45 2012 Received: (at 12547) by debbugs.gnu.org; 25 Oct 2012 15:25:45 +0000 Received: from localhost ([127.0.0.1]:33365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TRPJZ-00078X-2s for submit@debbugs.gnu.org; Thu, 25 Oct 2012 11:25:45 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:33672) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TRPJW-00078O-2Z for 12547@debbugs.gnu.org; Thu, 25 Oct 2012 11:25:43 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3XnXD901Smz4KK77; Thu, 25 Oct 2012 17:23:36 +0200 (CEST) X-Auth-Info: JLkiDSB3Fd5Z0XNKhsd63hLygoL4llntCceSzPmkQgM= Received: from igel.home (ppp-93-104-156-173.dynamic.mnet-online.de [93.104.156.173]) by mail.mnet-online.de (Postfix) with ESMTPA id 3XnXD86L5Tzbbm7; Thu, 25 Oct 2012 17:23:36 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 8546ECA2A1; Thu, 25 Oct 2012 17:23:36 +0200 (CEST) From: Andreas Schwab To: Stefan Monnier Subject: Re: bug#12547: 23.3; sh-mode backward-list with case and = References: X-Yow: This PIZZA symbolizes my COMPLETE EMOTIONAL RECOVERY!! Date: Thu, 25 Oct 2012 17:23:36 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 25 Oct 2012 10:05:21 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12547 Cc: 12547@debbugs.gnu.org, Jack Duthen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) Stefan Monnier writes: > sh-mode does not understand this (=G*) syntax. Is it valid? > Is it equivalent to =G*) or to \(=G*) ? > If it is valid and you have a pointer to some doc about it, that would > be very helpful, http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_04_05 Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 25 13:49:08 2012 Received: (at 12547) by debbugs.gnu.org; 25 Oct 2012 17:49:08 +0000 Received: from localhost ([127.0.0.1]:33601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TRRYK-0003mG-BU for submit@debbugs.gnu.org; Thu, 25 Oct 2012 13:49:08 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:37940) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TRRYH-0003m8-Mn for 12547@debbugs.gnu.org; Thu, 25 Oct 2012 13:49:07 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q9PHkxZU007678; Thu, 25 Oct 2012 13:47:00 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id D4463B4278; Thu, 25 Oct 2012 13:46:59 -0400 (EDT) From: Stefan Monnier To: Andreas Schwab Subject: Re: bug#12547: 23.3; sh-mode backward-list with case and = Message-ID: References: Date: Thu, 25 Oct 2012 13:46:59 -0400 In-Reply-To: (Andreas Schwab's message of "Thu, 25 Oct 2012 17:23:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4382=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4382> : streams <845314> : uri <1252263> X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 12547 Cc: 12547@debbugs.gnu.org, Jack Duthen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) >> sh-mode does not understand this (=G*) syntax. Is it valid? >> Is it equivalent to =G*) or to \(=G*) ? >> If it is valid and you have a pointer to some doc about it, that would >> be very helpful, > http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_04_05 Thanks. So the "(" in (=G*) is basically silent. Now, all we need is for someone to write the patch ;-) Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 28 20:09:45 2012 Received: (at 12547-done) by debbugs.gnu.org; 29 Oct 2012 00:09:45 +0000 Received: from localhost ([127.0.0.1]:37067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TScvJ-0005CC-Ey for submit@debbugs.gnu.org; Sun, 28 Oct 2012 20:09:45 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:17264) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TScvI-0005C5-1X for 12547-done@debbugs.gnu.org; Sun, 28 Oct 2012 20:09:44 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu0/O+LET/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="203040193" Received: from 206-248-177-19.dsl.teksavvy.com (HELO pastel.home) ([206.248.177.19]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 28 Oct 2012 20:07:20 -0400 Received: by pastel.home (Postfix, from userid 20848) id 9C9DD59415; Sun, 28 Oct 2012 20:07:19 -0400 (EDT) From: Stefan Monnier To: Andreas Schwab Subject: Re: bug#12547: 23.3; sh-mode backward-list with case and = Message-ID: References: Date: Sun, 28 Oct 2012 20:07:19 -0400 In-Reply-To: (Stefan Monnier's message of "Thu, 25 Oct 2012 13:46:59 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12547-done Cc: 12547-done@debbugs.gnu.org, Jack Duthen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > Now, all we need is for someone to write the patch ;-) Should be fixed now, Stefan From unknown Thu Jun 19 14:13:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 26 Nov 2012 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator