This file contains 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
(add-to-list 'load-path "/Users/mwilliams/.emacs.d/vendor/color-theme") | |
(require 'color-theme) | |
(color-theme-initialize) |
This file contains 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
(global-set-key [(tab)] 'smart-tab) | |
(defun smart-tab () | |
"This smart tab is minibuffer compliant: it acts as usual in | |
the minibuffer. Else, if mark is active, indents region. Else if | |
point is at the end of a symbol, expands it. Else indents the | |
current line." | |
(interactive) | |
(if (minibufferp) | |
(unless (minibuffer-complete) | |
(dabbrev-expand nil)) |
This file contains 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
;;; DELETE CURRENT FILE | |
;;; Bound to C-k | |
(defun ido-delete-file-at-head () | |
"Delete the file at the head of `ido-matches'. | |
If cursor is not at the end of the user input, delete to end of input." | |
(interactive) | |
(if (not (eobp)) | |
(delete-region (point) (line-end-position)) | |
(let ((enable-recursive-minibuffers t) | |
(file (ido-name (car ido-matches)))) |
This file contains 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
➜ ~ rvm install macruby-head | |
/Users/mwilliams/.rvm/scripts/manage: line 91: __rvm_install_llvm: command not found | |
Installing Ruby from source to: /Users/mwilliams/.rvm/macruby-head | |
Compiling macruby-head, this may take a while, depending on your cpu(s)... | |
Error running 'rake ', please check /Users/mwilliams/.rvm/log/macruby-head/make.error.log |
This file contains 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
➜ ~ rvm install macruby-head --trace | |
install macruby-head --trace | |
rvm 0.0.99 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/] | |
+__rvm_parse_args:330> [[ -z install ]] | |
+__rvm_parse_args:331> [[ ! -z '' ]] | |
+__rvm_parse_args:331> [[ ! -z '' ]] | |
+__rvm_parse_args:3> [[ 0 -gt 0 ]] | |
+__rvm_parse_args:334> [[ 0 -gt 0 ]] |
This file contains 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
➜ ~ rvm install macruby-head --enable-llvm --trace | |
install macruby-head --enable-llvm --trace | |
rvm 0.0.99 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/] | |
+__rvm_parse_args:330> [[ -z install ]] | |
+__rvm_parse_args:331> [[ ! -z '' ]] | |
+__rvm_parse_args:331> [[ ! -z '' ]] | |
+__rvm_parse_args:3> [[ 0 -gt 0 ]] | |
+__rvm_parse_args:334> [[ 0 -gt 0 ]] |
This file contains 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
➜ macruby-head cat make.error.log | |
[2009-12-29 14:59:37] rake | |
+++ rake | |
/usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new | |
rm miniprelude.c.new | |
/usr/bin/g++ -I/usr/local/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno-common -Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64 -Wno-parentheses -Wno-deprecated-declarations -Werror -c vm.cpp -o vm.o | |
vm.cpp: In function ‘void rb_vm_aot_compile(NODE*)’: | |
vm.cpp:3824: error: ‘F_Binary’ is not a member of ‘llvm::raw_fd_ostream’ | |
vm.cpp: In function ‘void Init_PreVM()’: | |
vm.cpp:4660: error: ‘JITEmitDebugInfo’ is not a member of ‘llvm’ |
This file contains 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
Welcome to the Emacs shell | |
~ $ which ruby | |
/usr/bin/ruby |
This file contains 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
➜ ~ rvm install macruby-head --trace --enable-llvm | |
install macruby-head --trace --enable-llvm | |
rvm 0.0.99 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/] | |
+__rvm_parse_args:330> [[ -z install ]] | |
+__rvm_parse_args:331> [[ ! -z '' ]] | |
+__rvm_parse_args:331> [[ ! -z '' ]] | |
+__rvm_parse_args:3> [[ 1 -gt 0 ]] | |
+__rvm_parse_args:4> rvm_token=--enable-llvm |
This file contains 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
(global-set-key [(tab)] 'smart-tab) | |
(defun smart-tab () | |
"This smart tab is minibuffer compliant: it acts as usual in | |
the minibuffer. Else, if mark is active, indents region. Else if | |
point is at the end of a symbol, expands it. Else indents the | |
current line." | |
(interactive) | |
(if (minibufferp) | |
(unless (minibuffer-complete) | |
(dabbrev-expand nil)) |