Xah Emacs Blog Archive 2020-09
Ruby Creator Matz on How Emacs Changed My Life (2012) , repost
minor update and repost
new version of my emacs tutorial out. Sent to previous buyers. Buy it at Buy Xah Emacs Tutorial
Emacs, Why You Should Not Use the Package Dash (2020) , added a video by rms
Xah Talk Show 2020-12-22 live coding emacs lisp, xah fly keys + batman keyboard, math history books
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.
Xah Talk Show 2020-12-18, emacs random talk, org vs html, keyboard layout vs shortcut layout
updated
fixed xah-css-compact-css-region , added xah-css-compact-css-buffer , Emacs: Xah CSS Mode 📦
Emacs Lisp Function Frequency , updated
xah-open-in-terminal now, on Microsoft Windows, it starts cross-platform PowerShell pwsh. You need to have it installed.
Elisp: Hash Table , minor format change.
Elisp: Batch Find Replace old article. added to the elisp examples panel.
coded in emacs lisp in past 5 hours.
Emacs: HTML. Move Image File 📜 , fixed a bug where removing meta info don't work.
Emacs: Org Mode, Work with Source Code (org-babel) , minor update
Emacs: Upcase Sentences 📜 now works better in html modes.
Emacs: HTML. Move Image File 📜 updated code. now shell output buffer don't clash.
Elisp: Buffer Functions , minor update. reformat.
Elisp: provide, require, features minor update
Emacs: HTML. Move Image File 📜
,
updated code.
xah-move-image-file
Now call exiftool afterwards to remove metadata, if the command is available.
Emacs: Xah Dired Mode (xah-dired.el) 📦
,
updated code xah-image-autocrop.
Now auto call optipng if available.
Emacs Keys: Key Sequence , minor update. thanks to ctietze
Elisp: Docstring Markup , updated.
emacs init: Show Line Numbers updated.
Xah Talk Show 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.
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 https://x.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.
Xah Fly Keys Testimonial , new love
reformated:
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
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 text engine.
Emacs: Download , updated
Elisp: HTML. Chinese Char To Reference Link , updated code.
Emacs: Change Brackets 📜 , minor code update. better names in prompt.
Computer Keyboard Hand Pain, Year 2020 (Left Forearm Hurts)
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 init: Set default font , See also: CSS: Chinese font guide 黑體 宋體
Emacs: Xah Elisp Mode 📦 code update. Added after-focus-change-function
minor updates.
am becoming a god at 4chan
Xah Talk Show 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 JS Mode (JavaScript) 📦 now support TypeScript. Still lots to work on. donate $$$ me.
Xah Talk Show 2020-09-23 Emacs Lisp Format JavaScript, the Idiocy of Formatting Style Guide
receiving bug report response after 12 years. Nice.
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 Flaw: The Mode Line
now the key layout diagram supports workman
Xah Talk Show 2020-09-15 Emacs Lisp Live Coding + Tutorial. insert-br-tag
Xah Talk Show 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:
xah-paste-or-paste-previousEmacs: Paste or Paste Previous 📜xah-upcase-sentenceEmacs: Upcase Sentences 📜xah-reformat-to-multi-linesEmacs: Reformat Lines for Source Code 📜xah-append-to-register-1Emacs: Copy, Paste, Append, Clear, Register 1 📜xah-clean-empty-linesEmacs: Clean Empty Lines 📜xah-clean-whitespaceEmacs: Clean Empty Lines 📜
Emacs: xah-fix-datetime 📜 , on its own page and code update. Was at Elisp: Parse Date Time
updated
Xah Talk Show 2020-09-05, emacs lisp coding, write command to display html hr tag as line
Xah Talk Show 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
updated
Elisp: Function Naming, String Equal
Computer Keyboard Hand Pain, Year 2020 (Left Forearm Hurts)
Emacs vs vsCode Memory