X-Loop: help-debbugs@HIDDEN Subject: bug#31609: 25.3; sh-mode is confused about bash extglobs in case patterns Resent-From: Ville =?UTF-8?Q?Skytt=C3=A4?= <ville.skytta@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 27 May 2018 16:45:01 +0000 Resent-Message-ID: <handler.31609.B.152743948215905 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 31609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 31609 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.152743948215905 (code B ref -1); Sun, 27 May 2018 16:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 May 2018 16:44:42 +0000 Received: from localhost ([127.0.0.1]:51155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1fMymf-00048T-RD for submit <at> debbugs.gnu.org; Sun, 27 May 2018 12:44:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:32815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vskytta@HIDDEN>) id 1fMyme-00048E-Ks for submit <at> debbugs.gnu.org; Sun, 27 May 2018 12:44:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <vskytta@HIDDEN>) id 1fMymY-00046P-4Z for submit <at> debbugs.gnu.org; Sun, 27 May 2018 12:44:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:32812) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <vskytta@HIDDEN>) id 1fMymY-00046I-0t for submit <at> debbugs.gnu.org; Sun, 27 May 2018 12:44:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <vskytta@HIDDEN>) id 1fMymW-0003xy-53 for bug-gnu-emacs@HIDDEN; Sun, 27 May 2018 12:44:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <vskytta@HIDDEN>) id 1fMymU-00043V-L2 for bug-gnu-emacs@HIDDEN; Sun, 27 May 2018 12:44:32 -0400 Received: from mail-it0-x22b.google.com ([2607:f8b0:4001:c0b::22b]:50408) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <vskytta@HIDDEN>) id 1fMymU-00042Y-EA for bug-gnu-emacs@HIDDEN; Sun, 27 May 2018 12:44:30 -0400 Received: by mail-it0-x22b.google.com with SMTP id p3-v6so12300968itc.0 for <bug-gnu-emacs@HIDDEN>; Sun, 27 May 2018 09:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=5aJINsZA7+Zc15ge8pN8Qu14n5S0UDVLxOUsfU4GLiQ=; b=UL1OQpS9TbD4PK90POW+/toDjg/LRKP6I+BtzQf4OwcgbSDGVXLiq3hJ9bb9mkP31H 4vd/fnM6Iun0bU+l40UWQsrPa+KUsLl7G/Weenm00gc6iK8+NsJSLHgq5cwd366uYY3P dzDVHNdQoJKv/R84zuZvA6nqzbItu6hyDDO41Qj5kz2JOHIbzMWiEvmwS4JIRIbfyIHC Ncap+AF+QEvdWbv3t/HXeq8/Tv+yOo9RHB9zY07cX7qeqMmUIkoP773Agpmk1cygfMRo P4vmrK0qATzXY/rJcBfyiQ0cuiUvTwjTFMFzI7cI1FrRlFWwh7c1Gm+EcrMZJRgptAnp kbJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=5aJINsZA7+Zc15ge8pN8Qu14n5S0UDVLxOUsfU4GLiQ=; b=o9fT5TQ9SWYsMdE2leGHM94QfOljbwXmVbPROMHib01uo+CClDBkstlaJtDOmVwWxV ldqGUboBicnayfc7/uR3J4LHgKpOGRbJnTSn5i3IZk76w+DaslcA3Z7dsg/ERzAF4D0h hLtKJn6Z0biJOdNm9vTuhJA/HNBSNyTDN9YPExx3BhsPUQNTz+npuA7+5A3rtytqG2Gh hV1SbwtJ4NQ6FykeF9QibPY7eIzpQ5wwjuMP0KZv+rh9Ck4AoP9BRfxq4iDab45x07Po fj9q6BZbWSGvir7LES8WgVTX9PFFSiXPSF+7jNC46tiXfrxoZiSGlhr5knaqht1avo9o XBfw== X-Gm-Message-State: ALKqPwdRnpdAeC2g0yx6DS0QCT+yNY/pJbHwEKT6uA6gCgochhtz56wH 8e3zvm87pjFO0y4vNwzShFnTdKOA1eZYtTeV797+DTxx X-Google-Smtp-Source: ADUXVKL14xu/kzDhyOQXQGnh7vk0yNlW/aPK21yvOdzURxjo1bdORudeze+z9fmtTM/OrZuDQy/bj+ckHFkuZ3vkUms= X-Received: by 2002:a24:9c1:: with SMTP id 184-v6mr9204658itm.9.1527439468978; Sun, 27 May 2018 09:44:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:1c48:0:0:0:0:0 with HTTP; Sun, 27 May 2018 09:44:08 -0700 (PDT) From: Ville =?UTF-8?Q?Skytt=C3=A4?= <ville.skytta@HIDDEN> Date: Sun, 27 May 2018 18:44:08 +0200 X-Google-Sender-Auth: lVSzgiihf1LtF0j-fbwatA2t90k Message-ID: <CABr9L5CBkvqVyz3QJU1xqf_d3bsVcvq48kNPVNj=vUUv=mxa7Q@HIDDEN> Content-Type: text/plain; charset="UTF-8" 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.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.5 (----) When using bash's extended globbing constructs such as @(...), +(...), !(...), *(...) in case patterns, sh-mode gets confused and indentation no longer works properly. For example: case $foo in @(bar|quux)) <-- TAB brings the cursor here <-- ...whereas I would have expected it to be here [...] The indentation continues to be off for the remainder of the file, i.e. after the ;; and terminating `esac'. This is a largish annoyance for me when working with bash-completion, which currently uses these constructs quite a bit in case patterns, and more is on the way. In GNU Emacs 25.3.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.25) of 2018-04-19 built on lgw01-amd64-032 Windowing system distributor 'The X.Org Foundation', version 11.0.11905000 System Description: Ubuntu 17.10 Configured using: 'configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --program-suffix=25 --with-modules --with-x=yes --with-x-toolkit=gtk3 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs25-VAyiBS/emacs25-25.3~1.gite0284ab=. -fstack-protector-strong -Wformat -Werror=format-security -no-pie' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -no-pie'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LC_MONETARY: fi_FI.UTF-8 value of $LC_NUMERIC: fi_FI.UTF-8 value of $LC_TIME: fi_FI.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t global-company-mode: t company-mode: t projectile-global-mode: t projectile-mode: t which-function-mode: t show-paren-mode: t global-hl-line-mode: t editorconfig-mode: t global-flycheck-mode: t flycheck-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading editorconfig...done Loading hl-line...done Loading paren...done Loading which-func...done Turn on helm-projectile key bindings For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /home/scop/.emacs.d/elpa/editorconfig-0.7.11/editorconfig-autoloads hides /usr/share/emacs/site-lisp/elpa-src/editorconfig-0.4/editorconfig-autoloads /home/scop/.emacs.d/elpa/editorconfig-0.7.11/editorconfig-pkg hides /usr/share/emacs/site-lisp/elpa-src/editorconfig-0.4/editorconfig-pkg /home/scop/.emacs.d/elpa/editorconfig-0.7.11/editorconfig hides /usr/share/emacs/site-lisp/elpa-src/editorconfig-0.4/editorconfig /usr/share/emacs/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/25.3/lisp/textmodes/ispell /usr/share/emacs/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/25.3/lisp/textmodes/flyspell /home/scop/.emacs.d/elpa/let-alist-1.0.5/let-alist hides /usr/share/emacs/25.3/lisp/emacs-lisp/let-alist Features: (shadow sort mail-extr emacsbug message dired rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils company-oddmuse company-keywords company-etags etags xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company-anaconda anaconda-mode pythonic f s python tramp-sh url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap tramp tramp-compat auth-source gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete company helm-projectile helm-files helm-tags helm-buffers helm-locate helm-types projectile grep compile comint ansi-color ring ibuf-ext ibuffer thingatpt helm-swoop helm-grep helm-regexp format-spec helm-utils helm-help helm helm-source cl-seq eieio-compat eieio eieio-core cl-macs helm-multi-match helm-lib advice async iso-transl edmacro kmacro jka-compr which-func imenu paren hl-line editorconfig cus-start cus-load flycheck json map find-func subr-x dash use-package diminish bind-key easy-mmode finder-inf rx info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 324999 11377) (symbols 48 32532 0) (miscs 40 452 122) (strings 32 60098 10582) (string-bytes 1 1978257) (vectors 16 52692) (vector-slots 8 860266 5620) (floats 8 424 17) (intervals 56 309 71) (buffers 976 17))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ville =?UTF-8?Q?Skytt=C3=A4?= <ville.skytta@HIDDEN> Subject: bug#31609: Acknowledgement (25.3; sh-mode is confused about bash extglobs in case patterns) Message-ID: <handler.31609.B.152743948215905.ack <at> debbugs.gnu.org> References: <CABr9L5CBkvqVyz3QJU1xqf_d3bsVcvq48kNPVNj=vUUv=mxa7Q@HIDDEN> X-Gnu-PR-Message: ack 31609 X-Gnu-PR-Package: emacs Reply-To: 31609 <at> debbugs.gnu.org Date: Sun, 27 May 2018 16:45:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. 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 31609 <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 31609: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31609 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#31609: 25.3; sh-mode is confused about bash extglobs in case patterns Resent-From: Phil Sainty <psainty@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 27 May 2018 21:33:02 +0000 Resent-Message-ID: <handler.31609.B31609.152745673823854 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ville =?UTF-8?Q?Skytt=C3=A4?= <ville.skytta@HIDDEN> Cc: 31609 <at> debbugs.gnu.org, bug-gnu-emacs <bug-gnu-emacs-bounces+psainty=orcon.net.nz@HIDDEN> Received: via spool by 31609-submit <at> debbugs.gnu.org id=B31609.152745673823854 (code B ref 31609); Sun, 27 May 2018 21:33:02 +0000 Received: (at 31609) by debbugs.gnu.org; 27 May 2018 21:32:18 +0000 Received: from localhost ([127.0.0.1]:51315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1fN3H0-0006Cg-1h for submit <at> debbugs.gnu.org; Sun, 27 May 2018 17:32:18 -0400 Received: from smtp-3.orcon.net.nz ([60.234.4.44]:39074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <psainty@HIDDEN>) id 1fN3Gx-0006CX-Pd for 31609 <at> debbugs.gnu.org; Sun, 27 May 2018 17:32:16 -0400 Received: from [10.253.37.70] (port=30421 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from <psainty@HIDDEN>) id 1fN3Gt-0005cQ-Qa; Mon, 28 May 2018 09:32:11 +1200 Received: from [150.107.175.176] via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Mon, 28 May 2018 09:32:11 +1200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 28 May 2018 09:32:11 +1200 From: Phil Sainty <psainty@HIDDEN> In-Reply-To: <CABr9L5CBkvqVyz3QJU1xqf_d3bsVcvq48kNPVNj=vUUv=mxa7Q@HIDDEN> References: <CABr9L5CBkvqVyz3QJU1xqf_d3bsVcvq48kNPVNj=vUUv=mxa7Q@HIDDEN> Message-ID: <258635115c95ebb3eb97444c62c63307@HIDDEN> X-Sender: psainty@HIDDEN User-Agent: Orcon Webmail X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) If a workaround helps you, these variants are correctly indented: case $foo in (@(bar|quux)) : do things;; (@(bar|quux)) { : do things };; esac On 2018-05-28 04:44, Ville Skyttä wrote: > When using bash's extended globbing constructs such as @(...), +(...), > !(...), *(...) in case patterns, sh-mode gets confused and indentation > no longer works properly. > > For example: > > case $foo in > @(bar|quux)) > <-- TAB brings the cursor here > <-- ...whereas I would have expected it to be here > [...] > > The indentation continues to be off for the remainder of the file, > i.e. after the ;; and terminating `esac'. > > This is a largish annoyance for me when working with bash-completion, > which currently uses these constructs quite a bit in case patterns, and > more is on the way.
X-Loop: help-debbugs@HIDDEN Subject: bug#31609: 25.3; sh-mode is confused about bash extglobs in case patterns Resent-From: Phil Sainty <psainty@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 27 May 2018 23:38:02 +0000 Resent-Message-ID: <handler.31609.B31609.15274642682183 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ville =?UTF-8?Q?Skytt=C3=A4?= <ville.skytta@HIDDEN> Cc: 31609 <at> debbugs.gnu.org, bug-gnu-emacs <bug-gnu-emacs-bounces+psainty=orcon.net.nz@HIDDEN> Received: via spool by 31609-submit <at> debbugs.gnu.org id=B31609.15274642682183 (code B ref 31609); Sun, 27 May 2018 23:38:02 +0000 Received: (at 31609) by debbugs.gnu.org; 27 May 2018 23:37:48 +0000 Received: from localhost ([127.0.0.1]:51356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1fN5ES-0000Z9-G9 for submit <at> debbugs.gnu.org; Sun, 27 May 2018 19:37:48 -0400 Received: from smtp-3.orcon.net.nz ([60.234.4.44]:44405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <psainty@HIDDEN>) id 1fN5EO-0000Yy-EU for 31609 <at> debbugs.gnu.org; Sun, 27 May 2018 19:37:46 -0400 Received: from [10.253.37.70] (port=25079 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from <psainty@HIDDEN>) id 1fN5EK-0005z1-A7; Mon, 28 May 2018 11:37:40 +1200 Received: from wlgwil-nat-office.catalyst.net.nz ([202.78.240.7]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Mon, 28 May 2018 11:37:40 +1200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 28 May 2018 11:37:40 +1200 From: Phil Sainty <psainty@HIDDEN> In-Reply-To: <258635115c95ebb3eb97444c62c63307@HIDDEN> References: <CABr9L5CBkvqVyz3QJU1xqf_d3bsVcvq48kNPVNj=vUUv=mxa7Q@HIDDEN> <258635115c95ebb3eb97444c62c63307@HIDDEN> Message-ID: <92d6d0a6ff2db4a5ccedfc5ddb3d9b91@HIDDEN> X-Sender: psainty@HIDDEN User-Agent: Orcon Webmail X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) I suspect this is a duplicate of #21321 ?
X-Loop: help-debbugs@HIDDEN Subject: bug#31609: 25.3; sh-mode is confused about bash extglobs in case patterns Resent-From: Noam Postavsky <npostavs@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 28 May 2018 00:20:01 +0000 Resent-Message-ID: <handler.31609.B31609.15274667455758 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Phil Sainty <psainty@HIDDEN> Cc: 31609 <at> debbugs.gnu.org, Ville =?UTF-8?Q?Skytt=C3=A4?= <ville.skytta@HIDDEN>, bug-gnu-emacs <bug-gnu-emacs-bounces+psainty=orcon.net.nz@HIDDEN> Received: via spool by 31609-submit <at> debbugs.gnu.org id=B31609.15274667455758 (code B ref 31609); Mon, 28 May 2018 00:20:01 +0000 Received: (at 31609) by debbugs.gnu.org; 28 May 2018 00:19:05 +0000 Received: from localhost ([127.0.0.1]:51365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1fN5sP-0001Uj-1E for submit <at> debbugs.gnu.org; Sun, 27 May 2018 20:19:05 -0400 Received: from mail-io0-f182.google.com ([209.85.223.182]:36921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <npostavs@HIDDEN>) id 1fN5sN-0001U8-58; Sun, 27 May 2018 20:19:03 -0400 Received: by mail-io0-f182.google.com with SMTP id e20-v6so12303189iof.4; Sun, 27 May 2018 17:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=QXtmf0n7QGk1xzGXtQ/EedGejCN7nBTpHZY0MRLFOFQ=; b=DDA+/jyqP++LAI/y1CvHNUk3RhV/V+94INMuKGtnl8w4xZtOf6BitrDTKfecMaYgOt 2vXgVSb5UJTbgmSLSH2n/4z2xH89EomRke+2CDQ2rQqManORhpHPkhfsATLBdlQQWVqM B4afeog8wWdQCAXalXyYNQijTv/3ozvjN8yPjkntN+dV7PWTM3EbC75nWxvosqfsTy/+ g7Yjj6PJXkxb90S0JBJ+ofFW19zvpnucMsxP/n5NWfPJm/+MbLecGTLosK/tu5fN+L7D vGdSD9b7wIr5At0WC2fJn9J3hkKdWF4YYV8xWxIVPUZlpCKasR0t82RmcWZ55nCVPyhc WemA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=QXtmf0n7QGk1xzGXtQ/EedGejCN7nBTpHZY0MRLFOFQ=; b=tlntN6lOJZVVnlpbO+eJSvHtai727tHFgNZdTCr3QcXdUDumsxWWaQf4y42hi3HhMj bXp7OAJLbmpl3n7qjYd2DQONNU+FEQUNaBi+L9jK1ONXbBk9seWN/I7dw3Eipk3Rxd1S EUxiUzPJf/9UgbEvUWCap9rNwS8HfHUOT6nwjd0FCG8vUMCVw4BShg815dPHqn0k+m07 u7y0Y4OYaNbmlEFhuf0abP71tHVv4LH/Pq8vs5MB9iBiHkXSsin8OT8/uCZMz4Dk7OYX TZb6WsoGm+i5uIhbIrUJhtzY+rbJ1NMSSNaX52/RiCrqXf26k68GhyhWvoMQG6d/6m0F /q9A== X-Gm-Message-State: ALKqPwechxLzj5U0pfRqaihjFZIdJE7tr/xVrB9pDbotmNtp5fnk8FwN w2SrqpShu0L6D3ujGi1SCRXFpQ== X-Google-Smtp-Source: ADUXVKJ+/njQ53NMLpsY7Fflrukgf/nTjaFQYEtTU8TPWE1alTm9SG99FsB9TFHOv56sE1C1svkKLg== X-Received: by 2002:a6b:b3d6:: with SMTP id c205-v6mr9918792iof.93.1527466737427; Sun, 27 May 2018 17:18:57 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id e189-v6sm15361271ioe.0.2018.05.27.17.18.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 27 May 2018 17:18:56 -0700 (PDT) From: Noam Postavsky <npostavs@HIDDEN> In-Reply-To: <92d6d0a6ff2db4a5ccedfc5ddb3d9b91@HIDDEN> (Phil Sainty's message of "Mon, 28 May 2018 11:37:40 +1200") References: <CABr9L5CBkvqVyz3QJU1xqf_d3bsVcvq48kNPVNj=vUUv=mxa7Q@HIDDEN> <258635115c95ebb3eb97444c62c63307@HIDDEN> <92d6d0a6ff2db4a5ccedfc5ddb3d9b91@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Sun, 27 May 2018 20:18:54 -0400 Message-ID: <87d0xgeioh.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) forcemerge 21321 31609 quit Phil Sainty <psainty@HIDDEN> writes: > I suspect this is a duplicate of #21321 ? Yup, this one has a much clearer title though.
Received: (at control) by debbugs.gnu.org; 28 May 2018 00:19:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 27 20:19:05 2018 Received: from localhost ([127.0.0.1]:51363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1fN5sO-0001Uh-Pg for submit <at> debbugs.gnu.org; Sun, 27 May 2018 20:19:04 -0400 Received: from mail-io0-f182.google.com ([209.85.223.182]:36921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <npostavs@HIDDEN>) id 1fN5sN-0001U8-58; Sun, 27 May 2018 20:19:03 -0400 Received: by mail-io0-f182.google.com with SMTP id e20-v6so12303189iof.4; Sun, 27 May 2018 17:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=QXtmf0n7QGk1xzGXtQ/EedGejCN7nBTpHZY0MRLFOFQ=; b=DDA+/jyqP++LAI/y1CvHNUk3RhV/V+94INMuKGtnl8w4xZtOf6BitrDTKfecMaYgOt 2vXgVSb5UJTbgmSLSH2n/4z2xH89EomRke+2CDQ2rQqManORhpHPkhfsATLBdlQQWVqM B4afeog8wWdQCAXalXyYNQijTv/3ozvjN8yPjkntN+dV7PWTM3EbC75nWxvosqfsTy/+ g7Yjj6PJXkxb90S0JBJ+ofFW19zvpnucMsxP/n5NWfPJm/+MbLecGTLosK/tu5fN+L7D vGdSD9b7wIr5At0WC2fJn9J3hkKdWF4YYV8xWxIVPUZlpCKasR0t82RmcWZ55nCVPyhc WemA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=QXtmf0n7QGk1xzGXtQ/EedGejCN7nBTpHZY0MRLFOFQ=; b=tlntN6lOJZVVnlpbO+eJSvHtai727tHFgNZdTCr3QcXdUDumsxWWaQf4y42hi3HhMj bXp7OAJLbmpl3n7qjYd2DQONNU+FEQUNaBi+L9jK1ONXbBk9seWN/I7dw3Eipk3Rxd1S EUxiUzPJf/9UgbEvUWCap9rNwS8HfHUOT6nwjd0FCG8vUMCVw4BShg815dPHqn0k+m07 u7y0Y4OYaNbmlEFhuf0abP71tHVv4LH/Pq8vs5MB9iBiHkXSsin8OT8/uCZMz4Dk7OYX TZb6WsoGm+i5uIhbIrUJhtzY+rbJ1NMSSNaX52/RiCrqXf26k68GhyhWvoMQG6d/6m0F /q9A== X-Gm-Message-State: ALKqPwechxLzj5U0pfRqaihjFZIdJE7tr/xVrB9pDbotmNtp5fnk8FwN w2SrqpShu0L6D3ujGi1SCRXFpQ== X-Google-Smtp-Source: ADUXVKJ+/njQ53NMLpsY7Fflrukgf/nTjaFQYEtTU8TPWE1alTm9SG99FsB9TFHOv56sE1C1svkKLg== X-Received: by 2002:a6b:b3d6:: with SMTP id c205-v6mr9918792iof.93.1527466737427; Sun, 27 May 2018 17:18:57 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id e189-v6sm15361271ioe.0.2018.05.27.17.18.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 27 May 2018 17:18:56 -0700 (PDT) From: Noam Postavsky <npostavs@HIDDEN> To: Phil Sainty <psainty@HIDDEN> Subject: Re: bug#31609: 25.3; sh-mode is confused about bash extglobs in case patterns In-Reply-To: <92d6d0a6ff2db4a5ccedfc5ddb3d9b91@HIDDEN> (Phil Sainty's message of "Mon, 28 May 2018 11:37:40 +1200") References: <CABr9L5CBkvqVyz3QJU1xqf_d3bsVcvq48kNPVNj=vUUv=mxa7Q@HIDDEN> <258635115c95ebb3eb97444c62c63307@HIDDEN> <92d6d0a6ff2db4a5ccedfc5ddb3d9b91@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Sun, 27 May 2018 20:18:54 -0400 Message-ID: <87d0xgeioh.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: 31609 <at> debbugs.gnu.org, Ville =?utf-8?Q?Skytt=C3=A4?= <ville.skytta@HIDDEN>, bug-gnu-emacs <bug-gnu-emacs-bounces+psainty=orcon.net.nz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) forcemerge 21321 31609 quit Phil Sainty <psainty@HIDDEN> writes: > I suspect this is a duplicate of #21321 ? Yup, this one has a much clearer title though.
Received: (at control) by debbugs.gnu.org; 11 Jan 2022 16:49:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 11 11:49:23 2022 Received: from localhost ([127.0.0.1]:55382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1n7KKp-0003gy-Gp for submit <at> debbugs.gnu.org; Tue, 11 Jan 2022 11:49:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rgm@HIDDEN>) id 1n7KKo-0003gj-KC for control <at> debbugs.gnu.org; Tue, 11 Jan 2022 11:49:22 -0500 Received: from [2001:470:142:3::e] (port=51504 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rgm@HIDDEN>) id 1n7KKj-0003hL-8b for control <at> debbugs.gnu.org; Tue, 11 Jan 2022 11:49:17 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from <rgm@HIDDEN>) id 1n7KKi-000207-JK for control <at> debbugs.gnu.org; Tue, 11 Jan 2022 11:49:17 -0500 Subject: control message for bug 25353 To: <control <at> debbugs.gnu.org> X-Mailer: mail (GNU Mailutils 3.4) Message-Id: <E1n7KKi-000207-JK@HIDDEN> From: Glenn Morris <rgm@HIDDEN> Date: Tue, 11 Jan 2022 11:49:16 -0500 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) merge 31609 25353
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.