Xah Emacs Blog Archive 2017-06
I noticed, possibly majority of programers, don't know regex, or don't know much.
I updated the tutorial to include a explanation and step-by-step guide.
The Emacs Confessional Booth Post Your Sins Here
i don't use org-mode much. I started using it in 2011, which is already late. But in general i find myself just using plain text, or raw html. Writing html raw can be quite something if you have the right guide! :D
Sacha has been instrumental in influencing me to use org. (in general just great and has helped me financially.)
my sin is i disagree and am disagreeable to most emacs hacker type's edicts.
• I think lisp macro is a harmful coding lore. (those who disagree must look into symbolic pattern matching, e.g. Wolfram Language)
• I think closure is lame, because it's function with side-effects.
• i think idioms, in particular formatting idioms such as tucking in parens, damages progress in automated formatting, which Wolfram Language and XML had since 1998, golang since 2008. paredit and similar, such as smartparens, enforces the idea of manual formatting.
• emacs's key shortcuts, is the single most cause of Repetitive Strain Injury among all software in history. These days people advocate evil sans batting an eye, but as late as 2009, you get flamed to death for recommending anything non-default. (thanks to, ergoemacs-mode and myself, that popularized alt keybinding.)
• some lisper, such as the previous emacs leader Stefan Monnier, advocate dolist instead of map. I think that's harmful because it focuses on micro optimization and not general computer science principles such as requirement for auto parallelism.
but am grateful to many in emacs community.
xah teachs on video, which you like to see
am going to start doing videos. which you like to see first?
- emacs for beginner
- elisp for beginner
- xah fly keys
- kinesis advantage2 keyboard review
Emacs: Move Cursor to Punctuation (added back a new command)
Level of User Interface Design: Muscle Memory, Eye, Brain
Emacs: Find Replace Text in Directory (complete rewrite for emacs 25)
emacs goto previous command in eshell
in eshell, to go to previous command, type something, then press ↑ key.
For example, i type “git c”, press up arrow, and i got “git commit -m"stuff"”, which is the command i called last time.
Emacs: Outline, org-mode (updated.)
Overview of Text-Processing in Emacs Lisp (major rewrite)
Elisp: Get universal-argument (major update. New sample code for complex case, simpler.)
Emacs: Show kill-ring (new command)
Emacs: Interactive Abbrev (command complete rewrite)
Emacs: Show Formfeed ^L as Line (now, a command to do so)
Elisp: Text Properties (new)
how to chose keys to bind in emacs
here's the post:
lots headaches will be avoided if you chose a key space that no emacs or packages will ever touch.
hyper and super are such. (e.g., make the Windows key send Hyper, or Command or Option key.)
〔 ►see Emacs: How to Bind Super Hyper Keys 〕
but even better, is use key sequences. It's easier to press, faster (if the leader is thumb or capslock), and less hand injury risk.
Make F8 as leader to begin. (not on laptops as F keys are not easy to press there) So, all your commands are F8 a, F8 b, F8 c, etc, or F8 d a, F8 d b, etc.
If you are using a traditional Microsoft keyboard, can make the menu key as leader.
Best is to make capslock as leader, or an alt close to thumb.
You can find my tutorials of how to on these.
More radical is to replace ALL emacs key combos by leader key sequence. For that, try xah-fly-keys.
[see Emacs: Xah Fly Keys]
emacs replacing all search-forward-regexp by re-search-forward, using xah-find.el
Elisp: Multi-Pair String Replacement with Report (updated code. Now support
Elisp: Overlay Highlighting (updated)
Emacs: How to Define Menu Key (minor update)
very much appreciate all who bought my tutorials, and supporters. Thank you!
minor update. Also, all other pages related to shell are reviewed/updated. See the “shell topic” navigation links at bottom of the page.
Why Run Shell in Emacs? (minor update)
Elisp: Functions on Line (updated)