Xah Emacs Blog Archive 2013-11 to 2013-11

Buy Xah Emacs Tutorial. Master emacs benefits for life.

emacs: Vote for Your Fav Builtin Package

Andrew Hyatt (Google engineer) posted message from FSF/GNU forum requesting user feedback on what builtin modes should be turned on by default. See here: https://plus.google.com/+AndrewHyatt/posts/RTguQsNobjg.

be sure to vote.

new feature: random button for {tutorial, emacs manual, elisp manual}

News. Now, there are 3 “random page” buttons on every page.

  1. Random tutorial page
  2. Random emacs manual page
  3. Random elisp manual page

Try it, at the top.

Am sending out a new version of emacs tutorial. If you haven't got it yet, Buy Xah Emacs Tutorial. You can also buy a copy for your friend as a gift. Just put in comment in paypal form where you want me to send it to (email address), and any message, i'll pass along. Thanks.

Emacs Lisp or Python to the Rescue?

i needed to write a emacs command, but, i wanted to practice python, so instead, wrote a python script with emacs lisp wrapper.

5 min job is now 1 hour. lol.

See the emacs lisp command and the python script at bottom of Emacs Lisp Wrapper for Perl/Python/Ruby Scripts

my python isn't very good. If you see improvements, please do point out. Thanks.

New version of emacs tutorial is out. Buy Xah Emacs Tutorial. I'll be emailing out the update. Thank you for support.

Emacs Keyboard Macros: F3 F4 Are Not Good Keys, and Elisp Cannot Replace Kmacros

By default, you can press F3 to start recording macro, and F4 to stop. But remember, if you care about key efficiency, one of the most important principle in keybinding is that most frequently used command must have most easy keys, because you have 10 times more commands you need than good key spots. So, the question is, how often do you record macros? Hourly, daily, weekly, monthly? I use emacs keyboard macro maybe about 2 times a month. So, for me, the function keys for macros is a very inefficient use of keys. As far as i know, most emacs users do not use key macros often. So, the function keys should be use for something that you need at least hourly. (you can follow this advice only if you are a keyboard nerd. The disadvantage is that you have to spend time on it, not compatible with plain gnu emacs, etc. But if you use ergoemacs-mode, F3 and F4 are cut and copy.)

The second point is that, keyboard macros, when needed, it is critical. Even if you know elisp well, it can't replace key macro at all, because in most cases, writing elisp will take 30 minutes or more, and often just is not practical, while key macro lets you finish the job in 1 minute. Here's a example: Emacs Keyboard Macro Example: Adding HTML Attribute

possibly i'll have a first phone interview with Google engineers. The human resource asks me about Googlers i know. Who can give a helping hand? thanks. (xahlee@gmail.com)

if you haven't mastered emacs keyboard macros yet, now it's a good time. Emacs: Keyboard Macro Tutorial

Wolfram language is on the news lately. It has a lot affinity with lisp.

“every developer should buy a copy of Mathematica, because it will expand their mind.” —Rich Hickey (Clojure inventor)

See: http://xahlee.blogspot.com/2013/11/wolfram-language-and-lisp.html

updated:

we've been all fool'd. Richard Stallman Emacs as Word Processor

Emacs Lisp vs JavaScript?

Ask Emacs Tuesday 2013-11-12

John Wiegley on Emacs Lisp and Haskell

Problems of Calling Unix grep in Emacs (old article)

Inconsistency of Emacs Text-Searching Features. Old article. barrkel suggested using “helm-git-grip”. See his comment.

for those of you on Google Plus, i'm planning to do hangouts. (that is, we can get together for video & voice chat, with screen sharing). I think that'd be fun. See: https://plus.google.com/113859563190964307534/posts/PJtoomZ1XBB

Node.js Creator on Software Complexity (There's some relevance to emacs there.)

emacs. After calling magit-status, you can press FF to pull. Emacs: magit-mode Tutorial

try list-character-sets. Thanks to stef.

see also Emacs: Unicode Tutorial

Emacs Unicode Math Symbols Input Mode (xmsi-mode) (new version. Buy it, help support this tutorial) If you already bought it, just email me to get latest version. (xah@xahlee.org)

Ask Emacs Tuesday 2013-11-12

new. Emacs Images Thumbnails Index

seems the emacs lisp manual is missing the variable null-device, see sshaw's comment at System Environment - GNU Emacs Lisp Reference Manual

xah linux desktop 2013-06-02
typical screen of my desktop

the most frequently used app for me are: emacs, firefox, chrome, terminal. Each's window has a visible area on screen. So i just hover to it to activate.

Mouse Hover to Auto-Raise Window

Ask Emacs Tuesday 2013-11-05

Banish Key Chords (oldie but goodie)

railwaycat emacs-mac-port

a emacs port for Mac that i hear good things about. https://github.com/railwaycat/emacs-mac-port

info added to Tutorial: Install Emacs for {Windows, Mac, Linux}

thanks to people on g+

computer language semicolon vs apostrophe frequency
computer language semicolon vs apostrophe frequency

Emacs Lisp: Inline Docstring Markup (oldie. useful)

Tips & Tricks in Setting Up Emacs Init

several articles related to setting up emacs.

think of a emacs question, then try the search box at top of Xah Emacs Tutorial.

Emacs Lisp: Determine OS, Emacs Version, Machine Host Name (updated)

blog comments powered by Disqus