smalltalk mode in gst3.0.2 break old syntax

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

smalltalk mode in gst3.0.2 break old syntax

Derek Zhou
Paolo:
It looks like the emacs smalltalk-mode in gst 3.0.2 make writing smalltalk
program in the old syntax very hard: templates are all new syntax, indention
doesn't work right, and I can even type:
Transcript nextPutAll: 'hello'!
(the ! will not appear?)
Introduce new syntax is one thing but forcing the new syntax down the throat
is kind of hash?
Can we have a customizable variable in emacs to toggle between old and new
syntax?
Derek


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: smalltalk mode in gst3.0.2 break old syntax

Paolo Bonzini-2
> Transcript nextPutAll: 'hello'!
> (the ! will not appear?)

This must be a bug.  The ! is overridden to go past the final ']' of a
method but it should have this function only inside a new-syntax template.

> Can we have a customizable variable in emacs to toggle between old and new
> syntax?

Yes, it's possible though it's not very high in the todo list. :-)

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk