From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Allen Li Newsgroups: gmane.emacs.bugs Subject: bug#30561: 25.2.50; sh-mode indentation for ? case wrong Date: Tue, 20 Feb 2018 23:20:01 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1519168755 22616 195.159.176.226 (20 Feb 2018 23:19:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2018 23:19:15 +0000 (UTC) To: 30561@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 21 00:19:11 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoHBk-0005IC-HU for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Feb 2018 00:19:09 +0100 Original-Received: from localhost ([::1]:58202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoHDl-0000jm-5i for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Feb 2018 18:21:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoHDe-0000jP-Bm for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 18:21:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoHDb-0000Um-4l for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 18:21:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45479) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoHDb-0000Ug-0f for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 18:21:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eoHDa-0007Uc-Js for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 18:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Feb 2018 23:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30561 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.151916882928741 (code B ref -1); Tue, 20 Feb 2018 23:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Feb 2018 23:20:29 +0000 Original-Received: from localhost ([127.0.0.1]:53376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoHD3-0007TV-8n for submit@debbugs.gnu.org; Tue, 20 Feb 2018 18:20:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoHD1-0007TI-9E for submit@debbugs.gnu.org; Tue, 20 Feb 2018 18:20:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoHCu-0008Mw-K1 for submit@debbugs.gnu.org; Tue, 20 Feb 2018 18:20:21 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eoHCu-0008MM-5M for submit@debbugs.gnu.org; Tue, 20 Feb 2018 18:20:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoHCt-0000eh-5C for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 18:20:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoHCp-0008E2-PE for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 18:20:19 -0500 Original-Received: from mail-qt0-x236.google.com ([2607:f8b0:400d:c0d::236]:36500) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoHCp-0008Cf-Ij for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 18:20:15 -0500 Original-Received: by mail-qt0-x236.google.com with SMTP id c7so4205868qtn.3 for ; Tue, 20 Feb 2018 15:20:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=42NEGEin2z4WWlv5vQe3/cAgpxSQGD2BVXc1r3JT+bc=; b=Ir147LKD/Q1jeCQ7UyAfC9RkYOd8J6K3Bi//a/14qsrEpUJevUpxNTFtRtyk2Lj9+2 VZgfjYW2Mll0YEcpqAzaCrt7Ox+3Gwj9+0/+S98HR60E+4DYqT8gojFSBdpFgO34bYQa vvTRv3+GWRKlKwkZqHJRLRo1bmQrf6u/9CGOxqL/k8x9mWkGM5DRjTdh0Cu4ngwdn0va VcLQud3fWU5v9Z2Jx3N1nH5vr1cj/y81BGoCfB4mt81+aTPIHEfLUePoK79HSAAzsesP 9y90ur7PYxrpkEQVnWvTzFIMNoL/aoO5WW/mL9HtUe6nizTQbLS3dMdlNfM39erHcCkw 9ykQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=42NEGEin2z4WWlv5vQe3/cAgpxSQGD2BVXc1r3JT+bc=; b=tgdf576KolsjyCXi0+gB+4AAXo5V1LpXoCxEY4WOCU9oXmrfk3Lry8oCmvp/6Q3j3N ISC9Idu8Vn2M3e+4J1Aai+tjQJg+YR2vDD3ONuwkrAgMlAQ4RWxY6rdF7/bkHT76UX4o aycN1fbSZqtc/Djhdoyhdx/BEpKVjGP7F/GFt4Q9Z7G/Sp20pzUw2fQtI+5aNWVL6VZ/ xDb5eTK0dk+SJs1aU3/gR7nApgdRT+d1jNzW7XXpIgg1zy8FuTgDSg+BVOY3uMRzA4vu Li1dCrVP3QBcQ0O32habukCOn20JzaaSJkmkfxD4+4eZhqigj3JH9qCo6bmLM1iZEoFg pm6g== X-Gm-Message-State: APf1xPDI8f3w2+jSsspHAkJs3HraLl0Y0Nh4NoP4nJF6cJIXpVzooRyp hoqCEzhFFvBNNSvVMa13TBwPNVtztqk= X-Google-Smtp-Source: AH8x227wm6Qr2+W74FQnVy2H8XpBDoo624VL5IVgwHA1GGwkgi/Rv2+yS+PFWh/VBZHwq5lDcWyIMw== X-Received: by 10.200.82.152 with SMTP id s24mr2160323qtn.63.1519168813733; Tue, 20 Feb 2018 15:20:13 -0800 (PST) Original-Received: from mail-qt0-f175.google.com (mail-qt0-f175.google.com. [209.85.216.175]) by smtp.gmail.com with ESMTPSA id l37sm20417153qtl.35.2018.02.20.15.20.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Feb 2018 15:20:12 -0800 (PST) Original-Received: by mail-qt0-f175.google.com with SMTP id k13so18623322qtg.5 for ; Tue, 20 Feb 2018 15:20:12 -0800 (PST) X-Received: by 10.200.19.77 with SMTP id f13mr2255536qtj.98.1519168811824; Tue, 20 Feb 2018 15:20:11 -0800 (PST) X-Gmail-Original-Message-ID: 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-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:143522 Archived-At: 1. emacs -Q 2. Open file tmp.sh with contents (defaults to sh-mode): case "$1" in foo) echo foo ;; ?) echo bar ;; esac 3. C-x h TAB Expected: case "$1" in foo) echo foo ;; ?) echo bar ;; esac Actual: case "$1" in foo) echo foo ;; ?) echo bar ;; esac In GNU Emacs 25.2.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11), modified by Debian Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 System Description: Debian GNU/Linux rodete (upgraded from: Ubuntu 14.04 LTS)