[erlang-questions] Help with EDTS for a Emacs and Erlang newbie?

kraythe . <>
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:

*.bash_profile *
alias edts='emacs -q -l ~/.emacs-edts/init.el '

*.emacs-eds/init.d*
;;; 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
(show-paren-mode 1)

;; 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
session.
  (when (not buffer-backed-up)
    ;; Override the default parameters for per-session backups.
    (let ((backup-directory-alist '(("" . "~/.emacs.d/per-session")))
          (kept-new-versions 3))
      (backup-buffer)))
  ;; 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))
    (backup-buffer)))

;; Setup Erlang mode
(setq load-path (cons  "/usr/local/lib/erlang/lib/tools-2.6.13/emacs/"
load-path))
      (setq erlang-root-dir "/usr/local/lib/erlang")
      (setq exec-path (cons "/usr/local/lib/erlang/bin" exec-path))
      (require 'erlang-start)

(add-to-list 'load-path "~/.emacs-edts/edts/")
(require 'edts-start)

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)*
*LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39
<http://www.linkedin.com/pub/robert-simmons/40/852/a39>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140202/e9826ec8/attachment.html>


More information about the erlang-questions mailing list