chiark / gitweb /
Merge branch 'master' of vampire:etc/profile
authorMark Wooding <mdw@distorted.org.uk>
Wed, 27 Apr 2011 00:51:32 +0000 (01:51 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 27 Apr 2011 00:51:32 +0000 (01:51 +0100)
* 'master' of vampire:etc/profile:
  dot/ditz-config: Configuration for `ditz' bug tracker.
  el/dot-emacs.el: Load ERC configuration in advance.
  hacks/ssh: Add new hack for setting up background SSH master connections.
  bin/svnwrap: Fix unjustifiably stupid error.
  dot/ercrc.el: Common configuration for ERC.

1  2 
el/dot-emacs.el
setup

diff --combined el/dot-emacs.el
index 8dc526771f4a0341600ad14606a580a753339ce2,8b6618ddb9ace5012b8ba71a03035b6295e69870..d2eba215baa3bbdb83aa23f1718e11e3db1d1cd9
@@@ -358,6 -358,9 +358,9 @@@ so that it can be used for convenient f
          (setenv "REAL_MOVEMAIL" try))
        (setq path (cdr path)))))
  
+ (eval-after-load "erc"
+     '(load "~/.ercrc.el"))
  ;;;--------------------------------------------------------------------------
  ;;; Utility functions.
  
@@@ -1026,14 -1029,13 +1029,14 @@@ doesn't match any of the regular expres
                  (arglist-cont-nonempty . mdw-c-lineup-arglist)
                  (topmost-intro . mdw-c-indent-extern-mumble)
                  (cpp-define-intro . 0)
 +                (knr-argdecl . 0)
                  (inextern-lang . [0])
                  (label . 0)
                  (case-label . +)
                  (access-label . -)
                  (inclass . +)
                  (inline-open . ++)
 -                (statement-cont . 0)
 +                (statement-cont . +)
                  (statement-case-intro . +)))
               t))
  
@@@ -2140,8 -2142,8 +2143,8 @@@ strip numbers instead.
                   (home (expand-file-name "~")) (nhome (length home)))
              (if (and (>= npwd nhome)
                       (or (= nhome npwd)
 -                         (= (elt pwd nhome) ?/)
 -                     (string= (substring pwd 0 nhome) home)))
 +                         (= (elt pwd nhome) ?/))
 +                     (string= (substring pwd 0 nhome) home))
                  (concat "~" (substring pwd (length home)))
                pwd))
            right)))
diff --combined setup
index 5242bd81a6cb93028d9421517e063f4b434e928c,6ea29870d0a746241770858a1f8ee803c32d76b3..508180726f20ffaafbecdf30d44f449e2f74c4b9
--- 1/setup
--- 2/setup
+++ b/setup
  ## Symlink the various dotfiles into place
  dotfiles="
    bash_profile bash_logout bashrc inputrc bash_completion
-   emacs emacs-calc vm gnus.el
+   emacs emacs-calc vm gnus.el ercrc.el
    vimrc mg zile
+   ditz-config
    mailrc signature
    cgrc tigrc
    gdbinit
    guile
 +  rcrc
    toprc
    aspell.conf
    lisp-init.lisp:.cmucl-init.lisp
@@@ -249,6 -249,19 +250,19 @@@ for s in $scripts; d
  done
  echo "        all done."
  
+ hacks="
+   ssh:ssh"
+ echo "Installing hacks..."
+ for h in $hacks; do
+   d=${h%%:*} h=${h#*:}
+   ft=$HOME$sub/bin/hacks/$d
+   mkdir -p $ft
+   ln -s $here/hacks/$h $ft/$h.new
+   mv $ft/$h.new $ft/$h
+   echo "  $d:$h"
+ done
+ echo "        all done."
  ###--------------------------------------------------------------------------
  ### Set up the Emacs config.