GNU bug report logs - #33989
27.0.50; master: Tcl indentation broken

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>; dated Sat, 5 Jan 2019 17:20:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 33989 <at> debbugs.gnu.org:


Received: (at 33989) by debbugs.gnu.org; 25 Jan 2019 08:10:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 25 03:10:23 2019
Received: from localhost ([127.0.0.1]:44482 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gmwZD-0004gp-Jj
	for submit <at> 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 <eliz@HIDDEN>) id 1gmwZC-0004gZ-9Q
 for 33989 <at> 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 <eliz@HIDDEN>)
 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 <eliz@HIDDEN>)
 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@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: tom@HIDDEN
In-reply-to: <83pnstayo6.fsf@HIDDEN> (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@HIDDEN> <83bm4v0ycf.fsf@HIDDEN>
 <83h8eef6de.fsf@HIDDEN> <83pnstayo6.fsf@HIDDEN>
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 <at> debbugs.gnu.org, b.riefenstahl@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 (-)

Ping! Ping! Ping!  Tom, please look into this problem.

> Date: Sat, 19 Jan 2019 09:34:17 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
> Cc: 33989 <at> debbugs.gnu.org, b.riefenstahl@HIDDEN
> 
> Ping! Ping!  Thom, could you please look at this?
> 
> > Date: Sat, 12 Jan 2019 13:43:57 +0200
> > From: Eli Zaretskii <eliz@HIDDEN>
> > Cc: 33989 <at> debbugs.gnu.org, b.riefenstahl@HIDDEN
> > 
> > > Date: Sat, 05 Jan 2019 20:10:40 +0200
> > > From: Eli Zaretskii <eliz@HIDDEN>
> > > Cc: 33989 <at> debbugs.gnu.org
> > 
> > Ping!  Tom, could you please look at this issue?
> > 
> > > > From: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
> > > > 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.
> 
> 
> 
> 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33989; Package emacs. Full text available.

Message received at 33989 <at> debbugs.gnu.org:


Received: (at 33989) by debbugs.gnu.org; 19 Jan 2019 07:34:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 19 02:34:45 2019
Received: from localhost ([127.0.0.1]:37260 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gkl9Q-0000vi-W9
	for submit <at> 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 <eliz@HIDDEN>) id 1gkl9P-0000vV-Se
 for 33989 <at> 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 <eliz@HIDDEN>)
 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 <eliz@HIDDEN>)
 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@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: tom@HIDDEN
In-reply-to: <83h8eef6de.fsf@HIDDEN> (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@HIDDEN> <83bm4v0ycf.fsf@HIDDEN>
 <83h8eef6de.fsf@HIDDEN>
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 <at> debbugs.gnu.org, b.riefenstahl@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 (-)

Ping! Ping!  Thom, could you please look at this?

> Date: Sat, 12 Jan 2019 13:43:57 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
> Cc: 33989 <at> debbugs.gnu.org, b.riefenstahl@HIDDEN
> 
> > Date: Sat, 05 Jan 2019 20:10:40 +0200
> > From: Eli Zaretskii <eliz@HIDDEN>
> > Cc: 33989 <at> debbugs.gnu.org
> 
> Ping!  Tom, could you please look at this issue?
> 
> > > From: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
> > > 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33989; Package emacs. Full text available.

Message received at 33989 <at> debbugs.gnu.org:


Received: (at 33989) by debbugs.gnu.org; 15 Jan 2019 21:42:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 15 16:42:48 2019
Received: from localhost ([127.0.0.1]:60429 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gjWTv-0006ZN-Lx
	for submit <at> 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 <benny@HIDDEN>) id 1gjWTu-0006ZB-Jl
 for 33989 <at> 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 <benny@HIDDEN>)
 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 <benny@HIDDEN>)
 id 1gjWTZ-00049X-8O; Tue, 15 Jan 2019 22:42:25 +0100
From: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#33989: 27.0.50; master: Tcl indentation broken
References: <878szzm38w.fsf@HIDDEN> <83bm4v0ycf.fsf@HIDDEN>
Date: Tue, 15 Jan 2019 22:42:24 +0100
In-Reply-To: <83bm4v0ycf.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 05 Jan
 2019 20:10:40 +0200")
Message-ID: <87lg3l8unz.fsf@HIDDEN>
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 <at> debbugs.gnu.org, Tom Tromey <tom@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 (-)

--=-=-=
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 <b.riefenstahl@HIDDEN>
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


--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33989; Package emacs. Full text available.

Message received at 33989 <at> debbugs.gnu.org:


Received: (at 33989) by debbugs.gnu.org; 12 Jan 2019 11:44:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 12 06:44:26 2019
Received: from localhost ([127.0.0.1]:56578 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1giHiC-0003fI-50
	for submit <at> 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 <eliz@HIDDEN>) id 1giHiA-0003f5-N8
 for 33989 <at> 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 <eliz@HIDDEN>)
 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 <eliz@HIDDEN>)
 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@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: tom@HIDDEN
In-reply-to: <83bm4v0ycf.fsf@HIDDEN> (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@HIDDEN> <83bm4v0ycf.fsf@HIDDEN>
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 <at> debbugs.gnu.org, b.riefenstahl@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 (-)

> Date: Sat, 05 Jan 2019 20:10:40 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
> Cc: 33989 <at> debbugs.gnu.org

Ping!  Tom, could you please look at this issue?

> > From: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
> > 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33989; Package emacs. Full text available.

Message received at 33989 <at> debbugs.gnu.org:


Received: (at 33989) by debbugs.gnu.org; 5 Jan 2019 18:11:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 05 13:11:17 2019
Received: from localhost ([127.0.0.1]:48057 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gfqPl-0006Ma-5B
	for submit <at> 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 <eliz@HIDDEN>) id 1gfqPg-0006MP-BB
 for 33989 <at> 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 <eliz@HIDDEN>) id 1gfqPc-0001Kd-5L
 for 33989 <at> 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 <eliz@HIDDEN>)
 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 <eliz@HIDDEN>)
 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@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>,
 Tom Tromey <tom@HIDDEN>
In-reply-to: <878szzm38w.fsf@HIDDEN> (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@HIDDEN>
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 <at> debbugs.gnu.org
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: -6.0 (------)

> From: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33989; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Jan 2019 17:19:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 05 12:19:40 2019
Received: from localhost ([127.0.0.1]:48034 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gfpbo-00035g-60
	for submit <at> 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 <benny@HIDDEN>) id 1gfpbm-00035Z-SU
 for submit <at> 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 <benny@HIDDEN>)
 id 1gfpbk-0007D7-Re
 for submit <at> 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 <benny@HIDDEN>) id 1gfpbk-0005wF-4R
 for bug-gnu-emacs@HIDDEN; 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 <benny@HIDDEN>) id 1gfpbd-00079a-KD
 for bug-gnu-emacs@HIDDEN; 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 <benny@HIDDEN>)
 id 1gfpbT-00074f-Ub
 for bug-gnu-emacs@HIDDEN; 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 <benny@HIDDEN>)
 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 <benny@HIDDEN>)
 id 1gfpbL-0001mR-Bp; Sat, 05 Jan 2019 18:19:11 +0100
From: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.50; master: Tcl indentation broken
Date: Sat, 05 Jan 2019 18:19:11 +0100
Message-ID: <878szzm38w.fsf@HIDDEN>
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 <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 (-)

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".




Acknowledgement sent to Benjamin Riefenstahl <b.riefenstahl@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#33989; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 25 Jan 2019 08:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.