-
Recent Posts
Archives
- November 2016
- April 2015
- March 2015
- February 2015
- November 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- March 2013
- July 2012
- March 2012
- December 2011
Categories
- Adobe Reader
- AUCTeX
- autopair
- blogging
- bug
- C
- cl-lib
- closure
- Common Lisp
- comparison
- dash
- debug
- documentary
- dynamic scoping
- elisp
- ELPA
- English
- entropy
- ergodic theory
- export
- exposition
- fish
- fix
- font
- gotcha
- html
- htmlize
- image
- immutable
- information theory
- Internet
- intuition
- Japanese
- javascript
- JPEG
- js2-mode
- KAIST
- keyboard
- kimchi
- Korea
- LaTeX
- lexical-binding
- lexical scoping
- LuaTeX
- managed
- measure theory
- monospace
- movie
- mutable
- namespace
- NEF
- org-mode
- package
- Photoshop
- PNG
- pointer
- portable
- prefix
- process
- Python
- rainbow-delimiters
- region
- rice
- SLIME
- special-variable
- stew
- tablet
- Ubuntu
- unicode
- Windows
- Windows 8
- wireless
- Wordpress
- XeTeX
Meta
Category Archives: Lisp
Names and things (reference semantics) vs. boxes and things (value semantics)
Table of Contents 1. Motivation 2. Alfie Bobbie thought experiment 3. The aa bb experiment (back to Snippet 20) 4. Boxes containing object references 5. Two different meanings of change 6. Pass by value or pass by reference 7. With … Continue reading
It is not hard to edit Lisp code
Table of Contents 1. Intro 2. Which editor or IDE to use 3. The three phases 4. Always indent. 5. Evaluate! 6. One liners 7. Breaking lines 8. Joining lines 9. Placement of close parens 10. The “No red tape” … Continue reading
It is not hard to read Lisp code
Table of Contents 1. Intro 2. Tree view 3. Terminology 3.1. Emacs Lisp note 3.2. Common Lisp note 4. Variations 5. How to find where the expression ends. 6. Some difference from Python 7. Tools 8. Logical operators being used … Continue reading
Checking Windows version with Emacs Lisp
elisp code example for programmatically checking the version of Microsoft Windows on which Emacs is running: (when (eq system-type ‘windows-nt) (print “Hello, MS Windows.”) (let ((winversion (when (string-match (rx “nt” (group (+ digit)) “.” (group (+ digit)) “.” (+ digit) … Continue reading
how to list emacs package dependencies
Table of Contents 1. how to see one-level dependencies of a package 2. how to programmatically collect the names of all the required packages for a given set of packages For now there is no command or function that recursively … Continue reading
default argument in Python and Lisp
Table of Contents the Python mutable default argument gotcha how to give default arguments in Lisp comparing Lisp and Python the None trick and the nil trick further reading optional reading more on the Python gotcha the gotcha will get … Continue reading