Xah Emacs Blog Archive 2020-09

Ruby Creator Matz: How Emacs Changed My Life

minor update and repost

new version of my emacs tutorial out. Sent to previous buyers. Buy it at Buy Xah Emacs Tutorial

Emacs, Why Not Use Dash
added a video by rms

XahTV 2020-12-22 live coding emacs lisp, xah fly keys + batman keyboard, math history books

repost Emacs: Problems of the Scratch Buffer

Emacs: Save Split Windows Configuration
minor update.

updated my copy of emacs manual version 25 to 27.

Emacs: Xah Fly Keys update. Now jump-to-register has key 【space n m】. To be used with window-configuration-to-register 【space n ;】 and frameset-to-register 【space n '】. All dvorak notation.

Emacs Should Adopt HTML as Texinfo Replacement

XahTV 2020-12-18, emacs random talk, org vs html, keyboard layout vs shortcut layout


fixed xah-css-compact-css-region , added xah-css-compact-css-buffer
Emacs: Xah CSS Mode

Emacs Lisp Function Frequency

Emacs: Open File in External App 🚀
xah-open-in-terminal now, on Microsoft Windows, it starts cross-platform PowerShell pwsh. You need to have it installed.

Emacs Lisp: Hash Table
minor format change.

Emacs Lisp: Batch Find Replace old article. added to the elisp examples panel.

coded in emacs lisp in past 5 hours.

elisp xahlee 2020-12-16 qxM66
elisp xahlee 2020-12-16 qxM66
Elisp: Function Naming, String Equal

Emacs: Move Image File
fixed a bug where removing meta info don't work.

Emacs: Org Mode, Work with Source Code
minor update

Emacs: Upcase Sentences now works better in html modes.

Emacs: Move Image File updated code. now shell output buffer don't clash.

Emacs Lisp: Buffer Functions
minor update. reformat.

Emacs Lisp: provide, require, features minor update

Emacs: Move Image File
updated code. xah-move-image-file Now call exiftool afterwards to remove metadata, if the command is available.

Emacs: xah-dired.el
updated code xah-image-autocrop. Now auto call optipng if available.

Emacs: Define Key Sequence
minor update. thanks to ctietze

Why Emacs Keys are Painful

Emacs Lisp: Function Doc String Markup

Emacs: Show Line Numbers updated.

XahTV 2020-12-02 emacs Sentence Lines, my RSI, Microsoft Sculpt Keyboard, Function Keys

Emacs: Upcase Sentences
Code update. Now in html, if space follows p tag, still works.

updated. Best Keyboards for Emacs

I got a Microsoft Sculpt Ergonomic Keyboard. Because i need a wireless. Not bad. But the key feel is not great for long typing session. I think i gonna need Epomaker Niz Plum . Never try to save on keyboard, you end up spending more.

been typing too much again.

xah rsi 20201117-s250
Xah Lee Emacs Pinky 2020

EmacsConf 2020 morrow

EmacsConf 2020 https://emacsconf.org/2020/ Nov 28, 29 9am-5pm Toronto/EST time; equivalently, 6am-2pm PST, 2pm-10pm UTC, 3pm-11pm Zurich/CET

thanks to sacha [2020-11-28 https://twitter.com/sachac/status/1332704763742449668 ]

Author of Intro to Emacs Lisp Robert J Chassell Died
added a book photo

new version is made. buy it. Buy Xah Emacs Tutorial

minor format updates.

Emacs: Open File in External App 🚀
fixed xah-open-in-terminal on macOS now won't close terminal if emacs quit.

Emacs: Open File in External App 🚀
fixed xah-show-in-desktop on Mac. So when in dired and cursor is not on a file, still works.

Emacs vs vsCode Memory

Xah Fly Keys Testimonial
new love


Emacs: Repeat Last Command
added a section about repeat command.

These commands are very useful. I use it daily now. repeat-complex-command repeat

See also:

installed emacs 27.1 on Windows 10

emacs 27.1 win10 2020-11-13 5y6tZ
emacs 27.1 win10 2020-11-13

it fixed the problem of emacs being slug slow when you have chinese or unicode math symbols in buffer. Sometimes each cursor movement takes half a second.

this is because emacs 27 uses [ HarfBuzz ] [ 2020-11-14 https://en.wikipedia.org/wiki/HarfBuzz ] text engine.

Download Emacs for Windows/Mac

Emacs Lisp: Chinese Char To Reference Link
updated code.

Emacs: Change Brackets/Quotes 🚀
minor code update. better names in prompt.

MacBook broken option key 2020-10-30 dmZdd
MacBook broken option key 2020-10-30 [2020-10-30 https://twitter.com/davidcapello/status/1083430018171179008 ]

Xah Lee Emacs Pinky 2020

This Emacs Pinky, pained me from 2018 to 2020. but now, it's mostly cured! Once you found the source of RSI, then things are good.

Emacs: Compile TypeScript File
renamed xah-ts-compile-file to xah-typescript-compile-file

Emacs: Run Current File 🚀
code update. now JavaScript and TypeScript code runs in deno (instead of node.js). Requires deno.

Emacs: Open File Path Under Cursor 🚀
code update. now can open html file with #fractionPart

updated. emacs 27.1 change. focus-out-hook to after-focus-change-function

Emacs: Byte Compile Elisp Files

once in a while, byte compile your init files or elisp code, to discover emacs changes and other warnings.

Fixed yesterday's Chinese font update. Emacs: Font Setup
See also: Chinese Font

Emacs: Xah Elisp Mode code update. Added after-focus-change-function

minor updates.

am becoming a god at 4chan

4chan xahlee 2020-10-03 vDYsk
4chan xahlee 2020-10-03

XahTV 2020-10-03 Dumang Dk6 Keyboard, Idiocy of Typography, emacs, python MapThread

new version of my Emacs Tutorial is out. Buy it now! Buy Xah Emacs Tutorial Update sent to previous buyers.

major updates.

Emacs: Xah JavaScript Mode, xah-js-mode.el now support TypeScript. Still lots to work on. donate $$$ me.

XahTV 2020-09-23 Emacs Lisp Format JavaScript, the Idiocy of Formatting Style Guide

receiving bug report response after 12 years. Nice.

gnu emacs bug 1355 email 2020-09-20 q6mTV
gnu emacs bug 1355 email 2020-09-20 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=1355

Not the first time it happened.

By the way, Lars Ingebrigtsen is a nice guy. He wrote gnus and Emacs: Eww Web Browser

See also: Emacs Mode Line Problem

xah fly keys lisp string vs symbol 2020-09-19 rth45
xah fly keys lisp string vs symbol 2020-09-19

Emacs Lisp: Symbol vs String

QWERTY Dvorak Layout Conversion Table

now the key layout diagram supports workman

XahTV 2020-09-15 emacs lisp live coding + tutorial. insert-br-tag

XahTV 2020-09-13 emacs lisp xah-remove-console-log, live coding + tutorial

Emacs: Reformat Lines for Source Code 🚀
xah-reformat-lines now always make long line first. so, can be used in key macro.

code update

xah-run-current-file now use deno instead node for js. Emacs: Run Current File 🚀

Changed (region-active-p) to (use-region-p) for the following commands:

Emacs Lisp: xah-fix-datetime
on its own page and code update. Was at Emacs Lisp: Parse Date Time


XahTV 2020-09-07 Emacs Lisp, Insert/Parse Date Time

Testimonial on Xah Emacs Tutorial

XahTV 2020-09-05, emacs lisp coding, write command to display html hr tag as line

XahTV 2020-09-04 Emacs Lisp. File Path to Link, Image Link, Get Title, Image Dimension

How to Avoid Emacs Pinky
minor updates.

Use Proportional Font for Code

large proportional font for code 2020-08-31 MxXgx
now experimenting with coding with large proportional font. So far i like it. (The screenshot page is Best Monitor, Xah Pick)

Emacs: Command to Toggle Monospace/Proportional Font


ErgoEmacs mascot-s276x226
Buy Xah Emacs Tutorial