Xah Emacs Blog Archive 2016-01

new emacs tutorial is out. Major update since past 2 months is addition of navigation sidebar, for emacs and elisp pages. The updated version will be sent out to supporters this weekend.

Buy, retweet. Thanks. Buy Xah Emacs Tutorial

Emacs: Byte Compile Elisp Files (updated)

Emacs: Xah Find Replace (xah-find.el) (added a regex find replace screenshot)

i do regex find replace on 5 thousand html files every week, for the past decade. The above, is the best method.

Emacs: Run Current File 🚀 (updated, to include golang)

emacs lisp pages now have navigation side panel. See ELisp: Lisp Basics

tutorial page navigation sidebar

now the tutorial has side panel for easy navigation. See Practical Emacs

Elfeed Not Support Xhtml? here's a test

if this content shows, then it means, i must use the CDATA thing and it doesn't support xhtml.

Update: yes, elfeed now fixed it! fixed on , see https://github.com/skeeto/elfeed/issues/112

by the way, elfeed is a RSS/Atom feed reader, for emacs, written in elisp. It's excellent. https://github.com/skeeto/elfeed, also on MELPA.

by the way, reddit is also switching to atom. https://www.reddit.com/r/changelog/comments/428vdq/upcoming_reddit_change_switching_from_rss_20_to/

if your blog is using RSS, you should switch to Atom, because RSS is garbage, by Dave Winer. (i think Dave Winer is one of those guys in computing industry i regard is charlatan, but i haven't ascertained my own opinion yet. (charlatan, y'know? like, those selling you snake oil, the gurus, they spread gospels and people buy it. In fact, typically a lot followers. Larry Wall, Martin Fowler, are prime examples. Typically, these guys, their golden touch, is never technical (say, a math theorem), such as say Knuth. But, they rely heavily on social things. It is via social, they get their kicks. In particular, their weapon of choice is fuzzy and cozy and mythical jargons, Unix Philosophy, KISS, defensive programing! (remember that?)! laziness is virtue of programer! (remember that?) Design Patterns! eXtreme Programing, Agile, SCRUM! Idioms! Pythonic!)) (disclaimer: this is all opinion only.)

see also Voodoo of Software Engineering

JavaScript in Depth

News for my JavaScript tutorial. Now, it has side panel for easy navigation.

JavaScript in Depth

JavaScript is now the most used language, depending on how you count, along with C, C++, Java.

If you never touched JavaScript, check it out. If you code JavaScript, you might learn a few things too, from a very differet perspective.

Of existing professionally published JavaScript books out there, i think mine is competitive in depth, in accuracy, in readability. [see JavaScript Books Review]

ELisp: Get User Input (updated)

how to open a info file

Emacs: View Info Page

this is useful when you have a 3rd party package that has info doc.

superior method to insert any type of bracket/quote by pair

on reddit, someone asked a question about inserting curly quotes and brackets in pairs.

Here's my explanation, i believe this is superior to any. https://www.reddit.com/r/emacs/comments/41i156/using_smartquotes_with_the_electric_pair_mode/cz2ro2s

updated.

Emacs: Install Package with ELPA/MELPA (minor update)

Emacs: Real Automatic Save File

Paul Graham programming 2007
Hacker News founder, Common Lisp expert Paul Graham, using the Natural 4000 Keyboard, 2007. [Photo by Gabor Cselle. Source: flickr © [https://creativecommons.org/licenses/by/2.0/legalcode] ]

see also Microsoft Natural Ergonomic Keyboard 4000 Review

Disable Ubuntu New/Overlay Scrollbar

Emacs: Insert Random Number or String 🚀 (updated)

Which Lisp Should You Learn? (old article. repost)

ELisp: Regex Named Character Class and Syntax Table

is it worthwhile to use abbrevs for most used English words?

Emacs Abbrev for Most Used English Words?

Which Mouse to Get for Emacs

someone asked about which mouse to get for emacs

most gaming mouse have onboard memory, such that you set the buttons once, then plug in any computer it'll work. The software is usually Windows only, so you need a windows machine. (or, a virtual box might work)

but if you really want a mouse with linux api, i hear that ROCCAT mouse is famous for that.

roccat has many models. This one i think is physically/functionally best. ROCCAT Tyon Mouse

other models are ROCCAT Gaming Mouse with Linux Support

but i've not used them.

myself recommend plain logitech. I recommend any of the following, up to your preference in size, number of buttons, and whether it has spin wheel.

most mouses, as long as they are standard USB devices, one can also program the various buttons in X11 without the mouse itself providing means, but it's a huge hassel. One'll spend weeks and weeks reading the many many half-written how-tos.

also, a warning. Some gaming mouse REQUIRES installing and registering their “cloud” software for every computer you use the mouse in order for the button config to be remembered. Notably Razer Orbweaver Keypad. So, i generally stay away from anything Razer.

new Common Lisp book: Common Lisp Recipes

[Common Lisp Recipes: A Problem-Solution Approach By Edmund Weitz. At Buy at amazon ]

wow, a new Common Lisp book. A Chinese friend, Chun Tian (binghe) https://twitter.com/binghe_lisp, who i regard as one of the top Common Lisp expert, highly regarded the book.

KBC Poker 3 Keyboard. Now, this one, is for programers. It features physical key activated programing. So, you just press keys to start record key macros. No need for software!

Atreus62 Keyboard ⌨

for keyboard hackers, someone custom build a Atreus keyboard by fixing one of its problem of too few keys. The result is beautiful. See updated: Atreus Keyboard ⌨ (refresh page)