Does smalltalk-mode support old-style syntax?

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

Does smalltalk-mode support old-style syntax?

mmatalka
Hello!

I'm trying to use Emacs to develop Smalltalk.  I am developing for Amber but GST seems to be the only place I can find a smalltalk-mode for Emacs.  The problem is I'm getting errors while trying to write code.  For example, if I create a file Foo.st and from an empty buffer write:

Object subclass: #Foo
instanceVariableNames

When I try to type ':' I get an error in the minibuf saying "At end of buffer" and I cannot type the ':'.

I was told that GST has switched to a new syntax, so is this valid for the said syntax?  If not, does anyone have any suggestions for an emacs mode that supports the chunk style?  Can I use the smalltalk-mode from an earlier version of gcc?  My workaround right now (which is less than ideal) is to comment out the lines that map : to smalltalk-colon and ! to smalltalk-bang.

Thanks,
Malcolm


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

Re: Does smalltalk-mode support old-style syntax?

Paolo Bonzini-2
> I was told that GST has switched to a new syntax, so is this valid for the said syntax?  If not,
> does anyone have any suggestions for an emacs mode that supports the chunk style?  Can I use
> the smalltalk-mode from an earlier version of gcc?  My workaround right now (which is less than
> ideal) is to comment out the lines that map : to smalltalk-colon and ! to smalltalk-bang.

Yes, it should work but it has somewhat bitrotted.

Your bug seems pretty easy to reproduce and fix, though.

Paolo

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

Re: Does smalltalk-mode support old-style syntax?

mmatalka
Does this mean it will be fixed soon? :)

- Malcolm

On Sep 17, 2011, at 4:12 AM, Paolo Bonzini wrote:

>> I was told that GST has switched to a new syntax, so is this valid for the said syntax?  If not,
>> does anyone have any suggestions for an emacs mode that supports the chunk style?  Can I use
>> the smalltalk-mode from an earlier version of gcc?  My workaround right now (which is less than
>> ideal) is to comment out the lines that map : to smalltalk-colon and ! to smalltalk-bang.
>
> Yes, it should work but it has somewhat bitrotted.
>
> Your bug seems pretty easy to reproduce and fix, though.
>
> Paolo


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

Re: Does smalltalk-mode support old-style syntax?

Paolo Bonzini-2
On Sat, Sep 17, 2011 at 19:02,  <[hidden email]> wrote:
> Does this mean it will be fixed soon? :)

Perhaps. :)

Paolo

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