Tag Archives: Emacs

Drawing Key Sequences In Emacs (Updated)

This is a sad story of my HTML ineptitude but one in which I eventually find the right solution. I’ve written several times (here, here, and here) about how I implemented Xah Lee’s trick of representing key sequences in a … Continue reading

Posted in General | Tagged , | 1 Comment

Specifying Any Modifier Key In Emacs

A couple of weeks ago, I wrote about a Xah Lee post that, among other things, mentioned how to set the hyper and super keys for use with Emacs. Lee uses them a lot because he has a bunch of … Continue reading

Posted in General | Tagged | Leave a comment

emacs follow-mode

Xah Lee has a nice post on follow-mode. He describes how to take a wide frame, break it up into two or more horizontal windows, and then have the windows act as one large window into the buffer. That is, … Continue reading

Posted in General | Tagged | 1 Comment

Emacs Markers

In a comment to my Emacs comment-box Revisited post, Aaron showed me a nice way to deal with the boundaries of expanding regions. Recall that in that post I wanted to pad the first line of a comment out to … Continue reading

Posted in Programming | Tagged | Leave a comment

Emacs Align Functions

Tim Visher has a new VimGolf in Emacs up. This time it’s a simple alignment problem using align-regexp, a function that we’ve talked about before. In this case he just used the simple align-regexp case and was done in about … Continue reading

Posted in General | Tagged | 1 Comment

Emacs comment-box Revisited

Last week I wrote about Comment Boxes In Emacs and gave some examples of how the comment-box command provides an easy way to draw a box around a comment. The only problem is that I want the boxes to extend … Continue reading

Posted in Programming | Tagged | 2 Comments

Xah Lee On Inserting Brackets In Emacs

Xah Lee has an interesting post on inserting bracket pairs in Emacs. This is exactly the same thing that I did using Key Chord Mode as I described in this post. The difference is that Lee uses Elisp code directly … Continue reading

Posted in General | Tagged | Leave a comment

Another Emacs Cheat Sheet

Artur Hefczyc has an nice table of the Emacs keybindings. They are listed alphabetically by command name, not by action, so you need to know a good approximation to the name of the command you’re trying to run. It’s a … Continue reading

Posted in General | Tagged | 1 Comment

Text Replacement In Several Files With Emacs

Just a quickie. I was browsing around in Aaron Hawley’s Giant Emacs Reference Sheet when I came across this little ditty: C-x d *.c RET Q int RET long It was described as “replace ‘long’ for ‘int’ in .c files.” … Continue reading

Posted in General | Tagged | 5 Comments

Comment Boxes In Emacs

Here’s a neat little hack that can save a bit of time. Emacs has the comment-box command that will put a mode-specific comment box around a region. For example, suppose you have the Elisp A function to do something very … Continue reading

Posted in Programming | Tagged | 3 Comments