Merge branch 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile
authorMark Wooding <mdw@distorted.org.uk>
Wed, 30 Jan 2008 22:27:48 +0000 (22:27 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 30 Jan 2008 22:27:48 +0000 (22:27 +0000)
* 'master' of git+ssh://ponder.ncipher.com/~mwooding/etc/profile:
  emacs: Support more Git and StGIT packages which look cool.
  mdw-editor: Use gnuclient if stdin or stdout is noninteractive.
  Install configuration for `mg' editor.

1  2 
emacs

diff --combined emacs
--- 1/emacs
--- 2/emacs
+++ b/emacs
@@@ -39,6 -39,8 +39,8 @@@
  (maybe-autoload 'cvs-update "pcl-cvs" nil t)
  (maybe-autoload 'debian-changelog-mode "debian-changelog-mode" nil t)
  (maybe-autoload 'git-status "git" nil t)
+ (maybe-autoload 'git-blame-mode "git-blame" nil t)
+ (maybe-autoload 'stgit "stgit" nil t)
  (and (library-exists-p "vc-git")
       (not (memq 'GIT vc-handled-backends))
       (setq vc-handled-backends (cons 'GIT vc-handled-backends)))
  
  (add-hook 'text-mode-hook 'mdw-text-mode t)
  
 +;;;----- TeX stuff ----------------------------------------------------------
 +
 +(setq TeX-output-view-style
 +      '(("^dvi$"
 +       ("^landscape$" "^pstricks$\\|^pst-\\|^psfrag$")
 +       "%(o?)dvips -t landscape %d -o && evince %f")
 +      ("^dvi$" "^pstricks$\\|^pst-\\|^psfrag$"
 +       "%(o?)dvips %d -o && evince %f")
 +      ("^dvi$"
 +       ("^a4\\(?:dutch\\|paper\\|wide\\)\\|sem-a4$" "^landscape$")
 +       "%(o?)xdvi %dS -paper a4r -s 0 %d")
 +      ("^dvi$" "^a4\\(?:dutch\\|paper\\|wide\\)\\|sem-a4$"
 +       "%(o?)xdvi %dS -paper a4 %d")
 +      ("^dvi$"
 +       ("^a5\\(?:comb\\|paper\\)$" "^landscape$")
 +       "%(o?)xdvi %dS -paper a5r -s 0 %d")
 +      ("^dvi$" "^a5\\(?:comb\\|paper\\)$" "%(o?)xdvi %dS -paper a5 %d")
 +      ("^dvi$" "^b5paper$" "%(o?)xdvi %dS -paper b5 %d")
 +      ("^dvi$" "^letterpaper$" "%(o?)xdvi %dS -paper us %d")
 +      ("^dvi$" "^legalpaper$" "%(o?)xdvi %dS -paper legal %d")
 +      ("^dvi$" "^executivepaper$" "%(o?)xdvi %dS -paper 7.25x10.5in %d")
 +      ("^dvi$" "." "%(o?)xdvi %dS %d")
 +      ("^pdf$" "." "evince %o")
 +      ("^html?$" "." "netscape %o")))
 +
  ;;;----- Shell mode ---------------------------------------------------------
  
  ;; --- Make the shell mode aware of my prompt ---