summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-07-02 16:04:11 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-07-02 16:04:11 -0400
commitf8d7528a5a6ee83536ad397bbad8c46f5984d61f (patch)
tree2af66ef2f73442300066ec3b3a708740857afa8c
parent8d5dd1b09ca02e869c89ac87f89bc790bc7c29ee (diff)
parentd383205ac60fdcf39bf2b0f813d63f91cf6e9dd5 (diff)
Merge branch 'master' of gitorious.org:lukeshu-dotfiles/lukeshu-dotfiles
Conflicts: .emacs
-rw-r--r--.Xsession1
-rw-r--r--.bash_aliases2
-rw-r--r--.bash_logout2
-rw-r--r--.bashrc3
-rw-r--r--.compizsnap/left.sh23
-rw-r--r--.compizsnap/max.sh19
-rw-r--r--.compizsnap/mouse.sh10
-rw-r--r--.compizsnap/right.sh23
-rw-r--r--.conkerorrc6
-rw-r--r--.crontab3
-rw-r--r--.emacs111
-rw-r--r--.emacs.d/custom.el6
-rw-r--r--.git.info.exclude29
-rw-r--r--.maildirproc/default.rc290
-rw-r--r--.muttrc12
-rw-r--r--.nanorc.in (renamed from .nanorc)79
-rw-r--r--.offlineimaprc17
-rw-r--r--.profile11
-rw-r--r--.themes/Solarized-light/index.theme12
-rw-r--r--.themes/solarized-dark/index.theme13
-rw-r--r--.wl55
-rwxr-xr-x.wmii/wmiirc_local7
-rw-r--r--.wmii/wmiirc_solarized16
-rw-r--r--.wmii/wmiirc_solarized_dark8
-rw-r--r--.xinitrc18
-rw-r--r--.xsession10
-rw-r--r--Makefile28
l---------bin/editor1
-rwxr-xr-xbin/v-editor7
-rwxr-xr-xbin/v-www-browser7
-rw-r--r--share/nano/asm.nanorc17
-rw-r--r--share/nano/awk.nanorc38
-rw-r--r--share/nano/c.nanorc30
-rw-r--r--share/nano/cmake.nanorc19
-rw-r--r--share/nano/css.nanorc9
-rw-r--r--share/nano/debian.nanorc20
-rw-r--r--share/nano/fortran.nanorc41
-rw-r--r--share/nano/gentoo.nanorc55
-rw-r--r--share/nano/groff.nanorc24
-rw-r--r--share/nano/html.nanorc5
-rw-r--r--share/nano/java.nanorc12
-rw-r--r--share/nano/makefile.nanorc8
-rw-r--r--share/nano/man.nanorc9
-rw-r--r--share/nano/mgp.nanorc8
-rw-r--r--share/nano/mutt.nanorc4
-rw-r--r--share/nano/nanorc.nanorc16
-rw-r--r--share/nano/objc.nanorc41
-rw-r--r--share/nano/ocaml.nanorc27
-rw-r--r--share/nano/patch.nanorc10
-rw-r--r--share/nano/perl.nanorc12
-rw-r--r--share/nano/php.nanorc30
-rw-r--r--share/nano/pov.nanorc15
-rw-r--r--share/nano/python.nanorc10
-rw-r--r--share/nano/ruby.nanorc31
-rw-r--r--share/nano/sh.nanorc14
-rw-r--r--share/nano/tcl.nanorc16
-rw-r--r--share/nano/tex.nanorc6
-rw-r--r--share/nano/xml.nanorc9
58 files changed, 597 insertions, 768 deletions
diff --git a/.Xsession b/.Xsession
deleted file mode 100644
index b35cc23..0000000
--- a/.Xsession
+++ /dev/null
@@ -1 +0,0 @@
-. .profile
diff --git a/.bash_aliases b/.bash_aliases
index f6138c0..7ad559b 100644
--- a/.bash_aliases
+++ b/.bash_aliases
@@ -5,7 +5,7 @@
######################################################################
# Set up colors and settings for ls/dir/vdir #
######################################################################
-if [ -x /usr/bin/dircolors ]; then
+if [ -x "`which dircolors`" ]; then
eval "`dircolors -b`"
alias ls='ls -1v --color=auto'
alias dir='dir -v --color=auto'
diff --git a/.bash_logout b/.bash_logout
index de4f5f7..5ca7df0 100644
--- a/.bash_logout
+++ b/.bash_logout
@@ -5,3 +5,5 @@
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi
+
+alsactl --file $HOME/.alsa.save store
diff --git a/.bashrc b/.bashrc
index 9609bc2..925ab3b 100644
--- a/.bashrc
+++ b/.bashrc
@@ -37,6 +37,7 @@ esac
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
+ linux) color_prompt=yes;;
*-color*) color_prompt=yes;;
*-256color*) color_prompt=yes;;
esac
@@ -95,3 +96,5 @@ fi
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
+
+export TMPDIR="$HOME/tmp"
diff --git a/.compizsnap/left.sh b/.compizsnap/left.sh
deleted file mode 100644
index 8fb479f..0000000
--- a/.compizsnap/left.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# CompizSnap is a collaborative project from ubuntuforums.org and is free software.
-# This script adds window snapping functionality to compiz using the commands plugin.
-#
-# Directions: edit the mouse.sh script
-#
-
-. $HOME/.compizsnap/mouse.sh
-
-WIDTH=`xdpyinfo | grep 'dimensions:' | sed -r 's/.*\s([0-9]+)x([0-9]+)\s.*/\1/'`
-HALF=$(($WIDTH/2))
-
-if (xinput --query-state $MOUSE | grep down)
-then
- echo ".compizsnap/left.sh: snapping because the mouse is pressed"
- wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz
- wmctrl -r :ACTIVE: -b add,maximized_vert
- wmctrl -r :ACTIVE: -e 0,0,0,$HALF,-1
-else
- echo ".compizsnap/left.sh: exiting because the mouse isn't pressed"
-fi
-
diff --git a/.compizsnap/max.sh b/.compizsnap/max.sh
deleted file mode 100644
index d1115ec..0000000
--- a/.compizsnap/max.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-#
-# CompizSnap is a collaborative project from ubuntuforums.org and is free software.
-# This script adds window snapping functionality to compiz using the commands plugin.
-#
-# Directions: edit the mouse.sh script
-#
-
-. $HOME/.compizsnap/mouse.sh
-
-if (xinput --query-state $MOUSE | grep down)
-then
- echo ".compizsnap/max.sh: maximizing because the mouse is pressed"
- wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz
- wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
-else
- echo ".compizsnap/max.sh: exiting because the mouse isn't pressed"
-fi
-
diff --git a/.compizsnap/mouse.sh b/.compizsnap/mouse.sh
deleted file mode 100644
index 76d632c..0000000
--- a/.compizsnap/mouse.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-#
-# CompizSnap is a collaborative project from ubuntuforums.org and is free software.
-# This script adds window snapping functionality to compiz using the commands plugin.
-#
-# Directions: run "xinput list" to find your mouse's ID# and then edit the MOUSE variable below:
-#
-
-export MOUSE=12
-
diff --git a/.compizsnap/right.sh b/.compizsnap/right.sh
deleted file mode 100644
index c79151f..0000000
--- a/.compizsnap/right.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# CompizSnap is a collaborative project from ubuntuforums.org and is free software.
-# This script adds window snapping functionality to compiz using the commands plugin.
-#
-# Directions: edit the mouse.sh script
-#
-
-. $HOME/.compizsnap/mouse.sh
-
-WIDTH=`xdpyinfo | grep 'dimensions:' | sed -r 's/.*\s([0-9]+)x([0-9]+)\s.*/\1/'`
-HALF=$(($WIDTH/2))
-
-if (xinput --query-state $MOUSE | grep down)
-then
- echo ".compizsnap/right.sh: snapping because the mouse is pressed"
- wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz
- wmctrl -r :ACTIVE: -b add,maximized_vert
- wmctrl -r :ACTIVE: -e 0,$HALF,0,$HALF,-1
-else
- echo ".compizsnap/right.sh: exiting because the mouse isn't pressed"
-fi
-
diff --git a/.conkerorrc b/.conkerorrc
deleted file mode 100644
index d5d8291..0000000
--- a/.conkerorrc
+++ /dev/null
@@ -1,6 +0,0 @@
-session_pref("signon.rememberSignons", true);
-session_pref("signon.expireMasterPassword", false);
-session_pref("signon.SignonFileName", "signons.txt");
-
-Components.classes["@mozilla.org/login-manager;1"]
- .getService(Components.interfaces.nsILoginManager);
diff --git a/.crontab b/.crontab
new file mode 100644
index 0000000..34730b9
--- /dev/null
+++ b/.crontab
@@ -0,0 +1,3 @@
+# m h dom mon dow command
+*/5 * * * * offlineimap -u quiet
+*/5 * * * * cd $HOME && make
diff --git a/.emacs b/.emacs
index 24c80e7..538e2c4 100644
--- a/.emacs
+++ b/.emacs
@@ -1,5 +1,8 @@
(set-face-attribute 'default nil :height 80)
+(setq custom-file "~/.emacs.d/custom.el")
+(load custom-file 'noerror)
+
(defun load-identica-mode ()
(when (require 'netrc nil t)
(autoload 'identica-mode "identica-mode" nil t)
@@ -11,8 +14,8 @@
)
(setq package-archives '(("ELPA" . "http://tromey.com/elpa/")
- ("marmalade" . "http://marmalade-repo.org/packages/")
- ("gnu" . "http://elpa.gnu.org/packages/")))
+ ("marmalade" . "http://marmalade-repo.org/packages/")
+ ("gnu" . "http://elpa.gnu.org/packages/")))
(add-to-list 'load-path "~/.emacs.d/")
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
@@ -20,43 +23,64 @@
(add-to-list 'el-get-recipe-path "~/.emacs.d/el-get-recipes")
(setq el-get-sources
'(el-get
- package
+ package
rainbow-delimiters
- (:name color-theme
- :after (lambda ()
- (color-theme-tty-dark)))
- (:name color-theme-solarized
- :after (lambda ()
- (add-hook 'after-make-frame-functions
- (lambda (frame)
- (set-variable 'color-theme-is-global nil)
- (select-frame frame)
- (if window-system
- (color-theme-solarized-dark))))))
- (:name org-mode
- :url "git://orgmode.org/org-mode.git"
- :features org-install
- :after ((require 'org-checklist)))
- (:name identica-mode
- :after (lambda ()
- (load-identica-mode)))
- (:name smarttabs
- :url "git://gist.github.com/896190.git")
- (:name autopair
- :after (lambda ()
- (autopair-global-mode 1)
- (setq autopair-autowrap t)))
- ))
+ php-mode-improved
+ mmm-mode
+ dtrt-indent
+ folding
+ apel flim semi wanderlust
+ (:name color-theme
+ :after (lambda ()
+ (color-theme-tty-dark)))
+ (:name color-theme-solarized
+ :after (lambda ()
+ (add-hook 'after-make-frame-functions
+ (lambda (frame)
+ (set-variable 'color-theme-is-global nil)
+ (select-frame frame)
+ (if window-system
+ (color-theme-solarized-dark)
+ (color-theme-tty-dark))))))
+ (:name org-mode
+ :url "git://orgmode.org/org-mode.git"
+ :features org-install
+ :after (lambda ()
+ (require 'org-checklist)
+ (setq org-hide-leading-stars t)
+ (setq org-log-done 'time)))
+ (:name identica-mode
+ :after (lambda ()
+ (load-identica-mode)))
+ (:name smarttabs
+ :url "git://gist.github.com/896190.git")
+ (:name autopair
+ :after (lambda ()
+ (autopair-global-mode 1)
+ (setq autopair-autowrap t)))
+ ))
(el-get)
+(add-hook 'text-mode-hook 'turn-on-auto-fill)
(add-hook 'after-make-frame-functions
- (lambda (frame)
- (set-variable 'term-default-fg-color
- (face-foreground 'default))
- (set-variable 'term-default-bg-color
- (face-background 'default)))
+ (lambda (frame)
+ (set-variable 'term-default-fg-color
+ (face-foreground 'default))
+ (set-variable 'term-default-bg-color
+ (face-background 'default)))
t)
+(defun mailto-compose-mail (mailto-url)
+ (if (and (stringp mailto-url)
+ (string-match "\\`mailto:" mailto-url))
+ (progn
+ (require 'rfc2368)
+ (let* ((headers (mapcar (lambda (h) (cons (intern (car h)) (cdr h)))
+ (rfc2368-parse-mailto-url mailto-url)))
+ (good-headers (remove-if (lambda (h) (member (car h) '(Body))) headers))
+ (body (cdr (assoc 'Body headers))))
+ (wl-draft good-headers nil nil body)))))
+
(ido-mode t)
(show-paren-mode 1)
@@ -64,11 +88,11 @@
(interactive)
(let ((current-value (frame-parameter nil 'fullscreen)))
(set-frame-parameter nil 'fullscreen
- (if (equal 'fullboth current-value)
- (if (boundp 'old-fullscreen) old-fullscreen nil)
- (progn (setq old-fullscreen current-value)
- 'fullboth)))))
-(global-set-key [f11] 'toggle-fullscreenn)
+ (if (equal 'fullboth current-value)
+ (if (boundp 'old-fullscreen) old-fullscreen nil)
+ (progn (setq old-fullscreen current-value)
+ 'fullboth)))))
+(global-set-key [f11] 'toggle-fullscreen)
(load "whitespace")
(global-set-key "\C-cw" 'global-whitespace-mode)
@@ -83,10 +107,11 @@
empty
))
-
+;; These are my preferred settings; we let dtrt-indent detect when we play with other's files
(setq-default tab-width 8)
(setq-default c-basic-offset 8)
-(setq-default indent-tabs-mode nil)
+(setq-default indent-tabs-mode t)
+
(setq
backup-by-copying t ;; don't clobber symlinks
@@ -106,5 +131,7 @@
(setq browse-url-generic-program (executable-find "v-www-browser")
browse-url-browser-function 'browse-url-generic)
-(setq custom-file "~/.emacs.d/custom.el")
-(load custom-file 'noerror)
+(require 'flymake)
+(add-hook 'php-mode-hook (lambda() (flymake-mode 1)))
+(define-key php-mode-map '[M-S-up] 'flymake-goto-prev-error)
+(define-key php-mode-map '[M-S-down] 'flymake-goto-next-error)
diff --git a/.emacs.d/custom.el b/.emacs.d/custom.el
index e69de29..d8fdce4 100644
--- a/.emacs.d/custom.el
+++ b/.emacs.d/custom.el
@@ -0,0 +1,6 @@
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(scroll-bar-mode nil))
diff --git a/.git.info.exclude b/.git.info.exclude
index e950474..d57169f 100644
--- a/.git.info.exclude
+++ b/.git.info.exclude
@@ -8,6 +8,9 @@
!.*/*/*/*
!.*/*/*/*/*
+# Or Makefile
+!Makefile
+
# Ignore these for privacy
.ssh/*
.netrc
@@ -29,7 +32,9 @@ tmp
\#*#
.~lock.*#
*_history
+history.*
*authority
+*.cookie
# Ignore these special-purpose cache/temp files
.xsession-errors*
@@ -56,17 +61,21 @@ tmp
.gconfd/saved_state
.esd_auth
.recently-used.xbel*
+.pulse
+.pulse-cookie
+.pki
+.alsa.save
-# Include these non-dotfiles
-!bin
-!bin/v-www-browser
-!bin/v-editor
-!bin/editor
-
-!share
-!share/nano
-!share/nano/*.nanorc
+# Ignore files that are autogenerated
+.folders
+.nanorc
# Ignore these files for no good reason
.terminfo
-.wine* \ No newline at end of file
+.wine*
+.prefix
+.offlineimap
+.crontab.local
+.elmo
+.ido.last
+.bogofilter/*
diff --git a/.maildirproc/default.rc b/.maildirproc/default.rc
new file mode 100644
index 0000000..8cfe5cd
--- /dev/null
+++ b/.maildirproc/default.rc
@@ -0,0 +1,290 @@
+# -*- mode: python; -*-
+
+import subprocess
+
+processor.maildir_base = "~/Maildir"
+processor.auto_reload_rcfile = True
+
+def is_to_or_from(mail,address):
+ return (
+ mail["From"].contains(address)
+ or mail.target.contains(address))
+def is_to_or_from_re(mail,address):
+ return (
+ mail["From"].matches(address)
+ or mail.target.matches(address))
+
+def bogofilter_auto(mail):
+ p = subprocess.Popen(
+ ["bogofilter", "-u", "-v", "-I", mail.path],
+ stdout=subprocess.PIPE,
+ stderr=subprocess.STDOUT)
+ (output, _) = p.communicate()
+ processor.log("*** Bogofilter result: {0!r}".format(output.rstrip()))
+ if p.returncode not in [0, 1, 2]:
+ processor.log_error(
+ "Error running bogofilter: Return code = {0!r}".format(
+ p.returncode))
+ return p.returncode
+
+def bogofilter_ham(mail):
+ subprocess.call(["bogofilter", "-S", "-n", "-I", mail.path])
+
+def bogofilter_spam(mail):
+ subprocess.call(["bogofilter", "-N", "-s", "-I", mail.path])
+
+def handle_incoming_spam_training(mail):
+ bogofilter_spam(mail)
+ mail.move(".Bulk Mail")
+
+def handle_incoming_ham_training(mail):
+ bogofilter_ham(mail)
+ mail.move(".Ham")
+
+def handle_incoming_ham(mail):
+ my_filters(mail)
+
+def handle_incoming_unknown(mail):
+ # Filter spam
+
+ spam = bogofilter_auto(mail)
+ if spam == 0:
+ mail.move(".Bulk Mail")
+ return
+ elif spam == 1:
+ mail.move(".Ham")
+ return
+ elif spam == 2:
+ # maybe spam
+ my_filters(mail)
+ return
+ else:
+ mail.move(".Error")
+ return
+
+def my_filters(mail):
+ # Sort into software mailing lists
+
+ if mail["List-Id"].matches("bug-gsrc\.gnu\.org"):
+ mail.move(".software.bug-gsrc")
+ return
+
+ if mail["List-Id"].matches("bug-make\.gnu\.org"):
+ mail.move(".software.bug-make")
+ return
+
+ if mail["List-Id"].matches("help-make\.gnu\.org"):
+ mail.move(".software.help-make")
+ return
+
+ if mail["List-Id"].matches("social(|-discuss)\.gnu\.org"):
+ mail.move(".software.social")
+ return
+
+ # Sort email from some social websites
+
+ if mail["From"].matches("@facebook(|mail)\.com"):
+ mail.move(".Social.Facebook")
+ return
+
+ if mail["From"].matches("identi\.ca"):
+ mail.move(".Social.Identica")
+ return
+
+ if mail["From"].matches("twitter\.com"):
+ mail.move(".Social.Twitter")
+ return
+
+ if mail["From"].matches("@xkcd\.com"):
+ mail.move(".Social.xkcd")
+ return
+
+ # Sort email related to Troop 276
+
+ if (
+ False
+ or mail["List-Id"].contains("troopmailinglist.troop276.net")
+ or is_to_or_from(mail,"t276_announcements@att.net")
+ or mail["Subject"].matches("troop")
+ or mail["Subject"].matches("merit\s*badge")
+ or is_to_or_from(mail,"jsting@sbcglobal.net")
+ or is_to_or_from(mail,"trdindy@comcast.net")
+ or is_to_or_from(mail,"wjensen111@aol.com")
+ or is_to_or_from(mail,"dhoyt@yourhomecompany.com")
+ or is_to_or_from(mail,"salupo_vincent_p@lilly.com")
+ or is_to_or_from(mail,"basu@maharjan.org")
+ or is_to_or_from(mail,"muellerindy@yahoo.com")
+ or is_to_or_from(mail,"solorzano.luis@rocketmail.com")
+ or is_to_or_from(mail,"eldredmac@comcast.net")# MacDonell
+ or is_to_or_from(mail,"mitchprather@sbcglobal.net")
+ ):
+ mail.move(".Troop276")
+ return
+
+ if mail["From"].matches("margieshu@sbcglobal\.net"):
+ mail.move(".misc.Mom")
+ return
+
+ # Sort mail from robotics people
+ for address in [
+ "jeffreysmith@msdlt.k12.in.us",
+ "jason.zielke@gmail.com",
+ "allison.m.babcock@gmail.com",
+ "william.walk@gmail.com",
+ "BBonahoom@stanleyworks.com",
+ "wcxctrack829@aim.com", # Pat
+ "djnels1@comcast.net", # Dave and Julie Nelson
+ "sarahlittell@comcast.net",
+ "skiplittell@comcast.net",
+ "dave.nelson@ecolab.com",
+ "@ni.com",
+ "@precisepath.com",
+ ]:
+ if is_to_or_from(mail,address):
+ mail.move(".School.Robotics")
+ return
+ for subject_re in [
+ "robotics",
+ "1024",
+ "kil-?a-?bytes",
+ ]:
+ if mail["Subject"].matches(subject_re):
+ mail.move(".School.Robotics")
+ return
+
+ # Sort mail from scoftware people
+ for address in [
+ "gnu.org",
+ "gitorious.org",
+ "sourceforge.com",
+ "ietf.org",
+ "kde.org",
+ "trustees@core3.amsl.com",
+ "esr@thyrsus.com",
+ "canonical.org",
+ "foocorp.net",
+ "parabolagnulinux.org",
+ ]:
+ if is_to_or_from(mail,address):
+ mail.move(".software")
+ return
+ for subject_re in [
+ "\[Stow-[^\]]*\].*",
+ ]:
+ if mail["Subject"].matches(subject_re):
+ mail.move(".software")
+ return
+
+ for address in [
+ "nintendo.com",
+ "nintendo-news.com",
+ ]:
+ if mail["From"].contains(address):
+ mail.move(".Nintendo")
+ return
+
+ for address in [
+ "@lpi.org",
+ "@pearson.com",
+ "CompTIA",
+ ]:
+ if mail["From"].contains(address):
+ mail.move(".CompTIA")
+ return
+
+ if mail["From"].contains("@lnnorthstar.org"):
+ mail.move(".School.Newspaper")
+ return
+
+ if mail["From"].contains("susyphil@aol.com"):
+ mail.move(".PMCH")
+
+ for address in [
+ "d.farrar@comcast.net",
+ "dfarrar@avacoustics.net",
+ "@vmware.com",
+ ]:
+ if is_to_or_from(mail,address):
+ mail.move(".Work.FAST")
+ return
+
+ # Sort misc newsletters
+
+ if (
+ False
+ or mail["From"].contains("newsletter")
+ or mail["From"].contains("auto@comicsbyemail.com")
+ or mail["From"].contains("oreilly.com")
+ or mail["Subject"].contains("newsletter")
+ or mail["From"].contains("Info@mailing.jamendo.com")
+ ):
+ mail.move(".misc.Newsletters")
+ return
+
+ if (
+ False
+ or mail["From"].contains("@msdlt.k12.in.us")
+ or is_to_or_from(mail,"ibwhite@comcast.net")
+ or mail["Subject"].contains("IOA")
+ or mail["From"].contains("nths.org")
+ or mail["Subject"].contains("NTHS")
+ or mail["Subject"].contains("National Technical Honor Society")
+ or mail["Subject"].contains("NHS")
+ or mail["Subject"].contains("National Honor Society")
+ ):
+ mail.move(".School")
+ return
+
+ # from college stuff
+ if (
+ False
+ or mail["Subject"].contains("NYLF") # National Youth Leadership Conference
+ or mail["Subject"].contains("NSHSS")
+ ):
+ mail.move(".College.Societies")
+ return
+ if (
+ False
+ or mail["From"].contains(".edu")
+ or mail["From"].contains("admissions@")
+ or mail["From"].contains("college")
+ or mail["From"].contains("university")
+ or mail["Subject"].contains("college")
+ # now we get to the BS
+ or mail["From"].contains("@dreamitdoitindiana.com")
+ or mail["From"].contains("@indianatechinfo.org")
+ ):
+ mail.move(".College")
+ return
+
+ if mail["From"].contains("@projectwonderful.com"):
+ mail.move(".ProjectWonderful")
+ return
+
+ if (
+ False
+ or mail["From"].matches("@localhost")
+ or mail["From"].matches("@[^,>]*\.local")
+ or mail["From"].matches("@[^,>]*\.lukeshu\.ath\.cx")
+ or mail["To"].matches("luke@")
+ ):
+ mail.move(".LocalSystems")
+ return
+ if (
+ False
+ or mail["Subject"].contains("password")
+ or mail["Subject"].contains("account")
+ ):
+ mail.move(".misc.accounts")
+ return
+
+handle_mapping = {
+ ".": handle_incoming_unknown,
+ ".Inbox": handle_incoming_unknown,
+ ".spam-training": handle_incoming_spam_training,
+ ".ham-training": handle_incoming_ham_training,
+ ".Ham": handle_incoming_ham,
+ }
+processor.maildirs = handle_mapping.keys()
+for mail in processor:
+ handle_mapping[mail.maildir](mail)
diff --git a/.muttrc b/.muttrc
new file mode 100644
index 0000000..d706033
--- /dev/null
+++ b/.muttrc
@@ -0,0 +1,12 @@
+set mbox_type=Maildir
+
+set spoolfile="~/Maildir/"
+set folder="~/Maildir/"
+set mask="!^\\.[^.]"
+set record="+.Sent"
+set postponed="+.Drafts"
+
+mailboxes `find ~/Maildir -maxdepth 2 -type f -name "maildirfolder" -printf "'%h' "`
+
+macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder"
+macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder"
diff --git a/.nanorc b/.nanorc.in
index f150d54..b21e86b 100644
--- a/.nanorc
+++ b/.nanorc.in
@@ -1,5 +1,3 @@
-## Sample initialization file for GNU nano.
-##
## Please note that you must have configured nano with --enable-nanorc
## for this file to be read! Also note that this file should not be in
## DOS or Mac format, and that characters specially interpreted by the
@@ -233,80 +231,3 @@ set softwrap
# bind kdel backspace all
-## Nanorc files
-include "/home/luke/share/nano/nanorc.nanorc"
-
-## C/C++
-include "/home/luke/share/nano/c.nanorc"
-
-## Makefiles
-include "/home/luke/share/nano/makefile.nanorc"
-
-## Cascading Style Sheets
-include "/home/luke/share/nano/css.nanorc"
-
-## Debian files
-include "/home/luke/share/nano/debian.nanorc"
-
-## Gentoo files
-include "/home/luke/share/nano/gentoo.nanorc"
-
-## HTML
-include "/home/luke/share/nano/html.nanorc"
-
-## PHP
-include "/home/luke/share/nano/php.nanorc"
-
-## TCL
-include "/home/luke/share/nano/tcl.nanorc"
-
-## TeX
-include "/home/luke/share/nano/tex.nanorc"
-
-## Quoted emails (under e.g. mutt)
-include "/home/luke/share/nano/mutt.nanorc"
-
-## Patch files
-include "/home/luke/share/nano/patch.nanorc"
-
-## Manpages
-include "/home/luke/share/nano/man.nanorc"
-
-## Groff
-include "/home/luke/share/nano/groff.nanorc"
-
-## Perl
-include "/home/luke/share/nano/perl.nanorc"
-
-## Python
-include "/home/luke/share/nano/python.nanorc"
-
-## Ruby
-include "/home/luke/share/nano/ruby.nanorc"
-
-## Java
-include "/home/luke/share/nano/java.nanorc"
-
-## Fortran
-include "/home/luke/share/nano/fortran.nanorc"
-
-## Objective-C
-include "/home/luke/share/nano/objc.nanorc"
-
-## OCaml
-include "/home/luke/share/nano/ocaml.nanorc"
-
-## AWK
-include "/home/luke/share/nano/awk.nanorc"
-
-## Assembler
-include "/home/luke/share/nano/asm.nanorc"
-
-## Bourne shell scripts
-include "/home/luke/share/nano/sh.nanorc"
-
-## POV-Ray
-include "/home/luke/share/nano/pov.nanorc"
-
-## XML-type files
-include "/home/luke/share/nano/xml.nanorc"
diff --git a/.offlineimaprc b/.offlineimaprc
new file mode 100644
index 0000000..0e44147
--- /dev/null
+++ b/.offlineimaprc
@@ -0,0 +1,17 @@
+[general]
+accounts = LukeShu
+
+[Account LukeShu]
+localrepository = Local
+remoterepository = Remote
+
+[Repository Local]
+type = Maildir
+localfolders = ~/Maildir
+
+[Repository Remote]
+type = IMAP
+ssl = yes
+remotehost = imap.mail.yahoo.com
+remoteuser = lukeshu@sbcglobal.net
+nametrans = lambda foldername: "."+foldername
diff --git a/.profile b/.profile
index 19f7225..98289d6 100644
--- a/.profile
+++ b/.profile
@@ -6,11 +6,11 @@
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
-#umask 022
+umask 022
# set PATH so it includes user's private bin if it exists
-if [ -d "$HOME/bin" ]; then
- export PATH="$HOME/bin:$PATH"
+if [ -d "$HOME/.prefix/bin" ]; then
+ export PATH="$HOME/.prefix/bin:$PATH"
fi
# if running bash
@@ -29,3 +29,8 @@ if [ -f "$HOME/.selected_editor" ]; then
export EDITOR="${EDITOR:-$SELECTED_EDITOR}"
export VISUAL="${VISUAL:-$SELECTED_EDITOR}"
fi
+
+alsactl --file $HOME/.alsa.save restore
+daemon emacs --daemon
+daemon sysfiles
+daemon maildirproc
diff --git a/.themes/Solarized-light/index.theme b/.themes/Solarized-light/index.theme
new file mode 100644
index 0000000..b49a945
--- /dev/null
+++ b/.themes/Solarized-light/index.theme
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=Solarized-light
+Type=X-GNOME-Metatheme
+Comment=
+
+[X-GNOME-Metatheme]
+GtkTheme=Clearlooks
+MetacityTheme=Clearlooks
+IconTheme=gnome
+GtkColorScheme=fg_color:#58586e6e7575,bg_color:#eeeee8e8d5d5,text_color:#65657b7b8383,base_color:#fdfdf6f6e3e3,selected_fg_color:#fdfdf6f6e3e3,selected_bg_color:#6c6c7171c4c4,tooltip_fg_color:#65657b7b8383,tooltip_bg_color:#fdfdf6f6e3e3
+CursorTheme=default
+CursorSize=18
diff --git a/.themes/solarized-dark/index.theme b/.themes/solarized-dark/index.theme
new file mode 100644
index 0000000..b1aa452
--- /dev/null
+++ b/.themes/solarized-dark/index.theme
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=solarized-dark
+Type=X-GNOME-Metatheme
+Comment=
+
+[X-GNOME-Metatheme]
+GtkTheme=Clearlooks
+MetacityTheme=Clearlooks
+IconTheme=Humanity-Dark
+GtkColorScheme=fg_color:#9393a1a1a1a1,bg_color:#070736364242,text_color:#838394949696,base_color:#00002b2b3636,selected_fg_color:#fdfdf6f6e3e3,selected_bg_color:#6c6c7171c4c4,tooltip_fg_color:#58586e6e7575,tooltip_bg_color:#eeeee8e8d5d5
+CursorTheme=default
+CursorSize=18
+BackgroundImage=/home/luke/Desktop/bg5.png
diff --git a/.wl b/.wl
new file mode 100644
index 0000000..c6bf63c
--- /dev/null
+++ b/.wl
@@ -0,0 +1,55 @@
+;; mode:-*-emacs-lisp-*-
+
+;; wanderlust
+(setq
+ elmo-maildir-folder-path "~/Maildir" ;; where I store my mail
+
+ wl-stay-folder-window t ;; show the folder pane (left)
+ wl-folder-window-width 35 ;; toggle on/off with 'i'
+
+ wl-local-domain "lukeshu.ath.cx"
+
+ wl-draft-send-mail-function 'wl-draft-send-mail-with-smtp
+ wl-smtp-connection-type (quote ssl)
+ wl-smtp-authenticate-type "login"
+ wl-smtp-posting-server "plus.smtp.mail.yahoo.com"
+ wl-smtp-posting-port 465
+ wl-smtp-posting-user "lukeshu@sbcglobal.net"
+ wl-message-id-domain "lukeshu@sbcglobal.net" ;; put a unique identifier here
+ wl-from "Luke Shumaker <lukeshu@sbcglobal.net>" ;; my From:
+
+ wl-fcc-force-as-read t ;; mark sent messages as read
+
+ ;; note: all below are dirs (Maildirs) under elmo-maildir-folder-path
+ ;; the '.'-prefix is for marking them as maildirs
+ wl-fcc "..Sent" ;; sent msgs go to the "sent"-folder
+ wl-default-folder "..Inbox" ;; my main inbox
+ wl-draft-folder "..Draft" ;; store drafts in 'postponed'
+ wl-trash-folder "..Trash" ;; put trash in 'trash'
+ wl-spam-folder "..Bulk Mail" ;; put spam in 'Bulk Mail'
+ wl-queue-folder "..queue" ;; we don't use this
+
+ ;; check this folder periodically, and update modeline
+ ;wl-biff-check-folder-list '(".todo") ;; check every 180 seconds
+ ;; (default: wl-biff-check-interval)
+
+ wl-folder-hierarchy-access-folders '(".*")
+
+ ;; hide many fields from message buffers
+ wl-message-ignored-field-list '("^.*:")
+ wl-message-visible-field-list
+ '("^\\(To\\|Cc\\):"
+ "^Subject:"
+ "^\\(From\\|Reply-To\\):"
+ "^Organization:"
+ "^Message-Id:"
+ "^\\(Posted\\|Date\\):"
+ )
+ wl-message-sort-field-list
+ '("^From"
+ "^Organization:"
+ "^X-Attribution:"
+ "^Subject"
+ "^Date"
+ "^To"
+ "^Cc"))
diff --git a/.wmii/wmiirc_local b/.wmii/wmiirc_local
new file mode 100755
index 0000000..dd72f59
--- /dev/null
+++ b/.wmii/wmiirc_local
@@ -0,0 +1,7 @@
+#!/bin/dash
+
+export WMII_FONT='xft:Monospace-8'
+export WMII_TERM="urxvt"
+
+. $HOME/.wmii/wmiirc_local.local
+. $HOME/.wmii/wmiirc_solarized_dark
diff --git a/.wmii/wmiirc_solarized b/.wmii/wmiirc_solarized
new file mode 100644
index 0000000..5dc830d
--- /dev/null
+++ b/.wmii/wmiirc_solarized
@@ -0,0 +1,16 @@
+SOL_BASE03='#002b36'
+SOL_BASE02='#073642'
+SOL_BASE01='#586e75'
+SOL_BASE00='#657b83'
+SOL_BASE0='#839496'
+SOL_BASE1='#93a1a1'
+SOL_BASE2='#eee8d5'
+SOL_BASE3='#fdf6e3'
+SOL_YELLOW='#b58900'
+SOL_ORANGE='#cb4b16'
+SOL_RED='#dc322f'
+SOL_MAGENTA='#d33682'
+SOL_VIOLET='#6c71c4'
+SOL_BLUE='#268bd2'
+SOL_CYAN='#2aa198'
+SOL_GREEN='#859900'
diff --git a/.wmii/wmiirc_solarized_dark b/.wmii/wmiirc_solarized_dark
new file mode 100644
index 0000000..4d663d2
--- /dev/null
+++ b/.wmii/wmiirc_solarized_dark
@@ -0,0 +1,8 @@
+# Solarized-dark
+
+. $HOME/.wmii/wmiirc_solarized
+
+# ="<text> <background> <border>"
+WMII_NORMCOLORS="$SOL_BASE0 $SOL_BASE03 $SOL_BASE02"
+WMII_FOCUSCOLORS="$SOL_BASE0 $SOL_BASE02 $SOL_BASE0"
+WMII_BACKGROUND="$SOL_BASE02"
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..cce93f7
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# ~/.xinitrc
+#
+# Executed by startx (run your window manager from here)
+
+if [ -d /etc/X11/xinit/xinitrc.d ]; then
+ for f in /etc/X11/xinit/xinitrc.d/*; do
+ [ -x "$f" ] && . "$f"
+ done
+ unset f
+fi
+
+# exec gnome-session
+# exec startkde
+# exec startxfce4
+# ...or the Window Manager of your choice
+exec wmii
diff --git a/.xsession b/.xsession
new file mode 100644
index 0000000..a16dc0b
--- /dev/null
+++ b/.xsession
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+#
+# ~/.xsession
+#
+# Executed by xdm/gdm/kdm at login
+#
+
+/bin/bash --login -i ~/.xinitrc
+
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3e2677b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,28 @@
+CHECK = $(HOME)/.prefix:$(HOME):/usr/local:/usr:/
+NANO_SHARE = $(firstword $(wildcard $(addsuffix /share/nano,$(subst :, ,$(CHECK)))))
+
+targets=.nanorc .folders .crontab.cookie .alsa.save
+all: $(targets)
+clean:
+ rm -f $(targets)
+
+.alsa.save: PHONY
+ alsactl --file $HOME/.alsa.save store
+
+.nanorc: .nanorc.in $(NANO_SHARE)
+ cat '$<' > '$@'
+ for file in $(NANO_SHARE)/*.nanorc; do echo "include \"$$file\""; done >> '$@'
+
+.folders: Maildir
+ find ~/Maildir -maxdepth 2 -type f -name "maildirfolder" -printf '%h\n'|sed -r 's@.*/(.*\.)(.*)@.\1\2@'|sort>'$@'
+
+.crontab.cookie: .crontab .crontab.local
+ cat $^ | crontab
+ date > '$@'
+
+commit:
+ git commit -a
+
+pull:
+ git pull
+ $(MAKE)
diff --git a/bin/editor b/bin/editor
deleted file mode 120000
index 8ca5677..0000000
--- a/bin/editor
+++ /dev/null
@@ -1 +0,0 @@
-v-editor \ No newline at end of file
diff --git a/bin/v-editor b/bin/v-editor
deleted file mode 100755
index 5001b8a..0000000
--- a/bin/v-editor
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-(if [ -n "$DISPLAY" ]; then
- ${VISUAL:-$SELECTED_EDITOR} $@
-else
- ${EDITOR:-$SELECTED_EDITOR} $@
-fi) || ${ALTERNATE_EDITOR:-false} $@
diff --git a/bin/v-www-browser b/bin/v-www-browser
deleted file mode 100755
index 005b7a1..0000000
--- a/bin/v-www-browser
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-if [ -n "$DISPLAY" ]; then
- x-www-browser $@
-else
- www-browser $@
-fi
diff --git a/share/nano/asm.nanorc b/share/nano/asm.nanorc
deleted file mode 100644
index e94ee90..0000000
--- a/share/nano/asm.nanorc
+++ /dev/null
@@ -1,17 +0,0 @@
-## Here is an example for assembler.
-##
-syntax "asm" "\.(S|s|asm)$"
-color red "\<[A-Z_]{2,}\>"
-color brightgreen "\.(data|subsection|text)"
-color green "\.(align|file|globl|global|hidden|section|size|type|weak)"
-color brightyellow "\.(ascii|asciz|byte|double|float|hword|int|long|short|single|struct|word)"
-icolor brightred "^[[:space:]]*[.0-9A-Z_]*:"
-color brightcyan "^[[:space:]]*#[[:space:]]*(define|undef|include|ifn?def|endif|elif|else|if|warning|error)"
-## Highlight strings (note: VERY resource intensive)
-color brightyellow "<[^= ]*>" ""(\\.|[^"])*""
-color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
-## Highlight comments
-color brightblue "//.*"
-color brightblue start="/\*" end="\*/"
-## Highlight trailing whitespace
-color ,green "[[:space:]]+$"
diff --git a/share/nano/awk.nanorc b/share/nano/awk.nanorc
deleted file mode 100644
index 696ab6a..0000000
--- a/share/nano/awk.nanorc
+++ /dev/null
@@ -1,38 +0,0 @@
-## Here is an example for awk.
-##
-syntax "awk" "\.awk$"
-## records
-icolor brightred "\$[0-9A-Z_!@#$*?-]+"
-## awk-set variables
-color red "\<(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\>"
-color red "\<(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\>"
-color red "\<(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\>"
-## function declarations and special patterns
-color brightgreen "\<(function|extension|BEGIN|END)\>"
-## operators
-color green "(\{|\}|\(|\)|\;|\]|\[|\\|<|>|!|=|&|\+|-|\*|%|/|\?:|\^|\|)"
-## flow control
-color brightyellow "\<(for|if|while|do|else|in|delete|exit)\>"
-color brightyellow "\<(break|continue|return)\>"
-## I/O statements
-color brightgreen "\<(close|getline|next|nextfile|print|printf)\>"
-color brightgreen "\<(system|fflush)\>"
-## standard functions
-color magenta "\<(atan2|cos|exp|int|log|rand|sin|sqrt|srand)\>"
-color magenta "\<(asort|asorti|gensub|gsub|index|length|match)\>"
-color magenta "\<(split|sprintf|strtonum|sub|substr|tolower|toupper)\>"
-color magenta "\<(mktime|strftime|systime)\>"
-color magenta "\<(and|compl|lshift|or|rshift|xor)\>"
-color magenta "\<(bindtextdomain|dcgettext|dcngettext)\>"
-
-##
-## String highlighting. You will in general want your comments and
-## strings to come last, because syntax highlighting rules will be
-## applied in the order they are read in.
-color brightyellow "<[^= ]*>" ""(\\.|[^"])*""
-
-## Comment highlighting
-color brightblue "(^|[[:space:]])#.*$"
-
-## Trailing whitespace
-color ,green "[[:space:]]+$"
diff --git a/share/nano/c.nanorc b/share/nano/c.nanorc
deleted file mode 100644
index b89c9d2..0000000
--- a/share/nano/c.nanorc
+++ /dev/null
@@ -1,30 +0,0 @@
-## Here is an example for C/C++.
-##
-syntax "c" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$"
-color brightred "\<[A-Z_][0-9A-Z_]+\>"
-color green "\<(float|double|bool|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\>"
-color green "\<((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\>"
-color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\>"
-color brightyellow "\<(for|if|while|do|else|case|default|switch)\>"
-color brightyellow "\<(try|throw|catch|operator|new|delete)\>"
-color magenta "\<(goto|continue|break|return)\>"
-color brightcyan "^[[:space:]]*#[[:space:]]*(define|include(_next)?|(un|ifn?)def|endif|el(if|se)|if|warning|error|pragma)"
-color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'"
-##
-## GCC builtins
-color cyan "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__"
-##
-## String highlighting. You will in general want your comments and
-## strings to come last, because syntax highlighting rules will be
-## applied in the order they are read in.
-color brightyellow "<[^= ]*>" ""(\\.|[^"])*""
-##
-## This string is VERY resource intensive!
-color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
-
-## Comment highlighting
-color brightblue "//.*"
-color brightblue start="/\*" end="\*/"
-
-## Trailing whitespace
-color ,green "[[:space:]]+$"
diff --git a/share/nano/cmake.nanorc b/share/nano/cmake.nanorc
deleted file mode 100644
index 3c52f7d..0000000
--- a/share/nano/cmake.nanorc
+++ /dev/null
@@ -1,19 +0,0 @@
-## CMake syntax highlighter for GNU Nano
-##
-syntax "cmake" "(CMakeLists\.txt|\.cmake)$"
-
-icolor green "^[[:space:]]*[A-Z0-9_]+"
-icolor brightyellow "^[[:space:]]*(include|include_directories|include_external_msproject)\>"
-
-icolor brightgreen "^[[:space:]]*\<((else|end)?if|else|(end)?while|(end)?foreach|break)\>"
-color brightgreen "\<(NOT|COMMAND|POLICY|TARGET|EXISTS|IS_(DIRECTORY|ABSOLUTE)|DEFINED)\>[[:space:]]"
-color brightgreen "[[:space:]]\<(OR|AND|IS_NEWER_THAN|MATCHES|(STR|VERSION_)?(LESS|GREATER|EQUAL))\>[[:space:]]"
-
-icolor brightred "^[[:space:]]*\<((end)?(function|macro)|return)"
-
-icolor cyan start="\$(\{|ENV\{)" end="\}"
-color magenta "\<(APPLE|UNIX|WIN32|CYGWIN|BORLAND|MINGW|MSVC(_IDE|60|71|80|90)?)\>"
-
-icolor brightblue "^([[:space:]]*)?#.*"
-icolor brightblue "[[:space:]]#.*"
-color ,green "[[:space:]]+$"
diff --git a/share/nano/css.nanorc b/share/nano/css.nanorc
deleted file mode 100644
index 98eea18..0000000
--- a/share/nano/css.nanorc
+++ /dev/null
@@ -1,9 +0,0 @@
-## Here is an example for css files.
-##
-syntax "css" "\.css$"
-color brightred "."
-color brightyellow start="\{" end="\}"
-color brightwhite start=":" end="([;^\{]|$)"
-color brightblue ":active|:focus|:hover|:link|:visited|:link|:after|:before|$"
-color brightblue start="\/\*" end="\\*/"
-color green ";|:|\{|\}"
diff --git a/share/nano/debian.nanorc b/share/nano/debian.nanorc
deleted file mode 100644
index a945dee..0000000
--- a/share/nano/debian.nanorc
+++ /dev/null
@@ -1,20 +0,0 @@
-## Here is an exmaple for apt's sources.list
-## Adapted from http://milianw.de/blog/Syntax-Highlighting-in-Nano
-## (mail@milianw.de).
-##
-syntax "apt/sources.list" "sources\.list(\.old|~)?$"
-# component
-color brightmagenta "^deb(-src)? ((http|file|ftp):/[^ ]+|cdrom:\[[^\]]+\]/|cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/) [^ ]+ .+$"
-# distribution
-color brightred "^deb(-src)? ((http|file|ftp):/[^ ]+|cdrom:\[[^\]]+\]/|cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/) [^ ]+"
-# URI
-color brightgreen "(http|file|ftp):/[^ ]+"
-# cdroms
-# [^\]] does not work...
-color brightgreen "cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/"
-# deb / deb-src
-color yellow "^deb"
-color yellow "^deb-src"
-# comments
-color brightblue "#.*"
-
diff --git a/share/nano/fortran.nanorc b/share/nano/fortran.nanorc
deleted file mode 100644
index cc0c726..0000000
--- a/share/nano/fortran.nanorc
+++ /dev/null
@@ -1,41 +0,0 @@
-## Here is an example for Fortran 90/95
-
-syntax "fortran" "\.(f|f90|f95)$"
-
-#color red "\<[A-Z_]a[0-9A-Z_]+\>"
-color red "\<[0-9]+\>"
-
-icolor green "\<(action|advance|all|allocatable|allocated|any|apostrophe)\>"
-icolor green "\<(append|asis|assign|assignment|associated|character|common)\>"
-icolor green "\<(complex|data|default|delim|dimension|double precision)\>"
-icolor green "\<(elemental|epsilon|external|file|fmt|form|format|huge)\>"
-icolor green "\<(implicit|include|index|inquire|integer|intent|interface)\>"
-icolor green "\<(intrinsic|iostat|kind|logical|module|none|null|only)>"
-icolor green "\<(operator|optional|pack|parameter|pointer|position|private)\>"
-icolor green "\<(program|public|real|recl|recursive|selected_int_kind)\>"
-icolor green "\<(selected_real_kind|subroutine|status)\>"
-
-icolor cyan "\<(abs|achar|adjustl|adjustr|allocate|bit_size|call|char)\>"
-icolor cyan "\<(close|contains|count|cpu_time|cshift|date_and_time)\>"
-icolor cyan "\<(deallocate|digits|dot_product|eor|eoshift|function|iachar)\>"
-icolor cyan "\<(iand|ibclr|ibits|ibset|ichar|ieor|iolength|ior|ishft|ishftc)\>"
-icolor cyan "\<(lbound|len|len_trim|matmul|maxexponent|maxloc|maxval|merge)\>"
-icolor cyan "\<(minexponent|minloc|minval|mvbits|namelist|nearest|nullify)\>"
-icolor cyan "\<(open|pad|present|print|product|pure|quote|radix)\>"
-icolor cyan "\<(random_number|random_seed|range|read|readwrite|replace)\>"
-icolor cyan "\<(reshape|rewind|save|scan|sequence|shape|sign|size|spacing)\>"
-icolor cyan "\<(spread|sum|system_clock|target|transfer|transpose|trim)\>"
-icolor cyan "\<(ubound|unpack|verify|write|tiny|type|use|yes)\>"
-
-icolor yellow "\<(.and.|case|do|else|else?if|else?where|end|end?do|end?if)\>"
-icolor yellow "\<(end?select|.eqv.|forall|if|lge|lgt|lle|llt|.neqv.|.not.)\>"
-icolor yellow "\<(.or.|repeat|select case|then|where|while)\>"
-
-icolor magenta "\<(continue|cycle|exit|go?to|result|return)\>"
-
-## String highlighting.
-icolor yellow "<[^= ]*>" ""(\\.|[^"])*""
-
-## Comment highlighting
-icolor blue "!.*"
-
diff --git a/share/nano/gentoo.nanorc b/share/nano/gentoo.nanorc
deleted file mode 100644
index 2ad1597..0000000
--- a/share/nano/gentoo.nanorc
+++ /dev/null
@@ -1,55 +0,0 @@
-## Here is an example for Gentoo ebuilds/eclasses
-##
-syntax "ebuild" "\.e(build|class)$"
-## All the standard portage functions
-color brightgreen "^src_(unpack|prepare|configure|compile|install|test)" "^pkg_(config|nofetch|setup|(pre|post)(inst|rm))"
-## Highlight bash related syntax
-color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while|continue|break)\>"
-color green "\<(declare|eval|exec|let)\>"
-color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
-color green "-[edfgruwxL]\>"
-color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
-## Highlight variables ... official portage ones in red, all others in bright red
-color brightred "\$\{?[a-zA-Z_0-9]+\}?"
-color red "\<(EAPI|ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|(P|R)?DEPEND|PROVIDE|PROPERTIES|RESTRICT|USERLAND)\>"
-color red "\<(S|D|T|PV|PF|P|PN|PR|PVR|A|CATEGORY|DISTDIR|FILESDIR|ROOT|WORKDIR)\>" "\<(AS|C(PP|XX)?|LD)FLAGS\>" "\<C(HOST|TARGET|BUILD)\>"
-color red "\<QA_((TEXTRELS|EXECSTACK|WX_LOAD)(_[a-zA-Z_0-9]+)?|DT_HASH|PRESTRIPPED)\>" "\<WANT_AUTO(CONF|MAKE)\>" "\<AT_M4DIR\>"
-## Highlight portage commands
-color magenta "\<use(_(with|enable))?\> [!a-zA-Z0-9_+ -]*" "inherit.*"
-color brightblue "\<e(begin|end|conf|install|make|qmake[34]|ant|(qa)?warn|infon?|error|log|patch|new(group|user))\>"
-color brightblue "\<e(pause|beep|mktemp|(cvs|svn)_clean|punt_cxx)\>" "\<e(aclocal|auto(reconf|header|conf|make))\>"
-color brightblue "\<built_with_use\>" "\<make_desktop_entry\>" "\<unpack(_(makeself|pdv))?\>"
-color brightblue "\<die\>" "\<use(_(with|enable))?\>" "\<inherit\>" "\<has\>" "\<(has|best)_version\>"
-color brightblue "\<(do|new)(ins|(games)?s?bin|doc|lib(\.so|\.a)?|man|info|exe|initd|confd|envd|pam|menu|icon)\>"
-color brightblue "\<do(python|sed|dir|hard|sym|html|jar|mo)\>" "\<keepdir\>"
-color brightblue "prepall(docs|info|man|strip)?" "prep(info|lib|lib\.(so|a)|man|strip|gamesdirs)"
-color brightblue "\<(doc|ins|exe)?into\>" "\<(f|games)(owners|perms)\>" "\<(exe|ins|dir)opts\>"
-## Highlight common commands used in ebuilds
-color blue "\<make\>" "\<(awk|cat|cd|chmod|chown|cp|echo|env|export|find|e?grep|ln|mkdir|mv|rm|sed|set|tar|touch|unset|xargs)\>"
-## Highlight comments (doesnt work that well)
-color yellow "(^|[[:space:]])#.*$"
-## Highlight strings (doesnt work that well)
-color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'"
-## Trailing space is bad!
-color ,green "[[:space:]]+$"
-
-## Here is an example for Portage control files
-##
-syntax "/etc/portage" "\.(keywords|mask|unmask|use)(/.+)?$"
-## Base text:
-color green "^.+$"
-## Use flags:
-color brightred "[[:space:]]+\+?[a-zA-Z0-9_-]+"
-color brightblue "[[:space:]]+-[a-zA-Z0-9_-]+"
-## Likely version and slot numbers:
-color magenta "-[[:digit:]].*([[:space:]]|$)"
-color magenta ":[^[:space:]]+([[:space:]]|$)"
-## Accepted arches:
-color white "[~-]?\<(alpha|amd64|arm|hppa|ia64|mips|ppc|ppc64|s390|sh|sparc(-fbsd)?|x86(-fbsd)?)\>"
-color white "[[:space:]][*~-]?\*"
-## Categories:
-color cyan "^[[:space:]]*.*/"
-## Masking regulators:
-color brightmagenta "^[[:space:]]*(=|~|<|<=|=<|>|>=|=>)"
-## Comments:
-color yellow "#.*$"
diff --git a/share/nano/groff.nanorc b/share/nano/groff.nanorc
deleted file mode 100644
index 02b82b8..0000000
--- a/share/nano/groff.nanorc
+++ /dev/null
@@ -1,24 +0,0 @@
-## Here is an example for groff.
-##
-syntax "groff" "\.m[ems]$" "\.rof" "\.tmac$" "^tmac."
-## The argument of .ds or .nr
-color cyan "^\.(ds|nr) [^[[:space:]]]*"
-## Single character escapes
-color brightmagenta "\\."
-## Highlight the argument of \f or \s in the same color
-color brightmagenta "\\f." "\\f\(.." "\\s(\+|\-)?[0-9]"
-## Newlines
-color cyan "(\\|\\\\)n(.|\(..)"
-color cyan start="(\\|\\\\)n\[" end="]"
-## Requests
-color brightgreen "^\.[[:space:]]*[^[[:space:]]]*"
-## Comments
-color yellow "^\.\\".*$"
-## Strings
-color green "(\\|\\\\)\*(.|\(..)"
-color green start="(\\|\\\\)\*\[" end="]"
-## Characters
-color brightred "\\\(.."
-color brightred start="\\\[" end="]"
-## Macro arguments
-color brightcyan "\\\\\$[1-9]"
diff --git a/share/nano/html.nanorc b/share/nano/html.nanorc
deleted file mode 100644
index d31467d..0000000
--- a/share/nano/html.nanorc
+++ /dev/null
@@ -1,5 +0,0 @@
-## Here is a short example for HTML.
-##
-syntax "html" "\.html$"
-color blue start="<" end=">"
-color red "&[^;[[:space:]]]*;"
diff --git a/share/nano/java.nanorc b/share/nano/java.nanorc
deleted file mode 100644
index a432f81..0000000
--- a/share/nano/java.nanorc
+++ /dev/null
@@ -1,12 +0,0 @@
-## Here is an example for Java.
-##
-syntax "java" "\.java$"
-color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
-color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
-color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>"
-color red ""[^"]*""
-color yellow "\<(true|false|null)\>"
-color blue "//.*"
-color blue start="/\*" end="\*/"
-color brightblue start="/\*\*" end="\*/"
-color ,green "[[:space:]]+$"
diff --git a/share/nano/makefile.nanorc b/share/nano/makefile.nanorc
deleted file mode 100644
index 93a1e76..0000000
--- a/share/nano/makefile.nanorc
+++ /dev/null
@@ -1,8 +0,0 @@
-# unattributed syntax highlighting example from wiki.linuxhelp.net/
-
-syntax "makefile" "Makefile[^/]*$"
-color red "[:=]"
-color magenta "\<(if|ifeq|else|endif)\>"
-color blue "\$+[{(][a-zA-Z0-9_-]+[})]"
-color brightblue "^[^ ]+:"
-color green "#.*$"
diff --git a/share/nano/man.nanorc b/share/nano/man.nanorc
deleted file mode 100644
index 85efd26..0000000
--- a/share/nano/man.nanorc
+++ /dev/null
@@ -1,9 +0,0 @@
-## Here is an example for manpages.
-##
-syntax "man" "\.[1-9]x?$"
-color green "\.(S|T)H.*$"
-color brightgreen "\.(S|T)H" "\.TP"
-color brightred "\.(BR?|I[PR]?).*$"
-color brightblue "\.(BR?|I[PR]?|PP)"
-color brightwhite "\\f[BIPR]"
-color yellow "\.(br|DS|RS|RE|PD)"
diff --git a/share/nano/mgp.nanorc b/share/nano/mgp.nanorc
deleted file mode 100644
index daba282..0000000
--- a/share/nano/mgp.nanorc
+++ /dev/null
@@ -1,8 +0,0 @@
-## Here is an example for Magicpoint presentations
-##
-syntax "mgp" "\.mgp$"
-header "^%include.*"
-icolor green "^%[a-z].*$"
-color cyan "(^|[[:space:]])#.*$"
-color cyan "(^|[[:space:]])%%.*$"
-color ,green "[[:space:]]+$"
diff --git a/share/nano/mutt.nanorc b/share/nano/mutt.nanorc
deleted file mode 100644
index 2e68399..0000000
--- a/share/nano/mutt.nanorc
+++ /dev/null
@@ -1,4 +0,0 @@
-## Here is an example for quoted emails (under e.g. mutt).
-##
-syntax "mutt"
-color green "^>.*"
diff --git a/share/nano/nanorc.nanorc b/share/nano/nanorc.nanorc
deleted file mode 100644
index 19ab533..0000000
--- a/share/nano/nanorc.nanorc
+++ /dev/null
@@ -1,16 +0,0 @@
-## Here is an example for nanorc files.
-##
-syntax "nanorc" "\.?nanorc$"
-## Possible errors and parameters
-icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
-## Keywords
-icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|speller|suspend|suspendenable|tabsize|tabstospaces|tempfile|undo|view|whitespace|wordbounds)\>"
-icolor green "^[[:space:]]*(set|unset|include|syntax|header)\>"
-## Colors
-icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
-icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)="
-## Strings
-icolor white ""(\\.|[^"])*""
-## Comments
-icolor brightblue "^[[:space:]]*#.*$"
-icolor cyan "^[[:space:]]*##.*$"
diff --git a/share/nano/objc.nanorc b/share/nano/objc.nanorc
deleted file mode 100644
index cdf6e48..0000000
--- a/share/nano/objc.nanorc
+++ /dev/null
@@ -1,41 +0,0 @@
-## Here is an example for C/C++/Obj-C.
-##
-syntax "m" "\.m$"
-
-
-## Stuffs
-color brightwhite "\<[A-Z_][0-9A-Z_]+\>"
-color green "\<(float|double|BOOL|bool|char|int|short|long|id|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\>"
-color green "\<[[:alpha:]_][[:alnum:]_]*_t\>"
-color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\>"
-color brightgreen "\<(for|if|while|do|else|case|default|switch)\>"
-color brightgreen "\<(try|throw|catch|operator|new|delete)\>"
-color brightgreen "\<(goto|continue|break|return)\>"
-color brightgreen "@\<(en(code|d)|i(mplementation|nterface)|selector)\>"
-##
-## GCC builtins
-color cyan "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__"
-
-## Selector/method
-color brightmagenta "(^|[[:space:]])\[.*[[:space:]].*\]"
-color white ":[[:alnum:]]*"
-color magenta "[[:alnum:]]*:"
-color white "\[[^][:space:]]*\]"
-
-##
-## String highlighting. You will in general want your comments and
-## strings to come last, because syntax highlighting rules will be
-## applied in the order they are read in.
-color brightblack "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'"
-color brightblack "<[^= ]*>" ""(\\.|[^"])*""
-color brightblue "@"(\\.|[^"])*""
-##
-## This string is VERY resource intensive!
-## color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
-
-color brightblue "^[[:space:]]*#[[:space:]]*(define|include|import|(un|ifn?)def|endif|el(if|se)|if|warning|error)"
-
-## Comment highlighting
-color yellow "//.*"
-color yellow start="/\*" end="\*/"
-
diff --git a/share/nano/ocaml.nanorc b/share/nano/ocaml.nanorc
deleted file mode 100644
index fc71ae2..0000000
--- a/share/nano/ocaml.nanorc
+++ /dev/null
@@ -1,27 +0,0 @@
-# OCaml sample nanorc
-#
-syntax "ocaml" "\.mli?$"
-#uid
-color red "\<[A-Z][0-9a-z_]{2,}\>"
-#declarations
-color green "\<(let|val|method|in|and|rec|private|virtual|constraint)\>"
-#structure items
-color red "\<(type|open|class|module|exception|external)\>"
-#patterns
-color blue "\<(fun|function|functor|match|try|with)\>"
-#patterns-modifiers
-color yellow "\<(as|when|of)\>"
-#conditions
-color cyan "\<(if|then|else)\>"
-#blocs
-color magenta "\<(begin|end|object|struct|sig|for|while|do|done|to|downto)\>"
-#constantes
-color green "\<(true|false)\>"
-#modules/classes
-color green "\<(include|inherit|initializer)\>"
-#expr modifiers
-color yellow "\<(new|ref|mutable|lazy|assert|raise)\>"
-#comments
-color white start="\(\*" end="\*\)"
-#strings (no multiline handling yet)
-color brightblack ""[^\"]*""
diff --git a/share/nano/patch.nanorc b/share/nano/patch.nanorc
deleted file mode 100644
index a788b35..0000000
--- a/share/nano/patch.nanorc
+++ /dev/null
@@ -1,10 +0,0 @@
-## Here is an example for patch files.
-##
-syntax "patch" "\.(patch|diff)$"
-color brightgreen "^\+.*"
-color green "^\+\+\+.*"
-color brightblue "^ .*"
-color brightred "^-.*"
-color red "^---.*"
-color brightyellow "^@@.*"
-color magenta "^diff.*"
diff --git a/share/nano/perl.nanorc b/share/nano/perl.nanorc
deleted file mode 100644
index b5a5606..0000000
--- a/share/nano/perl.nanorc
+++ /dev/null
@@ -1,12 +0,0 @@
-## Here is an example for Perl.
-##
-syntax "perl" "\.p[lm]$"
-header "^#!.*/perl[-0-9._]*"
-color red "\<(accept|alarm|atan2|bin(d|mode)|c(aller|h(dir|mod|op|own|root)|lose(dir)?|onnect|os|rypt)|d(bm(close|open)|efined|elete|ie|o|ump)|e(ach|of|val|x(ec|ists|it|p))|f(cntl|ileno|lock|ork))\>" "\<(get(c|login|peername|pgrp|ppid|priority|pwnam|(host|net|proto|serv)byname|pwuid|grgid|(host|net)byaddr|protobynumber|servbyport)|([gs]et|end)(pw|gr|host|net|proto|serv)ent|getsock(name|opt)|gmtime|goto|grep|hex|index|int|ioctl|join)\>" "\<(keys|kill|last|length|link|listen|local(time)?|log|lstat|m|mkdir|msg(ctl|get|snd|rcv)|next|oct|open(dir)?|ord|pack|pipe|pop|printf?|push|q|qq|qx|rand|re(ad(dir|link)?|cv|do|name|quire|set|turn|verse|winddir)|rindex|rmdir|s|scalar|seek(dir)?)\>" "\<(se(lect|mctl|mget|mop|nd|tpgrp|tpriority|tsockopt)|shift|shm(ctl|get|read|write)|shutdown|sin|sleep|socket(pair)?|sort|spli(ce|t)|sprintf|sqrt|srand|stat|study|substr|symlink|sys(call|read|tem|write)|tell(dir)?|time|tr(y)?|truncate|umask)\>" "\<(un(def|link|pack|shift)|utime|values|vec|wait(pid)?|wantarray|warn|write)\>"
-color magenta "\<(continue|else|elsif|do|for|foreach|if|unless|until|while|eq|ne|lt|gt|le|ge|cmp|x|my|sub|use|package|can|isa)\>"
-icolor cyan start="[$@%]" end="( |[^0-9A-Z_]|-)"
-color yellow "".*"|qq\|.*\|"
-color white "[sm]/.*/"
-color white start="(^use| = new)" end=";"
-color green "#.*"
-color yellow start="<< 'STOP'" end="STOP"
diff --git a/share/nano/php.nanorc b/share/nano/php.nanorc
deleted file mode 100644
index 8ef495f..0000000
--- a/share/nano/php.nanorc
+++ /dev/null
@@ -1,30 +0,0 @@
-## Here is an example for PHP
-##
-syntax "php" "\.php[2345s~]?$"
-
-## php markings
-color brightgreen "(<\?(php)?|\?>)"
-
-## functions
-color white "\<[a-z_]*\("
-
-## types
-color green "\<(var|float|global|double|bool|char|int|enum|const)\>"
-
-## structure
-color brightyellow "\<(class|new|private|public|function|for|foreach|if|while|do|else|elseif|case|default|switch)\>"
-
-## control flow
-color magenta "\<(goto|continue|break|return)\>"
-
-## strings
-color brightyellow "<[^= ]*>" ""(\.|[^"])*""
-
-## comments
-color brightblue "//.*"
-color brightblue start="/\*" end="\*/"
-#color blue start="<" end=">"
-#color red "&[^;[[:space:]]]*;"
-
-## Trailing whitespace
-color ,green "[[:space:]]+$"
diff --git a/share/nano/pov.nanorc b/share/nano/pov.nanorc
deleted file mode 100644
index 298b201..0000000
--- a/share/nano/pov.nanorc
+++ /dev/null
@@ -1,15 +0,0 @@
-## Here is an example for POV-Ray.
-##
-syntax "pov" "\.(pov|POV|povray|POVRAY)$"
-color brightcyan "^[[:space:]]*#[[:space:]]*(declare)"
-color brightyellow "\<(sphere|cylinder|translate|matrix|rotate|scale)\>"
-color brightyellow "\<(orthographic|location|up|right|direction|clipped_by)\>"
-color brightyellow "\<(fog_type|fog_offset|fog_alt|rgb|distance|transform)\>"
-color brightred "^\<(texture)\>"
-color brightred "\<(light_source|background)\>"
-color brightred "\<(fog|object|camera)\>"
-color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
-color brightmagenta "\<(union|group|subgroup)\>"
-## Comment highlighting
-color brightblue "//.*"
-color brightblue start="/\*" end="\*/"
diff --git a/share/nano/python.nanorc b/share/nano/python.nanorc
deleted file mode 100644
index 4280274..0000000
--- a/share/nano/python.nanorc
+++ /dev/null
@@ -1,10 +0,0 @@
-## Here is an example for Python.
-##
-syntax "python" "\.py$"
-header "^#!.*/python[-0-9._]*"
-icolor brightblue "def [0-9A-Z_]+"
-color brightcyan "\<(and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield)\>"
-color brightgreen "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
-color brightgreen "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
-color brightgreen start=""""[^"]" end=""""" start="'''[^']" end="'''"
-color brightred "#.*$"
diff --git a/share/nano/ruby.nanorc b/share/nano/ruby.nanorc
deleted file mode 100644
index b30b229..0000000
--- a/share/nano/ruby.nanorc
+++ /dev/null
@@ -1,31 +0,0 @@
-## Here is an example for Ruby.
-##
-syntax "ruby" "\.rb$"
-header "^#!.*/ruby[-0-9._]*"
-## Asciibetical list of reserved words
-color yellow "\<(BEGIN|END|alias|and|begin|break|case|class|def|defined\?|do|else|elsif|end|ensure|false|for|if|in|module|next|nil|not|or|redo|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield)\>"
-## Constants
-color brightblue "(\$|@|@@)?\<[A-Z]+[0-9A-Z_a-z]*"
-## Ruby "symbols"
-icolor magenta "([ ]|^):[0-9A-Z_]+\>"
-## Some unique things we want to stand out
-color brightyellow "\<(__FILE__|__LINE__)\>"
-## Regular expressions
-color brightmagenta "/([^/]|(\\/))*/[iomx]*" "%r\{([^}]|(\\}))*\}[iomx]*"
-## Shell command expansion is in `backticks` or like %x{this}. These are
-## "double-quotish" (to use a perlism).
-color brightblue "`[^`]*`" "%x\{[^}]*\}"
-## Strings, double-quoted
-color green ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\[[^]]*\]" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!"
-## Expression substitution. These go inside double-quoted strings,
-## "like #{this}".
-color brightgreen "#\{[^}]*\}"
-## Strings, single-quoted
-color green "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!"
-## Comments
-color cyan "#[^{].*$" "#$"
-color brightcyan "##[^{].*$" "##$"
-## "Here" docs
-color green start="<<-?'?EOT'?" end="^EOT"
-## Some common markers
-color brightcyan "(XXX|TODO|FIXME|\?\?\?)"
diff --git a/share/nano/sh.nanorc b/share/nano/sh.nanorc
deleted file mode 100644
index ecce22e..0000000
--- a/share/nano/sh.nanorc
+++ /dev/null
@@ -1,14 +0,0 @@
-## Here is an example for Bourne shell scripts.
-##
-syntax "sh" "\.sh$"
-header "^#!.*/(ba|k|pdk)?sh[-0-9_]*"
-icolor brightgreen "^[0-9A-Z_]+\(\)"
-color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
-color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
-color green "-[Ldefgruwx]\>"
-color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
-color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>"
-icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
-color cyan "(^|[[:space:]])#.*$"
-color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
-color ,green "[[:space:]]+$"
diff --git a/share/nano/tcl.nanorc b/share/nano/tcl.nanorc
deleted file mode 100644
index ad3401f..0000000
--- a/share/nano/tcl.nanorc
+++ /dev/null
@@ -1,16 +0,0 @@
-syntax "tcl" "\.tcl$"
-
-## Standard Tcl [info commands]
-color green "\<(after|append|array|auto_execok|auto_import|auto_load|auto_load_index|auto_qualify|binary|break|case|catch|cd|clock|close|concat|continue|encoding|eof|error|eval|exec|exit|expr|fblocked|fconfigure|fcopy|file|fileevent|flush|for|foreach|format|gets|glob|global|history|if|incr|info|interp|join|lappend|lindex|linsert|list|llength|load|lrange|lreplace|lsearch|lset|lsort|namespace|open|package|pid|puts|pwd|read|regexp|regsub|rename|return|scan|seek|set|socket|source|split|string|subst|switch|tclLog|tell|time|trace|unknown|unset|update|uplevel|upvar|variable|vwait|while)\>"
-## Basic Tcl sub commands.
-color green "\<(array anymore|array donesearch|array exists|array get|array names|array nextelement|array set|array size|array startsearch|array statistics|array unset)\>"
-color green "\<(string bytelength|string compare|string equal|string first|string index|string is|string last|string length|string map|string match|string range|string repeat|string replace|string to|string tolower|string totitle|string toupper|string trim|string trimleft|string trimright|string will|string wordend|string wordstart)\>"
-## Extended TclX [info commands]
-color green "\<(alarm|auto_load_pkg|bsearch|catclose|catgets|catopen|ccollate|cconcat|cequal|chgrp|chmod|chown|chroot|cindex|clength|cmdtrace|commandloop|crange|csubstr|ctoken|ctype|dup|echo|execl|fcntl|flock|fork|fstat|ftruncate|funlock|host_info|id|infox|keyldel|keylget|keylkeys|keylset|kill|lassign|lcontain|lempty|lgets|link|lmatch|loadlibindex|loop|lvarcat|lvarpop|lvarpush|max|min|nice|pipe|profile|random|readdir|replicate|scancontext|scanfile|scanmatch|select|server_accept|server_create|signal|sleep|sync|system|tclx_findinit|tclx_fork|tclx_load_tndxs|tclx_sleep|tclx_system|tclx_wait|times|translit|try_eval|umask|wait)\>"
-## Syntax.
-color brightblue "proc[[:space:]]" "(\{|\})"
-color green "(\(|\)|\;|`|\\|\$|<|>|!|=|&|\|)"
-color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
-icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
-color ,green "[[:space:]]+$"
-color ,magenta "^[[:space:]]*#.*"
diff --git a/share/nano/tex.nanorc b/share/nano/tex.nanorc
deleted file mode 100644
index 23ca3a4..0000000
--- a/share/nano/tex.nanorc
+++ /dev/null
@@ -1,6 +0,0 @@
-## Here is a short example for TeX files.
-##
-syntax "tex" "\.tex$"
-icolor green "\\.|\\[A-Z]*"
-color magenta "[{}]"
-color blue "(^|[^\])%.*"
diff --git a/share/nano/xml.nanorc b/share/nano/xml.nanorc
deleted file mode 100644
index 1f68c05..0000000
--- a/share/nano/xml.nanorc
+++ /dev/null
@@ -1,9 +0,0 @@
-## Here is an example for xml files.
-##
-syntax "xml" "\.([jrs]html?|sgml?|xml|xslt?)$"
-color green start="<" end=">"
-color cyan "<[^> ]+"
-color cyan ">"
-color yellow start="<!DOCTYPE" end="[/]?>"
-color yellow start="<!--" end="-->"
-color red "&[^;]*;"