Mercurial > emacs
annotate lisp/mail/mbox-changes/rmail.el.changes @ 97713:5f641e3c827d
*** empty log message ***
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 26 Aug 2008 02:54:26 +0000 |
parents | 920b055d2ec5 |
children | 7704da81c9da |
rev | line source |
---|---|
97530
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1 RCS file: /cvsroot/emacs/emacs/lisp/mail/rmail.el,v |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
2 Working file: rmail.el |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
3 head: 1.454 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
4 branch: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
5 locks: strict |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
6 access list: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
7 symbolic names: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
8 remove-vms: 1.454 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
9 before-remove-vms: 1.454 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
10 remove-carbon: 1.454 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
11 before-remove-carbon: 1.454 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
12 before-merge-emacs-app-to-trunk: 1.454 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
13 font-backend: 1.453.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
14 font-backend-base: 1.453 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
15 EMACS_22_2: 1.433.2.10 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
16 EMACS_PRETEST_22_1_92: 1.433.2.10 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
17 lisp-bob: 1.452 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
18 EMACS_PRETEST_22_1_91: 1.433.2.9 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
19 merge-unicode-to-trunk: 1.447 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
20 before-merge-unicode-to-trunk: 1.446 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
21 EMACS_PRETEST_22_1_90: 1.433.2.8 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
22 lexbind-base: 1.454 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
23 merge-multi-tty-to-trunk: 1.439 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
24 before-merge-multi-tty-to-trunk: 1.439 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
25 EMACS_22_1: 1.433.2.1 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
26 EMACS_PRETEST_22_0_990: 1.433.2.1 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
27 multi-tty: 1.433.0.4 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
28 multi-tty-base: 1.439 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
29 EMACS_22_BRANCHPOINT: 1.433.2.1 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
30 EMACS_PRETEST_22_0_99: 1.433 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
31 EMACS_22_BASE: 1.433.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
32 EMACS_PRETEST_22_0_98: 1.433 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
33 EMACS_PRETEST_22_0_97: 1.433 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
34 EMACS_PRETEST_22_0_96: 1.432 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
35 EMACS_PRETEST_22_0_95: 1.432 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
36 EMACS_PRETEST_22_0_94: 1.431 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
37 EMACS_PRETEST_22_0_93: 1.431 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
38 EMACS_PRETEST_22_0_92: 1.430 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
39 EMACS_PRETEST_22_0_91: 1.430 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
40 EMACS_PRETEST_22_0_90: 1.429 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
41 unicode-post-font-backend: 1.371.4.29 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
42 unicode-pre-font-backend: 1.371.4.29 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
43 unicode-xft: 1.371.4.27.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
44 unicode-xft-base: 1.371.4.38 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
45 ttn-vms-21-2-B4: 1.349.4.3 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
46 ttn-vms-21-2-B3: 1.349.4.3 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
47 ttn-vms-21-2-B2: 1.349.4.3 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
48 XFT_JHD_BRANCH_base: 1.397 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
49 XFT_JHD_BRANCH: 1.397.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
50 EMACS_19_34: 1.194 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
51 after-merge-gnus-5_10: 1.392 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
52 before-merge-gnus-5_10: 1.392 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
53 gnus-5_10-post-merge-josefsson: 1.391 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
54 gnus-5_10-pre-merge-josefsson: 1.391 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
55 gnus-5_10-post-merge-yamaoka: 1.391 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
56 gnus-5_10-pre-merge-yamaoka: 1.391 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
57 gnus-5_10-branch: 1.391.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
58 gnus-5_10-branchpoint: 1.392 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
59 emacs-unicode-2-pre-sync: 1.371.4.3 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
60 ttn-vms-21-3-stash: 1.349.4.5.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
61 ttn-vms-21-2-stash: 1.349.4.3.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
62 EMACS_21_2: 1.349.4.3 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
63 handa-temp-tag: 1.387 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
64 emacs-bidi: 1.371.0.6 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
65 emacs-bidi-base: 1.371 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
66 emacs-unicode-2: 1.371.0.4 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
67 emacs-unicode-2-base: 1.446 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
68 Boehm-GC: 1.371.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
69 Boehm-GC-base: 1.371 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
70 EMACS_21_3: 1.349.4.5 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
71 rmail-mbox-branch: 1.368.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
72 RMAIL-MBOX-BASE: 1.368 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
73 EMACS_PRETEST_21_2_95: 1.349.4.5 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
74 EMACS_PRETEST_21_2_94: 1.349.4.5 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
75 EMACS_PRETEST_21_2_93: 1.349.4.5 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
76 EMACS_PRETEST_21_2_92: 1.349.4.5 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
77 EMACS_PRETEST_21_2_91: 1.349.4.5 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
78 lexbind: 1.360.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
79 emacs-unicode: 1.355.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
80 emacs-unicode-base: 1.355 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
81 fx-branch-base: 1.328 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
82 EMACS_21_1: 1.349 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
83 EMACS_21_1_RC: 1.349.0.4 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
84 EMACS_21_1_BASE: 1.349 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
85 patches_21_0: 1.349.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
86 patches_21_0_base: 1.349 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
87 EMACS_PRETEST_21_0_106: 1.349 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
88 EMACS_PRETEST_21_0_105: 1.348 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
89 EMACS_PRETEST_21_0_104: 1.347 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
90 EMACS_20_2: 1.236 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
91 gerd_big: 1.341.0.8 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
92 gerd_int: 1.341.0.6 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
93 gerd_dbe: 1.341.0.4 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
94 gerd_defvaralias: 1.341.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
95 EMACS_20_4: 1.305 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
96 EMACS_PRETEST_21_0_103: 1.339 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
97 EMACS_PRETEST_21_0_102: 1.333 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
98 EMACS_PRETEST_21_0_101: 1.333 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
99 EMACS_PRETEST_21_0_100: 1.332 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
100 EMACS_PRETEST_21_0_99: 1.329 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
101 EMACS_PRETEST_21_0_98: 1.329 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
102 fx-branch: 1.328.0.2 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
103 EMACS_PRETEST_21_0_97: 1.328 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
104 EMACS_PRETEST_21_0_96: 1.327 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
105 EMACS_PRETEST_21_0_95: 1.325 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
106 EMACS_PRETEST_21_0_93: 1.325 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
107 EMACS_PRETEST_21_0_92: 1.323 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
108 EMACS_PRETEST_21_0_91: 1.321 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
109 EMACS_PRETEST_21_0_90: 1.321 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
110 keyword substitution: kv |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
111 total revisions: 661; selected revisions: 661 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
112 description: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
113 ;;; rmail.el --- main code of "RMAIL" mail reader for Emacs. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
114 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
115 revision 1.454 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
116 date: 2008-05-06 07:22:26 +0000; author: gm; state: Exp; lines: +4 -6; commitid: nPdVwGEZ0V6bhS1t; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
117 Switch to recommended form of GPLv3 permissions notice. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
118 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
119 revision 1.453 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
120 date: 2008-04-10 14:10:19 +0000; author: monnier; state: Exp; lines: +1 -1; commitid: vwbWV2GwRKWGmzYs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
121 Fix up comment convention on the arch-tag lines. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
122 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
123 revision 1.452 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
124 date: 2008-02-20 05:59:41 +0000; author: gm; state: Exp; lines: +9 -1; commitid: afzSfvXamNShg6Ss; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
125 (rmail-autodetect): Add .exe extension to movemail on Windows. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
126 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
127 revision 1.451 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
128 date: 2008-02-13 20:58:26 +0000; author: bastien1; state: Exp; lines: +13 -15; commitid: lqRKtg2wkubzshRs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
129 ;;; smtpmail.el --- simple SMTP protocol (RFC 821) for sending mail |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
130 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
131 ;; Copyright (C) 1995, 1996, 2001, 2002, 2003, 2004, 2005, |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
132 ;; 2006, 2007, 2008 Free Software Foundation, Inc. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
133 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
134 ;; Author: Tomoji Kagatani <kagatani@rbc.ncl.omron.co.jp> |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
135 ;; Maintainer: Simon Josefsson <simon@josefsson.org> |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
136 ;; w32 Maintainer: Brian D. Carlstrom <bdc@ai.mit.edu> |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
137 ;; ESMTP support: Simon Leinen <simon@switch.ch> |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
138 ;; Hacked by Mike Taylor, 11th October 1999 to add support for |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
139 ;; automatically appending a domain to RCPT TO: addresses. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
140 ;; AUTH=LOGIN support: Stephen Cranefield <scranefield@infoscience.otago.ac.nz> |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
141 ;; Keywords: mail |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
142 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
143 ;; This file is part of GNU Emacs. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
144 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
145 ;; GNU Emacs is free software; you can redistribute it and/or modify |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
146 ;; it under the terms of the GNU General Public License as published by |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
147 ;; the Free Software Foundation; either version 3, or (at your option) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
148 ;; any later version. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
149 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
150 ;; GNU Emacs is distributed in the hope that it will be useful, |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
151 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
152 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
153 ;; GNU General Public License for more details. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
154 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
155 ;; You should have received a copy of the GNU General Public License |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
156 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
157 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
158 ;; Boston, MA 02110-1301, USA. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
159 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
160 ;;; Commentary: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
161 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
162 ;; Send Mail to smtp host from smtpmail temp buffer. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
163 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
164 ;; Please add these lines in your .emacs(_emacs) or use customize. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
165 ;; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
166 ;;(setq send-mail-function 'smtpmail-send-it) ; if you use `mail' |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
167 ;;(setq message-send-mail-function 'smtpmail-send-it) ; if you use message/Gnus |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
168 ;;(setq smtpmail-default-smtp-server "YOUR SMTP HOST") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
169 ;;(setq smtpmail-local-domain "YOUR DOMAIN NAME") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
170 ;;(setq smtpmail-sendto-domain "YOUR DOMAIN NAME") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
171 ;;(setq smtpmail-debug-info t) ; only to debug problems |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
172 ;;(setq smtpmail-auth-credentials ; or use ~/.authinfo |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
173 ;; '(("YOUR SMTP HOST" 25 "username" "password"))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
174 ;;(setq smtpmail-starttls-credentials |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
175 ;; '(("YOUR SMTP HOST" 25 "~/.my_smtp_tls.key" "~/.my_smtp_tls.cert"))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
176 ;; Where the 25 equals the value of `smtpmail-smtp-service', it can be an |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
177 ;; integer or a string, just as long as they match (eq). |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
178 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
179 ;; To queue mail, set smtpmail-queue-mail to t and use |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
180 ;; smtpmail-send-queued-mail to send. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
181 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
182 ;; Modified by Stephen Cranefield <scranefield@infoscience.otago.ac.nz>, |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
183 ;; 22/6/99, to support SMTP Authentication by the AUTH=LOGIN mechanism. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
184 ;; See http://help.netscape.com/products/server/messaging/3x/info/smtpauth.html |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
185 ;; Rewritten by Simon Josefsson to use same credential variable as AUTH |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
186 ;; support below. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
187 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
188 ;; Modified by Simon Josefsson <jas@pdc.kth.se>, 22/2/99, to support SMTP |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
189 ;; Authentication by the AUTH mechanism. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
190 ;; See http://www.ietf.org/rfc/rfc2554.txt |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
191 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
192 ;; Modified by Simon Josefsson <simon@josefsson.org>, 2000-10-07, to support |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
193 ;; STARTTLS. Requires external program |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
194 ;; ftp://ftp.opaopa.org/pub/elisp/starttls-*.tar.gz. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
195 ;; See http://www.ietf.org/rfc/rfc2246.txt, http://www.ietf.org/rfc/rfc2487.txt |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
196 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
197 ;;; Code: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
198 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
199 (require 'sendmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
200 (autoload 'starttls-open-stream "starttls") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
201 (autoload 'starttls-negotiate "starttls") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
202 (autoload 'mail-strip-quoted-names "mail-utils") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
203 (autoload 'message-make-date "message") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
204 (autoload 'message-make-message-id "message") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
205 (autoload 'rfc2104-hash "rfc2104") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
206 (autoload 'netrc-parse "netrc") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
207 (autoload 'netrc-machine "netrc") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
208 (autoload 'netrc-get "netrc") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
209 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
210 ;;; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
211 (defgroup smtpmail nil |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
212 "SMTP protocol for sending mail." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
213 :group 'mail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
214 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
215 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
216 (defcustom smtpmail-default-smtp-server nil |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
217 "*Specify default SMTP server. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
218 This only has effect if you specify it before loading the smtpmail library." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
219 :type '(choice (const nil) string) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
220 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
221 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
222 (defcustom smtpmail-smtp-server |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
223 (or (getenv "SMTPSERVER") smtpmail-default-smtp-server) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
224 "*The name of the host running SMTP server." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
225 :type '(choice (const nil) string) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
226 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
227 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
228 (defcustom smtpmail-smtp-service 25 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
229 "*SMTP service port number. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
230 The default value would be \"smtp\" or 25." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
231 :type '(choice (integer :tag "Port") (string :tag "Service")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
232 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
233 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
234 (defcustom smtpmail-local-domain nil |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
235 "*Local domain name without a host name. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
236 If the function `system-name' returns the full internet address, |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
237 don't define this value." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
238 :type '(choice (const nil) string) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
239 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
240 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
241 (defcustom smtpmail-sendto-domain nil |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
242 "*Local domain name without a host name. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
243 This is appended (with an @-sign) to any specified recipients which do |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
244 not include an @-sign, so that each RCPT TO address is fully qualified. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
245 \(Some configurations of sendmail require this.) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
246 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
247 Don't bother to set this unless you have get an error like: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
248 Sending failed; SMTP protocol error |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
249 when sending mail, and the *trace of SMTP session to <somewhere>* |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
250 buffer includes an exchange like: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
251 RCPT TO: <someone> |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
252 501 <someone>: recipient address must contain a domain |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
253 " |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
254 :type '(choice (const nil) string) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
255 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
256 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
257 (defcustom smtpmail-debug-info nil |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
258 "Whether to print info in buffer *trace of SMTP session to <somewhere>*. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
259 See also `smtpmail-debug-verb' which determines if the SMTP protocol should |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
260 be verbose as well." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
261 :type 'boolean |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
262 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
263 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
264 (defcustom smtpmail-debug-verb nil |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
265 "Whether this library sends the SMTP VERB command or not. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
266 The commands enables verbose information from the SMTP server." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
267 :type 'boolean |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
268 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
269 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
270 (defcustom smtpmail-code-conv-from nil ;; *junet* |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
271 "*smtpmail code convert from this code to *internal*..for tiny-mime.." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
272 :type 'boolean |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
273 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
274 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
275 (defcustom smtpmail-queue-mail nil |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
276 "*If set, mail is queued; otherwise it is sent immediately. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
277 If queued, it is stored in the directory `smtpmail-queue-dir' |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
278 and sent with `smtpmail-send-queued-mail'." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
279 :type 'boolean |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
280 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
281 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
282 (defcustom smtpmail-queue-dir "~/Mail/queued-mail/" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
283 "*Directory where `smtpmail.el' stores queued mail." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
284 :type 'directory |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
285 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
286 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
287 (defcustom smtpmail-auth-credentials "~/.authinfo" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
288 "Specify username and password for servers, directly or via .netrc file. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
289 This variable can either be a filename pointing to a file in netrc(5) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
290 format, or list of four-element lists that contain, in order, |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
291 `servername' (a string), `port' (an integer), `user' (a string) and |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
292 `password' (a string, or nil to query the user when needed). If you |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
293 need to enter a `realm' too, add it to the user string, so that it |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
294 looks like `user@realm'." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
295 :type '(choice file |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
296 (repeat (list (string :tag "Server") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
297 (integer :tag "Port") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
298 (string :tag "Username") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
299 (choice (const :tag "Query when needed" nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
300 (string :tag "Password"))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
301 :version "22.1" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
302 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
303 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
304 (defcustom smtpmail-starttls-credentials '(("" 25 "" "")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
305 "Specify STARTTLS keys and certificates for servers. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
306 This is a list of four-element list with `servername' (a string), |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
307 `port' (an integer), `key' (a filename) and `certificate' (a |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
308 filename). |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
309 If you do not have a certificate/key pair, leave the `key' and |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
310 `certificate' fields as `nil'. A key/certificate pair is only |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
311 needed if you want to use X.509 client authenticated |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
312 connections." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
313 :type '(repeat (list (string :tag "Server") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
314 (integer :tag "Port") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
315 (file :tag "Key") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
316 (file :tag "Certificate"))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
317 :version "21.1" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
318 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
319 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
320 (defcustom smtpmail-warn-about-unknown-extensions nil |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
321 "*If set, print warnings about unknown SMTP extensions. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
322 This is mainly useful for development purposes, to learn about |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
323 new SMTP extensions that might be useful to support." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
324 :type 'boolean |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
325 :version "21.1" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
326 :group 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
327 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
328 (defvar smtpmail-queue-index-file "index" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
329 "File name of queued mail index. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
330 This is relative to `smtpmail-queue-dir'.") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
331 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
332 (defvar smtpmail-address-buffer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
333 (defvar smtpmail-recipient-address-list) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
334 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
335 (defvar smtpmail-queue-counter 0) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
336 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
337 ;; Buffer-local variable. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
338 (defvar smtpmail-read-point) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
339 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
340 (defvar smtpmail-queue-index (concat smtpmail-queue-dir |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
341 smtpmail-queue-index-file)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
342 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
343 (defconst smtpmail-auth-supported '(cram-md5 plain login) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
344 "List of supported SMTP AUTH mechanisms.") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
345 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
346 ;;; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
347 ;;; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
348 ;;; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
349 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
350 (defvar smtpmail-mail-address nil |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
351 "Value to use for envelope-from address for mail from ambient buffer.") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
352 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
353 ;;;###autoload |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
354 (defun smtpmail-send-it () |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
355 (let ((errbuf (if mail-interactive |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
356 (generate-new-buffer " smtpmail errors") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
357 0)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
358 (tembuf (generate-new-buffer " smtpmail temp")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
359 (case-fold-search nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
360 delimline |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
361 (mailbuf (current-buffer)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
362 ;; Examine this variable now, so that |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
363 ;; local binding in the mail buffer will take effect. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
364 (smtpmail-mail-address |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
365 (or (and mail-specify-envelope-from (mail-envelope-from)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
366 user-mail-address)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
367 (smtpmail-code-conv-from |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
368 (if enable-multibyte-characters |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
369 (let ((sendmail-coding-system smtpmail-code-conv-from)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
370 (select-message-coding-system))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
371 (unwind-protect |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
372 (save-excursion |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
373 (set-buffer tembuf) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
374 (erase-buffer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
375 ;; Use the same buffer-file-coding-system as in the mail |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
376 ;; buffer, otherwise any write-region invocations (e.g., in |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
377 ;; mail-do-fcc below) will annoy with asking for a suitable |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
378 ;; encoding. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
379 (set-buffer-file-coding-system smtpmail-code-conv-from nil t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
380 (insert-buffer-substring mailbuf) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
381 (goto-char (point-max)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
382 ;; require one newline at the end. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
383 (or (= (preceding-char) ?\n) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
384 (insert ?\n)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
385 ;; Change header-delimiter to be what sendmail expects. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
386 (mail-sendmail-undelimit-header) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
387 (setq delimline (point-marker)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
388 ;; (sendmail-synch-aliases) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
389 (if mail-aliases |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
390 (expand-mail-aliases (point-min) delimline)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
391 (goto-char (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
392 ;; ignore any blank lines in the header |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
393 (while (and (re-search-forward "\n\n\n*" delimline t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
394 (< (point) delimline)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
395 (replace-match "\n")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
396 (let ((case-fold-search t)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
397 ;; We used to process Resent-... headers here, |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
398 ;; but it was not done properly, and the job |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
399 ;; is done correctly in smtpmail-deduce-address-list. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
400 ;; Don't send out a blank subject line |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
401 (goto-char (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
402 (if (re-search-forward "^Subject:\\([ \t]*\n\\)+\\b" delimline t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
403 (replace-match "") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
404 ;; This one matches a Subject just before the header delimiter. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
405 (if (and (re-search-forward "^Subject:\\([ \t]*\n\\)+" delimline t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
406 (= (match-end 0) delimline)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
407 (replace-match ""))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
408 ;; Put the "From:" field in unless for some odd reason |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
409 ;; they put one in themselves. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
410 (goto-char (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
411 (if (not (re-search-forward "^From:" delimline t)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
412 (let* ((login smtpmail-mail-address) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
413 (fullname (user-full-name))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
414 (cond ((eq mail-from-style 'angles) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
415 (insert "From: " fullname) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
416 (let ((fullname-start (+ (point-min) 6)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
417 (fullname-end (point-marker))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
418 (goto-char fullname-start) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
419 ;; Look for a character that cannot appear unquoted |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
420 ;; according to RFC 822. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
421 (if (re-search-forward "[^- !#-'*+/-9=?A-Z^-~]" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
422 fullname-end 1) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
423 (progn |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
424 ;; Quote fullname, escaping specials. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
425 (goto-char fullname-start) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
426 (insert "\"") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
427 (while (re-search-forward "[\"\\]" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
428 fullname-end 1) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
429 (replace-match "\\\\\\&" t)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
430 (insert "\"")))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
431 (insert " <" login ">\n")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
432 ((eq mail-from-style 'parens) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
433 (insert "From: " login " (") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
434 (let ((fullname-start (point))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
435 (insert fullname) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
436 (let ((fullname-end (point-marker))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
437 (goto-char fullname-start) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
438 ;; RFC 822 says \ and nonmatching parentheses |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
439 ;; must be escaped in comments. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
440 ;; Escape every instance of ()\ ... |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
441 (while (re-search-forward "[()\\]" fullname-end 1) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
442 (replace-match "\\\\\\&" t)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
443 ;; ... then undo escaping of matching parentheses, |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
444 ;; including matching nested parentheses. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
445 (goto-char fullname-start) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
446 (while (re-search-forward |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
447 "\\(\\=\\|[^\\]\\(\\\\\\\\\\)*\\)\\\\(\\(\\([^\\]\\|\\\\\\\\\\)*\\)\\\\)" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
448 fullname-end 1) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
449 (replace-match "\\1(\\3)" t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
450 (goto-char fullname-start)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
451 (insert ")\n")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
452 ((null mail-from-style) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
453 (insert "From: " login "\n"))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
454 ;; Insert a `Message-Id:' field if there isn't one yet. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
455 (goto-char (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
456 (unless (re-search-forward "^Message-Id:" delimline t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
457 (insert "Message-Id: " (message-make-message-id) "\n")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
458 ;; Insert a `Date:' field if there isn't one yet. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
459 (goto-char (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
460 (unless (re-search-forward "^Date:" delimline t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
461 (insert "Date: " (message-make-date) "\n")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
462 ;; Possibly add a MIME header for the current coding system |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
463 (let (charset) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
464 (goto-char (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
465 (and (eq mail-send-nonascii 'mime) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
466 (not (re-search-forward "^MIME-version:" delimline t)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
467 (progn (skip-chars-forward "\0-\177") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
468 (/= (point) (point-max))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
469 smtpmail-code-conv-from |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
470 (setq charset |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
471 (coding-system-get smtpmail-code-conv-from |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
472 'mime-charset)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
473 (goto-char delimline) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
474 (insert "MIME-version: 1.0\n" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
475 "Content-type: text/plain; charset=" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
476 (symbol-name charset) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
477 "\nContent-Transfer-Encoding: 8bit\n"))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
478 ;; Insert an extra newline if we need it to work around |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
479 ;; Sun's bug that swallows newlines. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
480 (goto-char (1+ delimline)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
481 (if (eval mail-mailer-swallows-blank-line) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
482 (newline)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
483 ;; Find and handle any FCC fields. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
484 (goto-char (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
485 (if (re-search-forward "^FCC:" delimline t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
486 ;; Force mail-do-fcc to use the encoding of the mail |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
487 ;; buffer to encode outgoing messages on FCC files. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
488 (let ((coding-system-for-write smtpmail-code-conv-from)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
489 (mail-do-fcc delimline))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
490 (if mail-interactive |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
491 (with-current-buffer errbuf |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
492 (erase-buffer)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
493 ;; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
494 ;; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
495 ;; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
496 (setq smtpmail-address-buffer (generate-new-buffer "*smtp-mail*")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
497 (setq smtpmail-recipient-address-list |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
498 (smtpmail-deduce-address-list tembuf (point-min) delimline)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
499 (kill-buffer smtpmail-address-buffer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
500 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
501 (smtpmail-do-bcc delimline) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
502 ; Send or queue |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
503 (if (not smtpmail-queue-mail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
504 (if (not (null smtpmail-recipient-address-list)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
505 (if (not (smtpmail-via-smtp |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
506 smtpmail-recipient-address-list tembuf)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
507 (error "Sending failed; SMTP protocol error")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
508 (error "Sending failed; no recipients")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
509 (let* ((file-data |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
510 (expand-file-name |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
511 (format "%s_%i" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
512 (format-time-string "%Y-%m-%d_%H:%M:%S") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
513 (setq smtpmail-queue-counter |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
514 (1+ smtpmail-queue-counter))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
515 smtpmail-queue-dir)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
516 (file-data (convert-standard-filename file-data)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
517 (file-elisp (concat file-data ".el")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
518 (buffer-data (create-file-buffer file-data)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
519 (buffer-elisp (create-file-buffer file-elisp)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
520 (buffer-scratch "*queue-mail*")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
521 (unless (file-exists-p smtpmail-queue-dir) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
522 (make-directory smtpmail-queue-dir t)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
523 (with-current-buffer buffer-data |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
524 (erase-buffer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
525 (set-buffer-file-coding-system smtpmail-code-conv-from nil t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
526 (insert-buffer-substring tembuf) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
527 (write-file file-data) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
528 (set-buffer buffer-elisp) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
529 (erase-buffer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
530 (insert (concat |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
531 "(setq smtpmail-recipient-address-list '" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
532 (prin1-to-string smtpmail-recipient-address-list) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
533 ")\n")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
534 (write-file file-elisp) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
535 (set-buffer (generate-new-buffer buffer-scratch)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
536 (insert (concat file-data "\n")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
537 (append-to-file (point-min) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
538 (point-max) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
539 smtpmail-queue-index) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
540 ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
541 (kill-buffer buffer-scratch) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
542 (kill-buffer buffer-data) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
543 (kill-buffer buffer-elisp)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
544 (kill-buffer tembuf) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
545 (if (bufferp errbuf) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
546 (kill-buffer errbuf))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
547 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
548 ;;;###autoload |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
549 (defun smtpmail-send-queued-mail () |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
550 "Send mail that was queued as a result of setting `smtpmail-queue-mail'." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
551 (interactive) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
552 (with-temp-buffer |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
553 ;;; Get index, get first mail, send it, update index, get second |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
554 ;;; mail, send it, etc... |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
555 (let ((file-msg "")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
556 (insert-file-contents smtpmail-queue-index) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
557 (goto-char (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
558 (while (not (eobp)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
559 (setq file-msg (buffer-substring (point) (line-end-position))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
560 (load file-msg) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
561 ;; Insert the message literally: it is already encoded as per |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
562 ;; the MIME headers, and code conversions might guess the |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
563 ;; encoding wrongly. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
564 (with-temp-buffer |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
565 (let ((coding-system-for-read 'no-conversion)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
566 (insert-file-contents file-msg)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
567 (let ((smtpmail-mail-address |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
568 (or (and mail-specify-envelope-from (mail-envelope-from)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
569 user-mail-address))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
570 (if (not (null smtpmail-recipient-address-list)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
571 (if (not (smtpmail-via-smtp smtpmail-recipient-address-list |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
572 (current-buffer))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
573 (error "Sending failed; SMTP protocol error")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
574 (error "Sending failed; no recipients")))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
575 (delete-file file-msg) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
576 (delete-file (concat file-msg ".el")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
577 (delete-region (point-at-bol) (point-at-bol 2))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
578 (write-region (point-min) (point-max) smtpmail-queue-index)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
579 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
580 ;(defun smtpmail-via-smtp (host,port,sender,destination,smtpmail-text-buffer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
581 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
582 (defun smtpmail-fqdn () |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
583 (if smtpmail-local-domain |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
584 (concat (system-name) "." smtpmail-local-domain) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
585 (system-name))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
586 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
587 (defsubst smtpmail-cred-server (cred) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
588 (nth 0 cred)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
589 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
590 (defsubst smtpmail-cred-port (cred) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
591 (nth 1 cred)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
592 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
593 (defsubst smtpmail-cred-key (cred) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
594 (nth 2 cred)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
595 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
596 (defsubst smtpmail-cred-user (cred) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
597 (nth 2 cred)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
598 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
599 (defsubst smtpmail-cred-cert (cred) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
600 (nth 3 cred)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
601 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
602 (defsubst smtpmail-cred-passwd (cred) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
603 (nth 3 cred)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
604 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
605 (defun smtpmail-find-credentials (cred server port) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
606 (catch 'done |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
607 (let ((l cred) el) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
608 (while (setq el (pop l)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
609 (when (and (equal server (smtpmail-cred-server el)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
610 (equal port (smtpmail-cred-port el))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
611 (throw 'done el)))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
612 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
613 (defun smtpmail-maybe-append-domain (recipient) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
614 (if (or (not smtpmail-sendto-domain) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
615 (string-match "@" recipient)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
616 recipient |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
617 (concat recipient "@" smtpmail-sendto-domain))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
618 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
619 (defun smtpmail-intersection (list1 list2) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
620 (let ((result nil)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
621 (dolist (el2 list2) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
622 (when (memq el2 list1) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
623 (push el2 result))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
624 (nreverse result))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
625 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
626 (defvar starttls-extra-args) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
627 (defvar starttls-extra-arguments) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
628 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
629 (defun smtpmail-open-stream (process-buffer host port) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
630 (let ((cred (smtpmail-find-credentials |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
631 smtpmail-starttls-credentials host port))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
632 (if (null (and cred (condition-case () |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
633 (with-no-warnings |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
634 (require 'starttls) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
635 (call-process (if starttls-use-gnutls |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
636 starttls-gnutls-program |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
637 starttls-program))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
638 (error nil)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
639 ;; The normal case. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
640 (open-network-stream "SMTP" process-buffer host port) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
641 (let* ((cred-key (smtpmail-cred-key cred)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
642 (cred-cert (smtpmail-cred-cert cred)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
643 (starttls-extra-args |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
644 (append |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
645 starttls-extra-args |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
646 (when (and (stringp cred-key) (stringp cred-cert) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
647 (file-regular-p |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
648 (setq cred-key (expand-file-name cred-key))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
649 (file-regular-p |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
650 (setq cred-cert (expand-file-name cred-cert)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
651 (list "--key-file" cred-key "--cert-file" cred-cert)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
652 (starttls-extra-arguments |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
653 (append |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
654 starttls-extra-arguments |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
655 (when (and (stringp cred-key) (stringp cred-cert) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
656 (file-regular-p |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
657 (setq cred-key (expand-file-name cred-key))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
658 (file-regular-p |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
659 (setq cred-cert (expand-file-name cred-cert)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
660 (list "--x509keyfile" cred-key "--x509certfile" cred-cert))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
661 (starttls-open-stream "SMTP" process-buffer host port))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
662 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
663 (defun smtpmail-try-auth-methods (process supported-extensions host port) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
664 (let* ((mechs (cdr-safe (assoc 'auth supported-extensions))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
665 (mech (car (smtpmail-intersection smtpmail-auth-supported mechs))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
666 (cred (if (stringp smtpmail-auth-credentials) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
667 (let* ((netrc (netrc-parse smtpmail-auth-credentials)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
668 (port-name (format "%s" (or port "smtp"))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
669 (hostentry (netrc-machine netrc host port-name |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
670 port-name))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
671 (when hostentry |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
672 (list host port |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
673 (netrc-get hostentry "login") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
674 (netrc-get hostentry "password")))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
675 (smtpmail-find-credentials |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
676 smtpmail-auth-credentials host port))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
677 (passwd (when cred |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
678 (or (smtpmail-cred-passwd cred) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
679 (read-passwd |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
680 (format "SMTP password for %s:%s: " |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
681 (smtpmail-cred-server cred) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
682 (smtpmail-cred-port cred)))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
683 ret) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
684 (when (and cred mech) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
685 (cond |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
686 ((eq mech 'cram-md5) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
687 (smtpmail-send-command process (upcase (format "AUTH %s" mech))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
688 (if (or (null (car (setq ret (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
689 (not (integerp (car ret))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
690 (>= (car ret) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
691 (throw 'done nil)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
692 (when (eq (car ret) 334) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
693 (let* ((challenge (substring (cadr ret) 4)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
694 (decoded (base64-decode-string challenge)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
695 (hash (rfc2104-hash 'md5 64 16 passwd decoded)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
696 (response (concat (smtpmail-cred-user cred) " " hash)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
697 ;; Osamu Yamane <yamane@green.ocn.ne.jp>: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
698 ;; SMTP auth fails because the SMTP server identifies |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
699 ;; only the first part of the string (delimited by |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
700 ;; new line characters) as a response from the |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
701 ;; client, and the rest as distinct commands. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
702 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
703 ;; In my case, the response string is 80 characters |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
704 ;; long. Without the no-line-break option for |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
705 ;; base64-encode-sting, only the first 76 characters |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
706 ;; are taken as a response to the server, and the |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
707 ;; authentication fails. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
708 (encoded (base64-encode-string response t))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
709 (smtpmail-send-command process (format "%s" encoded)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
710 (if (or (null (car (setq ret (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
711 (not (integerp (car ret))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
712 (>= (car ret) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
713 (throw 'done nil))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
714 ((eq mech 'login) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
715 (smtpmail-send-command process "AUTH LOGIN") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
716 (if (or (null (car (setq ret (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
717 (not (integerp (car ret))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
718 (>= (car ret) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
719 (throw 'done nil)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
720 (smtpmail-send-command |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
721 process (base64-encode-string (smtpmail-cred-user cred) t)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
722 (if (or (null (car (setq ret (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
723 (not (integerp (car ret))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
724 (>= (car ret) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
725 (throw 'done nil)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
726 (smtpmail-send-command process (base64-encode-string passwd t)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
727 (if (or (null (car (setq ret (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
728 (not (integerp (car ret))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
729 (>= (car ret) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
730 (throw 'done nil))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
731 ((eq mech 'plain) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
732 ;; We used to send an empty initial request, and wait for an |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
733 ;; empty response, and then send the password, but this |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
734 ;; violate a SHOULD in RFC 2222 paragraph 5.1. Note that this |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
735 ;; is not sent if the server did not advertise AUTH PLAIN in |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
736 ;; the EHLO response. See RFC 2554 for more info. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
737 (smtpmail-send-command process |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
738 (concat "AUTH PLAIN " |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
739 (base64-encode-string |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
740 (concat "\0" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
741 (smtpmail-cred-user cred) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
742 "\0" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
743 passwd) t))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
744 (if (or (null (car (setq ret (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
745 (not (integerp (car ret))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
746 (not (equal (car ret) 235))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
747 (throw 'done nil))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
748 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
749 (t |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
750 (error "Mechanism %s not implemented" mech))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
751 ;; Remember the password. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
752 (when (and (not (stringp smtpmail-auth-credentials)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
753 (null (smtpmail-cred-passwd cred))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
754 (setcar (cdr (cdr (cdr cred))) passwd))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
755 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
756 (defun smtpmail-via-smtp (recipient smtpmail-text-buffer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
757 (let ((process nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
758 (host (or smtpmail-smtp-server |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
759 (error "`smtpmail-smtp-server' not defined"))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
760 (port smtpmail-smtp-service) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
761 ;; smtpmail-mail-address should be set to the appropriate |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
762 ;; buffer-local value by the caller, but in case not: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
763 (envelope-from (or smtpmail-mail-address |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
764 (and mail-specify-envelope-from |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
765 (mail-envelope-from)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
766 user-mail-address)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
767 response-code |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
768 greeting |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
769 process-buffer |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
770 (supported-extensions '())) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
771 (unwind-protect |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
772 (catch 'done |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
773 ;; get or create the trace buffer |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
774 (setq process-buffer |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
775 (get-buffer-create (format "*trace of SMTP session to %s*" host))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
776 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
777 ;; clear the trace buffer of old output |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
778 (with-current-buffer process-buffer |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
779 (setq buffer-undo-list t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
780 (erase-buffer)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
781 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
782 ;; open the connection to the server |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
783 (setq process (smtpmail-open-stream process-buffer host port)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
784 (and (null process) (throw 'done nil)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
785 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
786 ;; set the send-filter |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
787 (set-process-filter process 'smtpmail-process-filter) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
788 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
789 (with-current-buffer process-buffer |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
790 (set-buffer-process-coding-system 'raw-text-unix 'raw-text-unix) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
791 (make-local-variable 'smtpmail-read-point) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
792 (setq smtpmail-read-point (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
793 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
794 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
795 (if (or (null (car (setq greeting (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
796 (not (integerp (car greeting))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
797 (>= (car greeting) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
798 (throw 'done nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
799 ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
800 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
801 (let ((do-ehlo t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
802 (do-starttls t)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
803 (while do-ehlo |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
804 ;; EHLO |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
805 (smtpmail-send-command process (format "EHLO %s" (smtpmail-fqdn))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
806 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
807 (if (or (null (car (setq response-code |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
808 (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
809 (not (integerp (car response-code))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
810 (>= (car response-code) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
811 (progn |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
812 ;; HELO |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
813 (smtpmail-send-command |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
814 process (format "HELO %s" (smtpmail-fqdn))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
815 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
816 (if (or (null (car (setq response-code |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
817 (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
818 (not (integerp (car response-code))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
819 (>= (car response-code) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
820 (throw 'done nil))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
821 (dolist (line (cdr (cdr response-code))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
822 (let ((name |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
823 (with-case-table ascii-case-table |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
824 (mapcar (lambda (s) (intern (downcase s))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
825 (split-string (substring line 4) "[ ]"))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
826 (and (eq (length name) 1) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
827 (setq name (car name))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
828 (and name |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
829 (cond ((memq (if (consp name) (car name) name) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
830 '(verb xvrb 8bitmime onex xone |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
831 expn size dsn etrn |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
832 enhancedstatuscodes |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
833 help xusr |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
834 auth=login auth starttls)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
835 (setq supported-extensions |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
836 (cons name supported-extensions))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
837 (smtpmail-warn-about-unknown-extensions |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
838 (message "Unknown extension %s" name))))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
839 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
840 (if (and do-starttls |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
841 (smtpmail-find-credentials smtpmail-starttls-credentials host port) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
842 (member 'starttls supported-extensions) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
843 (numberp (process-id process))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
844 (progn |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
845 (smtpmail-send-command process (format "STARTTLS")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
846 (if (or (null (car (setq response-code (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
847 (not (integerp (car response-code))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
848 (>= (car response-code) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
849 (throw 'done nil)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
850 (starttls-negotiate process) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
851 (setq do-starttls nil)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
852 (setq do-ehlo nil)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
853 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
854 (smtpmail-try-auth-methods process supported-extensions host port) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
855 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
856 (if (or (member 'onex supported-extensions) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
857 (member 'xone supported-extensions)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
858 (progn |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
859 (smtpmail-send-command process (format "ONEX")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
860 (if (or (null (car (setq response-code (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
861 (not (integerp (car response-code))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
862 (>= (car response-code) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
863 (throw 'done nil)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
864 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
865 (if (and smtpmail-debug-verb |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
866 (or (member 'verb supported-extensions) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
867 (member 'xvrb supported-extensions))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
868 (progn |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
869 (smtpmail-send-command process (format "VERB")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
870 (if (or (null (car (setq response-code (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
871 (not (integerp (car response-code))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
872 (>= (car response-code) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
873 (throw 'done nil)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
874 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
875 (if (member 'xusr supported-extensions) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
876 (progn |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
877 (smtpmail-send-command process (format "XUSR")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
878 (if (or (null (car (setq response-code (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
879 (not (integerp (car response-code))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
880 (>= (car response-code) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
881 (throw 'done nil)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
882 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
883 ;; MAIL FROM:<sender> |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
884 (let ((size-part |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
885 (if (or (member 'size supported-extensions) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
886 (assoc 'size supported-extensions)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
887 (format " SIZE=%d" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
888 (with-current-buffer smtpmail-text-buffer |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
889 ;; size estimate: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
890 (+ (- (point-max) (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
891 ;; Add one byte for each change-of-line |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
892 ;; because of CR-LF representation: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
893 (count-lines (point-min) (point-max))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
894 "")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
895 (body-part |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
896 (if (member '8bitmime supported-extensions) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
897 ;; FIXME: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
898 ;; Code should be added here that transforms |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
899 ;; the contents of the message buffer into |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
900 ;; something the receiving SMTP can handle. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
901 ;; For a receiver that supports 8BITMIME, this |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
902 ;; may mean converting BINARY to BASE64, or |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
903 ;; adding Content-Transfer-Encoding and the |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
904 ;; other MIME headers. The code should also |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
905 ;; return an indication of what encoding the |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
906 ;; message buffer is now, i.e. ASCII or |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
907 ;; 8BITMIME. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
908 (if nil |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
909 " BODY=8BITMIME" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
910 "") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
911 ""))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
912 ; (smtpmail-send-command process (format "MAIL FROM:%s@%s" (user-login-name) (smtpmail-fqdn))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
913 (smtpmail-send-command process (format "MAIL FROM:<%s>%s%s" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
914 envelope-from |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
915 size-part |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
916 body-part)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
917 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
918 (if (or (null (car (setq response-code (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
919 (not (integerp (car response-code))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
920 (>= (car response-code) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
921 (throw 'done nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
922 )) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
923 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
924 ;; RCPT TO:<recipient> |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
925 (let ((n 0)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
926 (while (not (null (nth n recipient))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
927 (smtpmail-send-command process (format "RCPT TO:<%s>" (smtpmail-maybe-append-domain (nth n recipient)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
928 (setq n (1+ n)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
929 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
930 (setq response-code (smtpmail-read-response process)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
931 (if (or (null (car response-code)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
932 (not (integerp (car response-code))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
933 (>= (car response-code) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
934 (throw 'done nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
935 ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
936 )) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
937 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
938 ;; DATA |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
939 (smtpmail-send-command process "DATA") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
940 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
941 (if (or (null (car (setq response-code (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
942 (not (integerp (car response-code))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
943 (>= (car response-code) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
944 (throw 'done nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
945 ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
946 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
947 ;; Mail contents |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
948 (smtpmail-send-data process smtpmail-text-buffer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
949 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
950 ;;DATA end "." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
951 (smtpmail-send-command process ".") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
952 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
953 (if (or (null (car (setq response-code (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
954 (not (integerp (car response-code))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
955 (>= (car response-code) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
956 (throw 'done nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
957 ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
958 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
959 ;;QUIT |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
960 ; (smtpmail-send-command process "QUIT") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
961 ; (and (null (car (smtpmail-read-response process))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
962 ; (throw 'done nil)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
963 t )) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
964 (if process |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
965 (with-current-buffer (process-buffer process) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
966 (smtpmail-send-command process "QUIT") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
967 (smtpmail-read-response process) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
968 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
969 ; (if (or (null (car (setq response-code (smtpmail-read-response process)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
970 ; (not (integerp (car response-code))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
971 ; (>= (car response-code) 400)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
972 ; (throw 'done nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
973 ; ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
974 (delete-process process) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
975 (unless smtpmail-debug-info |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
976 (kill-buffer process-buffer))))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
977 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
978 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
979 (defun smtpmail-process-filter (process output) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
980 (with-current-buffer (process-buffer process) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
981 (goto-char (point-max)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
982 (insert output))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
983 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
984 (defun smtpmail-read-response (process) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
985 (let ((case-fold-search nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
986 (response-strings nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
987 (response-continue t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
988 (return-value '(nil ())) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
989 match-end) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
990 (catch 'done |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
991 (while response-continue |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
992 (goto-char smtpmail-read-point) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
993 (while (not (search-forward "\r\n" nil t)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
994 (unless (memq (process-status process) '(open run)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
995 (throw 'done nil)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
996 (accept-process-output process) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
997 (goto-char smtpmail-read-point)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
998 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
999 (setq match-end (point)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1000 (setq response-strings |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1001 (cons (buffer-substring smtpmail-read-point (- match-end 2)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1002 response-strings)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1003 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1004 (goto-char smtpmail-read-point) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1005 (if (looking-at "[0-9]+ ") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1006 (let ((begin (match-beginning 0)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1007 (end (match-end 0))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1008 (if smtpmail-debug-info |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1009 (message "%s" (car response-strings))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1010 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1011 (setq smtpmail-read-point match-end) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1012 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1013 ;; ignore lines that start with "0" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1014 (if (looking-at "0[0-9]+ ") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1015 nil |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1016 (setq response-continue nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1017 (setq return-value |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1018 (cons (string-to-number |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1019 (buffer-substring begin end)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1020 (nreverse response-strings))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1021 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1022 (if (looking-at "[0-9]+-") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1023 (progn (if smtpmail-debug-info |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1024 (message "%s" (car response-strings))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1025 (setq smtpmail-read-point match-end) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1026 (setq response-continue t)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1027 (progn |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1028 (setq smtpmail-read-point match-end) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1029 (setq response-continue nil) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1030 (setq return-value |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1031 (cons nil (nreverse response-strings))))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1032 (setq smtpmail-read-point match-end)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1033 return-value)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1034 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1035 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1036 (defun smtpmail-send-command (process command) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1037 (goto-char (point-max)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1038 (if (= (aref command 0) ?P) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1039 (insert "PASS <omitted>\r\n") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1040 (insert command "\r\n")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1041 (setq smtpmail-read-point (point)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1042 (process-send-string process command) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1043 (process-send-string process "\r\n")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1044 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1045 (defun smtpmail-send-data-1 (process data) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1046 (goto-char (point-max)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1047 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1048 (if (and (multibyte-string-p data) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1049 smtpmail-code-conv-from) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1050 (setq data (string-as-multibyte |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1051 (encode-coding-string data smtpmail-code-conv-from)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1052 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1053 (if smtpmail-debug-info |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1054 (insert data "\r\n")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1055 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1056 (setq smtpmail-read-point (point)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1057 ;; Escape "." at start of a line |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1058 (if (eq (string-to-char data) ?.) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1059 (process-send-string process ".")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1060 (process-send-string process data) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1061 (process-send-string process "\r\n") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1062 ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1063 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1064 (defun smtpmail-send-data (process buffer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1065 (let ((data-continue t) sending-data) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1066 (with-current-buffer buffer |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1067 (goto-char (point-min))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1068 (while data-continue |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1069 (with-current-buffer buffer |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1070 (setq sending-data (buffer-substring (point-at-bol) (point-at-eol))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1071 (end-of-line 2) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1072 (setq data-continue (not (eobp)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1073 (smtpmail-send-data-1 process sending-data)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1074 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1075 (defun smtpmail-deduce-address-list (smtpmail-text-buffer header-start header-end) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1076 "Get address list suitable for smtp RCPT TO: <address>." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1077 (unwind-protect |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1078 (with-current-buffer smtpmail-address-buffer |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1079 (erase-buffer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1080 (let |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1081 ((case-fold-search t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1082 (simple-address-list "") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1083 this-line |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1084 this-line-end |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1085 addr-regexp) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1086 (insert-buffer-substring smtpmail-text-buffer header-start header-end) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1087 (goto-char (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1088 ;; RESENT-* fields should stop processing of regular fields. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1089 (save-excursion |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1090 (setq addr-regexp |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1091 (if (re-search-forward "^Resent-\\(to\\|cc\\|bcc\\):" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1092 header-end t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1093 "^Resent-\\(to\\|cc\\|bcc\\):" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1094 "^\\(To:\\|Cc:\\|Bcc:\\)"))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1095 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1096 (while (re-search-forward addr-regexp header-end t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1097 (replace-match "") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1098 (setq this-line (match-beginning 0)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1099 (forward-line 1) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1100 ;; get any continuation lines |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1101 (while (and (looking-at "^[ \t]+") (< (point) header-end)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1102 (forward-line 1)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1103 (setq this-line-end (point-marker)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1104 (setq simple-address-list |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1105 (concat simple-address-list " " |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1106 (mail-strip-quoted-names (buffer-substring this-line this-line-end)))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1107 ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1108 (erase-buffer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1109 (insert " " simple-address-list "\n") |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1110 (subst-char-in-region (point-min) (point-max) 10 ? t);; newline --> blank |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1111 (subst-char-in-region (point-min) (point-max) ?, ? t);; comma --> blank |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1112 (subst-char-in-region (point-min) (point-max) 9 ? t);; tab --> blank |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1113 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1114 (goto-char (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1115 ;; tidyness in case hook is not robust when it looks at this |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1116 (while (re-search-forward "[ \t]+" header-end t) (replace-match " ")) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1117 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1118 (goto-char (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1119 (let (recipient-address-list) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1120 (while (re-search-forward " \\([^ ]+\\) " (point-max) t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1121 (backward-char 1) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1122 (setq recipient-address-list (cons (buffer-substring (match-beginning 1) (match-end 1)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1123 recipient-address-list)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1124 ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1125 (setq smtpmail-recipient-address-list recipient-address-list)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1126 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1127 ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1128 ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1129 ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1130 ) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1131 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1132 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1133 (defun smtpmail-do-bcc (header-end) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1134 "Delete [Resent-]BCC: and their continuation lines from the header area. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1135 There may be multiple BCC: lines, and each may have arbitrarily |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1136 many continuation lines." |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1137 (let ((case-fold-search t)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1138 (save-excursion |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1139 (goto-char (point-min)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1140 ;; iterate over all BCC: lines |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1141 (while (re-search-forward "^\\(RESENT-\\)?BCC:" header-end t) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1142 (delete-region (match-beginning 0) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1143 (progn (forward-line 1) (point))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1144 ;; get rid of any continuation lines |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1145 (while (and (looking-at "^[ \t].*\n") (< (point) header-end)) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1146 (replace-match "")))))) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1147 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1148 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1149 (provide 'smtpmail) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1150 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1151 ;;; arch-tag: a76992df-6d71-43b7-9e72-4bacc6c05466 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1152 ;;; smtpmail.el ends here |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1153 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1154 revision 1.450 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1155 date: 2008-02-12 07:13:29 +0000; author: bastien1; state: Exp; lines: +9 -23; commitid: kUIzo78FXw0mV4Rs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1156 Reverted wrong changes to rmail.el. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1157 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1158 revision 1.449 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1159 date: 2008-02-12 07:10:49 +0000; author: bastien1; state: Exp; lines: +23 -9; commitid: U6bdsg13J3PmU4Rs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1160 2008-02-11 Drew Adams <drew.adams@oracle.com> |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1161 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1162 * help.el (describe-key): Joined some split lines to facilitate |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1163 filling. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1164 * help-fns.el (describe-function-1): Fill text of overlong lines. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1165 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1166 revision 1.448 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1167 date: 2008-02-10 22:10:09 +0000; author: bastien1; state: Exp; lines: +4 -2; commitid: XXphXBYKRXGPWTQs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1168 (rmail-nonignored-headers): Allow to be nil. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1169 (rmail-clear-headers): Don't check `rmail-nonignored-headers' when |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1170 it is nil. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1171 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1172 revision 1.447 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1173 date: 2008-02-01 16:01:27 +0000; author: miles; state: Exp; lines: +11 -11; commitid: A9tHDrKNUaDbcIPs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1174 Merge unicode branch |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1175 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1176 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1037 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1177 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1178 revision 1.446 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1179 date: 2008-02-01 02:40:23 +0000; author: miles; state: Exp; lines: +1 -1; commitid: XnTPkNPE8wPKLDPs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1180 Merge from emacs--rel--22 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1181 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1182 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1032 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1183 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1184 revision 1.445 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1185 date: 2008-01-13 18:16:04 +0000; author: m061211; state: Exp; lines: +75 -70; commitid: 542CxzVsGawCyhNs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1186 (rmail-convert-to-babyl-format): Remove |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1187 save-excursion to avoid infinite looping. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1188 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1189 revision 1.444 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1190 date: 2008-01-08 20:45:07 +0000; author: miles; state: Exp; lines: +1 -1; commitid: GLqjDoDkbCnkxEMs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1191 Merge from emacs--rel--22 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1192 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1193 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1194 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1195 revision 1.443 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1196 date: 2007-11-27 06:57:06 +0000; author: dann; state: Exp; lines: +9 -0; commitid: 2IinMqAAxCxbjbHs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1197 * progmodes/cperl-mode.el (compilation-error-regexp-alist): Pacify |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1198 byte compiler. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1199 (cperl-mode): Use with-no-warnings for setting vc-header-alist. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1200 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1201 * progmodes/idlwave.el (idlwave-shell-get-path-info) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1202 (idlwave-shell-temp-file, idlwave-shell-is-running) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1203 (widget-value, comint-dynamic-complete-filename, Info-goto-node): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1204 * progmodes/idlw-help.el (idlwave-prepare-structure-tag-completion) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1205 (idlwave-all-method-classes, idlwave-all-method-keyword-classes) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1206 (idlwave-beginning-of-statement, idlwave-best-rinfo-assoc) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1207 (idlwave-class-found-in, idlwave-class-or-superclass-with-tag) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1208 (idlwave-completing-read, idlwave-current-routine) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1209 (idlwave-downcase-safe, idlwave-entry-find-keyword) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1210 (idlwave-expand-keyword, idlwave-find-class-definition) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1211 (idlwave-find-inherited-class, idlwave-find-struct-tag) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1212 (idlwave-get-buffer-visiting, idlwave-in-quote) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1213 (idlwave-make-full-name, idlwave-members-only) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1214 (idlwave-popup-select, idlwave-routine-source-file) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1215 (idlwave-routines, idlwave-sintern-class) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1216 (idlwave-sintern-keyword, idlwave-sintern-method) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1217 (idlwave-sintern-routine-or-method) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1218 (idlwave-substitute-link-target, idlwave-sys-dir) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1219 (idlwave-this-word, idlwave-what-module-find-class) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1220 (idlwave-where): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1221 * progmodes/idlw-complete-structtag.el (idlwave-shell-buffer): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1222 * mail/uce.el (rmail-msg-is-pruned) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1223 (rmail-maybe-set-message-counters, rmail-msgbeg, rmail-msgend) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1224 (rmail-toggle-header): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1225 * mail/sendmail.el (dired-view-file, dired-get-filename): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1226 * mail/rmailkwd.el (rmail-maybe-set-message-counters) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1227 (rmail-display-labels, rmail-msgbeg) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1228 (rmail-set-message-deleted-p, rmail-message-labels-p) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1229 (rmail-show-message, mail-comma-list-regexp) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1230 (mail-parse-comma-list): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1231 * mail/rmail.el (rmail-spam-filter, rmail-summary-goto-msg) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1232 (rmail-summary-mark-undeleted, rmail-summary-mark-deleted) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1233 (rfc822-addresses, mail-abbrev-make-syntax-table) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1234 (mail-sendmail-delimit-header, mail-header-end): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1235 * mail/hashcash.el (message-narrow-to-headers-or-head) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1236 (message-fetch-field, message-goto-eoh) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1237 (message-narrow-to-headers): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1238 * vc.el (view-mode-exit): Declare as functions. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1239 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1240 * mail/vms-pmail.el: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1241 * vmsproc.el: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1242 * vms-patch.el: Don't byte compile these files, they don't work. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1243 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1244 * Makefile.in (SOME_MACHINE_LISP): Remove VMS files, they are not |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1245 compiled anymore. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1246 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1247 revision 1.442 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1248 date: 2007-11-25 16:48:31 +0000; author: dann; state: Exp; lines: +4 -0; commitid: AG5BA1V4T2VeEYGs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1249 * mail/mspools.el (rmail-get-new-mail): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1250 * mail/reporter.el (mail-position-on-field, mail-text): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1251 * mail/rmail.el (mail-position-on-field, mail-text-start) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1252 (rmail-update-summary): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1253 * mail/rmailedit.el (rmail-summary-disable) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1254 (rmail-summary-enable): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1255 * mail/rmailmsc.el (rmail-parse-file-inboxes) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1256 (rmail-show-message): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1257 * mail/rmailout.el (rmail-update-summary): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1258 * mail/rmailsort.el (rmail-update-summary): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1259 * mail/sendmail.el (dired-move-to-filename, dired-get-filename) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1260 (dired-view-file): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1261 * mail/uce.el (mail-strip-quoted-names): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1262 * mail/undigest.el (rmail-update-summary): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1263 * mail/unrmail.el (mail-strip-quoted-names): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1264 * ediff.el (diff-latest-backup-file): Declare as functions. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1265 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1266 * obsolete/mlsupport.el (ml-previous-page): Fix typo. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1267 (kill-to-end-of-line): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1268 * obsolete/rnews.el (news-set-minor-modes): Remove non working |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1269 functions. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1270 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1271 revision 1.441 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1272 date: 2007-11-21 04:55:58 +0000; author: miles; state: Exp; lines: +3 -1; commitid: sh9id2ij5oqKPoGs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1273 Merge from emacs--rel--22 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1274 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1275 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-937 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1276 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1277 revision 1.440 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1278 date: 2007-10-12 03:05:02 +0000; author: gm; state: Exp; lines: +3 -2; commitid: KgZKUHr3QcvrvfBs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1279 Re-fill copyright header. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1280 (rmail-list-to-menu): Use mapc rather than mapcar. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1281 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1282 revision 1.439 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1283 date: 2007-08-22 03:36:42 +0000; author: gm; state: Exp; lines: +7 -4; commitid: snSlmOInawCWjHus; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1284 (rmail-movemail-variant-p): Call on load to set movemail related variables. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1285 (rmail-insert-inbox-text): Use only rmail-movemail-program, which |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1286 will now be set before this is called. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1287 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1288 revision 1.438 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1289 date: 2007-08-20 09:30:12 +0000; author: schwab; state: Exp; lines: +1 -1; commitid: we67G0c0GiHcltus; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1290 (rmail-autodetect): Doc fix. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1291 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1292 revision 1.437 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1293 date: 2007-08-13 13:41:26 +0000; author: miles; state: Exp; lines: +2 -2; commitid: VsOBiVySwfx6XAts; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1294 Merge from emacs--rel--22 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1295 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1296 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1297 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1298 revision 1.436 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1299 date: 2007-07-26 05:27:13 +0000; author: miles; state: Exp; lines: +1 -1; commitid: IKTBbGNFxqtbNers; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1300 Merge from emacs--rel--22 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1301 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1302 Patches applied: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1303 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1304 * emacs--rel--22 (patch 70-73) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1305 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1306 - Update from CVS |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1307 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1308 2007-07-25 Glenn Morris <rgm@gnu.org> |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1309 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1310 * Relicense all FSF files to GPLv3 or later. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1311 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1312 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1313 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1314 revision 1.435 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1315 date: 2007-06-09 12:52:02 +0000; author: ttn; state: Exp; lines: +1 -1; commitid: qAfHMYDnHTNVLels; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1316 (rmail-movemail-variant-in-use): Fix doc typo. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1317 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1318 revision 1.434 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1319 date: 2007-05-14 19:58:45 +0000; author: eliz; state: Exp; lines: +7 -6; commitid: Lc0wnr2BZzX0YVhs; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1320 (rmail-convert-to-babyl-format): Check content-transfer-encoding _last_, |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1321 because it's its position that we need as value of base64-header-field-end. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1322 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1323 revision 1.433 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1324 date: 2007-04-03 11:11:27 +0000; author: eliz; state: Exp; lines: +17 -7; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1325 branches: 1.433.2; 1.433.4; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1326 (rmail-convert-to-babyl-format): Don't try to decode base-64 encoded body |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1327 if its content-type is something other than text/* or message/*. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1328 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1329 revision 1.432 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1330 date: 2007-02-24 17:12:34 +0000; author: jpw; state: Exp; lines: +1 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1331 (rmail-message-filter): Fix custom type. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1332 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1333 revision 1.431 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1334 date: 2007-01-21 02:59:07 +0000; author: gm; state: Exp; lines: +1 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1335 Add 2007 to copyright years. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1336 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1337 revision 1.430 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1338 date: 2006-11-04 15:38:39 +0000; author: eliz; state: Exp; lines: +29 -3; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1339 (rmail-redecode-body): New optional argument RAW. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1340 Don't encode body if RAW is non-nil, or if the old encoding is identical to the |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1341 new encoding, or if the body contains only eight-bit-* characters. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1342 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1343 revision 1.429 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1344 date: 2006-10-07 13:29:51 +0000; author: eliz; state: Exp; lines: +1 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1345 (rmail-mime-charset-pattern): Allow a TAB between "Content-Type" and |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1346 "text/plain". |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1347 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1348 revision 1.428 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1349 date: 2006-10-07 13:12:42 +0000; author: eliz; state: Exp; lines: +6 -0; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1350 (rmail-redecode-body): If the old encoding is `undecided', call |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1351 find-coding-systems-region to find a proper non-trivial encoding. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1352 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1353 revision 1.427 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1354 date: 2006-09-08 12:02:13 +0000; author: rms; state: Exp; lines: +11 -6; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1355 (rmail-get-new-mail): Say whether all msgs are spam. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1356 (rmail-convert-to-babyl-format): Don't record undo, leave list empty. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1357 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1358 revision 1.426 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1359 date: 2006-05-20 17:36:07 +0000; author: eliz; state: Exp; lines: +3 -3; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1360 (rmail-mime-charset-pattern): Add "?:" before "format". |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1361 (rmail-convert-to-babyl-format): Undo the change from 2006-04-19. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1362 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1363 revision 1.425 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1364 date: 2006-04-19 09:55:40 +0000; author: rfrancoise; state: Exp; lines: +2 -2; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1365 (rmail-convert-to-babyl-format): Use second group from |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1366 `rmail-mime-charset-pattern'. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1367 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1368 revision 1.424 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1369 date: 2006-04-10 03:19:03 +0000; author: rms; state: Exp; lines: +3 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1370 (rmail-mime-charset-pattern): Ignore format and delsp specs |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1371 while looking for charset. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1372 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1373 revision 1.423 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1374 date: 2006-03-25 11:33:48 +0000; author: eliz; state: Exp; lines: +34 -0; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1375 (tool-bar-map): Defvar it. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1376 (rmail-tool-bar-map): Tool-bar buttons for Rmail. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1377 (rmail-perm-variables): Make rmail-tool-bar-map a local variable. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1378 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1379 revision 1.422 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1380 date: 2006-03-18 18:28:36 +0000; author: rms; state: Exp; lines: +4 -4; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1381 (rmail-reply-regexp): Undo previous change. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1382 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1383 revision 1.421 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1384 date: 2006-03-11 15:13:47 +0000; author: rms; state: Exp; lines: +8 -2; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1385 (rmail-ignored-headers): Discard DomainKey-Signature. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1386 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1387 revision 1.420 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1388 date: 2006-02-06 12:31:40 +0000; author: ttn; state: Exp; lines: +1 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1389 Update years in copyright notice; nfc. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1390 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1391 revision 1.419 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1392 date: 2006-01-19 11:59:15 +0000; author: handa; state: Exp; lines: +17 -4; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1393 (rmail-enable-mime): Docstring fixed. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1394 (rmail-mime-feature): Likewise. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1395 (rmail-require-mime-maybe): Use display-warning to show a warning |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1396 message. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1397 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1398 revision 1.418 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1399 date: 2006-01-08 23:47:07 +0000; author: as; state: Exp; lines: +4 -2; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1400 (rmail-reply-regexp): Also ignore mailing list |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1401 identifiers sometimes added in square brackets at the beginning of |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1402 subject lines. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1403 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1404 revision 1.417 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1405 date: 2006-01-08 15:18:55 +0000; author: as; state: Exp; lines: +35 -13; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1406 (rmail-current-subject): New function. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1407 (rmail-current-subject-regexp): New function. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1408 (rmail-next-same-subject): Use it. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1409 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1410 revision 1.416 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1411 date: 2005-12-10 11:29:53 +0000; author: eliz; state: Exp; lines: +9 -4; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1412 (rmail-next-same-subject): Handle multiple "Re: " strings and long subject |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1413 lines that were broken into multiple lines at arbitrary places. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1414 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1415 revision 1.415 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1416 date: 2005-09-24 13:43:59 +0000; author: rfrancoise; state: Exp; lines: +14 -12; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1417 2005-09-24 Emilio C. Lopes <eclig@gmx.net> |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1418 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1419 * woman.el (woman-file-name): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1420 * wid-edit.el (widget-file-prompt-value) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1421 (widget-coding-system-prompt-value): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1422 * w32-fns.el (set-w32-system-coding-system): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1423 * vc.el (vc-version-diff, vc-annotate): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1424 * textmodes/reftex-auc.el (reftex-arg-cite) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1425 (reftex-arg-index-tag): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1426 * textmodes/refer.el (refer-get-bib-files): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1427 * textmodes/artist.el (artist-figlet-choose-font): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1428 * terminal.el (terminal-emulator): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1429 * replace.el (occur-read-primary-args): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1430 * rect.el (string-rectangle, string-insert-rectangle): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1431 * ps-print.el (ps-print-preprint): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1432 * progmodes/pascal.el (pascal-goto-defun): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1433 * progmodes/etags.el (visit-tags-table, visit-tags-table-buffer): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1434 * progmodes/compile.el (compilation-find-file): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1435 * printing.el (pr-interactive-n-up): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1436 * play/animate.el (animate-birthday-present): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1437 * net/rcompile.el (remote-compile): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1438 * man.el (man, Man-goto-section, Man-follow-manual-reference): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1439 * mail/rmailsum.el (rmail-summary-search-backward) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1440 (rmail-summary-search): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1441 * mail/rmailout.el (rmail-output-read-rmail-file-name) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1442 (rmail-output-read-file-name): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1443 * mail/rmail.el (rmail-search, rmail-search-backwards): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1444 * mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1445 * locate.el (locate): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1446 * international/quail.el (quail-show-keyboard-layout): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1447 * international/mule.el (set-buffer-file-coding-system) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1448 (revert-buffer-with-coding-system, set-file-name-coding-system) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1449 (set-terminal-coding-system, set-keyboard-coding-system) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1450 (set-next-selection-coding-system): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1451 * international/mule-diag.el (describe-coding-system) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1452 (describe-font, describe-fontset): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1453 * international/mule-cmds.el (universal-coding-system-argument) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1454 (search-unencodable-char, describe-input-method) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1455 (set-language-environment, describe-language-environment): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1456 * international/codepage.el (codepage-setup): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1457 * international/code-pages.el (codepage-setup): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1458 * info.el (Info-search, Info-follow-reference) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1459 (Info-search-backward): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1460 * emacs-lisp/advice.el (ad-read-advised-function) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1461 (ad-read-advice-class, ad-clear-cache, ad-activate) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1462 (ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1463 (ad-enable-advice, ad-disable-advice, ad-remove-advice) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1464 (ad-read-regexp): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1465 * ediff-util.el (ediff-toggle-regexp-match): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1466 * ediff-ptch.el (ediff-prompt-for-patch-file): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1467 * dired-aux.el (dired-diff): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1468 * diff.el (diff): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1469 * cus-edit.el (custom-variable-prompt): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1470 * calendar/timeclock.el (timeclock-ask-for-project): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1471 * calc/calcalg3.el (calc-get-fit-variables): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1472 * calc/calc-store.el (calc-edit-variable) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1473 (calc-permanent-variable): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1474 * vc-mcvs.el (vc-mcvs-register): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1475 * shadowfile.el (shadow-define-literal-group): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1476 * woman.el (woman-file-name): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1477 * vc.el (vc-version-diff, vc-merge): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1478 * textmodes/reftex-index.el (reftex-index-complete-tag): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1479 * format.el (format-decode-buffer, format-decode-region): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1480 * emulation/viper-cmd.el (viper-read-string-with-history): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1481 * emacs-lisp/debug.el (cancel-debug-on-entry): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1482 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1483 * ediff.el (ediff-merge-revisions) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1484 (ediff-merge-revisions-with-ancestor, ediff-revision): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1485 * completion.el (interactive-completion-string-reader): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1486 * calc/calc-prog.el (calc-user-define-formula): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1487 Follow convention for reading with the minibuffer. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1488 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1489 revision 1.414 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1490 date: 2005-08-29 14:38:57 +0000; author: lektu; state: Exp; lines: +10 -0; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1491 (deleted-head, font-lock-fontified, mail-abbrev-syntax-table, mail-abbrevs, |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1492 messages-head, rmail-use-spam-filter, rsf-beep, rsf-sleep-after-message, |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1493 total-messages): Add defvars. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1494 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1495 revision 1.413 (defer 'rmail-reply) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1496 date: 2005-08-15 02:04:29 +0000; author: rms; state: Exp; lines: +43 -26; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1497 (rmail-nonignored-headers): New variable. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1498 (rmail-clear-headers): Use it. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1499 (rmail-reply): Better handling of mail-followup-to header. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1500 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1501 revision 1.412 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1502 date: 2005-08-14 23:44:12 +0000; author: schwab; state: Exp; lines: +2 -3; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1503 Revert last change. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1504 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1505 revision 1.411 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1506 date: 2005-08-14 22:50:04 +0000; author: ttn; state: Exp; lines: +3 -2; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1507 Fix dependency bug: Wrap `desktop-buffer-mode-handlers' |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1508 modification in `eval-after-load' form. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1509 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1510 revision 1.410 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1511 date: 2005-08-12 10:26:59 +0000; author: eliz; state: Exp; lines: +16 -2; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1512 (rmail-end-of-message): New command to go to the |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1513 end of the current message. Added to `rmail-mode-map' with key "/". |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1514 (rmail-beginning-of-message): Fixed to work as documented. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1515 (rmail-mode): Change documentation. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1516 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1517 revision 1.409 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1518 date: 2005-08-10 19:40:05 +0000; author: lh; state: Exp; lines: +3 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1519 Add handler to desktop-buffer-mode-handlers. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1520 (rmail-restore-desktop-buffer): Remove autoload cookie. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1521 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1522 revision 1.408 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1523 date: 2005-08-09 11:38:10 +0000; author: rms; state: Exp; lines: +2 -2; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1524 (rmail-ignored-headers): Don't hide mime-version: and content-type: headers. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1525 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1526 revision 1.407 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1527 date: 2005-08-06 18:54:05 +0000; author: ttn; state: Exp; lines: +8 -8; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1528 Update years in copyright notice; nfc. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1529 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1530 revision 1.406 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1531 date: 2005-07-08 22:31:32 +0000; author: rms; state: Exp; lines: +4 -4; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1532 (rmail-only-expunge): Fix paren error. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1533 Unconditionally try to leave point at the same old place. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1534 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1535 revision 1.405 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1536 date: 2005-07-04 17:46:22 +0000; author: lute; state: Exp; lines: +2 -2; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1537 Update FSF's address. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1538 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1539 revision 1.404 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1540 date: 2005-05-26 15:16:48 +0000; author: lute; state: Exp; lines: +1 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1541 (rmail-mode): Use run-mode-hooks. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1542 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1543 revision 1.403 (patched) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1544 date: 2005-05-21 14:13:00 +0000; author: eliz; state: Exp; lines: +5 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1545 (rmail-reply): Filter the list in reply-to through rmail-dont-reply-to. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1546 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1547 revision 1.402 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1548 date: 2005-05-16 11:16:34 +0000; author: lektu; state: Exp; lines: +1 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1549 Replace `string-to-int' by `string-to-number'. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1550 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1551 revision 1.401 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1552 date: 2005-04-24 21:32:28 +0000; author: rms; state: Exp; lines: +4 -5; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1553 (rmail-font-lock-keywords): Match any number of |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1554 citation markers at start of each line. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1555 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1556 revision 1.400 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1557 date: 2005-04-23 16:36:53 +0000; author: rms; state: Exp; lines: +3 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1558 (rmail-font-lock-keywords): Use font-lock-comment-delimiter-face. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1559 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1560 revision 1.399 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1561 date: 2005-04-17 15:55:50 +0000; author: rms; state: Exp; lines: +8 -5; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1562 (rmail-ignored-headers): Ignore more headers |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1563 (rmail-font-lock-keywords): Don't fontify the text of a citation. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1564 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1565 revision 1.398 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1566 date: 2005-04-02 11:31:06 +0000; author: eliz; state: Exp; lines: +20 -29; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1567 (rmail-parse-url): Bugfix. Parse traditional mailbox specifications |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1568 as well as URLs. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1569 (rmail-insert-inbox-text): Remove unused conditional branches. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1570 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1571 revision 1.397 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1572 date: 2005-03-18 00:12:08 +0000; author: rms; state: Exp; lines: +56 -15; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1573 branches: 1.397.2; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1574 (rmail-movemail-program, rmail-pop-password) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1575 (rmail-pop-password-required, rmail-remote-password): Doc fixes. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1576 (rmail-preserve-inbox, rmail-probe, rmail-autodetect): Doc fix. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1577 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1578 (rmail-unknown-mail-followup-to): New function. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1579 (rmail-show-message): Use rmail-unknown-mail-followup-to. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1580 (rmail-reply): Recognize Mail-Followup-To and Mail-Reply-To headers. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1581 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1582 revision 1.396 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1583 date: 2005-02-09 15:50:37 +0000; author: kfstorm; state: Exp; lines: +10 -10; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1584 Change release version from 21.4 to 22.1 throughout. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1585 Change development version from 21.3.50 to 22.0.50. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1586 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1587 revision 1.395 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1588 date: 2005-01-15 14:27:41 +0000; author: eliz; state: Exp; lines: +223 -82; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1589 Updated to work with movemail from GNU Mailutils |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1590 (rmail-pop-password, rmail-pop-password-required): Moved to |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1591 rmail-obsolete group. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1592 (rmail-set-pop-password): Renamed to rmail-set-remote-password. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1593 All callers updated. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1594 (rmail-get-pop-password): Renamed to rmail-get-remote-password. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1595 Take an argument specifying whether it is POP or IMAP mailbox we |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1596 are using. All callers updated. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1597 (rmail-pop-password-error): Renamed to rmail-remote-password-error. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1598 Added mailutils-specific error message. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1599 (rmail-movemail-search-path) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1600 (rmail-movemail-variant-in-use): New variables. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1601 (rmail-remote-password, rmail-remote-password-required): New |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1602 customization variables. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1603 (rmail-probe,rmail-autodetect, rmail-movemail-variant-p): New functions |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1604 (rmail-parse-url): New function. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1605 (rmail-get-new-mail, rmail-insert-inbox-text): Updated for use |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1606 with GNU mailutils movemail. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1607 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1608 revision 1.394 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1609 date: 2004-12-27 16:11:33 +0000; author: rms; state: Exp; lines: +2 -0; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1610 (rmail-resend): Let MAIL-ALIAS-FILE arg override mail-personal-alias-file. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1611 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1612 revision 1.393 (defer, part of spam filter) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1613 date: 2004-11-12 17:08:57 +0000; author: eliz; state: Exp; lines: +2 -2; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1614 (rmail-get-new-mail): Use the renamed variables `rsf-beep' and |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1615 `rsf-sleep-after-message'. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1616 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1617 revision 1.392 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1618 date: 2004-07-24 21:35:32 +0000; author: rms; state: Exp; lines: +1 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1619 (rmail-mime-charset-pattern): Don't include semicolon in the charset value. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1620 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1621 revision 1.391 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1622 date: 2004-04-26 18:54:23 +0000; author: lh; state: Exp; lines: +3 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1623 branches: 1.391.2; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1624 (rmail-variables): Bind desktop-save-buffer to t. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1625 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1626 revision 1.390 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1627 date: 2004-04-24 08:57:31 +0000; author: eliz; state: Exp; lines: +13 -9; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1628 (rmail-mail-new-frame): Doc fix. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1629 (rmail-start-mail): Support rmail-mail-new-frame even on |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1630 terminals that can display only one frame at a time. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1631 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1632 revision 1.389 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1633 date: 2004-04-21 20:49:37 +0000; author: lh; state: Exp; lines: +24 -9; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1634 (rmail-restore-desktop-buffer): Move from desktop.el. Add Parameters. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1635 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1636 revision 1.388 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1637 date: 2004-04-19 18:04:46 +0000; author: eliz; state: Exp; lines: +9 -7; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1638 (rmail-convert-to-babyl-format): Don't remove ^M |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1639 characters left after base64 decoding. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1640 (rmail-decode-region): Use -dos variety of `coding', to remove any |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1641 ^M characters left after qp or base64 decoding. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1642 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1643 revision 1.387 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1644 date: 2004-03-07 20:04:51 +0000; author: eliz; state: Exp; lines: +0 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1645 Remove redundant whitespace. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1646 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1647 revision 1.386 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1648 date: 2004-03-04 17:03:51 +0000; author: rms; state: Exp; lines: +6 -3; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1649 (rmail-convert-to-babyl-format): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1650 Specify t for UNIBYTE when calling mail-unquote-printable-region. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1651 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1652 revision 1.385 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1653 date: 2004-02-17 19:54:49 +0000; author: uid65627; state: Exp; lines: +8 -3; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1654 (rmail-get-new-mail): Don't reference |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1655 rmail-use-spam-filter if rmail-spam-filter is not loaded. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1656 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1657 revision 1.384 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1658 date: 2004-02-16 11:35:50 +0000; author: uid65627; state: Exp; lines: +3 -3; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1659 (rmail-default-dont-reply-to-names): Make "info-" |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1660 anchored at the beginning of the email address. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1661 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1662 revision 1.383 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1663 date: 2004-02-08 22:36:05 +0000; author: uid65629; state: Exp; lines: +2 -2; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1664 (rmail-get-new-mail): Remove useless use of |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1665 format. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1666 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1667 revision 1.382 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1668 date: 2004-02-08 22:33:42 +0000; author: uid65629; state: Exp; lines: +3 -5; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1669 (rmail-get-new-mail): Remove extra format string |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1670 arguments. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1671 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1672 revision 1.381 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1673 date: 2004-01-21 12:35:55 +0000; author: uid66361; state: Exp; lines: +8 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1674 (rmail-convert-to-babyl-format): Avoid deleting trailing white space |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1675 and ensure a final newline. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1676 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1677 revision 1.380 (partial, along with 1.406) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1678 date: 2004-01-16 18:23:37 +0000; author: uid65566; state: Exp; lines: +59 -9; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1679 (rmail-get-new-mail): New local rsf-number-of-spam. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1680 Call rmail-spam-filter. Delete and expunge spam. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1681 Print number of spam messages deleted. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1682 Save and restore the deletion status of old messages when reading |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1683 new mail with spam filter, so that expunging spam does not expunge |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1684 msgs deleted by the user. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1685 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1686 (rmail-only-expunge): added an optional argument dont-show to |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1687 prevent showing message after expunge. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1688 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1689 revision 1.379 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1690 date: 2004-01-12 21:56:50 +0000; author: uid65566; state: Exp; lines: +7 -41; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1691 (rmail-convert-to-babyl-format): Use mail-unquote-printable-region. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1692 (rmail-hex-string-to-integer, rmail-decode-quoted-printable): |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1693 (rmail-hex-char-to-integer): Functions deleted. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1694 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1695 revision 1.378 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1696 date: 2003-12-30 11:42:37 +0000; author: uid65627; state: Exp; lines: +4 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1697 (rmail-convert-to-babyl-format): Fix off-by-one |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1698 error in arguments to base64-decode-region. Remove ^M characters |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1699 after decoding base64. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1700 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1701 revision 1.377 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1702 date: 2003-12-30 10:45:41 +0000; author: uid65627; state: Exp; lines: +28 -22; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1703 (rmail-convert-to-babyl-format): Make the code |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1704 cleaner (suggested by Richard Stallman). |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1705 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1706 revision 1.376 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1707 date: 2003-11-03 19:20:23 +0000; author: eliz; state: Exp; lines: +22 -18; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1708 (rmail-convert-to-babyl-format): If |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1709 base64-decode-region signals an error, catch it and silently |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1710 ignore it. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1711 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1712 revision 1.375 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1713 date: 2003-10-16 16:54:48 +0000; author: eliz; state: Exp; lines: +3 -3; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1714 (rmail-convert-to-babyl-format): Fix the last change. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1715 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1716 revision 1.374 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1717 date: 2003-10-16 16:49:27 +0000; author: eliz; state: Exp; lines: +9 -3; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1718 (rmail-convert-to-babyl-format): Display a message while converting to Babyl. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1719 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1720 revision 1.373 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1721 date: 2003-09-01 15:45:30 +0000; author: miles; state: Exp; lines: +1 -0; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1722 Add arch taglines |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1723 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1724 revision 1.372 (defer) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1725 date: 2003-08-28 15:11:15 +0000; author: eliz; state: Exp; lines: +73 -6; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1726 (rmail-convert-to-babyl-format): Detect |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1727 quoted-printable- and base64-encoded messages and decode them |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1728 automatically. Set the message's encoding from the charset= |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1729 header, if any. Decode base64-encoded messages in Mail format as |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1730 well. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1731 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1732 revision 1.371 (merged) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1733 date: 2003-05-15 00:01:00 +0000; author: jpw; state: Exp; lines: +1 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1734 branches: 1.371.4; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1735 (rmail-ignored-headers): Ignore Face: header. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1736 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1737 revision 1.370 (applied) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1738 date: 2003-05-06 17:47:18 +0000; author: lektu; state: Exp; lines: +1 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1739 (rmail-primary-inbox-list): Don't quote nil and t in docstrings. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1740 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1741 revision 1.369 (irrelevant) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1742 date: 2003-02-20 21:07:29 +0000; author: lektu; state: Exp; lines: +1 -1; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1743 (rmail-insert-inbox-text): Make the pop3 mechanism work on cygwin systems too. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1744 ---------------------------- |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1745 revision 1.368 (base) |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1746 date: 2003-01-06 16:02:29 +0000; author: jpw; state: Exp; lines: +3 -3; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1747 branches: 1.368.2; |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1748 (rmail-mmdf-delim1, rmail-mmdf-delim2): Doc fixes. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1749 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1750 Keys: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1751 applied: The patch has already been applied. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1752 irrelevant: The change is no longer relevant. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1753 defer: think about this change immediately after mbox/trunk is basically running. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1754 merged: The change has been applied now. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1755 partial: Some of the patch is now applied but some is deferred. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1756 |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1757 Todo: |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1758 determine if any changes to (rmail-convert-to-babyl) need to be applied in some new fashion. |
920b055d2ec5
Notes on changes made to merge from the Rmail/mbox branch into the trunk.
Paul Reilly <pmr@pajato.com>
parents:
diff
changeset
|
1759 revisit spam handling additions. |