M-x all-things-emacs

Entries Tagged as 'tips'

Keyboard Macros in the Wild #1

January 26th, 2007 by Rob Christie · 105 Comments

This is the first in a series of real world uses of emacs keyboard macros. Emacs macros are normally mentioned as a powerful feature of emacs, but many times I find the examples that are given are more academic in nature and don’t drive home their usefulness. These posts will show examples of macros “in […]

[

Tags:java · kb-macros · tips

Find Lost Neurons

January 23rd, 2007 by Ryan McGeary · 90 Comments

After years of emacs usage, sometimes I feel like my fingers get ahead of me. The esoteric set of key combinations are an extension of my subconscious. Maybe my cerebellum short circuits the impulses from my frontal lobe, but when I’m asked how I perform a particular task in emacs, often I cannot answer without […]

[


Indent Whole Buffer

January 17th, 2007 by Rob Christie · 216 Comments

I use this function almost daily. Why? Well, it’s because too many developers use editors that muck the alignment of the source. 1 2 3 4 5 6 (defun iwb () "indent whole buffer" (interactive) (delete-trailing-whitespace) (indent-region (point-min) (point-max) nil) (untabify (point-min) (point-max))) Open a file, M-x iwb, save, commit, and edit happily. I can’t […]

[

Tags:elisp · tips

Emacs on Windows

January 17th, 2007 by Ryan McGeary · 51 Comments

I was going to provide a follow-up to my Emacs on Mac OS X post, but for Windows hackers. It turns out that Derek Slager beat me to it and did a great job. Check out his description of how to Install Emacs on Windows. In addition, he does a fine job of explaining how […]

[

Tags:tips · windows

Emacs on Mac OS X

January 13th, 2007 by Ryan McGeary · 86 Comments

Like many, I am a recent Mac OS X convert. I left Windows about 9 months ago and haven’t looked back. Upon switching, I found several different emacs distributions. While each has its own strengths and weaknesses, only Carbon Emacs made the cut. Here’s why:

[

Tags:osx · tips