Last active
August 29, 2015 14:06
-
-
Save phillord/1d26dbb4c47d3051ef32 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Start off with a clean project with nothing in it! | |
[phillord@jangai:.../cask-test-proj]$ more Cask | |
(source gnu) | |
(source melpa-stable) | |
(depends-on "f") | |
[phillord@jangai:.../cask-test-proj]$ cask install | |
Wrote /home/phillord/scratch/cask-test-proj/.cask/24.3.1/elpa/archives/gnu/archive-contents | |
Wrote /home/phillord/scratch/cask-test-proj/.cask/24.3.1/elpa/archives/melpa-stable/archive-contents | |
Making version-control local to dash-autoloads.el while let-bound! | |
Wrote /home/phillord/scratch/cask-test-proj/.cask/24.3.1/elpa/dash-2.8.0/dash-autoloads.el | |
Wrote /home/phillord/scratch/cask-test-proj/.cask/24.3.1/elpa/s-1.9.0/s-autoloads.el | |
Wrote /home/phillord/scratch/cask-test-proj/.cask/24.3.1/elpa/f-0.17.1/f-autoloads.el | |
## Check the loadpath f is in it all good! | |
[phillord@jangai:.../cask-test-proj]$ cask load-path | |
/home/phillord/scratch/cask-test-proj/.cask/24.3.1/elpa/f-0.17.1:/home/phillord/scratch/cask-test-proj/.cask/24.3.1/elpa/s-1.9.0:/home/phillord/scratch/cask-test-proj/.cask/24.3.1/elpa/dash-2.8.0:/usr/share/emacs/24.3/lisp:/usr/share/emacs/24.3/lisp/vc:/usr/share/emacs/24.3/lisp/url:/usr/share/emacs/24.3/lisp/textmodes:/usr/share/emacs/24.3/lisp/progmodes:/usr/share/emacs/24.3/lisp/play:/usr/share/emacs/24.3/lisp/org:/usr/share/emacs/24.3/lisp/nxml:/usr/share/emacs/24.3/lisp/net:/usr/share/emacs/24.3/lisp/mh-e:/usr/share/emacs/24.3/lisp/mail:/usr/share/emacs/24.3/lisp/language:/usr/share/emacs/24.3/lisp/international:/usr/share/emacs/24.3/lisp/gnus:/usr/share/emacs/24.3/lisp/eshell:/usr/share/emacs/24.3/lisp/erc:/usr/share/emacs/24.3/lisp/emulation:/usr/share/emacs/24.3/lisp/emacs-lisp:/usr/share/emacs/24.3/lisp/cedet:/usr/share/emacs/24.3/lisp/calendar:/usr/share/emacs/24.3/lisp/calc:/usr/share/emacs/24.3/lisp/obsolete:/usr/share/emacs/24.3/leim | |
## now, we link through to a check out of f.el; I have edited this to have an | |
## alpha version number | |
[phillord@jangai:.../cask-test-proj]$ cask link f ~/subversion-checkout/f.el/ | |
## Load-path contains only emacs core -- no f.el | |
[phillord@jangai:.../cask-test-proj]$ cask load-path | |
/usr/share/emacs/24.3/lisp:/usr/share/emacs/24.3/lisp/vc:/usr/share/emacs/24.3/lisp/url:/usr/share/emacs/24.3/lisp/textmodes:/usr/share/emacs/24.3/lisp/progmodes:/usr/share/emacs/24.3/lisp/play:/usr/share/emacs/24.3/lisp/org:/usr/share/emacs/24.3/lisp/nxml:/usr/share/emacs/24.3/lisp/net:/usr/share/emacs/24.3/lisp/mh-e:/usr/share/emacs/24.3/lisp/mail:/usr/share/emacs/24.3/lisp/language:/usr/share/emacs/24.3/lisp/international:/usr/share/emacs/24.3/lisp/gnus:/usr/share/emacs/24.3/lisp/eshell:/usr/share/emacs/24.3/lisp/erc:/usr/share/emacs/24.3/lisp/emulation:/usr/share/emacs/24.3/lisp/emacs-lisp:/usr/share/emacs/24.3/lisp/cedet:/usr/share/emacs/24.3/lisp/calendar:/usr/share/emacs/24.3/lisp/calc:/usr/share/emacs/24.3/lisp/obsolete:/usr/share/emacs/24.3/leim | |
## but the symlink is there! | |
[phillord@jangai:.../cask-test-proj]$ ls -l .cask/24.3.1/elpa/ | |
total 12K | |
drwxr-x--- 4 phillord phillord 4.0K Sep 8 10:37 archives/ | |
drwxr-x--- 2 phillord phillord 4.0K Sep 8 10:37 dash-2.8.0/ | |
lrwxrwxrwx 1 phillord phillord 39 Sep 8 10:38 f-0.17.1alpha -> /home/phillord/subversion-checkout/f.el/ | |
drwxr-x--- 2 phillord phillord 4.0K Sep 8 10:37 s-1.9.0/ | |
## now I restore f.el to having a numeric version number | |
[phillord@jangai:.../cask-test-proj]$ cask link f ~/subversion-checkout/f.el/ | |
## and it appears in the load path | |
[phillord@jangai:.../cask-test-proj]$ cask load-path | |
/home/phillord/scratch/cask-test-proj/.cask/24.3.1/elpa/f-0.17.1:/home/phillord/scratch/cask-test-proj/.cask/24.3.1/elpa/dash-2.8.0:/home/phillord/scratch/cask-test-proj/.cask/24.3.1/elpa/s-1.9.0:/usr/share/emacs/24.3/lisp:/usr/share/emacs/24.3/lisp/vc:/usr/share/emacs/24.3/lisp/url:/usr/share/emacs/24.3/lisp/textmodes:/usr/share/emacs/24.3/lisp/progmodes:/usr/share/emacs/24.3/lisp/play:/usr/share/emacs/24.3/lisp/org:/usr/share/emacs/24.3/lisp/nxml:/usr/share/emacs/24.3/lisp/net:/usr/share/emacs/24.3/lisp/mh-e:/usr/share/emacs/24.3/lisp/mail:/usr/share/emacs/24.3/lisp/language:/usr/share/emacs/24.3/lisp/international:/usr/share/emacs/24.3/lisp/gnus:/usr/share/emacs/24.3/lisp/eshell:/usr/share/emacs/24.3/lisp/erc:/usr/share/emacs/24.3/lisp/emulation:/usr/share/emacs/24.3/lisp/emacs-lisp:/usr/share/emacs/24.3/lisp/cedet:/usr/share/emacs/24.3/lisp/calendar:/usr/share/emacs/24.3/lisp/calc:/usr/share/emacs/24.3/lisp/obsolete:/usr/share/emacs/24.3/leim | |
## and as a symlink also | |
[phillord@jangai:.../cask-test-proj]$ ls -l .cask/24.3.1/elpa/ | |
total 12K | |
drwxr-x--- 4 phillord phillord 4.0K Sep 8 10:37 archives/ | |
drwxr-x--- 2 phillord phillord 4.0K Sep 8 10:37 dash-2.8.0/ | |
lrwxrwxrwx 1 phillord phillord 39 Sep 8 10:38 f-0.17.1 -> /home/phillord/subversion-checkout/f.el/ | |
drwxr-x--- 2 phillord phillord 4.0K Sep 8 10:37 s-1.9.0/ | |
[phillord@jangai:.../cask-test-proj]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment