chiark / gitweb /
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile
authorMark Wooding <mdw@distorted.org.uk>
Fri, 17 Jun 2016 10:23:00 +0000 (11:23 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 17 Jun 2016 10:23:00 +0000 (11:23 +0100)
* 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile:
  el/dot-emacs.el: Better fontification for Ediff.
  dot/emacs: Set new variable for Python indent level.
  setup: Just symlink all of the backgrounds.
  bg/twins.jpg: The Twins: Kate and Grace Hoare, by John Everett Millais.
  dot/gnus-local.el.distorted: Changes to support later Gnus versions.

bg/twins.jpg [new file with mode: 0644]
dot/emacs
dot/gnus-local.el.distorted
el/dot-emacs.el
setup

diff --git a/bg/twins.jpg b/bg/twins.jpg
new file mode 100644 (file)
index 0000000..0d5bbb5
Binary files /dev/null and b/bg/twins.jpg differ
index 648c562b2f233baa771a37af9fa00aab5f3c209f..5c567fac788f0347ebe323c0af27de82db069d3c 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 (progn
   (setq-default py-indent-offset 2
                python-indent 2
+               python-indent-offset 2
                py-python-command-args
                `("-i" "-colors" ,(if mdw-black-background
                                      "Linux" "LightBG")))
index 466296ce85aa7d16249d13d6449a7f4e9da681bb..82cc344f5eb14cfe0cb7062cd0d46e2dcd8ef4ee 100644 (file)
@@ -5,6 +5,8 @@
 ;;; (c) 2014 Mark Wooding
 ;;;
 
+(setq auth-sources '("~/.gnus.authinfo"))
+
 ;;;--------------------------------------------------------------------------
 ;;; How to send mail.
 
       '((nnimap "distorted"
                (nnimap-address "mail.distorted.org.uk")
                (nnimap-stream tls)
-               (nnimap-authinfo-file "~/.gnus.authinfo"))
+               (nnimap-authinfo-file "~/.gnus.authinfo")
+               (nnimap-inbox "INBOX")
+               (nnimap-unsplittable-articles (%Deleted)))
        (nnimap "markw-distorted"
                (nnimap-address "mail.distorted.org.uk")
                (nnimap-stream tls)
-               (nnimap-authinfo-file "~/.gnus.authinfo.markw"))
+               (nnimap-authinfo-file "~/.gnus.authinfo.markw")
+               (nnimap-inbox "INBOX")
+               (nnimap-unsplittable-articles (%Deleted)))
        (nnimap "mwooding-chiark"
                (nnimap-address "imap.dovecot.chiark.greenend.org.uk")
                (nnimap-stream tls)
-               (nnimap-authinfo-file "~/.gnus.authinfo"))
+               (nnimap-authinfo-file "~/.gnus.authinfo")
+               (nnimap-inbox "INBOX")
+               (nnimap-unsplittable-articles (%Deleted)))
        (nnimap "google"
                (nnimap-address "imap.gmail.com")
                (nnimap-stream tls)
-               (nnimap-authinfo-file "~/.gnus.authinfo"))))
+               (nnimap-authinfo-file "~/.gnus.authinfo")
+               (nnimap-inbox "INBOX")
+               (nnimap-unsplittable-articles (%Deleted)))))
 
 ;; Send sent mail back to me.
 (setq gnus-message-archive-method "mail"
index 3b4ec21584320661c1deced1c4db2ba947bab69a..d83057a9880827fc61a9145e485494bd6e89e718 100644 (file)
@@ -1374,6 +1374,52 @@ (mdw-define-face diff-refine-added
   (((class color) (type x)) :background "#050")
   (t :underline t))
 
+(setq ediff-force-faces t)
+(mdw-define-face ediff-current-diff-A
+  (((class color) (type x)) :background "darkred")
+  (((class color) (type tty)) :background "red")
+  (t :inverse-video t))
+(mdw-define-face ediff-fine-diff-A
+  (((class color) (type x)) :background "red3")
+  (((class color) (type tty)) :inverse-video t)
+  (t :inverse-video nil))
+(mdw-define-face ediff-even-diff-A
+  (((class color) (type x)) :background "#300"))
+(mdw-define-face ediff-odd-diff-A
+  (((class color) (type x)) :background "#300"))
+(mdw-define-face ediff-current-diff-B
+  (((class color) (type x)) :background "darkgreen")
+  (((class color) (type tty)) :background "magenta")
+  (t :inverse-video t))
+(mdw-define-face ediff-fine-diff-B
+  (((class color) (type x)) :background "green4")
+  (((class color) (type tty)) :inverse-video t)
+  (t :inverse-video nil))
+(mdw-define-face ediff-even-diff-B
+  (((class color) (type x)) :background "#020"))
+(mdw-define-face ediff-odd-diff-B
+  (((class color) (type x)) :background "#020"))
+(mdw-define-face ediff-current-diff-C
+  (((class color) (type x)) :background "darkblue")
+  (((class color) (type tty)) :background "blue")
+  (t :inverse-video t))
+(mdw-define-face ediff-fine-diff-C
+  (((class color) (type x)) :background "blue1")
+  (((class color) (type tty)) :inverse-video t)
+  (t :inverse-video nil))
+(mdw-define-face ediff-even-diff-C
+  (((class color) (type x)) :background "#004"))
+(mdw-define-face ediff-odd-diff-C
+  (((class color) (type x)) :background "#004"))
+(mdw-define-face ediff-current-diff-Ancestor
+  (((class color) (type x)) :background "#630")
+  (((class color) (type tty)) :background "blue")
+  (t :inverse-video t))
+(mdw-define-face ediff-even-diff-Ancestor
+  (((class color) (type x)) :background "#320"))
+(mdw-define-face ediff-odd-diff-Ancestor
+  (((class color) (type x)) :background "#320"))
+
 (mdw-define-face dylan-header-background
   (((class color) (type x)) :background "NavyBlue")
   (t :background "blue"))
diff --git a/setup b/setup
index 057a1bab2691ffbddfbb4e37dd8416816ac1319e..37dc474039f3e37a118e68562434461a8f83faf5 100755 (executable)
--- a/setup
+++ b/setup
@@ -229,17 +229,7 @@ done
 echo "  all done."
 
 ## Symlink backgrounds.
-backgrounds="
-  bsg-supper.jpg
-  harley-quinn.jpg
-  hypatia.jpg
-  jue-peek.jpg
-  lilith.jpg
-  lovelace.jpg
-  medusa.jpg
-  noodly.jpg
-  rayne.jpg
-"
+backgrounds=$(cd bg && echo *)
 if [ "$xstuff" ]; then
   echo "Installing backgrounds..."
   for b in $backgrounds; do