i read somewhere that there is a chuck mode for emacs, but i can't seem o find it. does anyone have that available? thanks, ken
Hi Ken,
On 10/31/05, Ken
i read somewhere that there is a chuck mode for emacs, but i can't seem o find it. does anyone have that available? thanks, ken
Here's one place to get it: http://flprim.us/emacs/chuck.el HTH ciao, furlan -- Blog: http://flprimus.blogspot.com/ Home: http://flprim.us/index.html Working with Linux is like wrestling with a worthy opponent. Working with Windows is like picking on an annoyed child with a loaded handgun.
Furlan Primus wrote:
I tried that, but can't make it work. How is it "installed" in .emacs? -- peace, love & harmony Atte http://www.atte.dk
On 10/31/05, Atte André Jensen
Furlan Primus wrote:
I tried that, but can't make it work. How is it "installed" in .emacs?
I renamed chuck.el to chuck-mode.el, placed it in the ~/emacs/packages subdirectory. The following lines are in my .emacs: ;;; =================================== (setq load-path (append load-path (list "~/emacs/packages"))) (setq auto-mode-alist (cons '("\\.ck" . chuck-mode) auto-mode-alist)) (autoload 'chuck-mode "chuck-mode" "ChucK editing mode" t ) ;;; =================================== In chuck-mode.el I changed the following as requested as I am running under Fedora Core 3 and my executable is located in /usr/bin: ;;; CHANGE THIS to something that fits your system!!! (defvar chuck-exec "/usr/bin/chuck") I have NOT tested it much yet except to insure that emacs invokes the .ck files in chuck-mode. I did not write the chuck-mode and am merely offering it because I found people asking for it. Insofar as it seems to need to be called chuck-mode.el rather than chuck.el I will rename the file that is downloaded to save others from having to change the name. HTH ciao, furlan
-- peace, love & harmony Atte
http://www.atte.dk _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- Blog: http://flprimus.blogspot.com/ Home: http://flprim.us/index.html Working with Linux is like wrestling with a worthy opponent. Working with Windows is like picking on an annoyed child with a loaded handgun.
Furlan Primus wrote:
On 10/31/05, Atte André Jensen
wrote: Furlan Primus wrote:
I tried that, but can't make it work. How is it "installed" in .emacs?
I renamed chuck.el to chuck-mode.el, placed it in the ~/emacs/packages subdirectory. The following lines are in my .emacs:
<snip> Thats really impressive. Now it emacs OS just had an easy to use text editor, I'd probably give it a try ;-). Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "There is only a small difference between a strong atheist and a Christian: they agree on a very long list of gods that don't exist, and disagree about only one of them." - Atheist joke
Furlan Primus wrote:
I renamed chuck.el to chuck-mode.el
That's what i missed, thanks. I'll try to find time tonight to add your instructions + link to file to thw wiki tonight. Maybe you could rename the file on the server, so that people don't have to do that? -- peace, love & harmony Atte http://www.atte.dk
On 11/1/05, Atte André Jensen
Furlan Primus wrote:
I renamed chuck.el to chuck-mode.el
That's what i missed, thanks. I'll try to find time tonight to add your instructions + link to file to thw wiki tonight.
Maybe you could rename the file on the server, so that people don't have to do that?
If by the server you are referring to where I have it hosted then I have already done so as well as changing the link to reflect the change. In addition I put the instructions for adding it on the first page of my site. Perhaps it would be better for me to just create a page for ChucK on my site and move that to it. ciao, furlan -- Blog: http://flprimus.blogspot.com/ Home: http://flprim.us/index.html Working with Linux is like wrestling with a worthy opponent. Working with Windows is like picking on an annoyed child with a loaded handgun.
participants (4)
-
Atte André Jensen
-
Erik de Castro Lopo
-
Furlan Primus
-
Ken