Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More work with el-get and wanderlust
- Loading branch information
Showing
9 changed files
with
140 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
(setq user-mail-address "rayners@gmail.com") | ||
|
||
(add-to-list 'el-get-sources '(:name wanderlust | ||
:after (lambda () | ||
(setq wl-from "David Raynes <rayners@gmail.com>") | ||
(setq wl-user-mail-address-list '("rayners@gmail.com" | ||
"rayners@rayners.org" | ||
"rayners@endevver.com")) | ||
(setq wl-forward-subject-prefix "Fwd: ") | ||
(setq | ||
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")) | ||
(setq wl-draft-always-delete-myself t) | ||
(setq wl-smtp-connection-type 'starttls | ||
wl-smtp-posting-port 587 | ||
wl-smtp-authenticate-type "plain" | ||
wl-smtp-posting-user "rayners" | ||
wl-smtp-posting-server "smtp.gmail.com" | ||
wl-local-domain "gmail.com") | ||
(setq elmo-imap4-default-server "imap.gmail.com") | ||
(setq elmo-imap4-default-user "rayners@gmail.com") | ||
(setq elmo-imap4-default-authenticate-type 'clear) | ||
(setq elmo-imap4-default-port 993) | ||
(setq elmo-imap4-default-stream-type 'ssl) | ||
(setq elmo-imap4-use-modified-utf7 t) | ||
(setq wl-default-folder "%[GMail]/Important") | ||
(setq wl-default-spec "%") | ||
(add-hook 'wl-hook | ||
(lambda () | ||
(require 'bbdb-wl) | ||
(bbdb-wl-setup) | ||
|
||
;; i don't want to store addresses from my mailing folders | ||
(setq | ||
bbdb-wl-folder-regexp ;; get addresses only from these folders | ||
"^\.inbox$\\|^.sent") ;; | ||
)) | ||
))) | ||
(add-to-list 'el-get-sources 'apel) | ||
(add-to-list 'el-get-sources 'flim) | ||
(add-to-list 'el-get-sources 'semi) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(add-to-list 'el-get-sources '(:name bbdb | ||
:after (lambda () | ||
(setq bbdb-file "~/Dropbox/emacs-private/bbdb") | ||
))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
;; all the packages have been setup by now | ||
;; so we run the bit to sync and set | ||
(el-get) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,30 @@ | ||
|
||
(require 'ido) | ||
(ido-mode t) | ||
;; swiped from http://tsdh.wordpress.com/2007/08/14/directory-local-variables/ | ||
(defvar th-dir-local-variables-alist | ||
'(("~/repos/gnus/" . ((indent-tabs-mode . t) | ||
(tab-width . 8)))) | ||
"An alist with (PATH . LIST) pairs. PATH is a path and LIST is | ||
a list of variables to set locally for files below that path. It | ||
has elements of the form (VAR . VAL) where VAR is a symbol and | ||
VAL is its value.") | ||
|
||
(defun th-set-dir-local-variables () | ||
"Locally set the variables defined in | ||
`th-dir-local-variables-alist' for the current buffer." | ||
(interactive) | ||
(let ((file (buffer-file-name (current-buffer)))) | ||
(when file | ||
(dolist (pair th-dir-local-variables-alist) | ||
(when (string-match (concat "^" (regexp-quote (expand-file-name (car pair)))) | ||
file) | ||
(dolist (var (cdr pair)) | ||
(if (local-variable-if-set-p (car var)) | ||
(set (car var) (cdr var)) | ||
(set (make-local-variable (car var)) (cdr var))))))))) | ||
|
||
(add-hook 'find-file-hook | ||
'th-set-dir-local-variables) | ||
|
||
; now set my own bits | ||
(setq th-dir-local-variables-alist | ||
'(("~/repositories/buzzfeed" . ((perltidy-bin . "perltidy -q -buzzfeed"))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters