Subject: 23.0.60; Add xmodmap-mode

From: Daniel Clemente <[email-masked]>
Date: Mon, 26 Jan 2009 13:50:07 +0100

Very simple code which makes editing ~/.Xmodmap (key definition for X) much more comfortable. Therefore it could be included in Emacs.

     (define-generic-mode 'xmodmap-mode
       '(?!)
       '("add" "clear" "keycode" "keysym" "remove" "pointer")
       nil
       '("[xX]modmap\\(rc\\)?\\'")
       nil
       "Simple mode for xmodmap files.")

  It handles ~/.Xmodmap, /etc/X11/Xmodmap and other not so common variants like .xmodmaprc
  The code is also at http://www.emacswiki.org/emacs/XModMapMode

  Thanks.