Posts with keyword: emacs


Capture Mode and Emacs

One of the "new" things in Emacs is something called Org mode. If you're an Emacs user and need an outliner, a calendar, a TODO list, or just a place to capture your thoughts, it's great. I've been using Org mode for a while and love it's features. A while back, I started using it with Remember mode to capture thoughts about a book I'm writing, notes in meetings, and a personal journal. I learned over the weekend about something called Org-capture, a Remember mode replacement and took a few minutes to get it set up. Since there were
Continue reading...


Phantom Editor Commands

The other day Dave had a document up on the projector and was editing a document that we were all commenting on. He typed something new and had a bunch of text between the cursor and the end of the line that he needed to get rid of. My mind started to scream "Control K, control K, control K" over and over. My fingers would have even moved like they were on a keyboard had I not exercised much self control. Now, admittedly I'm a bit of a control freak, but I think this is pretty
Continue reading...


Emacs and Butterflies

This xkcd cartoon on what real programmers use to edit is the funniest thing I've seen in a long time. Of course, I use emacs--always have and always will.
Continue reading...


Building Emacs

I was building Emacs on a virtual machine today and realized that I've been building Emacs on various machines for nigh on twenty years. The first machine I built Emacs for was an IBM RT running AIX 2.1. That was a tough build--no one had done it before that I could find. This was before the standardized configure scripts that figured everything out for you. I learned a lot. Things have gotten considerably easier. I find that building Emacs is easier than trying to find the right thing pre-built and isn't that hard. Here's what you do. Use the
Continue reading...


Building Living Software

Steve Yegge rants, in reference to software design, that crap is still crap, no matter how many rubies you swallowed. If software design interests you, then you'll enjoy this--even if you don't agree. As I was reading this, I was reminded several times about Scott Rosenberg's article on Charles Simonyi, Anything You Can Do, I Can Do Meta. Simonyi, who was the force behind Office at Microsoft and arguably the richest programmer in the world, is hot on the heels of a programming methodology he calls "intentional programming" and has a company to develop it Intentional Software. The basic
Continue reading...


Building Emacs for OS X

I rebuilt Emacs today. I've been relying on a binary I transfered from my old machine. Rosetta is so good, you'd never know it. Boy is EMacs faster when it's built for the Intel chip. I used these instructions and they worked great. No issues at all.
Continue reading...


Emacs and Ruby

Jao at Programming Musings linked my my post on tools with a nice article on using powerful editors. Jao's post included a link to a screencast on using emacs and ruby by Marshall Vandegrift. I've been using emacs for 20 years, but I learned a lot of useful little tricks. Vandegrift has a post giving links to the various packages he uses in the screencast. Here's the ones I found interesting. One of the things I've always liked about TextMate is its signature directory listing on the left hand side and the ease with which that allows you to
Continue reading...


My HTML Mode for Emacs

Some people have asked what HTML mode I finally settled on. I'm using a customized version of Daniel Pfeiffer's adaptation of James Clark's sgml-mode. Yeah, there's lots of SGML stuff that I don't use, but it has a set of HTML keybindings and is easy to add things to. For example, here's my code for inserting an image from Amazon: (define-skeleton amazon-image "HTML image tag for an Amazon book" "ASIN: " '(setq input "") "<a href=\\"http://www.amazon.com/exec/obidos/ASIN/" str "/windleyofente-20\\"> <img src=\\"http://images.amazon.com/images/P/" str ".01.MZZZZZZZ.jpg\\" border=\\"0\\" align=\\"right\\" hspace=\\"5\\" vspace=\\"5\\" /></a>" ) You can do much more complicated things. For example, I like
Continue reading...


When You Pick Your Tools, Pick Those That Can Build Tools

This morning I was listening to Karl Fugel talk about tools developers need and thought about Doug Kaye. Here's why... Yesterday Doug sent out a note to a few friends asking what editor they used to writing code on OS X. I use emacs. not only do I use emacs, but I thrill to emacs for one simple reason: it's infinitely malleable. It can be made to do almost anything and has. I use it for just about everything I do. Programmers should be tool builders. If you're not building tools to make your life easier, you're wasting time.
Continue reading...


OS X Keyboard Preferences Get Lost

OS X keyboard preferences(click to enlarge) Why won't my Mac reliably retain modifier key changes in preferences? As shown in the screenshot, I regularly make my CapsLock key into a control key. As an emacs user, that's much better for me. I was very glad when Apple added this as part of the OS. But about one out of three times OS X loses my preference at reboot. This doesn't happen with other preferences, so why this one?
Continue reading...