Go to Google Groups Home    gnu.emacs.help
Re: comment shading issue

Lowell Gilbert <lguse...@be-well.ilk.org>

Chitlesh Goorah <chitl...@gmail.com> writes:
> Hello there,

> When executing the following tcl file, "tclsh myfile.tcl"

> ------------------------
> #!/usr/bin/tclsh

> # \
> puts "hi"
> ------------------------

> the output will be "blank". This is because of the # represents
> comments and the puts 'hi' is considered as a comment because of the
> \.

> But in emacs,  the "puts "hi" line is not shaded as a comment, as if
> it seems emacs does not consider it to be a comment.

> How can I force emacs so that the "puts "hi"" line is displayed with
> the same font and colour as a comment ?

From the comments in tcl.el, it looks like continued comments aren't
supported by the mode at all.