Xah Emacs Blog Archive 2020-05
Elisp: Replace HTML Entities
again, major code update
Xah Talk Show 2020-08-30 emacs lisp, html named entities to unicode chars, thing at point
XahTV 2020-08-29 emacs lisp, write xah-html-escape-char-to-entity that highlights changed places
Best Keyboards for Emacs
XahTV 2020-08-26 lisp keyboards, arrow key history, emacs dash problem, open source problem
Emacs, Why Not Use Dash
xah talk show 2020-08-25 emacs, reaction on try out speedbar and treemacs
List of Emacs Hooks
Emacs: Restore Opened Files, Windows Config
(progn (desktop-save-mode 1) (setq desktop-restore-frames nil) (setq desktop-auto-save-timeout 300) (setq desktop-globals-to-save nil) )
(defcustom desktop-globals-to-save '(desktop-missing-file-warning tags-file-name tags-table-list search-ring regexp-search-ring register-alist file-name-history) "List of global variables saved by `desktop-save'. An element may be variable name (a symbol) or a cons cell of the form \(VAR . MAX-SIZE), which means to truncate VAR's value to at most MAX-SIZE elements (if the value is a list) before saving the value. Feature: Saving `kill-ring' implies saving `kill-ring-yank-pointer'." :type '(repeat (restricted-sexp :match-alternatives (symbolp consp))) :group 'desktop) (defcustom desktop-locals-to-save '(desktop-locals-to-save ; Itself! Think it over. truncate-lines case-fold-search case-replace fill-column overwrite-mode change-log-default-name line-number-mode column-number-mode size-indication-mode buffer-file-coding-system buffer-display-time indent-tabs-mode tab-width indicate-buffer-boundaries indicate-empty-lines show-trailing-whitespace) "List of local variables to save for each buffer. The variables are saved only when they really are local. Conventional minor modes are restored automatically; they should not be listed here." :type '(repeat symbol) :group 'desktop)
Xah Fly Keys Testimonial more
Xah Talk Show 2020-08-21 emacs lisp, write command to highlight text
next online meetup, emacs sf
Thursday, September 3, 2020. 1PM, San Francisco time https://www.meetup.com/Emacs-SF/events/272722964
had a great meetup yesterday, saw Jeff, ag, John Wiegley, Sean, and several ohers. learned a few thing.
Xah Talk Show 2020-08-20 Emacs Lisp. Write Command to Clean Up YouTube Description
cleaned up the HTML.
MELPA URL http://melpa.milkbox.net/packages/ dead
Xah Talk Show 2020-08-18 Emacs, Manage Project with Projectile
Xah Talk Show 2020-08-17 Emacs Lisp Coding, Display Formfeed as Line
- Emacs: Cycle Replace Space Hyphen Underscore
- Elisp: Replace HTML Entities
- emacs and vi: Science of Command Efficiency
minor updates and repost
Emacs: View Image File
Emacs: Mouse Config
xah talk show 2020-08-15, emacs/elisp tutorial, modify youtube linkify accept timestamp
online emacs meetup, hosted by our great Jeff T
Thursday, August 20, 2020 4:00 PM to 6:00 PM San Francisco time
Go there and sign up and Reserve. 20 people is the limit. Also mark your calendar.
xah talk show 2020-08-12, emacs 27 features
Xah Fly Keys Testimonial more
Xah Talk Show 2020-08-10, emacs, braille, python vs ruby vs perl vs emacs lisp
Xah Talk Show 2020-08-07, emacs lisp youtube-linkify, why shell in emacs, sigil war
Xah Talk Show 2020-08-04, emacs lisp coding, open buffer or link in chrome
GNU Emacs Logo
emacs logo on trackball
The Sigils WAR, Language Design and Coding Convention
Linus: Respect is Earned Not Given
more Xah Fly Keys Testimonial
more Testimonial on Xah Emacs Tutorial
Xah Talk Show 2020-07-18 gergo keyboard review and keyboard geeking
Emacs: HTML, Make Citation Link
code update. Now link open in new tab.
Elisp: URL to HTML Link
code update. Now link open in new tab.
Xah Talk Show 2020-07-15, emacs lisp command xah-html-remove-list
xah fly keys MELPA file not found fixed
old version of xah fly keys before the key engine change on 2020-04-27 is now linked from xah fly keys home page at Emacs: Xah Fly Keys
it's no longer on github, cuz it's causing file not found install problems.
thanks to @sarthak
LISP Logo new photos
Testimonial on Xah Emacs Tutorial
you can buy lisp logo stickers. see bottom, refresh: LISP Logo
Emacs: Xah Fly Keys
Fixed Space 3 from
Note, 3 is
the lisp logo stickers are gone.
send me your address, i'll mail it to you. I have about 4 of them. My request: you send back a photo of your laptop or device with the sticker on. For usa resident, i sent free. For outside of usa, donation of $5 paypal would be good. paypal to email@example.com First come first serve. I'll mail out in about a week.
Emacs: Toggle Letter Case
code update. Now also do non-Latin, such as Greek γ to Γ
Emacs: Regex Tutorial
Emacs: Quote Lines
Emacs: Unicode Tutorial
Elisp: Chinese Char To Reference Link
XahTV 2020-06-16 emacs lisp and html coding. etymology and mythology
Emacs: Eww Web Browser
Elisp: Save narrow-to-region
xah emacs lisp live coding 2020-06-10. join lines in a text block
Elisp: Get Text Block
Bozhidar Batsov RuboCop Incident
Elisp: Call Shell Command
added how to call PowerShell.
Elisp: Insert Random UUID
major rewrite and code update.
Xah Fly Keys Testimonial
what keyboard did emacs use in 1970s when emacs was TECO? Emacs Meta Key History
new version of emacs tutorial is out. Buy it! Not gonna send update to previous buyers, because last one is just a month ago.
Xah Lee Emacs Pinky 2020
Emacs: Jump to Previous Position
Major update. by the way, a better way is to split buffer, do stuff, then move cursor back to the other pane, then unsplit.
Emacs: Init File Tutorial
updated basic init file. put this in your emacs init, and life will be good.
Emacs: Font Setup
added howto about setting up a font for Chinese characters and emoji.
reader macro and sigil
&option is just the syntax for rest parameters.
(:key1 val1 :key2 val2 ...) are syntax for key value pairs.
@ and $ are just part of name that i use. syntax coloring of them is due to these starting symbol, in Emacs: Xah Emacs Lisp Mode
The technical name for special symbol like
[see Elisp: Function Optional Parameters]
(make-hash-table :test 'equal)
[see Elisp: Hash Table],
are called reader macro characters.
Emacs lisp manual does not have a page explaining
lisp reader macro.
Elisp does not support user defined reader macro, but has a page about
what reader do, on “Read and Print”
(info "(elisp) Read and Print")
Clojure does not support user defined reader macro neither,
but clojure doc does talked about it and has a ton of it, see
Clojure: Magic Characters ' \ @ ^ # ` ~ .
About my use of @ and $, blood has been shed over that.
XahTV 2020-05-26 Why Tiling Window Manager Sucks
Misc Technical Essays and Non-Technical Essays on Emacs Lisp
some reorganization of index page at Emacs Misc Index
in particular, created two navigation topic groups, one is Misc Technical Essays on Emacs Lisp see bottom of Emacs Lisp: Symbol vs String and the other is Non-Technical Essays on Emacs Lisp, see bottom of Which Chapters of Elisp Manual to Read?
There is quite a lot more to do about the reorganization of misc essays i've written in past 16 years. Will do in coming days.
XahTV 2020-05-23. Which programing language is worth learning? The Future of Lisp
Why emacs lisp haven't become a general purpose language?
on its own page.
Elisp vs Perl: Validate File Links
code minor update.
XahTV 2020-05-06 how to avoid mouse hand pain, logitech g-hub crap, paradox of optimal keymap, substance vs milen, Candace Owens
XahTV. TRON Keyboard, NEC M-System keyboard Japan Thumb-Shift Keyboard. Topre. 2020-05-08
Emacs: xah-lookup.el, Lookup the Web