summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-07-02 15:04:50 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-07-02 15:04:50 -0400
commitd383205ac60fdcf39bf2b0f813d63f91cf6e9dd5 (patch)
tree25f4a7ce8f40cab3b76fd35ba8b8d31145f7ee4f
parent41be5454a224acda28025ac2a67d9ca27c80b5e9 (diff)
A bunch of different, small things
* .bash_aliases: fix hardcoded location of dircolors * .bashrc: move daemon-starting to... * .profile: * .wl: set up SMTP, increase folder-window-width * .crontab: run make every 5 min. * .emacs: o load php-mode-improved, mmm-mode, dtrt-indent, folding o set default theme to color-theme-ttyp-dark (override for X11) o (setq default indent-tabs-mode t) o set up flymake for PHP * .git.info.exclude: ignore .bogofilter/* * .maildirproc/default.rc: tweak filters
-rw-r--r--.bash_aliases2
-rw-r--r--.bashrc4
-rw-r--r--.crontab1
-rw-r--r--.emacs21
-rw-r--r--.git.info.exclude1
-rw-r--r--.maildirproc/default.rc14
-rw-r--r--.profile3
-rw-r--r--.wl8
8 files changed, 40 insertions, 14 deletions
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/.bashrc b/.bashrc
index d77e848..925ab3b 100644
--- a/.bashrc
+++ b/.bashrc
@@ -98,7 +98,3 @@ if [ -f /etc/bash_completion ]; then
fi
export TMPDIR="$HOME/tmp"
-
-daemon emacs --daemon
-daemon sysfiles
-daemon maildirproc
diff --git a/.crontab b/.crontab
index 76e1537..34730b9 100644
--- a/.crontab
+++ b/.crontab
@@ -1,2 +1,3 @@
# m h dom mon dow command
*/5 * * * * offlineimap -u quiet
+*/5 * * * * cd $HOME && make
diff --git a/.emacs b/.emacs
index d055e48..538e2c4 100644
--- a/.emacs
+++ b/.emacs
@@ -25,11 +25,14 @@
'(el-get
package
rainbow-delimiters
- color-theme
+ php-mode-improved
+ mmm-mode
+ dtrt-indent
+ folding
apel flim semi wanderlust
-; (:name color-theme
-; :after (lambda ()
-; (color-theme-tty-dark)))
+ (:name color-theme
+ :after (lambda ()
+ (color-theme-tty-dark)))
(:name color-theme-solarized
:after (lambda ()
(add-hook 'after-make-frame-functions
@@ -104,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
@@ -126,3 +130,8 @@
(setq browse-url-generic-program (executable-find "v-www-browser")
browse-url-browser-function 'browse-url-generic)
+
+(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/.git.info.exclude b/.git.info.exclude
index 69a53f3..d57169f 100644
--- a/.git.info.exclude
+++ b/.git.info.exclude
@@ -78,3 +78,4 @@ history.*
.crontab.local
.elmo
.ido.last
+.bogofilter/*
diff --git a/.maildirproc/default.rc b/.maildirproc/default.rc
index 7d46f57..8cfe5cd 100644
--- a/.maildirproc/default.rc
+++ b/.maildirproc/default.rc
@@ -105,7 +105,7 @@ def my_filters(mail):
False
or mail["List-Id"].contains("troopmailinglist.troop276.net")
or is_to_or_from(mail,"t276_announcements@att.net")
- or mail["Subject"].matches("troop\s*276")
+ 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")
@@ -138,6 +138,7 @@ def my_filters(mail):
"skiplittell@comcast.net",
"dave.nelson@ecolab.com",
"@ni.com",
+ "@precisepath.com",
]:
if is_to_or_from(mail,address):
mail.move(".School.Robotics")
@@ -157,11 +158,12 @@ def my_filters(mail):
"gitorious.org",
"sourceforge.com",
"ietf.org",
+ "kde.org",
"trustees@core3.amsl.com",
"esr@thyrsus.com",
"canonical.org",
"foocorp.net",
- "parabolagnulinux.org"
+ "parabolagnulinux.org",
]:
if is_to_or_from(mail,address):
mail.move(".software")
@@ -174,6 +176,14 @@ def my_filters(mail):
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",
diff --git a/.profile b/.profile
index ec14112..98289d6 100644
--- a/.profile
+++ b/.profile
@@ -31,3 +31,6 @@ if [ -f "$HOME/.selected_editor" ]; then
fi
alsactl --file $HOME/.alsa.save restore
+daemon emacs --daemon
+daemon sysfiles
+daemon maildirproc
diff --git a/.wl b/.wl
index b1a95e7..c6bf63c 100644
--- a/.wl
+++ b/.wl
@@ -5,9 +5,15 @@
elmo-maildir-folder-path "~/Maildir" ;; where I store my mail
wl-stay-folder-window t ;; show the folder pane (left)
- wl-folder-window-width 25 ;; toggle on/off with 'i'
+ 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: