electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Supercollider
possible to use emacs SC on windoze?
Post new topic   Reply to topic Moderators: v-un-v
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
flies



Joined: May 20, 2008
Posts: 33
Location: NJ

PostPosted: Sat Aug 22, 2009 7:50 am    Post subject: possible to use emacs SC on windoze? Reply with quote  Mark this post and the followings unread

i know emacs pretty well, and i'll be using it for my text editing whether i can run SC natively from it or not. is this possible on xp?
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Aug 22, 2009 8:16 am    Post subject: Reply with quote  Mark this post and the followings unread

If you didn't already ... have a look at cygwin, I use it to run some unix utillities and it seems pretty complete.
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
dewdrop_world



Joined: Aug 28, 2006
Posts: 858
Location: Guangzhou, China
Audio files: 4

PostPosted: Sat Aug 22, 2009 8:48 am    Post subject: Reply with quote  Mark this post and the followings unread

@ Blue Hell -- You mean, run a version compiled for Linux using cygwin? I have no idea if that would work or not -- I don't think anybody's tried it.

To run with emacs natively on Windows, the missing piece is a sclang executable compiled for Windows. The package available for download bundles the language and a Python-based front end into one executable, and if you check out the source from svn and follow the Windows build instructions, you'll get the same thing. Emacs would need the language back end by itself.

In theory it should be possible to build in Windows using mingw and the supercollider scons script, but probably several changes in the sconstruct would be needed. I wanted to have a look at this some months ago, but didn't have time and also realized pretty quickly I don't have the developer chops for that job.

Another alternative would be to set up a Linux partition on your PC, or get a little Linux net book to get your feet wet. Dan Stowell on the sc list runs scemacs on an EEE pc for fun... I saw it at the last SC symposium. Nifty!

James

_________________
ddw online: http://www.dewdrop-world.net
sc3 online: http://supercollider.sourceforge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Aug 22, 2009 8:56 am    Post subject: Reply with quote  Mark this post and the followings unread

dewdrop_world wrote:
@ Blue Hell -- You mean, run a version compiled for Linux using cygwin?


No, I really would not know if such would be possible (I assume getting audio out would be troublesome), but emacs in cygwin could be used to edit files ... so I was zooming in on the non-native escape that was left open in the question.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
flies



Joined: May 20, 2008
Posts: 33
Location: NJ

PostPosted: Sun Aug 23, 2009 1:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

it's as i suspected then.

i run cygwin/x on my machine so logging in to my school server is easier, but emacs and xemacs both have windows versions. so far i've been using the smalltalk mode for editing SC scripts (i added '.sc' to the recognized extensions in for the mode), which works fine in my very limited experience.
Back to top
View user's profile Send private message
flies



Joined: May 20, 2008
Posts: 33
Location: NJ

PostPosted: Wed Feb 24, 2010 9:07 am    Post subject: Reply with quote  Mark this post and the followings unread

just to say that you can get a proper sclang mode on windows emacs. i haven't the inclination to make it communicate with the SC server, but having proper tabbing, etc, is great.

downlad all the .el files from https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk/editors/scel/ (had to right click on each file! stupid windoze), install the .el files into your emacs/lisp/progmodes/ folder (one had to be renamed from a .el.in to .el), and add the line, (require 'sclang), to your .emacs file.

now i have sclang mode when i open a .sc file. it recognizes ^C ^C commands and such, but, of course, they don't do anything, at least not now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: v-un-v
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Supercollider
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use