Mercurial > hg > xemacs
annotate mail-from-m.el @ 56:3dd34fa466c2
define from-mhmcc by brute force
author | Henry S Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Sat, 02 Mar 2024 21:39:59 +0000 |
parents | bcb51a32799d |
children | 32a75a4db17b |
rev | line source |
---|---|
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
1 ;;; Load to read and send mail from maritain |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
2 |
22 | 3 (setq mail-append-host "home.hst.name") |
4 (setq user-full-name "Henry S. Thompson") | |
5 (setq user-mail-address "ht@home.hst.name") | |
6 (setq mail-host-address "home.hst.name") | |
7 (setq mail-signature-file "/home/ht/.sig.pers") | |
8 (setq mail-signature t) | |
9 (setq message-signature-file "/home/ht/.sig.pers") | |
10 (setq message-signature t) | |
11 (defun system-name () "home.hst.name") | |
12 | |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
13 (setq gnus-default-directory "/home/ht" |
47
06ccca1d4756
try to cope with major reshuffle on ecclerig
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
43
diff
changeset
|
14 gnus-home-directory "/home/ht" |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
15 my-mail-dir "/home/ht/mail" |
43
eee08de75336
try to do better at where news/mail/init stuff is handled,
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
40
diff
changeset
|
16 mail-sources '((file :path "/var/spool/mail/ht")) |
47
06ccca1d4756
try to cope with major reshuffle on ecclerig
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
43
diff
changeset
|
17 mail-archive-file-name (concat my-mail-dir "/cpy/general/" |
06ccca1d4756
try to cope with major reshuffle on ecclerig
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
43
diff
changeset
|
18 (format-time-string |
06ccca1d4756
try to cope with major reshuffle on ecclerig
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
43
diff
changeset
|
19 "%Y-%m" (current-time)) |
06ccca1d4756
try to cope with major reshuffle on ecclerig
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
43
diff
changeset
|
20 ".mbox") |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
21 ) |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
22 |
43
eee08de75336
try to do better at where news/mail/init stuff is handled,
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
40
diff
changeset
|
23 (setq mail-archive-file-name (expand-file-name "~/mail/cpy/general")) |
eee08de75336
try to do better at where news/mail/init stuff is handled,
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
40
diff
changeset
|
24 |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
25 (defun set-nnmail-split-fancy () |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
26 (setq nnmail-split-fancy |
52
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
27 (let ((month (format-time-string "%Y-%m" (current-time))) |
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
28 (year (format-time-string "%Y" (current-time))) |
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
29 ) |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
30 (cons '| |
52
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
31 (append `(("Subject" "testing" "jjunk") |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
32 (to "quaker-\\(l\\|spectrum\\)" "quaker-2022") |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
33 (to "quaker-b" "quaker-b") |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
34 (to "[cC]ygwin" "cygwin") |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
35 (from "noreply@mrooms.net" "nayler") |
52
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
36 (to "ht@rsof.hst.name" ,(concat "quaker-" year)) |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
37 (to "Wardenship@lists.quaker.eu.org" "wardens") |
52
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
38 (to "mhmcc@rsof.hst.name" ,(concat "mhmcc-" year)) |
54 | 39 (from "\\(gillian.einstein@gmail.com\\|brian.cantwell.smith@gmail.com\\|gguzeldere@yahoo.com\\|jim.brink@gmail.com\\|rgwinther@gmail.com\\|shockema@gmail.com\\|j.jun.luo@gmail.com\\)" "GoN") |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
40 ("Envelope-to" "mhmcc@rsof.hst.name" |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
41 (| (from "mhmcc@rsof.hst.name" junk) |
52
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
42 ,(concat "mhmcc-" year))) |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
43 (to "mfw@rsof.hst.name" "7vt") |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
44 (to "zphdaily" (concat "pers-" month)) |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
45 (to "inf\\(pg\\|msc\\|teach\\|res\\|staff\\)" "inf-\\1" ) |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
46 ) |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
47 (list (list 'to |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
48 "ht\\|h\\.?thompson?" |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
49 (concat "pers-" month)) |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
50 (concat "group-" |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
51 (format-time-string |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
52 "%Y-%m" (current-time)) |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
53 ""))))))) |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
54 |
52
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
55 (defun set-ht-compiled-split () |
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
56 (interactive) |
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
57 (set-nnmail-split-fancy)) |
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
58 |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
59 (setq gnus-posting-styles |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
60 `((".*" |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
61 (signature-file ,mail-signature-file)) |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
62 ("quaker-2023" |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
63 (signature-file "/home/ht/.quaker-sig") |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
64 (address "ht@rsof.hst.name")) |
52
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
65 ("quaker-2024" |
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
66 (signature-file "/home/ht/.quaker-sig") |
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
67 (address "ht@rsof.hst.name")) |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
68 ("mhmcc-2023" |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
69 (signature-file "/home/ht/.mhmcc-sig") |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
70 ("Reply-to" "sesam.emh.management@gmail.com") |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
71 (name "HST as Convenor SESAM MHMC") |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
72 (address "mhmcc@rsof.hst.name") |
52
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
73 ("Bcc" "sesam.emh.management@gmail.com")) |
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
74 ("mhmcc-2024" |
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
75 (signature-file "/home/ht/.mhmcc-sig") |
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
76 ("Reply-to" "sesam.emh.management@gmail.com") |
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
77 (name "HST as Convenor SESAM MHMC") |
f3ab63e5c39f
add auto-year to mmhcc, quaker
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
47
diff
changeset
|
78 (address "mhmcc@rsof.hst.name") |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
79 ("Bcc" "sesam.emh.management@gmail.com")))) |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
80 |
22 | 81 ;; sending mail on the road |
82 ;(setq send-mail-function 'smtpmail-send-it) | |
83 ;(setq message-send-mail-function 'smtpmail-send-it) | |
84 ;(setq smtpmail-default-smtp-server "localhost") | |
85 ;(setq smtpmail-smtp-service "smtp") | |
86 ;(setq smtpmail-local-domain "home.hst.name") | |
87 (setq smtpmail-debug-info t) | |
88 (load "smtpmail" nil t) | |
89 (setq smtpmail-code-conv-from nil) | |
90 | |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
91 |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
92 (defun quaker-sig-maybe () |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
93 (save-excursion |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
94 (goto-char (point-min)) |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
95 (cond ((to-quaker-p) |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
96 (goto-char (point-min)) |
54 | 97 (cond ((re-search-forward "^From: .*ht@home.hst.name" nil t) |
40 | 98 ;; will fail on mhmcc |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
99 (backward-char 13) |
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
100 (delete-char 4) |
40 | 101 (insert "rsof") |
102 (goto-char (point-max)) | |
103 (search-backward "\n-- \n") | |
104 (when (looking-at "\n-- \nHenry") | |
105 (forward-char 5) | |
106 (kill-entire-line 5) | |
107 (insert-file "~/.quaker-sig")))))))) | |
32
cb9b76219c55
attempt to merge mail read and send from all over
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
22
diff
changeset
|
108 |
56
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
109 (defun from-mhmcc () |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
110 (interactive) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
111 ;; This is cribbed from the value of |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
112 ;; (gnus-configure-posting-styles "mhmcc-2024") |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
113 (let ((user-full-name "HST as Convenor SESAM MHMC") |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
114 (user-mail-address "mhmcc@rsof.hst.name")) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
115 (set (make-local-variable (quote user-mail-address)) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
116 "mhmcc@rsof.hst.name") |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
117 (save-excursion |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
118 (message-remove-header "From") |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
119 (message-goto-eoh) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
120 (insert "From: " (message-make-from) " |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
121 ") |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
122 )) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
123 (save-excursion |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
124 (let ((message-signature |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
125 "Henry S. Thompson, Convenor, SESAM Meeting House Management Committee |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
126 ")) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
127 (message-insert-signature) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
128 (re-search-backward "^--") |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
129 (let ((p (point))) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
130 (kill-region (re-search-backward "^--") p)) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
131 )) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
132 (save-excursion |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
133 (message-remove-header "Reply-to") |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
134 (let ((value "sesam.emh.management@gmail.com")) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
135 (when value |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
136 (message-goto-eoh) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
137 (insert "Reply-to" ": " value) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
138 (unless (bolp) (insert " |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
139 ")) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
140 )) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
141 ) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
142 (save-excursion (message-remove-header "Bcc") (let ((value "sesam.emh.management@gmail.com")) (when value (message-goto-eoh) (insert "Bcc" ": " value) (unless (bolp) (insert " |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
143 "))))) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
144 ) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
145 ; (let ((use-this (gnus-configure-posting-styles "mhmcc-2024")) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
146 ; (gnus-posting-styles nil)) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
147 ; (mapc (lambda (expr) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
148 ; (let ((varbind (and (listp expr) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
149 ; (eq (car (caadr expr)) 'save-excursion) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
150 ; (caadr (cadr (caddr expr)))))) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
151 ; (unless (and (eq (car varbind) 'message-signature) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
152 ; (not (position "Convenor" (cadr varbind)))) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
153 ; (apply expr nil)))) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
154 ; )) |
3dd34fa466c2
define from-mhmcc by brute force
Henry S Thompson <ht@inf.ed.ac.uk>
parents:
54
diff
changeset
|
155 |
22 | 156 (provide 'mail-from-m) |