Skip to content

Instantly share code, notes, and snippets.

@yasuyk
Last active January 1, 2016 12:09
Show Gist options
  • Save yasuyk/8142317 to your computer and use it in GitHub Desktop.
Save yasuyk/8142317 to your computer and use it in GitHub Desktop.
*.el~
*.elc
.cask/

How to setup sandbox for ac-helm

  1. Install cask

     curl -fsSkL https://raw.github.com/cask/cask/master/go | python
    
  2. add Cask's bin to your PATH

     export PATH="$HOME/.cask/bin:$PATH"
    
  3. Clone this gist repository and change directory

     git clone https://gist.github.com/8142317.git ac-helm-sandbox
     cd ac-helm-sandbox
    
  4. Install Emacs packages by cask

     cask install
    
  5. Run emacs with a minimum necessary emacs configuration for ac-helm

     mv ~/.emacs.d ~/.emacs.d.back # backup your configuration
     ln -s . ~/.emacs.d
    
(source melpa)
(depends-on "auto-complete")
(depends-on "helm")
(depends-on "ac-helm")
(require 'cask "~/.cask/cask.el")
(cask-initialize)
(require 'auto-complete)
(require 'auto-complete-config)
(require 'ac-helm)
(global-auto-complete-mode t)
(ac-config-default)
(define-key ac-mode-map (kbd "M-l") 'ac-complete-with-helm)
;; Local Variables:
;; coding: utf-8
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
;; End:
(define-k
(add-hook
@tuhdo
Copy link

tuhdo commented Jan 26, 2014

ln -s . ~/.emacs.d does not work. It makes a symbolic link to ~/, not ~/.cask/ac-helm-sandbox. You need a fullpath: ln -s $(pwd) ~/.emacs.d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment