Xah Emacs Blog Archive 2019-05
corrected link. talks in past 3 days.
rms seeking housing
i knew that rms lives in his MIT office in 80s or 90s. don't know perhaps he ever lived on his own. [Why Utopian Communities Fail 2018-03-08 By Ewan Morrison. At https://areomagazine.com/2018/03/08/why-utopian-communities-fail/ ]
Richard Stallman Resigned from FSF, 2019-09-16 expanded with more info
Richald Stallman Resign FSF, emacs tips, split window workflow, register. 2019-09-21
emacs lisp, golang. write script to Check Parenthesis/Brackets Balance 2019-09-18
unicode inverted text, emacs regex and in emacs lisp 2019-09-06
Elisp: Regex Tutorial major update
new version of emacs tutorial is out.
going to send update to previous buyers. If you bought within past 3 years, you'd get it. Else, ask, email me, i'll send it.
Guile scheme lisp, is python a lisp?, JetBrain vs Emacs editor, why clojure java. 2019-08-25
Xah Talk Show 2019-08-21 all you want to know about keyboard layout, dvorak, colemak, touch tying
Xah Talk Show 2019-08-20 why you should not cry about OpenSource or Free Software, monopoly
Xah Talk Show 2019-08-19 Deseret/Shavian Alphabets, IPA, font size, fugue, elisp coding youtube html
Xah Talk Show 2019-08-17 emacs completion + templates. autocomplete, company-mode, yasnippet, abbrev
Xah Talk Show schedule
ok, finally i have a schedule. Thx to BartholomewJS's incessant prompts. ๐
All time is San Francisco time.
- 2019-08-17 Sat, 10am
- 2019-08-18 Sun, 10am
- 2019-08-19 Mon, 10am
- 2019-08-20 Tue, 10am
- 2019-08-21 Wed, 10am
topic is undecided. But basically the subject is going to be any of:
- unicode
- emacs tips
- emacs lisp live coding + tutorial
- JavaScript live coding + tutorial
- keyboard
- programing language
go YouTube xahlee sub + ๐
emacs command to remove html tags
xah-html-remove-html-tags and xah-html-html-to-text in xah-html-mode ใsee Emacs: Xah HTML Mode ๐ฆใ
Xah Talk Show 2019-08-11. jwz keyboard. why JavaScript no "use js2015", rant on Brendan Eich
Lennart Borgman, emacsW32
am wondering how Lennart Borgman is doing. https://www.emacswiki.org/emacs/LennartBorgman He's creator of the emacsW32 distribution for Windows, very popular in late 2000s. I haven't heard from him for maybe 7 years. His website is gone.
posted to reddit reddit.com...
Xah Talk Show 2019-08-04 emacs regex tutorial. ruby sigil, programing language type as syntax
Xah Talk Show 2019-08-03 emacs lisp coding xah-update-atom-entry-date. History of RSS/atom/webfeed
emacs conference 2019
Text Processing: Emacs Lisp vs Perl
and See also: Perl, Dr. Ilya Zakharevich Regularly Expresses
emacs meetup Mountain View, John Weigley on org mode 2019-07-24
a new emacs distro, Galactic emacs!
https://github.com/daviderestivo/galactic-emacs by Davide Restivo
minor update.
code updated. now by default get full path.
new editor, evil binary, written in scheme lisp
new editor from china, written in scheme lisp https://twitter.com/evilbinary0/status/1145721953816207360 via https://twitter.com/evilbinary0
Apple's color wheel supports emacs color names!
Emacs: Spaces to New Lines ๐ very useful
code minor update
in emacs 26, often, half of the screen becomes blank. or it flashes. i thought that โbutterfly smoothโ fix made it worse??
apparently, it seems to be a macOS 10.13 problem. If you are using majove, things seems fine.
Elisp: Chinese Char To Reference Link
code updated
Elisp: Create Sitemap (minor update)
all major update
Elisp: Unicode Escape Sequence
minor update
code update. Now, if you move cursor to another position before the command finished, it'll still insert at the original cursor position.
grep and find but in pure emacs lisp
https://www.reddit.com/r/emacs/comments/bxtwfg/grep_and_find_but_in_pure_emacs_lisp/
gonna do a xah talk show on this today. 3pm San Francisco time. come join me. goto YouTube search xahlee, sub + ๐.
hi u/andreyorst/ , i think some of the posts in this thread is wrong.
Search text in a dir is a fundamental feature in text editors. Relying on external software for core feature is very bad. This contributed in a major way emacs is not popular. Also, the interface between emacs and shell, has many problems when the string contains a lot escape sequences (such as regex) or lots unicode. (i've documented this in detail in the article you cited)
On Microsoft Windows, this is a practical, major, problem.
am going to do live stream talking about this in 2 hours. (3pm San Francisco time, today 2019-06-08).
to do in live stream:
explain what's wrong with emacs not having builting feature to search dir.
explore
multi-occur
multi-isearch
project-find-regexp
project-find-file
to see if they work without external tool unix grep
and unix find
Emacs: HTML, Lines to Table ๐ (code update)
#emacs lisp quiz. the pain of elisp.
emacs long lines problem
#emacs inserted this by mistake. waited for 10 minute still froze. had to force quit. fuck eli and those who pretend emacs no longline problem
xah-fly-keys default to insert mode?
minibuffer is setup by a hook
(add-hook 'minibuffer-setup-hook 'xah-fly-insert-mode-activate) (add-hook 'minibuffer-exit-hook 'xah-fly-command-mode-activate)
i think to do that for magit etc mode , one can add to
- after-change-major-mode-hook
- change-major-mode-after-body-hook
- change-major-mode-hook
ใsee Emacs: List All Hooksใ
i'll write up a tutorial in the xah fly keys customization section. maybe i'll add as default to magit mode. will think about it.
ใsee Emacs: Xah Fly Keys Customizationใ
most efficient page up/down, ergoemacs-mode and xah-fly-keys
the page up/down story is somewhat complicated. I used to insist on use the physical keyboard page up/down OR use mouse wheel (must be accelerated OR free spin wheel), which IS THE BEST way to scroll. (continued)
then i got kinesis keyboard, and by keylog i rarely use pgdn key, and the keyboard doesn't have many keys. So, i reassigned pgdn to do switch to last window/app. But sometimes i find i do want to page down (and not using mouse wheel)
So, the Ctrl+9 Ctrl+0 was a last minute kludge. not very happy about that. because the very existence of keybinding will make people use that often. people usually ignore advices, such as argument about how mouse accelerated/spin wheel and pgup/pgdn key are better.
macOS switching to zsh from bash
this is also why, the emacs that ships with Mac is gnu emacs 22, from year 2007. and Richard Stallman also forced emacs repo MELPA by hegemony to not support any packages using GPL v2. FSF has become a scum and irrelevant.
see Richard Stallman Pushing for GPL3, Kick Out Free Software from Free Software Platform (2017-08)
Emacs Lisp Doc String Curly Quote Controversy (2015)
Emacs: Latin to Rune (แฑแขแฟแ) ๐
Updated. Now uses medieval rune alphabet. see Unicode: Rune แ
which font to use
thread on fonts that covers math unicode symbols. I recall DejaVu has it Best Unicode Fonts for Programer
also, google note font suite has the math unicode symbols, i think. I don't remember i verified, but it is intened to cover all unicode font eventually Download Free Unicode Fonts
last resort, is Stix font. It is designed to cover math unicode symbols.
Emacs: Xah JS Mode (JavaScript) ๐ฆ
added coloring and abbrev/template for padEnd padStart trimEnd trimStart, abs cos sin pi, getElementsByName.
vscode vs atom vs emacs
looks like vscode is now a winner, twice as popular than Atom, even though both are written in JavaScript on Electron.
and now, controversy. https://www.reddit.com/r/emacs/comments/bp72wt/i_might_switch_to_vscode/ (note, it's not written by me)
see the full thread for the question.
here's my answer
i hear you. The problem is, it's actually practically impossible to change basic emacs keybindings. This is why, even evil mode, you have lots exceptions. One can hack to enforce 1 keybinding in all major/minor modes, but that adds too much complexity.
what i do and recommend, is just to do case-by-case basis and on your own init. e.g. when a key doesn't work, find out the exact major/minor mode causing it, then add custome override. again, no receipe on exactly how that's done.
Xah Talk Show 2019-05-03 unix philosophy, truncate line, clojure, concurrency, AI, consciousness
Emacs: Move Image File ๐ code update. now uses ido.
emacs long line problem
goto https://www.ecma-international.org/ecma-262/ , save the file. Open in emacs. #emacs freezes for 30 min. you'll be unable to work with that file. To work on the file, you need to spend 1 hour to finally be able to break long lines.
then there's eli zaretskii, on reddit, insisting emacs don't have long line problem.