I'm afraid /keybinding-madness/#comment-19945 doesn't exist on brettterpstra.com. If it was here, and now isn't, that's my bad. I promise I'll make it up to you. Still friends?
- [KeyBinding madness][2]
- [A little KeyBinding sanity][3]
(defadvice package-compute-transaction | |
(before | |
package-compute-transaction-reverse (package-list requirements) | |
activate compile) | |
"reverse the requirements" | |
(setq requirements (reverse requirements)) | |
(print requirements)) | |
(defadvice package-download-tar | |
(after package-download-tar-initialize activate compile) |
(setq url-http-attempt-keepalives nil) |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.milkbox.net/packages/") t) |
I'm afraid /keybinding-madness/#comment-19945 doesn't exist on brettterpstra.com. If it was here, and now isn't, that's my bad. I promise I'll make it up to you. Still friends?
(defun markdown-copy-html () | |
"process file with multimarkdown and save it accordingly" | |
(interactive) | |
(save-window-excursion | |
(flet ((markdown-output-standalone-p () t)) | |
(markdown)) | |
(kill-ring-save (point-min) (point-max)))) | |
(defun markdown-copy-rtf () | |
"render and copy as RTF" |
(defun shell-command-on-region-to-string (start end command) | |
(save-window-excursion | |
(with-output-to-string | |
(shell-command-on-region start end command standard-output)))) |
(defun markdown-cleanup-list-numbers-level (&optional pfx) | |
"Update the numbering for pfx (as a string of spaces). | |
Assume that the previously found match was for a numbered item in a list." | |
(let ((m pfx) | |
(idx 0) | |
(success t)) | |
(while (and success | |
(not (string-prefix-p "#" (match-string-no-properties 1))) | |
(not (string< (setq m (match-string-no-properties 2)) pfx))) |
--- ./ghc/ghc.wrapper.old 2011-10-25 08:57:34.000000000 -0500 | |
+++ ./ghc/ghc.wrapper 2011-10-25 08:57:06.000000000 -0500 | |
@@ -1 +1 @@ | |
-exec "$executablename" -B"$topdir" -pgmc "$pgmgcc" -pgma "$pgmgcc" -pgml "$pgmgcc" -pgmP "$pgmgcc -E -undef -traditional" ${1+"$@"} | |
+exec "$executablename" -B"$topdir" -pgmc "$pgmgcc" -pgma "$pgmgcc" -optl "-Wl,-read_only_relocs,suppress" -pgml "$pgmgcc" -pgmP "$pgmgcc -E -undef -traditional" ${1+"$@"} |
(defun shell-command-on-region-to-string (start end command) | |
(with-output-to-string | |
(shell-command-on-region start end command standard-output))) |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>groupInfo</key> | |
<dict> | |
<key>expandAfterMode</key> | |
<integer>1</integer> | |
<key>groupName</key> | |
<string>Date Time</string> |