Skip to content

Instantly share code, notes, and snippets.

andy peterson aarvid

Block or report user

Report or block aarvid

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aarvid
aarvid / hyperspec-window.el
Created Sep 4, 2017
hyperspec other window, q to close.
View hyperspec-window.el
(defadvice common-lisp-hyperspec
(around hyperspec-lookup-w3m () activate)
(let* ((window-configuration (current-window-configuration))
(browse-url-browser-function
`(lambda (url new-window)
(w3m-browse-url url nil)
(let ((hs-map (copy-keymap w3m-mode-map)))
(define-key hs-map (kbd "q")
(lambda ()
(interactive)
View gist:6753155
(defpackage #:subsystem.hack
(:use #:cl)
(:export #:patch-subsystem)
(:import-from #:nibbles
#:read-ub16/le #:read-ub32/le #:write-ub16/le))
(in-package #:subsystem.hack)
(defun subsystem-position (stream)
(file-position stream 0)
View bcycle.el
;;; bcycle.el --- buffer cycling with skip patterns
;; https://github.com/dalkire/bcycle
;; Intro
;; --------------------
;; This file is a simple alternative to next-buffer/previous-buffer.
;; It adds the ability to include patterns to match buffers to skip.
;; Usage
@aarvid
aarvid / slime-documentation-search.el
Last active Dec 21, 2015
Slime documentation search for 4 common lisp search engines on the web.
View slime-documentation-search.el
;; refactoring from Ben Hyde's slime-documentation-search
;; https://gist.github.com/bhyde/5735219
;; this creates 8 kbd shortcuts to 4 lisp search engines
;; by specifying a key.
;; C-c C-d key should browse with the emacs default browser (my case w3m)
;; C-c C-d C-key should browse with the OS default browser
;; C-c C-d is the default for the slime-doc-map
(defvar slime-documentation-format-quickdocs
You can’t perform that action at this time.