Back to Top

emacs

Meet the Emacs Doctor

Dec 20, 2011 - Tags:

In my last article on the subject of artificial intelligence (or AI, if you prefer), I introduced you to Eliza, a computerized psychiatrist. Eliza may be simple, but she is patient and she's happy to let you talk.

Speaking of therapy, and at the risk of opening up old wounds and old battles, specifically the "vi vs emacs" conflict (the answer is vi, or vim), let's consider another form of AI therapy.

The original Eliza program was written using an early version of Lisp. It is not surprising then that one of the most famous examples of Lisp development included with your Linux system, the Emacs editor, should pay homage to the good doctor. When talking about Emacs, it becomes almost difficult to classify it as strictly an editor. The brainchild of Richard M. Stallman (founder of the Free Software Foundation), GNU Emacs is more than just a nice, powerful, if somewhat complex, editor. It's a mail reader, news reader, web browser, program development environment, Lisp interpreter and psychotherapist. No, really! I kid you not.

Try this. Start Emacs by typing emacs. You do not have to specify a filename for this. Now, press Esc-X, then type doctor and press Enter. The doctor is in. More so, the doctor lives! Note my conversation with the Emacs doctor in Figure 1.

Figure 1: The Emacs doctor IS in!

As much fun as the emacs doctor might be, you'll soon discover that it's not much different from our friend, Eliza. The advantage here is that, the doctor is always in, assuming, of course, that you have emacs installed. So next time you find yourself contemplating the meaning of life while you are in the middle of some stubborn Python code, save your work and just call up the doctor. It's free software so you can keep the 5 cents.

Comments

Subscribe to emacs
The Original Cooking with Linux
 
Appearing monthly, 3rd Thursday, on Computer America
Appearing every 3rd Thurday of every month on the Computer America radio show.
  • Yes, I know there are laws, but people who drive at, or below, the speed limit on the highways, are a menace. 1 day 16 hours ago
  • RT : Ryan Clayton and Jason Charter: true American heroes behind the CPAC 'false flag' prank. Take a bow, guys, you did… https://t.co/AyaKBFRhXn 1 day 21 hours ago
  • Or seeing if they weigh as much as a duck. 2 days 14 hours ago
  • RT : If you’re a news outlet allowed into a Trump White House gaggle, you need to ask yourself: what am I doing wrong? 2 days 14 hours ago
  • RT : December 2016, Sean Spicer on press access says "that's what makes a democracy a democracy vs. a dictatorship." https://t.co/0t8HplboaM 2 days 14 hours ago