Jorgen Schaefer (aka. JorgenSchäfer) is some happy emacs user with a homepage at (formerly or ). His nick on #emacs is forcer.

Welcome, forcer. – AlexSchroeder
Absolutely. (-: – AndreasFuchs
hiya forcer! – ShaeErisson
Thanks all :) – JorgenSchaefer

Emacs Wishlist

Some things I have missed in Emacs, and don’t see a way to implement it easily.


These are some configuration files I use. It’s not all of my configuration – some of the Gnus stuff is missing – but it’s most of it.

JorgenSchaefersUpdateEmacswikiConfigfiles is the shell script I use to update these config files here. You will also need my wikiput utility for this.

Emacs Projects

Orphaned Projects

I don’t use these things anymore, or they have found better maintainers.

I used to help with the EmacsIRCClient, but I switched to Circe.

VcDarcs was originally written by me, but has found a better maintainer since then.


What emacsen do you use? I use Emacs 21.4. I cannot find ‘with-selected-window’ macro. (defalias 'with-selected-window 'save-selected-window) Is this workaround wrong?

Oh, this is GNU Emacs (2006-06-03). A workaround might be

(defmacro with-selected-window (win &rest body)
  `(let ((win ,win))
       (select-window win t)
       (with-current-buffer (window-buffer win)

The definition from subr.el:

(defmacro with-selected-window (window &rest body)
  "Execute the forms in BODY with WINDOW as the selected window.
The value returned is the value of the last form in BODY.

This macro saves and restores the current buffer, since otherwise
its normal operation could potentially make a different
buffer current.  It does not alter the buffer list ordering.

This macro saves and restores the selected window, as well as
the selected window in each frame.  If the previously selected
window of some frame is no longer live at the end of BODY, that
frame's selected window is left alone.  If the selected window is
no longer live, then whatever window is selected at the end of
BODY remains selected.
See also `with-temp-buffer'."
  (declare (indent 1) (debug t))
  ;; Most of this code is a copy of save-selected-window.
  `(let ((save-selected-window-window (selected-window))
	 ;; It is necessary to save all of these, because calling
	 ;; select-window changes frame-selected-window for whatever
	 ;; frame that window is in.
	  (mapcar (lambda (frame) (list frame (frame-selected-window frame)))
	   (progn (select-window ,window 'norecord)
	 (dolist (elt save-selected-window-alist)
	   (and (frame-live-p (car elt))
		(window-live-p (cadr elt))
		(set-frame-selected-window (car elt) (cadr elt))))
	 (if (window-live-p save-selected-window-window)
	     (select-window save-selected-window-window 'norecord))))))

Could you explain how did you produce the screenshot with the dvorak layout on top of your background image ? And then, could you explain how to setup screen with Emacs C-a is taken by Emacs and I don’t know what key to use instead of this one.

Thank you

The screenshot is simple. I added the dvorak layout using Gimp to my usual background image. The reason it can be seen is that I run Emacs in console mode - i.e. emacs -nw - and my terminal (urxvt) supports transparent backgrounds. As for C-a, to the horror of some people on the EmacsChannel, I actually use C-a for both screen and ratpoison, resulting in me having to type C-a a a to get to the beginning of the line - or just the Home key. But for those who are not as crazy, you can tell screen to use for example C-z as the escape key using screen -e ^Zz. (I just couldn’t find a better key than C-a for this…)

As for the Screen escape key: I’ve used C-q and liked it. I’ve change recently to ` (escape `~) and I’m liking it better so far. --EmilioLopes

As recommended in a .screenrc sample i use C-p. – AnalphaBestie

Thanks for the suggestion! I tried C-q for a bit, but for some reason it stressed my fingers more than C-a. C-o works nicely, but I used that for something else already (lengthy explanation). What keyboard layout do you use? --JorgenSchaefer

I also use the Dvorak layout but with some changes, e.g. unshifted parentheses. I also implemented some of the tweaks from Nice tips there… --EmilioLopes

I’m using your mudel mode for my MUSH endeavours, and find it quite nice save for a thing: highlighting. I’d like to be able to add a list of words to highlight in either one or several colours, so that (for example) when a certain user speaks (or when someone whispers/pages) the line or the username stands out. I don’t know how to really implement this, though… Is it supported already in mudel?