From unknown Wed Jun 25 02:07:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18029 <18029@debbugs.gnu.org> To: bug#18029 <18029@debbugs.gnu.org> Subject: Status: 24.4.50; bad shell-script-mode indentation due to ^[{([] in a here document Reply-To: bug#18029 <18029@debbugs.gnu.org> Date: Wed, 25 Jun 2025 09:07:07 +0000 retitle 18029 24.4.50; bad shell-script-mode indentation due to ^[{([] in a= here document reassign 18029 emacs submitter 18029 Ian Kelling severity 18029 minor tag 18029 moreinfo confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 15 18:20:58 2014 Received: (at submit) by debbugs.gnu.org; 15 Jul 2014 22:20:58 +0000 Received: from localhost ([127.0.0.1]:55895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X7B5m-0007qO-0f for submit@debbugs.gnu.org; Tue, 15 Jul 2014 18:20:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55704) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X7B5i-0007q8-S2 for submit@debbugs.gnu.org; Tue, 15 Jul 2014 18:20:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7B5X-00051P-MG for submit@debbugs.gnu.org; Tue, 15 Jul 2014 18:20:49 -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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7B5X-00051L-IU for submit@debbugs.gnu.org; Tue, 15 Jul 2014 18:20:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7B5S-0000rV-7U for bug-gnu-emacs@gnu.org; Tue, 15 Jul 2014 18:20:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7B5M-0004wv-FA for bug-gnu-emacs@gnu.org; Tue, 15 Jul 2014 18:20:38 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:59098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7B5M-0004wd-9F for bug-gnu-emacs@gnu.org; Tue, 15 Jul 2014 18:20:32 -0400 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 9DD4421E0B; Tue, 15 Jul 2014 18:20:30 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Tue, 15 Jul 2014 18:20:30 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=iankelling.org; h= from:to:subject:date:message-id:mime-version:content-type; s= mesmtp; bh=7PXSCENoVBQE2/ezZbQiK8n7afk=; b=kUq1q8skH7K3LDUwAXAbE m8J+2AbhZwzPDZQKoSM0RjaiCExVko2JXoSE+6DaU6LOsjHguBhNJTcqZXPejw4X zO46QLcZYXmyH7f3m9xrccRCfROzn/tCWVQqeMQU5s9U9f7qEVFGbFn8eQ3SPK6G UsOnzqb+SwonUOEt9gXHWI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :mime-version:content-type; s=smtpout; bh=7PXSCENoVBQE2/ezZbQiK8 n7afk=; b=tKDYWBzIDgbnj2NoCFo4iP4CVVoFUlISG6Uid0ZPIUJRMgc17icL7Z wktt9qSMtVTd7SrSsMLDoijV3FTagclXVPCzlYdMRbMN2z/kGFMB8IPvTd8ZXiWs a8CmSGAgHXuQDAjCyfoSMZ9a8+B3bgdiEYA8c8YiHB4vFmzDDaBL0= X-Sasl-enc: GzbZ+psm4Z3rvIPImOW3ycV0jFqnqhjQs5fPi6EmdEiv 1405462830 Received: from treetowl.localdomain (unknown [73.53.70.213]) by mail.messagingengine.com (Postfix) with ESMTPA id 61AF06800F0 for ; Tue, 15 Jul 2014 18:20:30 -0400 (EDT) Received: by treetowl.localdomain (Postfix, from userid 1000) id 8BE057F090; Tue, 15 Jul 2014 15:20:29 -0700 (PDT) From: Ian Kelling To: bug-gnu-emacs@gnu.org Subject: 24.4.50; bad shell-script-mode indentation due to ^[{([] in a here document Date: Tue, 15 Jul 2014 15:20:29 -0700 Message-ID: <87ha2i2riq.fsf@treetowl.lan> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) emacs -Q the following files, then use indent region on the whole buffer: (indent-region (point-min) (point-max)) Similar indent commands will work the same. This is how they get indented: #!/bin/bash if true; then true <<'EOF' [ line beginning with one of [{( EOF fi if true; then true # comment containing a single quote 'true fi true The true commands could be other things, they are just an example. I assume the if statements could be other things which create indents. The final fi and anything beyond it get bad indenting that is determined by the quote in the first quote from 'EOF' Another variation of this bug: #!/bin/bash if true; then true < Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. r has auto save data; consider M-x recover-this-file Setting up indent for shell type bash Indentation variables are now local. Indentation setup for shell type bash Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils sh-script smie executable time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 83313 7281) (symbols 48 18389 0) (miscs 40 39 124) (strings 32 12921 4377) (string-bytes 1 335173) (vectors 16 10129) (vector-slots 8 404842 13811) (floats 8 68 68) (intervals 56 193 1) (buffers 960 12) (heap 1024 35157 980)) From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 01 19:11:42 2017 Received: (at control) by debbugs.gnu.org; 1 Apr 2017 23:11:42 +0000 Received: from localhost ([127.0.0.1]:56056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuSBJ-0006MF-V6 for submit@debbugs.gnu.org; Sat, 01 Apr 2017 19:11:42 -0400 Received: from mail-io0-f172.google.com ([209.85.223.172]:33873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuSBG-0006M0-52 for control@debbugs.gnu.org; Sat, 01 Apr 2017 19:11:39 -0400 Received: by mail-io0-f172.google.com with SMTP id b140so57935547iof.1 for ; Sat, 01 Apr 2017 16:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=ef0v9NnGZO02b8i5f+7KdXX+CAIzQxCS7tAJyqSqbOY=; b=bQc5PF1qtVc2LK+5zJQXmIJUsNAVbxxctVYhyadNRzNHFqAcq4itmzp6RZDmp5YzUP 5iMH6jcOgCEGpa7LEBDiJykXX501ldkDRdgHcHy5kJNrLM9BNcyRO+dIVulIVtidVotO M3GjCG79Vy4n0thuU7UIWDTCug2TVqKN1Io06FqvCJfRDY+tjoHCXI02IXuTVt6BN2yE wOMg/Yfu22dOvjsL7LS+d8xzGauOUY7DOnh2KX7GEA3who0AoIVBxPW2qbqa9USMc5z7 yeatZxQ3b7Gwm8n1vo0B41J0aEqZphVA7e4ROXL4WqSF2v02gTQGfeXSI2o9+oaH4AyL DjiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=ef0v9NnGZO02b8i5f+7KdXX+CAIzQxCS7tAJyqSqbOY=; b=q/IOywNhPqzkLaIsFIzrToVvznOkRt5NKVWFDXsBH09UsKRCpk0FlFlF4Bfwk+q5/+ LmmXi8LE2Wll3M5/sPAXXdBVyJmEfu8cktjMzZGpkaLsJvSFZnzyOrFsZNvJn+CjKHfo hB+YKcFh7yb67cNk9qL/z7FLvzR7C2XltEE+PgM2z5Q7vcLOe6zfmaKa3mnDpwqyG5XD bKUyWJdjIuoLgbreh8vElMxB/jkqPnU8To83vXwrfTCZmjH/cDiOn6j5zZrzcZckZUoB YK+872MmNG8HN53m2PtD1xpeT8IxKOrIZoOi3rl0FlHBB9+Zvy6qkZH0JMhqYX9sDJQx BniA== X-Gm-Message-State: AFeK/H0hau10qn466oOFBKQgAv8n7z9kHkUmE0eByNT9wy+diIn/J2a+tTV8ciy1Ra1kkQ== X-Received: by 10.107.189.68 with SMTP id n65mr10229491iof.154.1491088292475; Sat, 01 Apr 2017 16:11:32 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id r10sm5408071iod.33.2017.04.01.16.11.31 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Apr 2017 16:11:31 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: control message for bug #18029 Date: Sat, 01 Apr 2017 19:12:55 -0400 Message-ID: <87a87z203s.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) found 18029 25.2 tags 18029 confirmed quit From debbugs-submit-bounces@debbugs.gnu.org Sat May 29 00:20:12 2021 Received: (at 18029) by debbugs.gnu.org; 29 May 2021 04:20:12 +0000 Received: from localhost ([127.0.0.1]:55684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmqSJ-00021N-W7 for submit@debbugs.gnu.org; Sat, 29 May 2021 00:20:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmqSH-00020w-TQ for 18029@debbugs.gnu.org; Sat, 29 May 2021 00:20:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ttk6fYycL5HeeWZnEpP70yBMcExzL45OCB50eJcgHIA=; b=bnGOafcHdkFRX5fSHBVH0apMEP RpN/gu+FscyYSN6hwebIvmAmbNvxWfKjfhkaeCymk50eedPvS5Yto2hAoJtojIzXdLI66Zld+NtGn OrNQIVVWsH2Y2rNcA4EhBT3J+jelJ6OI/IkmKdrqgfX5jMbfYCEAOH9PXypH4Defza8M=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmqS4-00016l-MY; Sat, 29 May 2021 06:19:59 +0200 From: Lars Ingebrigtsen To: Ian Kelling Subject: Re: bug#18029: 24.4.50; bad shell-script-mode indentation due to ^[{([] in a here document References: <87ha2i2riq.fsf@treetowl.lan> X-Now-Playing: Joni Mitchell's _Blue_: "Blue" Date: Sat, 29 May 2021 06:19:56 +0200 In-Reply-To: <87ha2i2riq.fsf@treetowl.lan> (Ian Kelling's message of "Tue, 15 Jul 2014 15:20:29 -0700") Message-ID: <87lf7ytbmb.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Ian Kelling writes: > emacs -Q the following files, then use indent region on the whole buffer: > (indent-region (point-min) (point-max)) Similar indent commands will work the > same. This is how they get indented: > > # [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18029 Cc: 18029@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ian Kelling writes: > emacs -Q the following files, then use indent region on the whole buffer: > (indent-region (point-min) (point-max)) Similar indent commands will work the > same. This is how they get indented: > > #!/bin/bash > if true; then > true <<'EOF' > [ line beginning with one of [{( > EOF > fi > > if true; then > true > # comment containing a single quote 'true > fi > true (I'm going through old bug reports that unfortunately got no response at the time.) I'm unable to reproduce this in Emacs 28, and Emacs 25.1 is the oldest one I have, and I can't reproduce it there, either. But Noam tagged this as reproduced in Emacs 25.2. Are you still seeing this problem in more recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat May 29 00:20:12 2021 Received: (at control) by debbugs.gnu.org; 29 May 2021 04:20:12 +0000 Received: from localhost ([127.0.0.1]:55682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmqSJ-00021K-R5 for submit@debbugs.gnu.org; Sat, 29 May 2021 00:20:11 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmqSH-00020v-Db for control@debbugs.gnu.org; Sat, 29 May 2021 00:20:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=V8GaBztOu328K8DkY74vVwH9PqFd+rhjC2FyNRAw/es=; b=Vgj8GwqSugrX3Grf3pl8Qzbh9W rUUeSmgqXj+3u4S14TMlWMOiEL2EJAdxtNV0ncgKxOp1wQF8dW2rOudlQoNv56LBIZn2lJGwBOUxF h9BKdVBe+SgwY/iJeE015QJsGAzx8rOaJeXstrxARjaPCnHXeDg6r/gbx46EsWYrizGo=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmqSA-00016t-0E for control@debbugs.gnu.org; Sat, 29 May 2021 06:20:03 +0200 Date: Sat, 29 May 2021 06:20:01 +0200 Message-Id: <87k0nitbm6.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18029 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18029 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 18029 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 07 13:59:43 2021 Received: (at 18029) by debbugs.gnu.org; 7 Jun 2021 17:59:43 +0000 Received: from localhost ([127.0.0.1]:56634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqJXL-0000Ik-0H for submit@debbugs.gnu.org; Mon, 07 Jun 2021 13:59:43 -0400 Received: from mail.iankelling.org ([72.14.176.105]:56676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqJXJ-0000Ib-Ac for 18029@debbugs.gnu.org; Mon, 07 Jun 2021 13:59:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iankelling.org; s=li; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=SP3Ths3cmyGZuyhf+Skw7HfrSZUwsMguaWdbMV//F+E=; b=Ej5qH7hh6dzTgJ uG+1+t/WeKeoycOTZnAIEw+fLFja7TiI1guX67IMB38VWWmnjO5/nJm1cN/8qJnixPxE2upae2cZH dJVGhgpSnWBqX0HOuYSD1htRZhArAILlHpGYqHkfnpKMM9+86iUG32A0cKA17R9U2FMgWRq5xpH/1 iN8RZP6eFyCNElImou66fPGrDKLCiT+T5MVxi1FmbfmRlkhL86NUIzRQA8PC9MiFcEwWEHoD3Up0i pZg9VAHFpP6JMgR5YuCfLJRefNtf3gTEfJkbnFsPNuONuQapyNNebGA2zdpsELCSk+2esDjfJcHg9 eX7SdRAMt3Orf9ZMD6fg==; Received: from defaultnn.b8.nz ([10.173.8.1]:54464 helo=mail.iankelling.org) by mail.iankelling.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqJXI-00046K-3Z; Mon, 07 Jun 2021 13:59:40 -0400 Received: from iank by mail.iankelling.org with local (Exim 4.90_1) (envelope-from ) id 1lqJXH-00046D-NJ; Mon, 07 Jun 2021 13:59:39 -0400 References: <87ha2i2riq.fsf@treetowl.lan> <87lf7ytbmb.fsf@gnus.org> User-agent: mu4e 1.5.7; emacs 28.0.50 From: Ian Kelling To: Lars Ingebrigtsen Subject: Re: bug#18029: 24.4.50; bad shell-script-mode indentation due to ^[{([] in a here document Date: Mon, 07 Jun 2021 13:57:57 -0400 In-reply-to: <87lf7ytbmb.fsf@gnus.org> Message-ID: <87lf7ld08k.fsf@iankelling.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 18029 Cc: 18029@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Ian Kelling writes: > >> emacs -Q the following files, then use indent region on the whole buffer: >> (indent-region (point-min) (point-max)) Similar indent commands will work the >> same. This is how they get indented: >> >> #!/bin/bash >> if true; then >> true <<'EOF' >> [ line beginning with one of [{( >> EOF >> fi >> >> if true; then >> true >> # comment containing a single quote 'true >> fi >> true > > (I'm going through old bug reports that unfortunately got no response at > the time.) > > I'm unable to reproduce this in Emacs 28, and Emacs 25.1 is the oldest > one I have, and I can't reproduce it there, either. > > But Noam tagged this as reproduced in Emacs 25.2. > > Are you still seeing this problem in more recent Emacs versions? Originally reported in 24.4.50.1, but I'm in a much more recent version and it doesn't repro. It's been fixed! Thank you for checking up on this and please close this bug. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 07 14:05:00 2021 Received: (at 18029) by debbugs.gnu.org; 7 Jun 2021 18:05:00 +0000 Received: from localhost ([127.0.0.1]:56638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqJcS-0000Ro-Jy for submit@debbugs.gnu.org; Mon, 07 Jun 2021 14:05:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqJcP-0000RX-OL for 18029@debbugs.gnu.org; Mon, 07 Jun 2021 14:04:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UvNEmfwA54mpJIDOCClG0ts9xUrlgPws9IOXsC4LXHw=; b=WZsAESOYNLxsXZFdAlVZSGlGE6 /0tmOYBP0+AAtESjEXmPqgOWu1owSaYO9zPsPlpnHsDuYNSW4o4Mi8NcZ1hL1DO7pgnhEAor9pltd nTQfb64hDOt1B/vAsyrTlkjrTcO3FZWrH02E94Q1Tsn2lcj3xXneCgRqp9zasMgyfttg=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqJcG-0006Vh-5b; Mon, 07 Jun 2021 20:04:50 +0200 From: Lars Ingebrigtsen To: Ian Kelling Subject: Re: bug#18029: 24.4.50; bad shell-script-mode indentation due to ^[{([] in a here document References: <87ha2i2riq.fsf@treetowl.lan> <87lf7ytbmb.fsf@gnus.org> <87lf7ld08k.fsf@iankelling.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEWwdmqWYVlhLitD MDKROS+nRjXAgXHCbFn///97ekHOAAAAAWJLR0QIht6VegAAAAd0SU1FB+UGBxIEHhkLYvEAAAGy SURBVDjLrZNNTgMxDIUzCA3bZuAC46QHIOEChMwBqBKx7Wr2ICSuz7Od+aNboqpS/eU5L8+pMf+8 rN396HZlXqeb7Z21w2gPImwWAcUYR7trJds6qcdgjz3wPURZz3YVcAkyInJHiXUMnogXwLj4kh6m SwLcBjrWRxUkllDr9SZHmoEo55w2cK9eDAnI6NXA4xEkcgq6uACfa2UJKbhbAeq1sjWE0q+dGEwA JTnStNwGVOI0xuWIaLIoaiH3F3C58uEjz+prBZOC1MDwBxQAme7jLUgMHhBUcDuAi+QF6BQWkGni Oe+AuoLdBoJOJxrfbOXKZwO0rI0XScnpvQH8muAeNy+4O8ArX7wBmIGirQ0UAUsdbs3MriCHiBqg Bbh4ZlAU8Hhf7anfQFqBh6CfZ4AXTchoXcYHgMcWFlBXMCuYOCDirJK0wv75+gmgzc36RiC49gz8 lLNrwBPeYT9f5wHx+ZySgpLOheIIu99EASBvoArpPJq6Fxm0aZnXiwvjwFtd8DjbrQAOop8S5odP FvCB0Dl5cr4mnmwgnyLAT5MUdL/IyL2/NNBeSlAF/hmX+AuOVbuTqAOyYwAAACV0RVh0ZGF0ZTpj cmVhdGUAMjAyMS0wNi0wN1QxODowNDozMCswMDowMDv5ZNYAAAAldEVYdGRhdGU6bW9kaWZ5ADIw MjEtMDYtMDdUMTg6MDQ6MzArMDA6MDBKpNxqAAAAAElFTkSuQmCC X-Now-Playing: Insides's _Soft Bonds_: "Half Past 4" Date: Mon, 07 Jun 2021 20:04:47 +0200 In-Reply-To: <87lf7ld08k.fsf@iankelling.org> (Ian Kelling's message of "Mon, 07 Jun 2021 13:57:57 -0400") Message-ID: <878s3lpn40.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Ian Kelling writes: > Originally reported in 24.4.50.1, but I'm in a much more recent version > and it doesn't repro. It's been fixed! Thank you for checking up on this > and please close this bug. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18029 Cc: 18029@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Ian Kelling writes: > Originally reported in 24.4.50.1, but I'm in a much more recent version > and it doesn't repro. It's been fixed! Thank you for checking up on this > and please close this bug. Thanks for checking; closing this bug report then. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 07 14:05:09 2021 Received: (at control) by debbugs.gnu.org; 7 Jun 2021 18:05:09 +0000 Received: from localhost ([127.0.0.1]:56642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqJca-0000Sb-Qs for submit@debbugs.gnu.org; Mon, 07 Jun 2021 14:05:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqJcX-0000Rn-Al for control@debbugs.gnu.org; Mon, 07 Jun 2021 14:05:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=czdABZSzkBlaI3abErEwL+NJXljKKTVeNRcwGDJ9kFs=; b=DqmIt2xj4T8ouDG8OEjb2wQY9T nDpCJksYZKv4jR9nt+di3qbFvXn8uZkVhg5wytD96sAJDECS4TlklpNYyEBUGVxt6fxRcvJvu4z6U 9qL3MkXl3xCC55qVnlogDWQU4CW1q20crbjvCxEQ4JMJ3BeANOY8FiUNfaawOKRWn+44=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqJcP-0006Vo-Py for control@debbugs.gnu.org; Mon, 07 Jun 2021 20:04:59 +0200 Date: Mon, 07 Jun 2021 20:04:57 +0200 Message-Id: <877dj5pn3q.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18029 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 18029 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) close 18029 quit From unknown Wed Jun 25 02:07:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 06 Jul 2021 11:24:05 +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