Comments (21)
Hi @alejoduque
Could you possibly read this quickly and reformat your question appropriately:
http://overtone.github.com/emacs-live/doc-reporting-issues.html
It will make it much easier for me to understand your problem and to help me help you find a solution.
from emacs-live.
hi, surely.. nice page btw.. will read and get as much info as possible. thanks for getting back!
from emacs-live.
I expect to be able to launch the scsynth from within emacs-live but nothing happens, might be that i'm using unsupported comands or that i need to change paths somewhere? here the locations for both:
~ % whereis scsynth
scsynth: /usr/local/bin/scsynth
~ % whereis sclang
sclang: /usr/local/bin/sclang
The commands im trying are:
s=Server.local.boot
or
s.boot
(that works ok when i get the sc3> prompt after invoking:
scsynth -u 57110 &
My current version of emacs is:
GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) of 2012-12-17 on dex, modified by Debian 3.6.0-9.dmz.1-liquorix-amd64
M"""""`'"""`YM
M mm. mm. M
M MMM MMM M dP. .dP
M MMM MMM M 888888 `8bd8'
M MMM MMM M .d88b.
M MMM MMM M dP' `dP
MMMMMMMMMMMMMM
Can't figure out how to determine the emacs-live version, but i made a fresh install just yesterday.. so no extra packages or custom tweaks have been done.
lastly this is:: emacs --debug-init
Loading /etc/emacs/site-start.d/00debian-vars.el (source)...done
Loading /etc/emacs-snapshot/site-start.d/00emacs-snapshot-common.el (source)...done
Loading /etc/emacs/site-start.d/50autoconf.el (source)...done
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Skipping dictionaries-common setup for emacs-snapshot
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done
Loading /home/alejo/.emacs.d/manifest.el (source)...done
Loading /home/alejo/.emacs.d/lib/live-core.el (source)...done
Loading /home/alejo/.emacs-live.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/init.el (source)...
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/auto-compile-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/backup-dir-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/util-fns.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/built-in.el (source)...
Loading /home/alejo/.emacs.d/tmp/recentf...done
Cleaning up the recentf list...done (0 removed)
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/built-in.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/cosmetic.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/ido-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/smex-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/tramp-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/mouse-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/ibuffer-git-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/key-chord-conf.el (source)...
Key Chord mode on
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/key-chord-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/window-number-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/recentf-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/elisp-slime-nav-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/popwin-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/shell-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/spelling-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/lisp-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/win-switch-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/config/zone-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/foundation-pack/init.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/colour-pack/init.el (source)...
Loading /home/alejo/.emacs.d/packs/live/colour-pack/config/colour-theme-conf.el (source)...
Loading /home/alejo/.emacs.d/packs/live/colour-pack/lib/cyberpunk.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/colour-pack/lib/gandalf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/colour-pack/config/colour-theme-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/colour-pack/config/live-fontify-hex-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/colour-pack/config/live-fontify-hex-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/colour-pack/init.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/clojure-pack/init.el (source)...
Loading /home/alejo/.emacs.d/packs/live/clojure-pack/config/paredit-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/clojure-pack/config/mic-paren-conf.el (source)...
../../.emacs.d/packs/live/clojure-pack/lib/mic-paren.el: flet' is an obsolete macro (as of 24.3); use either
cl-flet' or cl-letf'. Loading /home/alejo/.emacs.d/packs/live/clojure-pack/config/mic-paren-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/clojure-pack/config/highlight-flash-conf.el (source)... ../../.emacs.d/packs/live/clojure-pack/lib/nrepl-eval-sexp-fu/nrepl-eval-sexp-fu.el:
flet' is an obsolete macro (as of 24.3); use either cl-flet' or
cl-letf'. [2 times]
Loading /home/alejo/.emacs.d/packs/live/clojure-pack/config/highlight-flash-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/clojure-pack/config/clojure-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/clojure-pack/config/auto-complete-conf.el (source)...
../../.emacs.d/packs/live/clojure-pack/lib/fuzzy-el/fuzzy.el: flet' is an obsolete macro (as of 24.3); use either
cl-flet' or cl-letf'. [3 times] ../../.emacs.d/packs/live/clojure-pack/lib/auto-complete/auto-complete.el:
flet' is an obsolete macro (as of 24.3); use either cl-flet' or
cl-letf'.
Loading /home/alejo/.emacs.d/packs/live/clojure-pack/config/auto-complete-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/clojure-pack/config/nrepl-conf.el (source)...
../../.emacs.d/packs/live/clojure-pack/lib/nrepl/nrepl.el: flet' is an obsolete macro (as of 24.3); use either
cl-flet' or cl-letf'. Loading /home/alejo/.emacs.d/packs/live/clojure-pack/config/nrepl-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/clojure-pack/init.el (source)...done Loading /home/alejo/.emacs.d/packs/live/lang-pack/init.el (source)... Loading /home/alejo/.emacs.d/packs/live/lang-pack/config/yaml-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/lang-pack/config/ioke-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/lang-pack/config/auto-modes.el (source)...done Loading /home/alejo/.emacs.d/packs/live/lang-pack/config/ruby-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/lang-pack/config/markdown-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/lang-pack/config/supercollider-conf.el (source)... ../../.emacs.d/packs/live/lang-pack/lib/scel/el/sclang-interp.el:
flet' is an obsolete macro (as of 24.3); use either cl-flet' or
cl-letf'.
../../.emacs.d/packs/live/lang-pack/lib/scel/el/sclang-language.el: flet' is an obsolete macro (as of 24.3); use either
cl-flet' or cl-letf'. [2 times] ../../.emacs.d/packs/live/lang-pack/lib/scel/el/sclang-help.el:
flet' is an obsolete macro (as of 24.3); use either cl-flet' or
cl-letf'.
../../.emacs.d/packs/live/lang-pack/lib/scel/el/sclang-server.el: flet' is an obsolete macro (as of 24.3); use either
cl-flet' or cl-letf'. Loading /home/alejo/.emacs.d/packs/live/lang-pack/config/supercollider-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/lang-pack/config/actionscript-conf.el (source)... Loading /home/alejo/.emacs.d/packs/live/lang-pack/lib/actionscript-mode/actionscript-config.el (source)...done Loading /home/alejo/.emacs.d/packs/live/lang-pack/config/actionscript-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/lang-pack/config/js2-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/lang-pack/init.el (source)...done Loading /home/alejo/.emacs.d/packs/live/power-pack/init.el (source)... Loading /home/alejo/.emacs.d/packs/live/power-pack/config/volatile-highlights-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/power-pack/config/yasnippet-conf.el (source)... ../../.emacs.d/packs/live/power-pack/lib/yasnippet/yasnippet.el:
labels' is an obsolete macro (as of 24.3); use cl-labels' instead. [2 times] [yas] Prepared just-in-time loading for ~/.emacs.d/etc/snippets [yas] Reloaded everything (snippets will load just-in-time).... Loading /home/alejo/.emacs.d/packs/live/power-pack/config/yasnippet-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/power-pack/config/undo-tree-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/power-pack/config/refheap-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/power-pack/config/scratch-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/power-pack/config/highlight-tail-conf.el (source)...done Loading /home/alejo/.emacs.d/packs/live/power-pack/config/gist-conf.el (source)... ../../.emacs.d/packs/live/power-pack/lib/gh/gh-api.el:
flet' is an obsolete macro (as of 24.3); use either cl-flet' or
cl-letf'. [2 times]
Loading /home/alejo/.emacs.d/packs/live/power-pack/config/gist-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/power-pack/config/browse-kill-ring-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/power-pack/config/expand-region-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/power-pack/config/ace-jump-mode-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/power-pack/config/multiple-cursors-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/power-pack/init.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/git-pack/init.el (source)...
Loading /home/alejo/.emacs.d/packs/live/git-pack/config/magit-conf.el (source)...
../../.emacs.d/packs/live/git-pack/lib/magit/magit.el: flet' is an obsolete macro (as of 24.3); use either
cl-flet' or cl-letf'. ../../.emacs.d/packs/live/git-pack/lib/magit/magit-key-mode.el:
flet' is an obsolete macro (as of 24.3); use either cl-flet' or
cl-letf'.
Loading /home/alejo/.emacs.d/packs/live/git-pack/config/magit-conf.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/git-pack/init.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/bindings-pack/init.el (source)...
Loading /home/alejo/.emacs.d/packs/live/bindings-pack/config/default-bindings.el (source)...done
Loading /home/alejo/.emacs.d/packs/live/bindings-pack/init.el (source)...done
Loading /home/alejo/.live-packs/alejo-pack/init.el (source)...
Loading /home/alejo/.live-packs/alejo-pack/config/bindings.el (source)...done
Loading /home/alejo/.live-packs/alejo-pack/init.el (source)...done
[yas] Loading for emacs-lisp-mode', just-in-time: (yas--load-directory-1 /home/alejo/.emacs.d/etc/snippets/emacs-lisp-mode (quote emacs-lisp-mode) (quote (text-mode)))! [yas] Loading compiled snippets from /home/alejo/.emacs.d/etc/snippets/emacs-lisp-mode [yas] Loading for
text-mode', just-in-time: (yas--load-directory-1 /home/alejo/.emacs.d/etc/snippets/text-mode (quote text-mode) (quote nil))!
[yas] Loading compiled snippets from /home/alejo/.emacs.d/etc/snippets/text-mode
For information about GNU Emacs and the GNU system, type M-h C-a.
Package assoc is obsolete!
Zoning...sorry
Please let me know where else to look for meaningful info though i have the feeling it has to be simple and perhaps only related to my lack of experience with emacs and sc.
from emacs-live.
Thanks for the extra information.
How and where are you entering: s=Server.local.boot
?
from emacs-live.
I'm using SCLang:Workspace that comes up after I do C c C w. Step by step:
- emacs -sclang
Emacs opens with 2 windows:
- SCLang:PostBuf... 685 SCLang (SCLang run)
*scratch 827 Lisp Interaction
With the cursor over SCLang:PostBuf. i do C c C w to get to open:
SCLang:Workspace 174 SCLang
There inside i type the commands and then do M x sclang-eval-line or C x C e that brings this error:
Debugger entered--Lisp error: (void-variable s.boot)
eval(s.boot nil)
eval-last-sexp-1(nil)
#[(eval-last-sexp-arg-internal) "�\204�
I have tried again after doing M x sclang-mode and sclang-start but i see no errors.
hope you can help me figure out what am i doing wrong. many thanks.
from emacs-live.
Hi @alejoduque, unfortunately I don't use SuperCollider lang these days as all my time goes into Overtone - so I don't currently have a working setup with which to help you with. However, I would like to write a tutorial for people to use to get up and running with SuperCollider and Emacs Live - so I really would like to help you get things working.
I did get it working a couple of years ago and wrote up my (very hacky) process:
http://sam.aaron.name/2010/02/09/hooking-supercollider-up-to-emacs-on-os-x.html
However, there are probably many unnecessary and complicated steps here. I just noticed this:
http://www.gloryisasilentthing.com/glory/supercollider-emacs-scel-and-the-right-way/
which may be more direct and helpful.
After glancing these posts, have you done the following:
- Include
sclang
in your PATH, or add it to thesclang-runtime-directory
var? - Add the scel SuperCollider classes to
~/Library/Application\ Support/SuperCollider/Extensions
from emacs-live.
hi again,
yes i understand the point re overtone, i will certainly head there but wanted to try sc from emacs-live since i have some code from a friend that will like to recycle.
i've seen those posts, mostly OS X related... but i'm using GNU/Linux, debian to be precise. Will read them again and try t make sense of those paths and files.
i will like to document this, since i though emacs-live could be a nice entry way for me people on a similar stage but is far more confusing when things seem to run without failing from start.
thanks and let's hope then my next issue is more on the overtone topic.
:)
from emacs-live.
Hi @alejoduque,
any help documenting the process of connecting Emacs Live and SuperCollider would be much appreciated!
from emacs-live.
I trully will like to do it, even include an easy to follow video for the newcomers.. but right now im a bit stuck since all those links google brings i have visited.. will try to cp scel classes to the extensions dir and see what happens..
from emacs-live.
Hi again,
I've just successfully connected to SuperCollider (version 3.5.3 - I'm yet to try 3.6). I've had to rip out the scel files that were currently in there and replace with the latest files direct from the latest source code. I'll write some docs shortly, but until then here's some brief instructions:
- Switch to the dev packs by adding
(live-use-dev-packs)
to your~/.emacs-live.el
git pull
to the latest Emacs Live source- Copy the files in
~/.emacs.d/packs/dev/lang-pack/lib/scel/supercollider-classes-to-cp
to the SuperCollider Extensions directory (on OS X it's in~/Library/Application\ Support/SuperCollider/Extensions/
) - Add
sclang
to yourPATH
or add it directly in Emacs via something like:(push "/Applications/SuperCollider/SuperCollider.app/Contents/Resources" exec-path)
- Run
M-x sclang-start
from emacs-live.
Just by adding the line:
(live-use-dev-packs) to ~/.emacs-live.el
emacs opens on a classic white with logo style and spits the error:
Warning (initialization): An error occurred while loading `/home/alejo/.emacs.d/init.el':
File error: Cannot open load file, auto-compile
This is the debug log (i hope is meaningful, i dont want to get your time on this even more if it all boils down to my imcompetence to understand whats the problem)
Debugger entered--Lisp error: (file-error "Cannot open load file" "auto-compile")
require(auto-compile)
eval-buffer(#<buffer load-234982> nil "/home/alejo/.emacs.d/packs/dev/foundation-pack/config/auto-compile-conf.el" nil t) ; Reading at buffer position 88
load-with-code-conversion("/home/alejo/.emacs.d/packs/dev/foundation-pack/config/auto-compile-conf.el" "/home/alejo/.emacs.d/packs/dev/foundation-pack/config/auto-compile-conf.el" nil nil)
load("/home/alejo/.emacs.d/packs/dev/foundation-pack/config/auto-compile-conf.el" nil nil t)
load-file("/.emacs.d/packs/dev/foundation-pack/config/auto-compile-conf.el")/.emacs.d/packs/dev/foundation-pack/init.el")
(let* ((config-dir (live-pack-config-dir))) (load-file (concat config-dir f-name)))
live-load-config-file("auto-compile-conf.el")
(progn (live-load-config-file "auto-compile-conf.el"))
(if (not (or (eq (quote ms-dos) system-type) (eq (quote windows-nt) system-type))) (progn (live-load-config-file "auto-compile-conf.el")))
eval-buffer(#<buffer load-146977> nil "/home/alejo/.emacs.d/packs/dev/foundation-pack/init.el" nil t) ; Reading at buffer position 136
load-with-code-conversion("/home/alejo/.emacs.d/packs/dev/foundation-pack/init.el" "/home/alejo/.emacs.d/packs/dev/foundation-pack/init.el" nil nil)
load("/home/alejo/.emacs.d/packs/dev/foundation-pack/init.el" nil nil t)
load-file("
(if (file-exists-p pack-init) (load-file pack-init))
(let* ((pack-init (concat pack-dir "init.el"))) (setq live-load-pack-dir pack-dir) (add-to-list (quote load-path) (live-pack-lib-dir)) (if (file-exists-p pack-init) (load-file pack-init)) (setq live-load-pack-dir nil))
live-load-pack("/.emacs.d/packs/dev/foundation-pack/")/.emacs.d/packs/dev/foundation-pack/")
(lambda (pack-dir) (live-load-pack pack-dir))("
mapcar((lambda (pack-dir) (live-load-pack pack-dir)) ("/.emacs.d/packs/dev/foundation-pack/" "/.emacs.d/packs/dev/colour-pack/" "/.emacs.d/packs/dev/clojure-pack/" "/.emacs.d/packs/dev/lang-pack/" "/.emacs.d/packs/dev/power-pack/" "/.emacs.d/packs/dev/git-pack/" "/.emacs.d/packs/dev/bindings-pack/"))") ".emacs-live.el"))) (if (and (file-exists-p pack-file) (not live-safe-modep)) (load-file pack-file))) (mapcar (function (lambda (pack-dir) (live-load-pack pack-dir))) (live-pack-dirs)) (setq live-welcome-messages (if (live-user-first-name-p) (list (concat "Hello " (live-user-first-name) ", somewhere in the world the sun is shining for you right now.") (concat "Hello " (live-user-first-name) ", it's lovely to see you again. I do hope that you're well.") (concat (live-user-first-name) ", turn your head towards the sun and the shadows will fall behind you.")) (list "Hello, somewhere in the world the sun is shining for you right now." "Hello, it's lovely to see you again. I do hope that you're well." "Turn your head towards the sun and the shadows will fall behind you."))) (defalias (quote live-welcome-message) (function (lambda nil (nth (random (length live-welcome-messages)) live-welcome-messages)))) (if live-supported-emacsp (progn (setq initial-scratch-message (concat ";;\n;; MM""""""""
(progn (setq live-root-dir user-emacs-directory) (setq live-tmp-dir (file-name-as-directory (concat live-root-dir "tmp")) live-etc-dir (file-name-as-directory (concat live-root-dir "etc")) live-lib-dir (file-name-as-directory (concat live-root-dir "lib")) live-packs-dir (file-name-as-directory (concat live-root-dir "packs")) live-autosaves-dir (file-name-as-directory (concat live-tmp-dir "autosaves")) live-backups-dir (file-name-as-directory (concat live-tmp-dir "backups")) live-load-pack-dir nil live-disable-zone nil) (make-directory live-etc-dir t) (make-directory live-tmp-dir t) (make-directory live-autosaves-dir t) (make-directory live-backups-dir t) (load-file (concat live-root-dir "manifest.el")) (load-file (concat live-lib-dir "live-core.el")) (let* ((pack-names (quote ("foundation-pack" "colour-pack" "clojure-pack" "lang-pack" "power-pack" "git-pack" "bindings-pack"))) (live-dir (file-name-as-directory "live")) (dev-dir (file-name-as-directory "dev"))) (setq live-packs (mapcar (function (lambda (p) (concat live-dir p))) pack-names)) (setq live-dev-pack-list (mapcar (function (lambda (p) (concat dev-dir p))) pack-names))) (defalias (quote live-version) (function (lambda nil (interactive) (if (called-interactively-p (quote interactive)) (message "%s" (concat "This is Emacs Live " live-version)) live-version)))) (let* ((pack-file (concat (file-name-as-directory "M\n;; MM mmmmmmmM\n;; M
MMMM 88d8b.d8b. .d8888b. .d8888b. .d8888b.\n;; MM MMMMMMMM 88''88'88 88'
88 88' \"\" Y8ooooo.\n;; MM MMMMMMMM 88 88 88 88. .88 88. ... 88\n;; MM .M dP dP dP
88888P8 '88888P' '88888P'\n;; MMMMMMMMMMMM\n;;\n;; M""MMMMMMMM M""M M""MMMMM""M MM""""""""M\n;; M MMMMMMMM M M M MMMMM M MM mmmmmmmM\n;; M MMMMMMMM M M M MMMMP M M
MMMM\n;; M MMMMMMMM M M M MMMM' .M MM MMMMMMMM\n;; M MMMMMMMM M M M MMP' .MM MM MMMMMMMM\n;; M M M M M .dMMM MM .M\n;; MMMMMMMMMMM MMMM MMMMMMMMMMM MMMMMMMMMMMM Version " live-version (if live-safe-modep "\n;; --SAFE MODE--" "\n;;") "\n;; http://github.com/overtone/emacs-live\n;;\n;; " (live-welcome-message) "\n\n")))))
(if live-supported-emacsp (progn (setq live-root-dir user-emacs-directory) (setq live-tmp-dir (file-name-as-directory (concat live-root-dir "tmp")) live-etc-dir (file-name-as-directory (concat live-root-dir "etc")) live-lib-dir (file-name-as-directory (concat live-root-dir "lib")) live-packs-dir (file-name-as-directory (concat live-root-dir "packs")) live-autosaves-dir (file-name-as-directory (concat live-tmp-dir "autosaves")) live-backups-dir (file-name-as-directory (concat live-tmp-dir "backups")) live-load-pack-dir nil live-disable-zone nil) (make-directory live-etc-dir t) (make-directory live-tmp-dir t) (make-directory live-autosaves-dir t) (make-directory live-backups-dir t) (load-file (concat live-root-dir "manifest.el")) (load-file (concat live-lib-dir "live-core.el")) (let* ((pack-names (quote ("foundation-pack" "colour-pack" "clojure-pack" "lang-pack" "power-pack" "git-pack" "bindings-pack"))) (live-dir (file-name-as-directory "live")) (dev-dir (file-name-as-directory "dev"))) (setq live-packs (mapcar (function (lambda (p) (concat live-dir p))) pack-names)) (setq live-dev-pack-list (mapcar (function (lambda (p) (concat dev-dir p))) pack-names))) (defalias (quote live-version) (function (lambda nil (interactive) (if (called-interactively-p (quote interactive)) (message "%s" (concat "This is Emacs Live " live-version)) live-version)))) (let* ((pack-file (concat (file-name-as-directory "~") ".emacs-live.el"))) (if (and (file-exists-p pack-file) (not live-safe-modep)) (load-file pack-file))) (mapcar (function (lambda (pack-dir) (live-load-pack pack-dir))) (live-pack-dirs)) (setq live-welcome-messages (if (live-user-first-name-p) (list (concat "Hello " (live-user-first-name) ", somewhere in the world the sun is shining for you right now.") (concat "Hello " (live-user-first-name) ", it's lovely to see you again. I do hope that you're well.") (concat (live-user-first-name) ", turn your head towards the sun and the shadows will fall behind you.")) (list "Hello, somewhere in the world the sun is shining for you right now." "Hello, it's lovely to see you again. I do hope that you're well." "Turn your head towards the sun and the shadows will fall behind you."))) (defalias (quote live-welcome-message) (function (lambda nil (nth (random (length live-welcome-messages)) live-welcome-messages)))) (if live-supported-emacsp (progn (setq initial-scratch-message (concat ";;\n;; MM""""""""M\n;; MM mmmmmmmM\n;; M
MMMM 88d8b.d8b. .d8888b. .d8888b. .d8888b.\n;; MM MMMMMMMM 88''88'88 88'
88 88' \"\" Y8ooooo.\n;; MM MMMMMMMM 88 88 88 88. .88 88. ... 88\n;; MM .M dP dP dP
88888P8 '88888P' '88888P'\n;; MMMMMMMMMMMM\n;;\n;; M""MMMMMMMM M""M M""MMMMM""M MM""""""""M\n;; M MMMMMMMM M M M MMMMM M MM mmmmmmmM\n;; M MMMMMMMM M M M MMMMP M M
MMMM\n;; M MMMMMMMM M M M MMMM' .M MM MMMMMMMM\n;; M MMMMMMMM M M M MMP' .MM MM MMMMMMMM\n;; M M M M M .dMMM MM .M\n;; MMMMMMMMMMM MMMM MMMMMMMMMMM MMMMMMMMMMMM Version " live-version (if live-safe-modep "\n;; --SAFE MODE--" "\n;;") "\n;; http://github.com/overtone/emacs-live\n;;\n;; " (live-welcome-message) "\n\n"))))))
eval-buffer(#<buffer load> nil "/home/alejo/.emacs.d/init.el" nil t) ; Reading at buffer position 7349
load-with-code-conversion("/home/alejo/.emacs.d/init.el" "/home/alejo/.emacs.d/init.el" t t)
load("/home/alejo/.emacs.d/init" t t)
#[0 "�\205\262
from emacs-live.
Ah, sorry, I should have mentioned that the dev packs use git submodules. You need to cd
into ~/.emacs.d
and run git submodule init
and git submodule update
. Then the error should go away :-)
from emacs-live.
All good, past that step, now i read this after opening emacs
File error: Cannot open load file, nrepl
plus the ascii nuke :)
The git pull was done, all up-to-date
This files you suggest to copy are already in my Extensions folder, but inside a dir called scide_scel:
~/.emacs.d (git)-[master] % ls /usr/local/share/SuperCollider/Extensions/scide_scel/
EmacsBuffer.sc Emacs.sc extClassBrowser.sc homeContext.sc storeLispOn.sc
EmacsDocument.sc extBuffer.sc extString.sc ScelDocument.sc
-Add sclang to your PATH
~/.emacs.d (git)-[master] % whereis sclang
sclang: /usr/local/bin/sclang
-or add it directly in Emacs via something like:
(push "/Applications/SuperCollider/SuperCollider.app/Contents/Resources" exec-path)
I did added this to .emacs-live.el:
(push "/usr/local/bin/sclang" exec-path)
But right now, since the bomb (nrepl missing) i dont see sclang-start with M-x
!!
from emacs-live.
staring with:
emacs --live-safe-mode
brings me to a usable state where i can load M x sclang-start
but still no joy when i do.
s.boot
how did you hook it up on 3.5.3?
from emacs-live.
w.r.t. nrepl issues - you just need to to a git submodule update
and it should work now. Could you give that a go and try again?
from emacs-live.
For extra information, the reason why emacs --live-safe-mode
booted Emacs Live into a usable state is because it ignores all user configuration and boots into the stable live packs
.
As the fixes I've made for SC compatibility are in the dev packs
this meant that things would still be broken in safe mode.
from emacs-live.
All good now!
booting 57110
localhost
Found 118 LADSPA plugins
JackDriver: client name is 'SuperCollider'
SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
JackDriver: connected system:capture_1 to SuperCollider:in_1
JackDriver: connected system:capture_2 to SuperCollider:in_2
JackDriver: connected SuperCollider:out_1 to system:playback_1
JackDriver: connected SuperCollider:out_2 to system:playback_2
SuperCollider 3 server ready (debug build).
JackDriver: max output latency 42.7 ms
Receiving notification messages from server localhost
Shared memory server interface initialized
server already running
localhost
Synth('temp__0' : 1000)
localhost
Many thanks Sam for taking time and effort to fix this even though is a bit Off the Tone 👍
Now i just wonder what you had to internally fix? which files where broken? As this will certainly help others know how to debug their own installs.
Now time for some noise!
from emacs-live.
Wonderful news!
Internally, I just updated to the latest scel
files. The version that I had forked here http://github.com/samaaron/scel is horribly out of date, and the original repo https://github.com/qdot/scel hasn't been updated in over 2 years. The latest code can be found within the actual SuperCollider source code. I therefore just pulled it out of there.
Out of interest, did you have to copy the files in ~/.emacs.d/packs/dev/lang-pack/lib/scel/supercollider-classes-to-cp
anywhere, and if so, where?
from emacs-live.
Hola,
This are the files in place:
Since the contents of scide_scel/ and sc/ looked like the same(?) i didn't do the cp
~ % ls -lah /usr/local/share/SuperCollider/Extensions/scide_scel/
total 76K
drwxr-sr-x 2 root staff 4.0K Jan 2 23:55 ./
drwxr-sr-x 6 root staff 4.0K Jan 2 20:40 ../
-rw-r--r-- 1 root staff 9.8K Dec 28 09:55 EmacsBuffer.sc
-rw-r--r-- 1 root staff 6.8K Dec 28 09:55 EmacsDocument.sc
-rw-r--r-- 1 root staff 9.2K Dec 28 09:55 Emacs.sc
-rw-r--r-- 1 root staff 5.4K Dec 28 09:55 extBuffer.sc
-rw-r--r-- 1 root staff 110 Dec 28 09:55 extClassBrowser.sc
-rw-r--r-- 1 root staff 1.1K Dec 28 09:55 extString.sc
-rw-r--r-- 1 root staff 91 Dec 28 09:55 homeContext.sc
-rw-r--r-- 1 root staff 8.1K Dec 28 09:55 ScelDocument.sc
-rw-r--r-- 1 root staff 2.3K Dec 28 09:55 storeLispOn.sc
and here the ones at the .emacs.d are:
~ % ls -lah /home/alejo/.emacs.d/packs/dev/lang-pack/lib/scel/supercollider-classes-to-cp/sc/
total 76K
drwxr-xr-x 2 alejo alejo 4.0K Jan 3 00:39 ./
drwxr-xr-x 3 alejo alejo 4.0K Jan 3 00:39 ../
-rwxr-xr-x 1 alejo alejo 9.8K Jan 3 00:39 EmacsBuffer.sc*
-rwxr-xr-x 1 alejo alejo 6.8K Jan 3 00:39 EmacsDocument.sc*
-rwxr-xr-x 1 alejo alejo 9.2K Jan 3 00:39 Emacs.sc*
-rwxr-xr-x 1 alejo alejo 5.4K Jan 3 00:39 extBuffer.sc*
-rwxr-xr-x 1 alejo alejo 110 Jan 3 00:39 extClassBrowser.sc*
-rwxr-xr-x 1 alejo alejo 1.1K Jan 3 00:39 extString.sc*
-rwxr-xr-x 1 alejo alejo 91 Jan 3 00:39 homeContext.sc*
-rwxr-xr-x 1 alejo alejo 8.1K Jan 3 00:39 ScelDocument.sc*
-rwxr-xr-x 1 alejo alejo 2.3K Jan 3 00:39 storeLispOn.sc*
hope this helps.. now before closing this issue, this is my current .emacs-live.el
~ % cat .emacs-live.el
(live-use-dev-packs)
(push "/usr/local/bin/sclang" exec-path)
(desktop-save-mode 1)
Should I continue to use the dev-packs?
Tx!
from emacs-live.
Yes, please do continue to use the dev packs until I push a new beta.
Is the command (push "/usr/local/bin/sclang" exec-path)
required? Could you remove it and see if it breaks.
from emacs-live.
Not required. No breaks. Issue Resolved. Thanks.
from emacs-live.
Related Issues (20)
- popwin / *Backtrace* / overwriting other buffers HOT 1
- How to archive the screenshot color effect? HOT 1
- Hard coding clojure-mode for cljs will cause problems HOT 7
- Setting the default font: live-set-default-font doesn't seem to be well documented HOT 1
- Emacs freezes when autocompleting for lisp prompt
- haskell-mode error: symbol definition is void: haskell-mode-contextual-space HOT 5
- Using -k with curl is insecure
- Can't load files over fusermount HOT 1
- the color-theme-cyberpunk highlight HOT 3
- Problem with Erlang checkout
- [Proposal] Remove packs/stable from the repo HOT 4
- File saving (save-buffer) broken in Emacs 25.1.1 HOT 11
- startup error "No such file or directory, swiper" HOT 2
- You might want to check out the Borg package manager HOT 4
- Newbie problems HOT 2
- emacs-live can not load file with chinese charactor in path HOT 1
- Symbol's value as variable is void: ivy-completing-read-handlers-alist at start in 27.1-2 HOT 6
- freesound method failure HOT 1
- How to add this glossy effect on my other emacs config?
- Is there a way to fuzzy open a file?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-live.