Category Archives: code

Faster mercurial patch queue merging with emacs

As a follow-up to my previous post about merging mq reject in emacs, I thought I’d share some improvements to the process that I’ve made since then. (defun switch-hg-reject () (interactive) (let ((other-file (if (string= (substring (buffer-file-name) -4 nil) “.rej”) … Continue reading

Posted in code, emacs, mozilla | 7 Comments

Cross-compiling with MinGW on Fedora

My goodness, I’m impressed. Having released the first iteration of my robotic debugger, I was informed that the fork()/exec() combo isn’t portable to Windows. Nobody volunteered any patches immediately, so I decided to read up on cross-compiling since I really … Continue reading

Posted in code, fedora, megazeux, projects | 7 Comments

Dealing with mercurial patch queue rejects in emacs

Since Mozilla has embraced mercurial, and especially patch queues, with open arms, I get to deal with rebasing patches frequently. There are two ways this can happen – either you set up an external merge tool like meld to handle … Continue reading

Posted in code, emacs, mozilla | 6 Comments

Building Rosegarden trunk

I’m working my way through building Rosegarden from SVN on Fedora 12, and thought I would jot down my settings for posterity. My default QTDIR was incorrect for Qt4 (/usr/lib/qt-3.3), which made configure fail. Following a patch in a gentoo … Continue reading

Posted in code | 1 Comment