Skip to content

Instantly share code, notes, and snippets.

(featurep 'yagist)
https://gist.github.com/3f613edf681e2303c465
30-Jun-15 11:39:50 AM
PS C:\Users\ale\local\opt\emacs > cd
# Directory Stack:
--- ----------------
0 C:\Users\ale
1 C:\Users\ale\src\MesaGrid
2 C:\Users\ale\local\opt\emacs\bin
-> 3 C:\Users\ale\local\opt\emacs
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.
(setq *github-auth-info* '("laynor"))
(require 'xml-rpc)
(defvar lisppaste-nick "chandler")
(defun enotify-mode-line-set (message message-face)
(let ((map (make-sparse-keymap)))
(define-key map [mouse-2] (lambda () (interactive)
(message "mlosucci")))
(setq enotify-msg message)
(setq enotify-mode-line-string
(list enotify-mode-line-prefix
`(:eval
(propertize
enotify-msg
def crasto x, y=nil, &block
block.call()
puts [x,y]
end
crasto (1,2) { puts "asdf" }
SyntaxError: (irb):7: syntax error, unexpected ',', expecting ')'
crasto (1,2) { puts "asdf" }
^
from /home/ale/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `<main>'
def f1
catch(:foo) do
puts 1
throw :foo
puts 2
end
puts 3
end
def fungo2
begin
def f1
catch(:foo) do
puts 1
throw :foo
puts 2
end
puts 3
end
def fungo2
begin
def f1
catch(:foo) do
puts 1
throw :foo
puts 2
end
puts 3
end
def fungo2
begin