Archive for the ‘Emacs’ Category.

QMake Major Mode for Emacs (qt-pro.el)

I finally got around to writing a major mode for Qt .pro and .pri files. It doesn’t provide any indenting features; only font locking.

Just load it up and add the following to your .emacs

(requireqt-pro)
(add-to-list ‘auto-mode-alist ‘(“\\.pr[io]$” . qt-pro-mode))

Get it here qt-pro.el

[Digg] [Reddit] [DZone]

Posting to WordPress with Emacs (weblogger.el)

When you spend most of your day in Emacs, it can be annoying to switch to something else for a text oriented task. With weblogger.el you can post to your blog without ever leaving Emacs.

I have WordPress installed, but it should work for any other blogging software with the same XMLRPC interface.

Continue reading ‘Posting to WordPress with Emacs (weblogger.el)’ »

SLIME Problem with SBCL

When starting up SLIME (M-x slime) I’m getting a hangup error:


;; Swank started at port: 36773.
36773
* 
Process inferior-lisp hangup

From searching, this appears to be a problem with Emacs and my version of the Linux Kernel (2.6.8). The workaround is apparently to set the inferior lisp to “nohup sbcl” which prevents SBCL from receiving the hangup signal. Unfortunately it also redirects STDOUT/STDIN which seems to cause a problem with the SLIME from CVS.

The solution that I’ve found is to start swank (the Lisp portion of SLIME) manually in SBCL.


; Load swank
(load "/path/to/swank-loader.lisp")
 
; Start the swank server
(swank:create-server)

Then in Emacs start SLIME with M-x slime-connect, the defaults of Host: 127.0.0.1 and Port: 4005 should be fine.

SLIME Screenshot

[Digg] [Reddit] [DZone]

Posted from Emacs

Weblogger.el + xml-rpc.el + Emacs = Time Saver

You can get the elisp at savannah

[Digg] [Reddit] [DZone]