Merge commit 'origin'
authorMark Wooding <mdw@distorted.org.uk>
Mon, 7 Dec 2009 09:45:50 +0000 (09:45 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 7 Dec 2009 09:45:50 +0000 (09:45 +0000)
* commit 'origin':
  el/dot-emacs.el: Make my writing be legible in ERC.
  bin/mdw-{editor,pager}: Recognize other Emacs terminal types.
  el/dot-emacs.el: Restore `gtags' mouse bindings.
  dot/emacs: Some Perforce tweaks.
  el/dot-emacs.el: Various bits of minor face hacking.
  el/dot-emacs.el: Force an update of the screen when setting faces.
  el/dot-emacs.el: Add `strayman' support at the right time.
  dot/emacs: Fix command to start the server.

Conflicts:
dot/emacs
el/dot-emacs.el

Resolved by removing gnuclient altogether.  Now it's Emacsclient only.

1  2 
bin/mdw-editor
dot/emacs
el/dot-emacs.el

diff --cc bin/mdw-editor
@@@ -2,11 -2,13 +2,14 @@@
  
  set -e
  editor=${MDW_EDITOR-ed}
 -emacsclient=t
 +emacsclient=$(
 +  emacsclient --eval '(>= emacs-major-version 23)' 2>/dev/null || :)
  [ -t 0 -a -t 1 ] || TERM=dumb
  case "$EDITOR,$VISUAL,$TERM" in
-   mdw-editor,mdw-editor,dumb) editor=emacsclient emacsclient=nil;;
+   mdw-editor,mdw-editor,dumb | \
+     mdw-editor,mdw-editor,emacs | \
+     mdw-editor,mdw-editor,eterm*)
+     editor=emacsclient emacsclient=nil;;
    mdw-editor,mdw-editor,*);;
    mdw-editor,*,*) editor=$VISUAL;;
    *,*,*) editor=$EDITOR;;
diff --cc dot/emacs
+++ b/dot/emacs
  ;; Emacs server behaviour.
  
  (and (or window-system (>= emacs-major-version 23))
 -     (trap (setq server-temp-file-regexp (concat "^" tmpdir "\\|/draft$"))
 -         (server-start)
 -         (gnuserv-start)))
 +     (progn (setq server-temp-file-regexp (concat "^" tmpdir "\\|/draft$")
 +                gnuserv-frame t)
-           (trap (server-start))
-           (trap (gnuserv-start))))
++          (trap (server-start))))
  
  ;; Control backup behaviour.
  
diff --cc el/dot-emacs.el
Simple merge