Skip to content

Instantly share code, notes, and snippets.

@vindarel
Forked from Goheeca/init.slime
Last active August 29, 2022 15:29
Show Gist options
  • Select an option

  • Save vindarel/b414240fcf498d6550e6dc0e6fb63ff6 to your computer and use it in GitHub Desktop.

Select an option

Save vindarel/b414240fcf498d6550e6dc0e6fb63ff6 to your computer and use it in GitHub Desktop.

Revisions

  1. vindarel renamed this gist Aug 29, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. vindarel renamed this gist Aug 29, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. vindarel revised this gist Aug 29, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion slime
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@

    # one-liner to start Emacs with a full-window Slime REPL.
    # See the parent gist for a use of init.slime
    emacs -nw \ *[master]
    emacs -nw \
    --eval "(defun hack-session-init () (delete-other-windows))" \
    --eval "(add-hook 'slime-connected-hook 'hack-session-init)" \
    --eval "(menu-bar-mode -1)" \
  4. vindarel revised this gist Aug 29, 2022. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions slime
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@
    # INIT_FILE=${1:-init.slime}

    # one-liner to start Emacs with a full-window Slime REPL.
    # See the parent gist for a use of init.slime
    emacs -nw \ *[master]
    --eval "(defun hack-session-init () (delete-other-windows))" \
    --eval "(add-hook 'slime-connected-hook 'hack-session-init)" \
  5. vindarel revised this gist Aug 29, 2022. 2 changed files with 6 additions and 4 deletions.
    2 changes: 1 addition & 1 deletion init.slime
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    (ql:quickload "agnostic-lizard")
    ;; (ql:quickload "str")
    8 changes: 5 additions & 3 deletions slime
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,9 @@
    #!/bin/sh
    INIT_FILE=${1:-init.slime}
    emacs -nw \
    --eval "(defun hack-session-init () (delete-other-windows) (execute-kbd-macro (kbd \"RET\")) (insert-file-contents \"$INIT_FILE\") (execute-kbd-macro (kbd \"RET\")))" \
    # INIT_FILE=${1:-init.slime}

    # one-liner to start Emacs with a full-window Slime REPL.
    emacs -nw \ *[master]
    --eval "(defun hack-session-init () (delete-other-windows))" \
    --eval "(add-hook 'slime-connected-hook 'hack-session-init)" \
    --eval "(menu-bar-mode -1)" \
    --eval "(setq-default mode-line-format nil)" \
  6. @Goheeca Goheeca revised this gist Jan 14, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion init.slime
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    (ql:quickload "macroexpand-dammit")
    (ql:quickload "agnostic-lizard")
  7. @Goheeca Goheeca created this gist Nov 17, 2019.
    1 change: 1 addition & 0 deletions init.slime
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    (ql:quickload "macroexpand-dammit")
    8 changes: 8 additions & 0 deletions slime
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    #!/bin/sh
    INIT_FILE=${1:-init.slime}
    emacs -nw \
    --eval "(defun hack-session-init () (delete-other-windows) (execute-kbd-macro (kbd \"RET\")) (insert-file-contents \"$INIT_FILE\") (execute-kbd-macro (kbd \"RET\")))" \
    --eval "(add-hook 'slime-connected-hook 'hack-session-init)" \
    --eval "(menu-bar-mode -1)" \
    --eval "(setq-default mode-line-format nil)" \
    --eval "(slime)"