[erlang-questions] Help with EDTS for a Emacs and Erlang newbie?
Sun Feb 2 22:41:08 CET 2014
I am trying to get EDTS working and I am having some issues that i hope you
guys can help with. I cloned the repo under .emacs-edts/edts did a make and
all was fine. When I run it, however, emacs reports an error "Cannot open
load file: face-remap" I have the following config:
alias edts='emacs -q -l ~/.emacs-edts/init.el '
;;; This is the configuration for running emacs with EDTS
;;; see: https://github.com/tjarvstrand/edts for more info
;;; Can be invoked with a bash alias like the following:
;;; alias edts='emacs -q -l ~/.emacs-edts'
(setq user-emacs-directory "~/.emacs-edts/")
(transient-mark-mode 1) ;; Enable Mark Block Highlingting
;; Setup backups strategy.
(setq version-control t ;; Use version numbers for backups.
kept-new-versions 10 ;; Number of newest versions to keep.
kept-old-versions 0 ;; Number of oldest versions to keep.
delete-old-versions t ;; Don't ask to delete excess backup versions.
backup-by-copying t) ;; Copy all files, don't rename them.
;; Default and per-save backups go here:
(setq backup-directory-alist '(("" . "~/.emacs-backup/per-save")))
(defun force-backup-of-buffer ()
;; Make a special "per session" backup at the first save of each emacs
(when (not buffer-backed-up)
;; Override the default parameters for per-session backups.
(let ((backup-directory-alist '(("" . "~/.emacs.d/per-session")))
;; Make a "per save" backup on each save. The first save results in
;; both a per-session and a per-save backup, to keep the numbering
;; of per-save backups consistent.
(let ((buffer-backed-up nil))
;; Setup Erlang mode
(setq load-path (cons "/usr/local/lib/erlang/lib/tools-2.6.13/emacs/"
(setq erlang-root-dir "/usr/local/lib/erlang")
(setq exec-path (cons "/usr/local/lib/erlang/bin" exec-path))
(add-to-list 'load-path "~/.emacs-edts/edts/")
Can anyone advise me on how to solve this? My goal is to be able to use the
command 'edts' to start emacs in edts mode and still retain non-edts mode
for other uses of emacs.
Thanks in advance.
*Robert Simmons Jr. MSc.*
*Author of: Hardcore Java (2003) and Maintainable Java (2012)*
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions