Xah Emacs Blog Archive 2012-05 to 2012-05

Keyboard Geeking 2012-05-30

updated: List of Emacs Default Keybinding

Emacs: Convenient Command to zip File in dired

See: Emacs: Convert Image Files in Dired.

Best Tool for Yak Shaving: Emacs

Elisp: Get universal-argument

vim user is shocked!

This tweet is going around:

@lichray #Vim 用户表示震惊。 RT @ErgoEmacs: Emacs: How to Copy/Cut Current Line


#Vim users are shocked! RT @ErgoEmacs: Emacs: How to Copy/Cut Current Line

Tech Geeker Dogma: Swapping Capslock Ctrl

Emacs Video Demo: forward-sexp beginning-of-defun …

David Capello demonstrates great use of {forward-sexp, backward-sexp, beginning-of-defun, end-of-defun} for coding languages with C-like syntax.

A video so funny and so educational you can't refuse! Love the music. Click on the CC to turn on English subtitle.

《Comandos de programación básicos de Emacs (forward-sexp, beginning-of-defun)》

David uses a customized version of ErgoEmacs keybinding. Code and layout here: http://dacap.com.ar/programming/keyboard-layout/

ErgoEmacs Keybinding also got a major update. Lots changes. Check it out and let me know what you think.

The Roadmap to Completely Replace Emacs's Key System

updated: Elisp: How to Write Comment Command in Major Mode

Xah Emacs/Elisp Tutorial Update 2012-05-18

New version of my emacs tutorial ready.

If you've bought it before, please just email to xah@xahlee.org with subject “emacs tutorial upgrade”.

If you haven't bought it yet, you can get it for just $10. See: Buy Xah Emacs Tutorial. Currently about 350 HTML pages, about 1k pages printed.

Also, you can subscribe my emacs blog from g+, facebook, twitter, or Google Reader. See: Xah Lee Feeds. Help spread the word. Thanks.

updated, bottom: Emacs's Command Frequency

updated: Emacs: Abbrev Mode Tutorial

updated: Emacs: Regex Tutorial

want to set/swap your {Ctrl Alt Meta Hyper Super ❖ Window ▤ Menu} keys in complex ways?

updated: Elisp: Create Sitemap

updated: Generate a Web Links Report with Emacs Lisp

Jon Snader has been systematically proof-reading my tutorial in past months, and providing many corrections and feedbacks. A big thank you to Jon. He is a expert in Common Lisp, Scheme Lisp, and Emacs Lisp as well, and frequently write about many interesting coding puzzles. See his blog here: irreal.org.

What's Your Least Favorite Feature of ErgoEmacs Keybinding?

of those you using ErgoEmacs keybinding, what's your favorite and least favorite feature/bug?

If you want a black background, start emacs with emacs --reverse-video. (-rv for short.)

for fun: screenshots of my Windows app icons: List of Great Software for Windows and Mac

Emacs: Change Cursor Shape and Highlight Current Line

You can change your cursor shape to a box or i-beam. Put the following in your emacs init file:

;; change cursor shape
(setq cursor-type 'box)
(setq cursor-type 'bar)

(blink-cursor-mode 1)
;; highlight current line
(global-hl-line-mode 1)

Note: on Windows, if you have Microsoft Speech Recognization on, or Screen Magnifier, then, cursor will be i-beam, and setting “cursor-type” have no effect.

updated: Linux: Set Bash Shell Prompt to Color

updated: Emacs in Microsoft Windows FAQ

updated: Emacs: Set Environment Variables within Emacs

emacs: improving key choices

in past few days, i made another majorish change to my emacs keybinding set.

Now personal global commands start with F5. (used to be 【Ctrl+l】) Personal mode-specific commands start with F8. (used to be 【Ctrl+e】) (this is on Dvorak)

the gist in the change is that i now use single key sequence instead of combination.

over the years, i gradually switched almost all my most often used commands to single key or single key sequences, instead of combo keys or combo-key sequence.

if you type a whole lot, and experiencing hand discomfort, then single key is healthier than combination keys, even if it means a fraction of second slower to reach the F keys.

working in emacs now is like hunt'n'peck. LOL

Xah's Emacs Goodies

emacs lisp tutorials update 2012-05-01

Several updates in past months: