Electronic Music mailing list archives

Previous Message: Re: Pfx not working?
Next Message: Re: *explain* nextTimeOnGrid

From: blackrain ()
Date: May 17, 2008
Subject: Re: Building Sclang Executable on OS X (leopard or
Hi Prko,

Glad you have sclang working.

The dot emacs file is the emacs configuration file.
This file is found (if you already have one) in your home directory.

To edit its contents or create a new one, do the following in emacs
(or Aquamacs):

- open (visit in emacs lingo) the file by pressing Ctrl-x Ctrl-f
- emacs will ask you for the name of the file you want to open in the
minibuffer (at the bottom of the emacs window)
- type ~/.emacs and press enter.

~/ means your home directory.
notice the dot in front of emacs - without a space.
In UN!X like file systems, file names starting with a dot are 'hidden'
files. ie, these files wont be shown by the finder (or whatever window
manager is being used) so, File->Open cant be used in Aquamacs to edit
this file; we need to do Ctrl-x Ctrl-f.

The contents of your dot emacs file will appear in emacs; empty if the
file did not exist (it has just been created), or it has nothing on
it, or the buffer will show some configuration lines if you already
had something in there.

- type or paste these two lines at the top of the file:

(add-to-list 'load-path "~/sclang/el")
(require 'sclang)

- save the contents of the file
Menu File -> Save Buffer (in aquamax) or press Ctrl-x Ctrl-s

- quit emacs and relaunch it.

Now you need to customize your scel installation for things to work.

- press Option-x (that is Meta-x) and the mini buffer (at the bottom
of the emacs frame) will become active.
- type sclang-customize (so the mini buffer reads: M-x sclang-customize)
- press enter.

This will pop up a new Emacs frame (a new window) in Aquamacs - a yellow one.
- click on Sclang-Interface Go to Group
- click Sclang-options Go to Group (found at the very bottom)

Now edit and set the Sclang Runtime directory field to: ~/sclang
click on the 'state' button just below Sclang Runtime directory and
select "Save for Future sessions"

if the field already said ~/sclang and "Save for Future sessions" is
unavailable,  just re-edit the field's contents and the option will
become available.

The text next to the State button bellow "Sclang Runtime directory"
now will read:  "Saved and set."

close the customization frames.

>From now on, when emacs is launched you will:

- engage sclang mode in emacs with:
M-x sclang-mode
(again, this is Option x, the minibuffer becomes active, you type
sclang-mode and press enter).
* notice now you have a SClang menu.

- start the interpreter Ctrl-c Ctrl-l
the emacs buffer will be split in two, the lower part is the post
window and you will see the library compile there.

That is all.

Please consult scel's documentation found in linux/scel/README for
more information.

some additional notes:
- It would be a good idea to follow the Emacs tutorial found in Help
-> Emacs tutorial if you have never used emacs.

- At the moment there is no online Help support in Emacs under osx (Ctrl-h).
w3m relies on libraries that are somewhat a pain to be made into a
static universal library - gc (so the executable could be distributed
w/o dependencies to dev kits).

- The Emacs FAQ found in the Help menu, has all the information you
need to make Emacs use line numbers along with tons of other kewl
stuff.

cheers,

x



On Sat, May 17, 2008 at 12:47 PM, PyoungRyang Ko
 wrote:
> Dear blackrain,
>
> I followed your instruction.
> However I have not got the following:
>
> Add these two lines to your dot emacs file (create one if it doesn't exist).
> (add-to-list 'load-path "~/sclang/el")
> (require 'sclang)
> save the changes.
>
> I have installed Aquamacs Emacs.
> How can I create dot emacs file?
> I have not used Emacs.
>
> The other things which are described in "README SCLang OSX" all OK!!!!
>
> Thank you for your hints!
>
> Best,
> Prko
>
>
> _______________________________________________
> sc-users mailing list [EMAIL REMOVED] > http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>
_______________________________________________
sc-users mailing list [EMAIL REMOVED] http://lists.create.ucsb.edu/mailman/listinfo/sc-users

+ Building Sclang Executable on OS X (leopard or other) scacinto (05/09/08)
+---Re: Building Sclang Executable on OS X (leopard or scacinto (05/09/08)
+------Re: Building Sclang Executable on OS X (leopard or Stefan Nussbaumer (05/10/08)
+------Re: Building Sclang Executable on OS X (leopard or James Harkins (05/10/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/11/08)
+---------Re: Building Sclang Executable on OS X (leopard or blackrain (05/13/08)
+---------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/13/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/11/08)
+------Re: Building Sclang Executable on OS X (leopard or stefan kersten (05/12/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/12/08)
+---------Re: Building Sclang Executable on OS X (leopard or nescivi (05/12/08)
+---------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/12/08)
+---------Re: Building Sclang Executable on OS X (leopard or stefan kersten (05/13/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/12/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/12/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/12/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/12/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/12/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/13/08)
+---------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/13/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/13/08)
+---Re: Building Sclang Executable on OS X (leopard or nescivi (05/12/08)
+---Re: Building Sclang Executable on OS X (leopard or blackrain (05/13/08)
+---Re: Building Sclang Executable on OS X (leopard or mr.proxxxy (05/15/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/16/08)
+---------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/17/08)
+---------Re: Building Sclang Executable on OS X (leopard or blackrain (05/17/08)
+------------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/18/08)
+---------------Re: Building Sclang Executable on OS X (leopard or James Harkins (05/18/08)
+------------------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/18/08)
+------------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/18/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/16/08)
+------Re: Building Sclang Executable on OS X (leopard or mr.proxxxy (05/17/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/17/08)
+------Re: Building Sclang Executable on OS X (leopard or mr.proxxxy (05/17/08)
+------Re: Building Sclang Executable on OS X (leopard or blackrain (05/17/08)
+------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/17/08)
+---------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/18/08)
+------------Re: Building Sclang Executable on OS X (leopard or Björn_Kessler? (05/18/08)
+---------------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/18/08)
+------------------Re: Building Sclang Executable on OS X (leopard or Rainer Schuetz (05/18/08)
+---------------------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/19/08)
+------------------------Re: Building Sclang Executable on OS X (leopard or Rainer Schuetz (05/19/08)
+---------------------------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/20/08)
+---------Re: Building Sclang Executable on OS X (leopard or PyoungRyang Ko (05/18/08)
+------------Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/18/08)
+------Re: Building Sclang Executable on OS X (leopard or scacinto (05/19/08)
+---Re: Building Sclang Executable on OS X (leopard or blackrain (05/17/08)
+---Re: Building Sclang Executable on OS X (leopard or nescivi (05/18/08)
+---Re: Building Sclang Executable on OS X (leopard or nescivi (05/21/08)
+---Re: Building Sclang Executable on OS X (leopard or Josh Parmenter (05/21/08)

Previous Message: Re: Pfx not working?
Next Message: Re: *explain* nextTimeOnGrid