[erlang-questions] Help with EDTS for a Emacs and Erlang newbie?
Gustav Simonsson
gustav.simonsson@REDACTED
Sun Feb 2 23:04:37 CET 2014
Hi,
Just tried myself with the init file you pasted (only change was I used dir
.emacs.d/edts
instead of .emacs-edts/edts) and it loads correctly.
What version of emacs are you using? What OS?
I found a page which seems to indicate face-remap can be used with emacs
23, could it be your version is older?
Cheers,
Gustav Simonsson
On Sun, Feb 2, 2014 at 10:41 PM, kraythe . <kraythe@REDACTED> wrote:
> 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>*
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140202/d81570bb/attachment.htm>
More information about the erlang-questions
mailing list