Skip to content

Instantly share code, notes, and snippets.

@ANDRON94
ANDRON94 / new-structure.org
Last active September 8, 2017 17:46
New emacs configuration structure

What I have?

Automatic Emacs setup and update

‘use-package’ for describing configuration

‘auto-package-update’ automatic package update =)

Comfortable usage

Incremental completion

helm - core functionality

helm-projectile - synergy with ‘projectile’(projects packet)

helm-swoop - synergy with ‘swoop’(local search packet)

helm-gtags - synargy with ‘gtags’(search system)

@ANDRON94
ANDRON94 / test.lisp
Created April 27, 2017 13:55
Create test package for a Lisp system
(progn
(defpackage #:test (:use #:cl))
(in-package #:test))
@ANDRON94
ANDRON94 / eval-when-test.lisp
Last active August 13, 2023 20:56
Explanation of how 'eval-when' works in Common Lisp
;;; explanation for LOAD *.lisp
;;; 1. Load ignores :compile-toplevel, :load-toplevel
;;; Result: NIL is returned
;;; explanation for COMPILE
;;; 1. not-compile-time(NCT)
;;; 2. ignore mode, EVAL, remains in current mode
;;; Result: print to output 'foo-compile'
;;; explanation for LOAD *.fasl
@ANDRON94
ANDRON94 / EmacsIDESetup
Last active September 23, 2016 13:19
Guide to setup Emacs as IDE
/* Mostly use this guide */
http://tuhdo.github.io/c-ide.html
/* Install latest Emacs */
// 1.Link
ftp://ftp.gnu.org/pub/gnu/emacs/
// 2.Build dependencies(Ubuntu/Debian???)
sudo apt-get build-dep emacs24
// 3. ./configure & make & sudo make install