Aladdin - Scala Bugtracking
[#285] project: distribution priority: low category: bug
submitter assigned to status date submitted
Burak Michel fixed 2004-01-27 11:38:25.0
subject [contrib #6] emacs support syntax highligh and indentation problems
code
what happened
The syntax highlighting and auto-indentation for xemacs 21.4.(patch 12) is extremely bad.

Prominent examples:
- Each one line comment colors the rest of the document commented
- Strings are not correctly recognized e.g. '"'
what expected Usable syntax highlighting and auto indentation for emacs
[back to overview]
Changes of this bug report
Burak  edited on  2004-01-27 11:41:01.0
(( this is a contribution )) Also for emacs, there is a problem with symbols. E.g. writing 'a() breaks a lot...
Michel  edited on  2004-01-27 12:38:19.0

XEmacs is explicitely not supported, as specified in the README file which I added recently.

As far as the syntax highlighting is concerned, the problem with symbols might be fixable, I'll look into that. Please notice, though, that Scala's syntax contains many tricky constructions which simply cannot be handled by Emacs, unless its support for language is completely rewritten, or we start using a package like the "Semantic Bovinator".

Michel  edited on  2004-02-03 08:43:59.0
I changed the way character literals are highlighted. Now they should all highlight correctly except '\'' for whatever reason, and symbols should not be incorrectly highlighted like character literals, as they used to.