Xah Emacs Blog

Tips & Tricks for emacs and emacs lisp.

emacs tips aside, room to rent near google

1 room to rent. 1 mile from Googleplex or downtown Mountain View. San Francisco Bay area. $800. 2 bedroom + 1 bath apartment. contact xahlee@gmail.com , let your friends and co-worker know. Thanks.

Richard Stallman playing flute.

New emacs tutorial is out. Now the Keybinding, Keyboard section has navigation panel on the side. The updated version will be sent out to supporters this weekend.

Buy, retweet. Thanks. Buy Xah Emacs Tutorial

Emacs Lisp: Write Emacs Commands Using Python, Ruby, … (rewritten. Chopped off verbiage.)

Emacs Lisp: Delete Repeated Empty Lines (minor update. Fixed a bug where if the repeated space is at last line.)

Using Piano to Type Text , more efficient than steno machine. For emacs keybinding too.

Kinesis Savant Elite2 Foot Pedal review, and how to use it with emacs.

one old keyboard rant hit hacker news. https://news.ycombinator.com/item?id=11611635

i don't seem to be able to see who submitted it. But thanks to whoever did it.

starting a dedicated keyboard blog. See

Xah keyboard Blog

Subscribe there. I'll not duplicate keyboard stuff here. Thanks.

mouse use in emacs, reddit

https://www.reddit.com/r/emacs/comments/4f2iee/efficient_use_of_multibutton_mice_with_emacs/d260em2

the following pages are updated.

Emacs: How to Set Mouse Buttons (updated)

Emacs: Add Web Browser Back Key/Button to Info mode

Emacs: View Info Page. New, on its own page.

Mouse Buying Guide

Kite, a New Era in Coding

check out, a new editor tool.

Kite - Your programming copilot

It signifies a new era in coding, where, instead manually searching stackoverflow etc to help code, the tool auto displays docs and code examples etc as you type. It's like name completion to the next level.

I helped develop the emacs plugin. 😸

Check out the site at https://kite.com/

Emacs Lisp: Traverse Directory

Emacs: What's Hook? (on its own page)

see also Emacs: How to Bind Keys for Major Mode?

see also Emacs: Avoid Lambda in Hook

List of Emacs Lisp Variables

List of Emacs Hooks

the supremum of keybinding

recently had to work on a Mac laptop. So, that forced many improvements to xah fly keys. Now, it works on laptop out of the box. Emacs: Xah Fly Keys

you should use xah-fly-keys or ergoemacs-mode http://ergoemacs.github.io/ Matt's been working on ergoemacs-mode all this time. If you have a issue, post on github, he responds and fixes usually within a day.

There are many other emacs packages of alt keybinding. If efficiency is the judge, none comes close to xah-fly-keys. Actually, unless there's a system of steno based keybinding, there's none as efficient as xah-fly-keys in human history.

Arrow Keys Layout Efficiency: vi's HJKL vs Inverted-T IJKL (major new discovery. vi is worse!)

Keyboard Layout, Is Inverted Number Row Better? (updated, with graph)

Emacs: Jump to Previous Position

now there's show random link button at Practical Emacs and Practical Emacs Lisp. Enjoy.

Emacs: Xah Fly Keys

major key change. Now, when in command mode, letter i switches to insert mode, and Space key is leader key for all emacs's commands with keys that starts with 【Ctrl+x】.

Now, you no longer need a ▤ Menu key, and now is compatible with any laptop out of the box.

Using magit-status each time or having to type the commands was boring.

So I made a keymap, I tried many solutions, the best one comes from Xah on ErgoEmacs.

from https://www.bjonnh.net/post/20160303_EmacsMagitKeymap/

yay. Thanks to Bjonnh.

List of Keylogging Software

Emacs Cursor Movement Keys Controversy

Stefan Monnier, previous emacs maintainer, doesn't use the {Ctrl+n, Ctrl+p, Ctrl+f, Ctrl+b} keys. See https://lists.gnu.org/archive/html/emacs-devel/2016-03/msg00545.html

by the way, he doesn't touch type neither, nor does Richard Stallman.

the thread began here Why does the tutorial talk about C-n/C-p etc? https://lists.gnu.org/archive/html/emacs-devel/2016-03/msg00402.html

i think the emacs cursor keys should be banished. They are very inefficient. One of the worst keybinding choices. I think they are not much better than random choice of keys as far as design goes.

suppose you are playing pacman. Do you want to use the arrow keys or the {Ctrl+n, Ctrl+p, Ctrl+f, Ctrl+b}? There, is an aspect of efficiency.

People mention about how hands stay on home row. Better is inverted T or vim hjkl. 〔➤see Arrow Keys Layout Efficiency: vi's {H J K L} vs Inverted T {I J K L}

but why people are loud on emacs keys? because:

HABIT is the core of your perception, your judgement, of the external world.

it's not just your muscle memory. But, the wires in your brain.

HABIT, as i learned over the years, plays a role in human life not just in petty software keyboard use, but also User Interface design, in programing practices (functional programing?), programing language perception, … no. Actually, habit is the railroad of behavior, HABIT is this elementary epic particle in human history, culture, political divide, evolution, and human destination. ❕

see also

Emacs Lisp: Exit Loop/Function, catch/throw (updated to include a example for exiting a function)

the first step to learn clojure is Leiningen, and it can be quite confusing for beginners. Here's help to get you started. Clojure Leiningen Tutorial

PS am revamping my draft clojure tutorial.

Emacs Bug Crushing with John Wiegley, San Francisco

emacs meetup in San Francisco. Mark your Calendar. 6:00 PM to 9:00 PM

http://www.meetup.com/Emacs-SF/events/229160319/

emacs: insert a literal tab, literal newline

remember:

Emacs: Find & Replace Tutorial

in emacs 25.1, saveplace is obsolete. For detail, see updated at Emacs: Save Cursor Position

see also How to Set Emacs's User Interface

download emacs 25: http://alpha.gnu.org/gnu/emacs/pretest/emacs-25.0.90.tar.xz

you need to compile it. See How to Build Emacs on Linux

Emacs: Select Line, Block, in Quote, Extend Selection (minor update)

emacs magit tip. press C-u S to stage also untracked files.

see also Emacs: magit-mode Tutorial

emacs lisp toothpick syndrome emacs 24.5 reftex-vars.el
Emacs Lisp Toothpick Syndrome

Past Articles by Date

2016-012015-122015-112015-102015-092015-082015-072015-062015-052015-042015-032015-022015-012014-122014-112014-102014-092014-082014-072014-062014-052014-042014-032014-022014-012013-122013-112013-102013-092013-082013-072013-062013-052013-042013-032013-022013-012012-122012-112012-102012-092012-082012-072012-062012-052012-042012-032012-012011-122011-112011-102011-072011-052011-012010-102010-062009-12

Like it? Buy Xah Emacs Tutorial. Thanks.