Xah Emacs Blog

Emacs: Keyboard Macro (now with its own navigation panel of 5 example.)

efficient way to type parenthesis, brackets

type brackets, i always use emacs to insert pairs e.g.

see Emacs Lisp: Insert Brackets by Pair (minor update)

if you have a Kinesis keyboard, ergodox, or other with key macro feature, you can program that into the keyboard so it's universal. 〔➤see Best Keyboard for Emacs

for those of you ergodox or kinesis users, here's some idea of layout i've been building. I'm collecting and polishing them continuously.

Kinesis Keyboard Optimal Thumb Cluster Layout

emacs flag

emacs flag 2016-08-21-s

PowerShell in Emacs Lisp Shell: Divide by Zero

Kinesis Advantage2 Keyboard is now on amazon!

Get it.

Kinesis Advantage2 Keyboard

the Advantage2's key macro/layout feature is truly superb. It has a embeded flash drive! You can open/mount it in OS without needing special driver/software. All key macros and layouts are stored as plain text files, you can simply edit and reload! This is in addition to creating macro/layout by pressing the special progm key.

I'll be writing more about this feature in detail in coming days.

my review Kinesis Keyboard Review

Xah Emacs Tutorial free for the next few days

杀杀 #Emacs# 教材,这几天免费下载。

这里 download here https://www.reddit.com/r/emacs/comments/4y0qpw/looking_for_an_emacs_tutorialbook_to_give_to/

say some good words. Thanks.

new nice photo of the Knight keyboard. Dad of the Space-cadet. Space-cadet, Lisp Machine Keyboards

emacs tutorial. New version out. Lots updates in past month. Recommend to a friend, Buy it. Thanks.

Buy Xah Emacs Tutorial

Emacs: Delete Paragraph, Text Block (minor update code. Now does on selection first if any)

Emacs: Abbrev Mode Tutorial (complete rewrite. Now properly using emacs commands.)

Kinesis Keyboard Unboxing review, first day Kinesis Keyboard Unboxing Gallery

Kinesis Advantage 2 Keyboard released

Kinesis keyboard advantage2 poster 37113
Kinesis Advantage 2 Keyboard. Kinesis Advantage2 Keyboard

see my introduction at Kinesis Keyboard Review (you can pre-order from a link there)

i'll be doing a hands-on video review in a few days. Am waiting for the keyboard to arrive.

i'll also be designing a layout for Emacs: Xah Fly Keys and ergoemacs-mode (http://ergoemacs.github.io/)

basically, lots things will be said in the coming months. You wait for it!

Best Keyboard for Emacs (also updated)

emacs emoji abbrev
emacs emoji abbrev

see Emacs: Abbrev Mode Tutorial

see also Unicode Emoji 😄 😱 😸 👸 👽 🙋

Emacs Lisp: Twitterfy (updated code)

LISP Logo sticker

lisp logo sticker 2016-08-02
LISP logo sticker, by Duncan Holm. 〔➤see LISP Logo

thanks to a friend.

Emacs Modernization

about 50 articles on improving emacs, now have side panels.

Most are written in the period 2006 to 2011. Some of them have been fixed in emacs.

I've been reading and benefiting from your contributions to the Emacs community for many years now. You are truly a pillar of our community and I am very grateful for your presence in it.

😂. Thank you.

Buy Xah Emacs Tutorial

pikachu in emacs

pikachu in emacs 20160731085413
pikachu in emacs. http://syohex.hatenablog.com/entry/2016/07/31/085504

Emacs Lisp: Delete Repeated Empty Lines (code minor update)

Xah Lee on Mickey Petersen's Mastering Emacs

Mickey Petersen Mastering Emacs cover
Mickey Petersen Mastering Emacs book. https://www.masteringemacs.org/book

Mickey Petersen wrote a book Mastering Emacs. The few times i read his articles, honestly, it's incomprehensible to me. He usually write in certain technical precise or comprehensive style that i think some hacker types prefer. Of his writing style, am often thinking, why would i read it instead of elisp manual? In fact, i prefer elisp manual, finding it actually easier to understand and definitely comprehensive.

but, as hackers wont say, YMMV. (Your Mileage May Vary)

Here's a example of Mickey Petersen's tutorial, check it out:

Mastering Key Bindings in Emacs By Mickey Petersen. @ https://www.masteringemacs.org/article/mastering-key-bindings-emacs

PS I find his book cover design extremely beautiful.

Emacs Lisp: Command to Extract URL (updated code.)

Emacs Lisp: Replace Invisible Unicode Chars

updated code. Twitter recently started to use the character . It is invisible in Google Chrome, but Firefox shows a dashed square with word OBJ inside.

more side navigation panels and the classification problem and hardship of running a site

Emacs Lisp Toothpick Syndrome

pages in misc directory now has side panel. See above link as example. Side panel are convenient for user, and connecting many disparate pages into a more weighty and convincing presentation.

I'm still working on some pages that don't have side panel.

it's quite tricky to do them for several reasons, some technical.

first, you have to make sure the contents are related, at least somewhat. You have to group them, put them together in the panel. This is the most time consuming. (you have to read them. And, nuance, style, attitude of article may change its category/subject-matter) If you don't categorize, you have one big pile of links of random articles, and in that case, having a side panel makes the page worse.

second, there's technical issues. It'll be time consuming to detail it, but basically, you don't want url to change, and yet, articles are in different directories, but the content isn't nicely group by directories (because they are written in 10 years, and many articles, really can't be categorized into A or B or C…, and also, to create a system of categories is a non-trivial classification problem by itself, think of Dewey Decimal system), and am using relative links because i want my whole site to be 100% usable offline and fast, and without requiring JavaScript. (each page's side panel source code need to be exactly the same) In short, it's not all that easy to do.

Daniel Weinreb Rebuttal to Richard Stallman's Story of LISP History

xah-select-block, repeat extend downward

Emacs: Select Line, between Quotes, Extend Selection

new is the command xah-select-block. It will extend selection downward when called repeatedly. This is, FANTASTIC!

xah-select-line is also new, similar.

Really, massive amount of work on my emacs stuff in past weeks.

emacs gnu apl mode xmas tree 2016-07-22
GNU APL mode lights up like xmas tree

emacs ido switch window/frame problem

Emacs: Delete Paragraph, Text Block (new)

emacs major mode keys not compatible as key sequence

new version. Find/Replace in Pure Elisp xah-find.el

Emacs: Find/Replace in Pure Elisp xah-find.el

new version. Now, the brackets are ASCII ones by default. And customizable.

This is perhaps my most useful package. I use it everyday to do find/replace on thousands of files for past 3 years. Before, it's various other methods in emacs. But this is the best. It's the only one written in elisp, that get rid of lots problems.


how to remove file name association with a major mode?

like this:

(setq auto-mode-alist (rassq-delete-all 'js-mode auto-mode-alist))

Emacs: Set File to Open in a Major Mode

Someone asked on stackoverflow. (currently is down) Answer added to the above.

Emacs Lisp: Delete Current File (code update)

Emacs Lisp: Command to Extract URL (updated code)

Emacs: Convert Image Files in Dired (minor update)

All sigil has been syntematically replaced

there are 55 files.

1015 ξ and 298 φ

the file with the most sigil ξxi is Emacs Lisp: Command to Change Earth-Coordinate to Google Map Link, at 100 ξxi sigils.

also, turned on CSS coloring, so now all function parameters has its own coloring, and local variables has its own coloring.

for example, see Emacs Lisp: HTML image-link Command

Emacs Lisp: String Match in List (on its own page, originally from a 2014 post.)

Emacs Lisp: Setup Mouse Click to Highlight Matching Words (rid of φgreek ξsigil)

Emacs Lisp: Copy Rectangle Region to kill-ring (fixed broken code.)

Emacs Lisp: Multi-Pair String Replacement with Report (rid of φgreek ξsigil)

Emacs: Convert Straight/Curly Quotes (rid of φgreek ξsigil)

Emacs Lisp: Escape Quotes (rid of φgreek ξsigil)

Emacs Lisp: Copy File Path of Current Buffer (rid of φgreek ξsigil)

Emacs Lisp: Cycle Replace Space Hyphen Underscore (updated code. no more ξsigil)

Keyboard and RSI, Forearm Pronation, is Keyboard Tenting Important?

Like it? Buy Xah Emacs Tutorial. Thanks.

or, buy something from my keyboard store.