unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Bruce Stephens <bruce.stephens@isode.com>
To: 32035@debbugs.gnu.org
Subject: bug#32035: 27.0.50; master; tcl-mode indentation broken in namespaces
Date: Mon, 02 Jul 2018 16:02:26 +0100	[thread overview]
Message-ID: <80y3etn0jh.fsf@tinier.isode.net> (raw)

With a file in tcl-mode (foo.tcl, say), I enter

namespace eval Foo {
variable foo

I would expect the second line to be indented (basically because of the
{, indicating it's beginning the namespace), but now it has indentation
0.

If I revert commit cd5bb4bf3dbad8941d25823f398b595b8f0edbb9, "Fix two
tcl-mode defun-related bugs" (which fixes #23565) then I get the
expected indentation.

In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2018-07-02, modified by Debian built on tinier
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Debian GNU/Linux buster/sid





             reply	other threads:[~2018-07-02 15:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-02 15:02 Bruce Stephens [this message]
2018-07-02 17:20 ` bug#32035: 27.0.50; master; tcl-mode indentation broken in namespaces Glenn Morris
2018-07-02 20:48   ` Tom Tromey
2018-07-03 10:01     ` Bruce Stephens
2018-08-12  0:24 ` bug#32035: done Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=80y3etn0jh.fsf@tinier.isode.net \
    --to=bruce.stephens@isode.com \
    --cc=32035@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).