On this page... (hide)
a REPL for JS from Emacs
also EmacsWiki:MozRepl - haven’t gotten to work yet — spent < 5 mins on it, error’d on launch. possible relies on older version of
See the installation follies
I tried to run init.el from within my existing emacs, but got an error, so I launched it suppressing my config-files
emacs -q -l d:\home\emacs.js\init.el
Basically got the following error:
((tool-bar-mode -1) (menu-bar-mode -1) (scroll-bar-mode -1))
(if window-system ((tool-bar-mode -1) (menu-bar-mode -1) (scroll-bar-mode -1)))
eval((if window-system ((tool-bar-mode -1) (menu-bar-mode -1) (scroll-bar-mode -1))))
call-interactively(eval-last-sexp nil nil)
The root seems to be THIS snippet that doesn’t like to work from
Now, each of those lines can execute individually, but none of them like to execute in that block.
Why is that?
Oh, my elisp-fu is woefully faded.
hrm. THIS seems to work:
(progn (tool-bar-mode -1)
so. I update that.
set-default-font: Font Inconsolata-12′ is not defined
NOTE: Just about everything manually installed on that page seems to be part of EmacsJs.
The page reccomend making a symlink to alias
Since I’m on windows, I just got old-school (ok, “bad-practices-school”) and renamed a copy of the file.
(add-to-list 'load-path "~/path-to/auto-complete")
; Load the default configuration
; Make sure we can find the dictionaries
(add-to-list 'ac-dictionary-directories "~/emacs/auto-complete/dict")
; Use dictionaries by default
(setq-default ac-sources (add-to-list 'ac-sources 'ac-source-dictionary))
; Start auto-completion after 2 characters of a word
(setq ac-auto-start 2)
; case sensitivity is important when finding matches
(setq ac-ignore-case nil)
ac-sources as all that seems to have been handled by ELPA.
... more to come...
editing xpi files directly in Emacs -- as long as you’ve got a working archive-program. Mine isn’t working right? Dig through customizations.... I set the zip program to point to
7z (which also needed to be added to my PATH), and updated the param... it extracts, but doesn’t auto-open w/in emacs... if that is what is _supposed_ to happen.. hrm.
No comments yet.