Author Archives: jcs

A Screencast on Emacs Dired Basics

If you’re new to Dired and like to learn visually (as compared to, say, reading about a subject), Kenny Meyer has an interesting screencast on Dired basics that you may enjoy. He covers Copying files Deleting files Renaming files Creating … Continue reading

Posted in General | Tagged , | Leave a comment

Delete Backwards To BOL in Emacs

This is another short Emacs tip that’s really a note to myself. The other day, I found myself in the middle of a line and needed to delete everything back to the beginning-of-line. I was sure there was some way … Continue reading

Posted in General | Tagged | 6 Comments

Eval And Replace In Emacs

I was watching another of Tim Visher’s VimGolf videos in which he builds a multiplication table by the clever use of keyboard macros. What got my attention, however, was his use of the function eval-and-replace that evaluates the sexp preceding … Continue reading

Posted in Programming | Tagged , | 10 Comments

Transposing In Emacs

Most Emacs users know about using 【Ctrl+t】 to transpose two letters and 【Meta+t】 to transpose two words but there are two other useful transposition commands. You can use the sequence 【Ctrl+x Ctrl+t】 to transpose two lines. As with the other … Continue reading

Posted in General | Tagged | 2 Comments

Emacs Poll On Deleting And The Active Region

Virtually all GUI environments will delete a highlighted region when the 【Backspace】/【Delete】 key is pressed or when a character is inserted into the region. Emacs does not currently do that except in a few minor modes such as CUA mode. … Continue reading

Posted in General | Tagged | 1 Comment

R7RS WG1 Update

Via Grant Rettke over at Wisdom and Wonder I found these slides from a talk at LispNYC by John Cowan on September 13. As readers from my old blog will recall, R7RS will be split into a “small Scheme” and … Continue reading

Posted in Programming | Tagged | Leave a comment

VimGolf In Emacs

I recently saw a reference to Tim Visher’s VimGolf in Emacs videos on one of my feeds. It looked interesting so I hopped over to take a look. VimGolf is a site that poses editing challenges that are supposed to … Continue reading

Posted in General | Tagged | 4 Comments

Using Emacs To Convert Notes For Deft

Yesterday I wrote about Vivek Haldar’s Deft patch that allowed him to integrate his previous notes into Deft. Recall that Deft uses the first line of a note as its subject and names the file for a note deft-XXX whereas … Continue reading

Posted in Programming | Tagged | Leave a comment

Deft Filenames

I’ve written a couple of times about Deft, which I described as a lightweight alternative to Org Mode. I’m still not using it for the reasons that I gave in those posts but lots of people are. One of those … Continue reading

Posted in General | Tagged | Leave a comment

Inserting Quotation Marks In Emacs Revisited

The other day, I wrote about Inserting Quotation Marks In Emacs Org Mode and I wrote a little bit of elisp to insert \ldquo{}\rdquo in the buffer and then place the point between the two quote commands. I remarked at … Continue reading

Posted in Programming | Tagged , | 4 Comments