From unknown Tue Jun 17 20:27:35 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#33989 <33989@debbugs.gnu.org> To: bug#33989 <33989@debbugs.gnu.org> Subject: Status: 27.0.50; master: Tcl indentation broken Reply-To: bug#33989 <33989@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:27:35 +0000 retitle 33989 27.0.50; master: Tcl indentation broken reassign 33989 emacs submitter 33989 Benjamin Riefenstahl severity 33989 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 05 12:19:40 2019 Received: (at submit) by debbugs.gnu.org; 5 Jan 2019 17:19:40 +0000 Received: from localhost ([127.0.0.1]:48034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfpbo-00035g-60 for submit@debbugs.gnu.org; Sat, 05 Jan 2019 12:19:40 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:54568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfpbm-00035Z-SU for submit@debbugs.gnu.org; Sat, 05 Jan 2019 12:19:39 -0500 Received: from listsout.gnu.org ([208.118.235.17]:37008) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gfpbk-0007D7-Re for submit@debbugs.gnu.org; Sat, 05 Jan 2019 12:19:38 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:47337 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfpbk-0005wF-4R for bug-gnu-emacs@gnu.org; Sat, 05 Jan 2019 12:19:36 -0500 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 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfpbd-00079a-KD for bug-gnu-emacs@gnu.org; Sat, 05 Jan 2019 12:19:34 -0500 Received: from odoacer.turtle-trading.net ([93.241.193.16]:41524) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfpbT-00074f-Ub for bug-gnu-emacs@gnu.org; Sat, 05 Jan 2019 12:19:23 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1gfpbL-0003Ch-Lx; Sat, 05 Jan 2019 18:19:11 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.89) (envelope-from ) id 1gfpbL-0001mR-Bp; Sat, 05 Jan 2019 18:19:11 +0100 From: Benjamin Riefenstahl To: bug-gnu-emacs@gnu.org Subject: 27.0.50; master: Tcl indentation broken Date: Sat, 05 Jan 2019 18:19:11 +0100 Message-ID: <878szzm38w.fsf@turtle-trading.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 93.241.193.16 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit 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 (-) Commit cd5bb4bf3d "Fix two tcl-mode defun-related bugs" breaks indentation of Tcl code for me outside of procs. Consider: fooBaz { | } Where the | indicates the expected indentation. But on current master pressing TAB instead goes to the beginning of the line. Given that it is common in Tcl to have code on the global level of a script, this is not what I expect and want. Reproduced with current master and "emacs -Q". From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 05 13:11:17 2019 Received: (at 33989) by debbugs.gnu.org; 5 Jan 2019 18:11:17 +0000 Received: from localhost ([127.0.0.1]:48057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfqPl-0006Ma-5B for submit@debbugs.gnu.org; Sat, 05 Jan 2019 13:11:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfqPg-0006MP-BB for 33989@debbugs.gnu.org; Sat, 05 Jan 2019 13:11:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfqPc-0001Kd-5L for 33989@debbugs.gnu.org; Sat, 05 Jan 2019 13:11:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfqPc-0001KY-20; Sat, 05 Jan 2019 13:11:08 -0500 Received: from [176.228.60.248] (port=4044 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gfqPa-000612-Gt; Sat, 05 Jan 2019 13:11:08 -0500 Date: Sat, 05 Jan 2019 20:10:40 +0200 Message-Id: <83bm4v0ycf.fsf@gnu.org> From: Eli Zaretskii To: Benjamin Riefenstahl , Tom Tromey In-reply-to: <878szzm38w.fsf@turtle-trading.net> (message from Benjamin Riefenstahl on Sat, 05 Jan 2019 18:19:11 +0100) Subject: Re: bug#33989: 27.0.50; master: Tcl indentation broken References: <878szzm38w.fsf@turtle-trading.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33989 Cc: 33989@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: -6.0 (------) > From: Benjamin Riefenstahl > Date: Sat, 05 Jan 2019 18:19:11 +0100 > > Commit cd5bb4bf3d "Fix two tcl-mode defun-related bugs" breaks > indentation of Tcl code for me outside of procs. Consider: > > fooBaz { > | > } > > Where the | indicates the expected indentation. But on current master > pressing TAB instead goes to the beginning of the line. Given that it > is common in Tcl to have code on the global level of a script, this is > not what I expect and want. > > Reproduced with current master and "emacs -Q". Thanks, I'm CC'ing Tom who made those changes. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 12 06:44:26 2019 Received: (at 33989) by debbugs.gnu.org; 12 Jan 2019 11:44:26 +0000 Received: from localhost ([127.0.0.1]:56578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1giHiC-0003fI-50 for submit@debbugs.gnu.org; Sat, 12 Jan 2019 06:44:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1giHiA-0003f5-N8 for 33989@debbugs.gnu.org; Sat, 12 Jan 2019 06:44:23 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giHi4-0008MS-RL; Sat, 12 Jan 2019 06:44:16 -0500 Received: from [176.228.60.248] (port=2219 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1giHi4-0000tv-Ez; Sat, 12 Jan 2019 06:44:16 -0500 Date: Sat, 12 Jan 2019 13:43:57 +0200 Message-Id: <83h8eef6de.fsf@gnu.org> From: Eli Zaretskii To: tom@tromey.com In-reply-to: <83bm4v0ycf.fsf@gnu.org> (message from Eli Zaretskii on Sat, 05 Jan 2019 20:10:40 +0200) Subject: Re: bug#33989: 27.0.50; master: Tcl indentation broken References: <878szzm38w.fsf@turtle-trading.net> <83bm4v0ycf.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 33989 Cc: 33989@debbugs.gnu.org, b.riefenstahl@turtle-trading.net 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 (-) > Date: Sat, 05 Jan 2019 20:10:40 +0200 > From: Eli Zaretskii > Cc: 33989@debbugs.gnu.org Ping! Tom, could you please look at this issue? > > From: Benjamin Riefenstahl > > Date: Sat, 05 Jan 2019 18:19:11 +0100 > > > > Commit cd5bb4bf3d "Fix two tcl-mode defun-related bugs" breaks > > indentation of Tcl code for me outside of procs. Consider: > > > > fooBaz { > > | > > } > > > > Where the | indicates the expected indentation. But on current master > > pressing TAB instead goes to the beginning of the line. Given that it > > is common in Tcl to have code on the global level of a script, this is > > not what I expect and want. > > > > Reproduced with current master and "emacs -Q". > > Thanks, I'm CC'ing Tom who made those changes. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 15 16:42:48 2019 Received: (at 33989) by debbugs.gnu.org; 15 Jan 2019 21:42:48 +0000 Received: from localhost ([127.0.0.1]:60429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjWTv-0006ZN-Lx for submit@debbugs.gnu.org; Tue, 15 Jan 2019 16:42:47 -0500 Received: from odoacer.turtle-trading.net ([93.241.193.16]:43370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjWTu-0006ZB-Jl for 33989@debbugs.gnu.org; Tue, 15 Jan 2019 16:42:47 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1gjWTZ-00015F-Ms; Tue, 15 Jan 2019 22:42:25 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.89) (envelope-from ) id 1gjWTZ-00049X-8O; Tue, 15 Jan 2019 22:42:25 +0100 From: Benjamin Riefenstahl To: Eli Zaretskii Subject: Re: bug#33989: 27.0.50; master: Tcl indentation broken References: <878szzm38w.fsf@turtle-trading.net> <83bm4v0ycf.fsf@gnu.org> Date: Tue, 15 Jan 2019 22:42:24 +0100 In-Reply-To: <83bm4v0ycf.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 05 Jan 2019 20:10:40 +0200") Message-ID: <87lg3l8unz.fsf@turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33989 Cc: 33989@debbugs.gnu.org, Tom Tromey 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 (-) --=-=-= Content-Type: text/plain Attaching a patch with a simple test-case. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-tcl-mode-Add-a-test-for-top-level-indentation.patch >From 65e830aa45fc61536c3aec4af70cb0a58538519a Mon Sep 17 00:00:00 2001 From: Benjamin Riefenstahl Date: Sat, 12 Jan 2019 15:42:35 +0100 Subject: [PATCH] tcl-mode: Add a test for top level indentation * test/lisp/progmodes/tcl-tests.el (tcl-mode-global-indent): Add. --- test/lisp/progmodes/tcl-tests.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/lisp/progmodes/tcl-tests.el b/test/lisp/progmodes/tcl-tests.el index 50c3eba75d..b145244a63 100644 --- a/test/lisp/progmodes/tcl-tests.el +++ b/test/lisp/progmodes/tcl-tests.el @@ -72,6 +72,15 @@ (indent-region (point-min) (point-max)) (should (equal (buffer-string) text))))) +;; Reproduce bug#33989 +(ert-deftest tcl-mode-global-indent () + (with-temp-buffer + (tcl-mode) + (let ((text "fooBar {\n inside\n}\n")) + (insert text) + (indent-region (point-min) (point-max)) + (should (equal (buffer-string) text))))) + (provide 'tcl-tests) ;;; tcl-tests.el ends here -- 2.11.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 19 02:34:45 2019 Received: (at 33989) by debbugs.gnu.org; 19 Jan 2019 07:34:45 +0000 Received: from localhost ([127.0.0.1]:37260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkl9Q-0000vi-W9 for submit@debbugs.gnu.org; Sat, 19 Jan 2019 02:34:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkl9P-0000vV-Se for 33989@debbugs.gnu.org; Sat, 19 Jan 2019 02:34:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkl9K-00069B-2U; Sat, 19 Jan 2019 02:34:38 -0500 Received: from [176.228.60.248] (port=1441 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gkl9J-0007PU-ML; Sat, 19 Jan 2019 02:34:38 -0500 Date: Sat, 19 Jan 2019 09:34:17 +0200 Message-Id: <83pnstayo6.fsf@gnu.org> From: Eli Zaretskii To: tom@tromey.com In-reply-to: <83h8eef6de.fsf@gnu.org> (message from Eli Zaretskii on Sat, 12 Jan 2019 13:43:57 +0200) Subject: Re: bug#33989: 27.0.50; master: Tcl indentation broken References: <878szzm38w.fsf@turtle-trading.net> <83bm4v0ycf.fsf@gnu.org> <83h8eef6de.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 33989 Cc: 33989@debbugs.gnu.org, b.riefenstahl@turtle-trading.net 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 (-) Ping! Ping! Thom, could you please look at this? > Date: Sat, 12 Jan 2019 13:43:57 +0200 > From: Eli Zaretskii > Cc: 33989@debbugs.gnu.org, b.riefenstahl@turtle-trading.net > > > Date: Sat, 05 Jan 2019 20:10:40 +0200 > > From: Eli Zaretskii > > Cc: 33989@debbugs.gnu.org > > Ping! Tom, could you please look at this issue? > > > > From: Benjamin Riefenstahl > > > Date: Sat, 05 Jan 2019 18:19:11 +0100 > > > > > > Commit cd5bb4bf3d "Fix two tcl-mode defun-related bugs" breaks > > > indentation of Tcl code for me outside of procs. Consider: > > > > > > fooBaz { > > > | > > > } > > > > > > Where the | indicates the expected indentation. But on current master > > > pressing TAB instead goes to the beginning of the line. Given that it > > > is common in Tcl to have code on the global level of a script, this is > > > not what I expect and want. > > > > > > Reproduced with current master and "emacs -Q". > > > > Thanks, I'm CC'ing Tom who made those changes. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 25 03:10:23 2019 Received: (at 33989) by debbugs.gnu.org; 25 Jan 2019 08:10:23 +0000 Received: from localhost ([127.0.0.1]:44482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmwZD-0004gp-Jj for submit@debbugs.gnu.org; Fri, 25 Jan 2019 03:10:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmwZC-0004gZ-9Q for 33989@debbugs.gnu.org; Fri, 25 Jan 2019 03:10:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmwZ4-0003xB-DB; Fri, 25 Jan 2019 03:10:14 -0500 Received: from [176.228.60.248] (port=4516 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gmwZ2-0000F2-Tm; Fri, 25 Jan 2019 03:10:14 -0500 Date: Fri, 25 Jan 2019 10:10:09 +0200 Message-Id: <835zud6tum.fsf@gnu.org> From: Eli Zaretskii To: tom@tromey.com In-reply-to: <83pnstayo6.fsf@gnu.org> (message from Eli Zaretskii on Sat, 19 Jan 2019 09:34:17 +0200) Subject: Re: bug#33989: 27.0.50; master: Tcl indentation broken References: <878szzm38w.fsf@turtle-trading.net> <83bm4v0ycf.fsf@gnu.org> <83h8eef6de.fsf@gnu.org> <83pnstayo6.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 33989 Cc: 33989@debbugs.gnu.org, b.riefenstahl@turtle-trading.net 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 (-) Ping! Ping! Ping! Tom, please look into this problem. > Date: Sat, 19 Jan 2019 09:34:17 +0200 > From: Eli Zaretskii > Cc: 33989@debbugs.gnu.org, b.riefenstahl@turtle-trading.net > > Ping! Ping! Thom, could you please look at this? > > > Date: Sat, 12 Jan 2019 13:43:57 +0200 > > From: Eli Zaretskii > > Cc: 33989@debbugs.gnu.org, b.riefenstahl@turtle-trading.net > > > > > Date: Sat, 05 Jan 2019 20:10:40 +0200 > > > From: Eli Zaretskii > > > Cc: 33989@debbugs.gnu.org > > > > Ping! Tom, could you please look at this issue? > > > > > > From: Benjamin Riefenstahl > > > > Date: Sat, 05 Jan 2019 18:19:11 +0100 > > > > > > > > Commit cd5bb4bf3d "Fix two tcl-mode defun-related bugs" breaks > > > > indentation of Tcl code for me outside of procs. Consider: > > > > > > > > fooBaz { > > > > | > > > > } > > > > > > > > Where the | indicates the expected indentation. But on current master > > > > pressing TAB instead goes to the beginning of the line. Given that it > > > > is common in Tcl to have code on the global level of a script, this is > > > > not what I expect and want. > > > > > > > > Reproduced with current master and "emacs -Q". > > > > > > Thanks, I'm CC'ing Tom who made those changes. > > > > From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 01 04:30:25 2019 Received: (at 33989) by debbugs.gnu.org; 1 Feb 2019 09:30:25 +0000 Received: from localhost ([127.0.0.1]:53718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpV9U-00060H-OD for submit@debbugs.gnu.org; Fri, 01 Feb 2019 04:30:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpV9S-000604-SL for 33989@debbugs.gnu.org; Fri, 01 Feb 2019 04:30:23 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpV9M-0004zc-0Q; Fri, 01 Feb 2019 04:30:16 -0500 Received: from [176.228.60.248] (port=2968 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gpV9L-00049z-Hz; Fri, 01 Feb 2019 04:30:15 -0500 Date: Fri, 01 Feb 2019 11:30:12 +0200 Message-Id: <83y36zyhy3.fsf@gnu.org> From: Eli Zaretskii To: tom@tromey.com In-reply-to: <835zud6tum.fsf@gnu.org> (message from Eli Zaretskii on Fri, 25 Jan 2019 10:10:09 +0200) Subject: Re: bug#33989: 27.0.50; master: Tcl indentation broken References: <878szzm38w.fsf@turtle-trading.net> <83bm4v0ycf.fsf@gnu.org> <83h8eef6de.fsf@gnu.org> <83pnstayo6.fsf@gnu.org> <835zud6tum.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 33989 Cc: 33989@debbugs.gnu.org, b.riefenstahl@turtle-trading.net 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 (-) Ping! Ping! Ping! Ping! Tom, could you please look at this issue? > Date: Fri, 25 Jan 2019 10:10:09 +0200 > From: Eli Zaretskii > Cc: 33989@debbugs.gnu.org, b.riefenstahl@turtle-trading.net > > Ping! Ping! Ping! Tom, please look into this problem. > > > Date: Sat, 19 Jan 2019 09:34:17 +0200 > > From: Eli Zaretskii > > Cc: 33989@debbugs.gnu.org, b.riefenstahl@turtle-trading.net > > > > Ping! Ping! Thom, could you please look at this? > > > > > Date: Sat, 12 Jan 2019 13:43:57 +0200 > > > From: Eli Zaretskii > > > Cc: 33989@debbugs.gnu.org, b.riefenstahl@turtle-trading.net > > > > > > > Date: Sat, 05 Jan 2019 20:10:40 +0200 > > > > From: Eli Zaretskii > > > > Cc: 33989@debbugs.gnu.org > > > > > > Ping! Tom, could you please look at this issue? > > > > > > > > From: Benjamin Riefenstahl > > > > > Date: Sat, 05 Jan 2019 18:19:11 +0100 > > > > > > > > > > Commit cd5bb4bf3d "Fix two tcl-mode defun-related bugs" breaks > > > > > indentation of Tcl code for me outside of procs. Consider: > > > > > > > > > > fooBaz { > > > > > | > > > > > } > > > > > > > > > > Where the | indicates the expected indentation. But on current master > > > > > pressing TAB instead goes to the beginning of the line. Given that it > > > > > is common in Tcl to have code on the global level of a script, this is > > > > > not what I expect and want. > > > > > > > > > > Reproduced with current master and "emacs -Q". > > > > > > > > Thanks, I'm CC'ing Tom who made those changes. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 26 07:34:30 2020 Received: (at 33989) by debbugs.gnu.org; 26 Aug 2020 11:34:30 +0000 Received: from localhost ([127.0.0.1]:37581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAthF-0000ZS-US for submit@debbugs.gnu.org; Wed, 26 Aug 2020 07:34:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAthD-0000Z8-8X for 33989@debbugs.gnu.org; Wed, 26 Aug 2020 07:34:28 -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=cGag1TkxOboiTt0XoBWbUFUcHkCFgIppNteiNkaja2w=; b=bhu0ksngWI2gtX4mRaCv4tjVc0 Hf4kc1G8CJ88njSF/4JC0zNRGZw++vwxFeDwJGHwPGc7jZJzwQfRRvj3V1AbVUSzTOiaQGF3q4J5v BuUdJXlMKnFrA9HBLgPsZcfzvPWmyoN4kc0kVmOpMfoc/xiVRUJrd/Za0utcB80XqWiY=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAtgw-0004v5-NA; Wed, 26 Aug 2020 13:34:20 +0200 From: Lars Ingebrigtsen To: Benjamin Riefenstahl Subject: Re: bug#33989: 27.0.50; master: Tcl indentation broken References: <878szzm38w.fsf@turtle-trading.net> X-Now-Playing: Alva Noto's _Xerrox Vol. 04_: "Xerrox Cosmos" Date: Wed, 26 Aug 2020 13:34:09 +0200 In-Reply-To: <878szzm38w.fsf@turtle-trading.net> (Benjamin Riefenstahl's message of "Sat, 05 Jan 2019 18:19:11 +0100") Message-ID: <877dtl1w0e.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: Benjamin Riefenstahl writes: > Commit cd5bb4bf3d "Fix two tcl-mode defun-related bugs" breaks > indentation of Tcl code for me outside of procs. Consider: > > fooBaz { > | > } 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: 33989 Cc: 33989@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 (-) Benjamin Riefenstahl writes: > Commit cd5bb4bf3d "Fix two tcl-mode defun-related bugs" breaks > indentation of Tcl code for me outside of procs. Consider: > > fooBaz { > | > } This was apparently fixed by: commit 518ff50f7a245f437576c5f7e716be9cba336287 Author: Rolf Ade AuthorDate: Sun Oct 13 05:18:36 2019 +0200 Commit: Lars Ingebrigtsen CommitDate: Sun Oct 13 05:18:36 2019 +0200 TCL indentation fix outside functions * lisp/progmodes/tcl.el (tcl-calculate-indent): Indent code correctly outside of function definitions (bug#23565). I'm unable to reproduce the bug in the included test case, at least, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 26 07:34:35 2020 Received: (at control) by debbugs.gnu.org; 26 Aug 2020 11:34:35 +0000 Received: from localhost ([127.0.0.1]:37584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAthL-0000Zj-9R for submit@debbugs.gnu.org; Wed, 26 Aug 2020 07:34:35 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAthJ-0000ZO-UC for control@debbugs.gnu.org; Wed, 26 Aug 2020 07:34:34 -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=sgDXoNYauBIk7BnpE8LZ2XrC245v7XEQd8Vysiw4lzQ=; b=CgBd252vUZdRbp+LEqz87OvdEg c/46YMboKnRapyMKmdJvfIZk7ex7nfI/eaAOgXzoX2WdHnhKhTqmI8zWXbOE4iMFfFCP/furyV71M TKgB3RAAYbGiby3R1sZjuEf0GEoJQIZMpUCF9Gn3eoqovDPwjEsmV0IC3Hk6R6CjsQVw=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAthC-0004vC-92 for control@debbugs.gnu.org; Wed, 26 Aug 2020 13:34:28 +0200 Date: Wed, 26 Aug 2020 13:34:25 +0200 Message-Id: <875z951vzy.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #33989 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 33989 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 (-) close 33989 quit From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 30 08:20:16 2020 Received: (at 33989) by debbugs.gnu.org; 30 Aug 2020 12:20:16 +0000 Received: from localhost ([127.0.0.1]:49596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCMJk-000575-2i for submit@debbugs.gnu.org; Sun, 30 Aug 2020 08:20:16 -0400 Received: from odoacer.turtle-trading.net ([93.241.193.16]:48270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCMJh-00056l-VP for 33989@debbugs.gnu.org; Sun, 30 Aug 2020 08:20:14 -0400 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1kCMJb-00020Z-8B; Sun, 30 Aug 2020 14:20:07 +0200 Received: from benny by justinian.turtle-trading.net with local (Exim 4.92) (envelope-from ) id 1kCMJb-00038m-5F; Sun, 30 Aug 2020 14:20:07 +0200 From: Benjamin Riefenstahl To: Lars Ingebrigtsen Subject: Re: bug#33989: 27.0.50; master: Tcl indentation broken References: <878szzm38w.fsf@turtle-trading.net> <877dtl1w0e.fsf@gnus.org> Date: Sun, 30 Aug 2020 14:20:07 +0200 In-Reply-To: <877dtl1w0e.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 26 Aug 2020 13:34:09 +0200") Message-ID: <874kok2umg.fsf@turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33989 Cc: 33989@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: > This was apparently fixed by: Thanks, looks good. benny From unknown Tue Jun 17 20:27:35 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, 28 Sep 2020 11:24:06 +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