diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | gnus.el | 37 | ||||
-rw-r--r-- | groups.txt | 81 | ||||
-rw-r--r-- | init.el | 20 |
4 files changed, 21 insertions, 118 deletions
diff --git a/.gitignore b/.gitignore index 0b5311d..13a372e 100644 --- a/.gitignore +++ b/.gitignore | |||
@@ -4,6 +4,7 @@ | |||
4 | auto-save-list/ | 4 | auto-save-list/ |
5 | eln-cache/ | 5 | eln-cache/ |
6 | etc/ | 6 | etc/ |
7 | feeds.txt | ||
7 | gnus/ | 8 | gnus/ |
8 | pkg/ | 9 | pkg/ |
9 | private.el | 10 | private.el |
diff --git a/gnus.el b/gnus.el index 8c06855..d179937 100644 --- a/gnus.el +++ b/gnus.el | |||
@@ -16,22 +16,25 @@ | |||
16 | 16 | ||
17 | ;;; Code: | 17 | ;;; Code: |
18 | 18 | ||
19 | ;;; Private files | ||
20 | (require 'acdw-private) | ||
21 | |||
19 | ;;; Select Methods | 22 | ;;; Select Methods |
20 | (setq gnus-select-method '(nnnil "")) | 23 | (setq gnus-select-method '(nnnil "")) |
21 | 24 | ||
22 | (setq gnus-secondary-select-methods | 25 | (add-hook 'gnus-startup-hook |
23 | '((nnimap "fastmail.com" | 26 | (defun gnus-startup@feed-setup () |
24 | (nnimap-address "imap.fastmail.com") | 27 | (cond ((fboundp #'gnus/init-feed-list) |
25 | (nnimap-server-port 993) | 28 | (gnus/init-feed-list)) |
26 | (nnimap-stream ssl) | 29 | ((and (fboundp #'gnus/import-feed-list) |
27 | (nnir-search-engine imap)) | 30 | (file-exists-p (expand-file-name |
28 | (nntp "news.tilde.club") | 31 | "feeds.txt" user-emacs-directory))) |
29 | (nntp "news.gwene.org") | 32 | (gnus/import-feed-list (expand-file-name |
30 | (nntp "news.gmane.io"))) | 33 | "feeds.txt" user-emacs-directory))) |
34 | (t (message "Oops, no feeds :/"))))) | ||
31 | 35 | ||
32 | ;;; Gnus cloud | 36 | ;;; Gnus cloud |
33 | (setq gnus-cloud-method "nnimap:fastmail.com" | 37 | (setq gnus-cloud-storage-method nil ; Don't always have GPG or gzip |
34 | gnus-cloud-storage-method nil ; Don't always have GPG or gzip | ||
35 | gnus-cloud-covered-servers '("nntp:news.tilde.club" | 38 | gnus-cloud-covered-servers '("nntp:news.tilde.club" |
36 | "nntp:news.gwene.org" | 39 | "nntp:news.gwene.org" |
37 | "nntp:news.gmane.io")) | 40 | "nntp:news.gmane.io")) |
@@ -61,7 +64,7 @@ | |||
61 | 64 | ||
62 | ;;; Other parameters | 65 | ;;; Other parameters |
63 | (setq gnus-parameters | 66 | (setq gnus-parameters |
64 | '(("nnimap\\+fastmail.com:.*" | 67 | '(("fastmail.com:.*" |
65 | (display . 200) | 68 | (display . 200) |
66 | (expiry-wait . immediate) | 69 | (expiry-wait . immediate) |
67 | (expiry-target . "nnimap+fastmail.com:Archive")))) | 70 | (expiry-target . "nnimap+fastmail.com:Archive")))) |
@@ -116,16 +119,6 @@ | |||
116 | (flyspell-mode +1) | 119 | (flyspell-mode +1) |
117 | (local-set-key (kbd "TAB") #'bbdb-complete-mail))) | 120 | (local-set-key (kbd "TAB") #'bbdb-complete-mail))) |
118 | 121 | ||
119 | ;;; Sending mail | ||
120 | (setq send-mail-function #'smtpmail-send-it | ||
121 | message-send-mail-function #'smtpmail-send-it | ||
122 | smtpmail-smtp-server "smtp.fastmail.com" | ||
123 | smtpmail-default-smtp-server "smtp.fastmail.com" | ||
124 | smtpmail-smtp-service 465 | ||
125 | smtpmail-stream-type 'ssl | ||
126 | smtpmail-smtp-user "acdw@fastmail.com" | ||
127 | message-kill-buffer-on-exit t) | ||
128 | |||
129 | ;;; Packages | 122 | ;;; Packages |
130 | 123 | ||
131 | ;; searching (?) | 124 | ;; searching (?) |
diff --git a/groups.txt b/groups.txt deleted file mode 100644 index f6a370c..0000000 --- a/groups.txt +++ /dev/null | |||
@@ -1,81 +0,0 @@ | |||
1 | nntp+news.gmane.io:gmane.emacs.announce | ||
2 | nntp+news.gmane.io:gmane.emacs.erc.announce | ||
3 | nntp+news.gmane.io:gmane.emacs.gnus.announce | ||
4 | nntp+news.gmane.io:gmane.emacs.humanities | ||
5 | nntp+news.gmane.io:gmane.network.protocols.gemini | ||
6 | nntp+news.gwene.org:gwene.blog.botanistinthek | ||
7 | nntp+news.gwene.org:gwene.ca.muto | ||
8 | nntp+news.gwene.org:gwene.casa.m455 | ||
9 | nntp+news.gwene.org:gwene.casa.m455.weed.weed | ||
10 | nntp+news.gwene.org:gwene.codes.esoteric | ||
11 | nntp+news.gwene.org:gwene.com.aiweirdness | ||
12 | nntp+news.gwene.org:gwene.com.ajroach42 | ||
13 | nntp+news.gwene.org:gwene.com.careercenterbr | ||
14 | nntp+news.gwene.org:gwene.com.catandgirl | ||
15 | nntp+news.gwene.org:gwene.com.deprogrammatic | ||
16 | nntp+news.gwene.org:gwene.com.drewdevault.blog | ||
17 | nntp+news.gwene.org:gwene.com.ebrpl.blog | ||
18 | nntp+news.gwene.org:gwene.com.emacslife.planet | ||
19 | nntp+news.gwene.org:gwene.com.falseknees | ||
20 | nntp+news.gwene.org:gwene.com.gerwitz.hans.feeds.writing | ||
21 | nntp+news.gwene.org:gwene.com.greghendershot | ||
22 | nntp+news.gwene.org:gwene.com.invisibleup | ||
23 | nntp+news.gwene.org:gwene.com.lambdacreate.static | ||
24 | nntp+news.gwene.org:gwene.com.murilopereira | ||
25 | nntp+news.gwene.org:gwene.com.occasionallyco | ||
26 | nntp+news.gwene.org:gwene.com.rachelbythebay.w | ||
27 | nntp+news.gwene.org:gwene.com.realbakingwith.month | ||
28 | nntp+news.gwene.org:gwene.com.usesthis | ||
29 | nntp+news.gwene.org:gwene.com.wflewis | ||
30 | nntp+news.gwene.org:gwene.com.whyarentyoucod | ||
31 | nntp+news.gwene.org:gwene.com.wordpress.filledwithcrea | ||
32 | nntp+news.gwene.org:gwene.com.xkcd | ||
33 | nntp+news.gwene.org:gwene.dance.hamster.blog | ||
34 | nntp+news.gwene.org:gwene.de.uninformativ.blog.feeds.en | ||
35 | nntp+news.gwene.org:gwene.info.benjaminwil.antisocial | ||
36 | nntp+news.gwene.org:gwene.io.github.chrisman | ||
37 | nntp+news.gwene.org:gwene.io.github.wphicks | ||
38 | nntp+news.gwene.org:gwene.io.jao.blog | ||
39 | nntp+news.gwene.org:gwene.io.wpc.blog | ||
40 | nntp+news.gwene.org:gwene.li.eli | ||
41 | nntp+news.gwene.org:gwene.link.atthis | ||
42 | nntp+news.gwene.org:gwene.name.spwhitton.blog | ||
43 | nntp+news.gwene.org:gwene.net.acdw | ||
44 | nntp+news.gwene.org:gwene.net.acdw.feed.weed | ||
45 | nntp+news.gwene.org:gwene.net.envs.lucidiot.rsrsss | ||
46 | nntp+news.gwene.org:gwene.net.neeasade.notes.rss.full | ||
47 | nntp+news.gwene.org:gwene.net.ryliejamesthom.blog | ||
48 | nntp+news.gwene.org:gwene.news.tilde.rss.token.fvd.fj8r.qkhr.by9j1y.on1t6rykddc | ||
49 | nntp+news.gwene.org:gwene.nz.geek.sanctum.blog | ||
50 | nntp+news.gwene.org:gwene.org.eu.pt.astrosnail.blog | ||
51 | nntp+news.gwene.org:gwene.org.lisp.planet.rss20 | ||
52 | nntp+news.gwene.org:gwene.org.neocities.society | ||
53 | nntp+news.gwene.org:gwene.org.neocities.supervegan | ||
54 | nntp+news.gwene.org:gwene.org.scheme.planet | ||
55 | nntp+news.gwene.org:gwene.org.z3bra.blog | ||
56 | nntp+news.gwene.org:gwene.rip.computer | ||
57 | nntp+news.gwene.org:gwene.space.makeworld | ||
58 | nntp+news.gwene.org:gwene.space.petras | ||
59 | nntp+news.gwene.org:gwene.team.tilde.dozens.dreams | ||
60 | nntp+news.gwene.org:gwene.town.tilde.dozens.rsspect | ||
61 | nntp+news.gwene.org:gwene.town.tilde.lucidiot.fridaypostcard | ||
62 | nntp+news.gwene.org:gwene.town.tilde.lucidiot.weed.weed | ||
63 | nntp+news.gwene.org:gwene.town.tilde.m455.javapool | ||
64 | nntp+news.gwene.org:gwene.town.tilde.mroik.blog | ||
65 | nntp+news.gwene.org:gwene.town.tilde.trm.blog | ||
66 | nntp+news.gwene.org:gwene.uk.co.gaffen | ||
67 | nntp+news.gwene.org:gwene.uk.me.insom | ||
68 | nntp+news.gwene.org:gwene.voyage.cosmic | ||
69 | nntp+news.gwene.org:gwene.website.coolguy.weed.weed | ||
70 | nntp+news.gwene.org:gwene.xyz.earnestma.blog | ||
71 | nntp+news.gwene.org:gwene.xyz.jackreid | ||
72 | nntp+news.tilde.club:local.general | ||
73 | nntp+news.tilde.club:tilde.art | ||
74 | nntp+news.tilde.club:tilde.club | ||
75 | nntp+news.tilde.club:tilde.cosmic | ||
76 | nntp+news.tilde.club:tilde.food+drink | ||
77 | nntp+news.tilde.club:tilde.gopher | ||
78 | nntp+news.tilde.club:tilde.meta | ||
79 | nntp+news.tilde.club:tilde.poetry | ||
80 | nntp+news.tilde.club:tilde.services | ||
81 | nntp+news:gwene.com.xenodium | ||
diff --git a/init.el b/init.el index fc5927e..aaa73f6 100644 --- a/init.el +++ b/init.el | |||
@@ -45,6 +45,9 @@ | |||
45 | (expand-file-name-exists-p "pkg/" user-emacs-directory))) | 45 | (expand-file-name-exists-p "pkg/" user-emacs-directory))) |
46 | (normal-top-level-add-subdirs-to-load-path)) | 46 | (normal-top-level-add-subdirs-to-load-path)) |
47 | 47 | ||
48 | ;;;; Private stuff | ||
49 | (require 'acdw-private) | ||
50 | |||
48 | 51 | ||
49 | ;;;; Utility functions and variables | 52 | ;;;; Utility functions and variables |
50 | ;; see also: `acdw' and friends. Functions here aren't big enough, or they're | 53 | ;; see also: `acdw' and friends. Functions here aren't big enough, or they're |
@@ -66,10 +69,7 @@ | |||
66 | 69 | ||
67 | (setup acdw | 70 | (setup acdw |
68 | (:option user-full-name "Case Duckworth" | 71 | (:option user-full-name "Case Duckworth" |
69 | user-mail-address "acdw@acdw.net" | 72 | user-mail-address "acdw@acdw.net")) |
70 | calendar-location-name "Baton Rouge, LA" | ||
71 | calendar-latitude 30.4 | ||
72 | calendar-longitude -91.1)) | ||
73 | 73 | ||
74 | (setup (:require auth-source) | 74 | (setup (:require auth-source) |
75 | (:option auth-sources '("~/.authinfo" "~/.authinfo.gpg"))) | 75 | (:option auth-sources '("~/.authinfo" "~/.authinfo.gpg"))) |
@@ -259,15 +259,6 @@ | |||
259 | erc-auto-discard-away t | 259 | erc-auto-discard-away t |
260 | erc-autoaway-idle-seconds 600 | 260 | erc-autoaway-idle-seconds 600 |
261 | erc-autoaway-message "BRB (autoaway: %i seconds)" | 261 | erc-autoaway-message "BRB (autoaway: %i seconds)" |
262 | erc-autojoin-channels-alist '(("libera.chat" | ||
263 | "#emacs" "##webpals" | ||
264 | "#erc") | ||
265 | ("tilde.chat" | ||
266 | "#meta" "#team" "#gemini" | ||
267 | "#bread" ; how could I've forgotten!? | ||
268 | "#politics" "#bungame" | ||
269 | "#dadjokes" "#tilderadio" | ||
270 | "#tilderadio-djs")) | ||
271 | erc-button-url-regexp browse-url-button-regexp | 262 | erc-button-url-regexp browse-url-button-regexp |
272 | erc-common-server-suffixes '(("tilde.chat\\'" . "~") | 263 | erc-common-server-suffixes '(("tilde.chat\\'" . "~") |
273 | ("libera.chat\\'" . "LC")) | 264 | ("libera.chat\\'" . "LC")) |
@@ -283,8 +274,7 @@ | |||
283 | erc-nick "acdw" | 274 | erc-nick "acdw" |
284 | erc-prompt (lambda () (concat (buffer-name) ">")) | 275 | erc-prompt (lambda () (concat (buffer-name) ">")) |
285 | erc-prompt-for-password nil ; use ~/.authinfo | 276 | erc-prompt-for-password nil ; use ~/.authinfo |
286 | erc/servers '("irc.libera.chat" | 277 | erc/servers (mapcar #'car erc-autojoin-channels-alist) |
287 | "irc.tilde.chat") | ||
288 | erc-server-coding-system '(utf-8 . utf-8) | 278 | erc-server-coding-system '(utf-8 . utf-8) |
289 | erc-track-exclude-types erc-hide-list | 279 | erc-track-exclude-types erc-hide-list |
290 | erc-track-position-in-mode-line 'before-modes) | 280 | erc-track-position-in-mode-line 'before-modes) |