-
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: Emacs
How to make prettify-symbols-mode work with AUCTeX
prettify-symbols-mode is a recent feature of Emacs and it’s very nice. And it looks like it can replace TeX-fold-mode in the future. But, at the time of writing, prettify-symbols-mode doesn’t seem to work well with AUCTeX unless you enable two … Continue reading
why learn elisp (Emacs Lisp)
This post is the intro module of Living with Emacs Lisp. The goal of this post is to hopefully convince you why you should learn elisp. Readers are assumed to be beginning users of Emacs. (Of course he who does … Continue reading
Type backslash easily in Emacs AUCTeX
Table of Contents 1. type slash to type backslash 2. use the two commands Writing LaTeX documents seem to require many presses of backslashes and the backslash key is located at awkward place and hard to type in some types … Continue reading
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 associate text file type with Emacs on Ubuntu
Table of Contents 1. background 2. create a new desktop file 3. why use a desktop file 4. On two environment variables EDITOR and VISUAL 1. background MS Windows users might want to see this link instead for how to … 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