Skip to navigation

Archive for the 'Emacs' Category

Umlaut in R plot on Mac using ESS in Emacs (Aquamacs)

Monday, September 10th, 2012

To get the umlaut in your Emacs buffer, type C-x 8 ” then the appropriate letter. For example, to get “ü”, type: C-x 8 ” u In a plot label, this then did not show up correctly, but instead displayed as a a dot. The problem was that R was thinking it was working in […]

Emacs 22 does not highlight region

Thursday, September 8th, 2011

Well, I doubt many people have this problem. For some reason, on a server I use the installed Emacs version is Emacs 22, not the current Emacs 23, and I ran into the problem that I was expecting transient-mark-mode when it was in persistent-mark-mode, as I figured out here. However, it’s the kind of solution you don’t […]

How to get Emacs key bindings in Ubuntu

Tuesday, February 16th, 2010

To get the Emacs key bindings (especially, Ctrl-a to go to beginning of line, Ctrl-e to end of line) systemwide, e.g. in Firefox, you use: gconf-editor and change the setting desktop → gnome → interface → gtk_key_theme from “Default” to “Emacs”.

Emacs with ESS and AucTeX on Windows

Monday, September 14th, 2009

I will have to use MS Windows for my new job, at least some of the time. I’ll put related posts in a new “MS Windows” category. If you use R, you most likely want ESS (Emacs Speaks Statistics) for your GNU Emacs. If you use LaTeX, you will also want AucTeX. I highly recommend […]

Emacs regular expressions: match at least n occurrences of character class

Tuesday, June 16th, 2009

Aside: I just discovered the very useful Emacs regex builder tool. Type M-x regexp-builder. I wanted a regular expression to match the pattern of mutt mail edit buffers, to apply mail-mode, but I did not want to match the muttrc and mutt.hooks files I have. Mail edit buffers get a pattern that starts with “mutt”, […]