Editors for GST

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

Editors for GST

Giuseppe

Hi all,

I know an emacs mode exists, but, where the hell are the .emacs file?

I can't found it in my home folder, on Linux or Mac either.

Exists something to use from Vim? I found something like Slime, but I
can't get to work with it.

I saw Smalltalk over Eclipse, a work by IBM.
http://weeklysqueak.files.wordpress.com/2008/10/classesperspective.jpg

http://www.ibm.com/developerworks/blogs/page/stdt

Someone has tried some of this two options to work with GST? I found
something to work with files (like a project, as eclipse does), the
problem is, thath eclipse as editor only is very weight.

Cheers.




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

Re: Editors for GST

Paolo Bonzini-2
> I know an emacs mode exists, but, where the hell are the .emacs file?

They are .el files and they are compiled to .elc and installed.  You
can use M-x smalltalk-mode or add this to .emacs:

     (setq auto-mode-alist
           (append  '(("\\.st\\'" . smalltalk-mode))
                    auto-mode-alist))

     (autoload 'smalltalk-mode
"....../share/emacs/site-lisp/smalltalk-mode.elc" "" t)

as mentioned in the manual.

> I saw Smalltalk over Eclipse, a work by IBM.
> http://weeklysqueak.files.wordpress.com/2008/10/classesperspective.jpg
> http://www.ibm.com/developerworks/blogs/page/stdt
>
> Someone has tried some of this two options to work with GST?

They could be a good idea, but time is finite.  Next year you could
propose an Eclipse Google Summer of Code project and do it.  Or just
do it now, after all it's free software...

Paolo


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

Re: Editors for GST

Paolo Bonzini-2
> Yes, and I tried to follow it, but, I can't find the dammned .emacs file or
> smalltalk-mode.elc on /share/emacs/site-lisp and so on.....

The .emacs file is in your home directory.  If you don't have it,
create it.  .emacs is just like .vimrc.

Maybe your emacs is not detected correctly by configure?  Check in config.log.

> I was tried, if I didn't hate Java.

Not that I like EmacsLisp particularly...

Paolo


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

Re: Editors for GST

Giuseppe
Quoting Paolo Bonzini <[hidden email]>:

>> Yes, and I tried to follow it, but, I can't find the dammned .emacs file or
>> smalltalk-mode.elc on /share/emacs/site-lisp and so on.....
>
> The .emacs file is in your home directory.  If you don't have it,
> create it.  .emacs is just like .vimrc.
>
> Maybe your emacs is not detected correctly by configure?  Check in  
> config.log.

[glpunzi@info01 smalltalk]$ less config.log | grep emacs
configure:5551: checking for emacs
configure:5551: checking for xemacs
configure:5631: result: ${datadir}/emacs/site-lisp
ac_cv_emacs_comint=no
am_cv_lispdir='${datadir}/emacs/site-lisp'
emacs_cv_localtime_cache=no
lispdir='${datadir}/emacs/site-lisp'

[glpunzi@info01 smalltalk]$ ls /usr/share/emacs/site-lisp/
autoconf-mode.el        gds-scheme.el  igrep.elc     rpm-spec-mode.el
autoconf-mode.elc       gds-server.el  php-mode.el   rpm-spec-mode.elc
autotest-mode.el        git-blame.el   php-mode.elc  site-start.d
autotest-mode.elc       git-blame.elc  po-mode.el    site-start.el
default.el              git.el         po-mode.elc   ssl.el
desktop-entry-mode.el   git.elc        psvn.el       ssl.elc
desktop-entry-mode.elc  idna.el        psvn-init.el  subdirs.el
gds.el                  igrep.el       punycode.el   xcscope.el


>
>> I was tried, if I didn't hate Java.
>
> Not that I like EmacsLisp particularly...

Sweet.



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

Re: Editors for GST

Stefan Schmiedl
In reply to this post by Giuseppe
On Wed, 22 Jul 2009 12:57:26 +0200
[hidden email] wrote:

> Exists something to use from Vim? I found something like Slime, but I
> can't get to work with it.

http://smalltalk.gnu.org/blog/swsch/vim-and-gst-repl

Let me know if should be less terse in the blog description.

HTH,
s.


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

Re: Editors for GST

Giuseppe
> On Wed, 22 Jul 2009 12:57:26 +0200
> [hidden email] wrote:
>
>> Exists something to use from Vim? I found something like Slime, but I
>> can't get to work with it.
>
> http://smalltalk.gnu.org/blog/swsch/vim-and-gst-repl
>
> Let me know if should be less terse in the blog description.
>
> HTH,
> s.
>

Hi, I think I tried it AFAIR. The problem was thath OSX don't understand
screen command. I don't tried to search for it on macports.



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

Re: Editors for GST

Giuseppe
In reply to this post by Paolo Bonzini-2
> Hello,
>
> On Wed, Jul 22, 2009 at 8:40 AM, Paolo Bonzini <[hidden email]> wrote:
>
>>  > I saw Smalltalk over Eclipse, a work by IBM.
>> > http://weeklysqueak.files.wordpress.com/2008/10/classesperspective.jpg
>> > http://www.ibm.com/developerworks/blogs/page/stdt
>> >
>> > Someone has tried some of this two options to work with GST?
>>
>> They could be a good idea, but time is finite.  Next year you could
>> propose an Eclipse Google Summer of Code project and do it.  Or just
>> do it now, after all it's free software...
>
>
> I've seen this work previously too but it seems this particular work on
> Eclipse is kept for IBM Internal use exclusively.
> Which means we have to start over.
> I am interested in such project. I have a reasonable experience with
> Eclipse
> development.
> I'm usually a bit overloaded but if more people are willing to start this,
> I
> would gladly join.

The problem, always is time, and, I don't have experience in eclipse :(

I asked if somebody has the "Holy Grial" for editing Smalltalk code,
because I don't have much time nor Knowledge to help. I tried to port
Omnibrowser to GST to try to get a Web based IDE
(Seaside+Omnibrowser+XUL), and I crashed in the way, because I'm not a
guru of smalltalk. I'm very accustomed to IDEs, like Delphi or Squeak, and
is little frustrating to me to use "simple editors" developing in
smalltalk.

Obviously, to start something from scratch, I think is better to help Nico
and Gwennael with VisualGST or improve Blox, and get a smalltalkish IDE. I
get VisualGST working at work (not in my Mac, damn :D ), and looks like a
lot of job is do it. If we can put to VisualGST, some ideas taken from
other Smalltalks(1), a full working debugger, and later, a GUI Painter
like VW for example, then, we can go to conquest the world :D

While, I'm trying to learn and get used to GST at small steps.

(1) For example, VisualGST, can show all available packages/namespaces,
but only load it each at double click, like Smalltalk/X do.



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

Re: Editors for GST

Paolo Bonzini-3
On 07/22/2009 04:50 PM, [hidden email] wrote:
> I tried to port
> Omnibrowser to GST to try to get a Web based IDE
> (Seaside+Omnibrowser+XUL), and I crashed in the way, because I'm not a
> guru of smalltalk.

I ported Omnibrowser to GST and GTK, but only the framework, not the
browsers.  The latter were taking too long.

> Obviously, to start something from scratch, I think is better to help Nico
> and Gwennael with VisualGST or improve Blox, and get a smalltalkish IDE.

The next version of GST will include Gwenael's work, so it will be
easier to install (pending resolution of MacPorts problems...)

Paolo


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

Re: Editors for GST

Giuseppe
> On 07/22/2009 04:50 PM, [hidden email] wrote:
>> I tried to port
>> Omnibrowser to GST to try to get a Web based IDE
>> (Seaside+Omnibrowser+XUL), and I crashed in the way, because I'm not a
>> guru of smalltalk.
>
> I ported Omnibrowser to GST and GTK, but only the framework, not the
> browsers.  The latter were taking too long.
>
>> Obviously, to start something from scratch, I think is better to help
>> Nico
>> and Gwennael with VisualGST or improve Blox, and get a smalltalkish IDE.
>
> The next version of GST will include Gwenael's work, so it will be
> easier to install (pending resolution of MacPorts problems...)

You know if somebody tried over Windows? It's the problem only for OSX?



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

Re: Editors for GST

Damien Pollet
In reply to this post by Giuseppe
On Wed, Jul 22, 2009 at 16:37, <[hidden email]> wrote:
> Hi, I think I tried it AFAIR. The problem was thath OSX don't understand
> screen command. I don't tried to search for it on macports.

Hmm, I have it in /usr/bin/screen (10.5)


--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet


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