Xah Emacs Blog Archive 2018-12
emacs video, demo of image scale/crop/convert jpg/png commands
Code at Emacs: xah-dired.el
Best Unicode Fonts for Programer (minor update)
emacs lisp processing files
changing all Wikipedia links to https. #Emacs xah-find.el Emacs: xah-find.el, Find Replace in Pure Elisp comes to the rescue.
the page with the most change is Writer's Words Writer's Words, More 188 Wikipedia links
See also, 7142 links to Wikipedia Links to Wikipedia from Xah Sites generated by a emacs lisp script. Elisp: Generate Web Links Report
i learned about gumroad, a site to control and make money for creators https://gumroad.com/
via sachachua http://sachachua.com/
sachachua has her sketch notes and learning emacs stuff free or by pay any amount if you like see https://gumroad.com/l/sketchnotes2014 and https://gumroad.com/l/VDxP
Emacs: xah-lookup.el, Lookup the Web
random number algorithm in emacs
i wonder what algorithm emacs lisp (random) use. i bet it's a bad linear congruential generator of 80s. someone prove me wrong. (am on Mac, don't have access to linux now. ... maybe i should lookup the repo on the web)
see random number
Linux: Make CapsLock Do Home Key
Elisp: Read/Write File
new page on its own.
Elisp: Buffer Functions
Emacs: Dired Sort File by Time, Size
code update. now works with macOS
Manuals is a thing of the past
Manuals is a thing of the past. They are replaced by intuitive UI design, with on-the-fly tips or inline tips or web search based answers.
Most major software stopped printing manual since y2k. And no manual at all since 2010s, with onset of web app phone app software.
context [ https://twitter.com/magit_emacs/status/1076119139578728450 accessed: 2018-12-21]
emacs fill/unfill rant
on reddit https://www.reddit.com/r/emacs/comments/a6ncl0/what happened to emacswiki/ec7s5zj/
if one just want simple solution, it's here
Emacs: Hard Wrap Lines Emacs: Hard Wrap Lines
you can see here on stackoverflow 2011, Steve Purcell answered it with link to my site, and said he made it into a package. https://stackoverflow.com/questions/6707758/inverse-of-m-q-an-unfill-paragraph-function
(by the way Steve Purcell is a very nice guy, runs MELPA, and a better coder than me.)
there are earlier answers of the same question on stackoverflow using my code. you can tell by the magic number i used
i've since removed it. people complain that it should be
of course, am not the first one who wrote unfill. I remember seeing it on emacswiki.org , and elsewhere before.
The new one:
Emacs: Toggle Line Wrap Emacs: Reformat Line Wrap
does do better, because it toggles.
and the other version:
Emacs: Reformat Lines for Source Code Emacs: Reformat Lines for Source Code
is good because it can be reliably used for source code that are so called Whitespace Insignificant programing languages. [see What Does it Mean When a Programing Language Claims “Whitespace is Insignificant”?]
Dear SpacemacsMasterRace, thanks for reading my site though. :D seriousness aside.
what am i supposed to do? get inline and package stuff into a lunchbox and get rich quick?
well, there is more to it. emacs should have unfill builtin. it was a major criticism and frequently asked questions since at least 20 years ago. (i vaguely recall something like that happened in recent years. i did a quick apropos but apparently it's not there. Perhaps it was in some package, maybe in org mode.)
and the terminology should be changed. It's not fill/unfill bananas, it's hard wrap/unwrap. This touches on linguistics and communication efficiency, the art and science of jargons.
and, programers should be ban'd from this fill thing. The tradition of “truncating lines”, came from punch cards, and the damage was championed by unix geeks (note: not lisp geeks. unix geeks and lisp geeks were at war). and i have one thousand articles about it.
down the rabbit hole. am hopeless.
Emacs: Evaluate Elisp Code
See also: Emacs: narrow-to-defun, eval-defun, bug
xah-fly-keys issue on reddit SES and Input Method problems, Mode-Line Config, TTY Caps Lock → Home Key.
https://www.reddit.com/r/xahflykeys/comments/a7qczh/xah fly keys ses and input method problems/
Why Emacs Keys are Painful (updated old screenshots)
Elisp: Get Dired Marked Files (on its own page)
Emacs: Reformat Lines for Source Code
update code. Now put cursor at the end when command is done.
actually, just reverted it back. undecided
Best Keyboards for Emacs
Emacs and RSI, Charlie Stross
got this Ultimate Hacking Keyboard
Just did a unboxing video, and already configured it to use with xah-fly-keys. Been using it for a day now. Going to update that page in the coming weeks.
emacs, RSI, nomads and monads
comes the day, someone heard of me because their dad told them. A living legend!
Emacs: 1 Key for M-x (on its own page)
Emacs: Use Alias for Fast M-x (updated)
on xah-fly-keys vs evil, chinese
an online friend, comment on xah-fly-keys vs evil
[xah-fly-keys 使用总结 By Pengpengxp. At https://pengpengxp.github.io/emacs/summary_of_xah_fly_keys.html ]
Thanks a lot to many people this year using and supporting Emacs: Xah Fly Keys 谢谢大家支持
latest version of xah emacs tutorial
sorry guys, i haven't send it out the update yet. Will do in next couple of days.
#emacs. integration of xah-fly-keys with spacemacs
i hope it gets in. Am going to spend some time with spacemacs and see if i can help in anyway.
Emacs Lisp Naming Convention
from last year, now on its own page
Elisp: Print, Output. updated.
Emacs: xah-find.el, Find Replace in Pure Elisp updated. added back printing a “done” at the end.
Elisp: URL to HTML Link
xah-html-url-linkify now grabs url or filepath instead of line.
also updated in Emacs: Xah HTML Mode