aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-01-23 04:40:19 +0000
committerGlenn Morris2009-01-23 04:40:19 +0000
commitc7e8b60445d740cc83d6e276bbd85a4f8d2dfac1 (patch)
tree6eeea01b64dd3d9b523fb7e178c1672c99ff884c
parent4c1616bee482b2921251c1ee00fc00a4c38e7cb5 (diff)
downloademacs-c7e8b60445d740cc83d6e276bbd85a4f8d2dfac1.tar.gz
emacs-c7e8b60445d740cc83d6e276bbd85a4f8d2dfac1.zip
Remove file - replaced by new simplified entries in ../ChangeLog
-rw-r--r--lisp/mail/ChangeLog.pmail1014
1 files changed, 0 insertions, 1014 deletions
diff --git a/lisp/mail/ChangeLog.pmail b/lisp/mail/ChangeLog.pmail
deleted file mode 100644
index 4a2e492d1d5..00000000000
--- a/lisp/mail/ChangeLog.pmail
+++ /dev/null
@@ -1,1014 +0,0 @@
12009-01-22 Chong Yidong <cyd@stupidchicken.com>
2
3 * mail/rmailsum.el (rmail-summary-expunge-and-save): Use
4 rmail-expunge-and-save.
5
6 * mail/rmail.el (buffer-swapped-with): Var removed.
7 (rmail-buffer-swapped): New var.
8 (rmail-write-region-annotate): New function.
9 (rmail-save-buffer): New function.
10
11 * mail/rmailedit.el (rmail-cease-edit, rmail-edit-mode): Use
12 rmail-buffer-swapped.
13
142009-01-22 Glenn Morris <rgm@gnu.org>
15
16 * mail/rmailkwd.el (rmail-last-label, rmail-last-multi-labels):
17 Move back to rmail.el.
18 * mail/rmail.el (rmail-last-label, rmail-last-multi-labels):
19 Move back here from rmailkwd.el.
20
21 * mail/rmailsum.el (rmail-message-labels-p): Move back to rmail.el.
22 * mail/rmail.el (rmail-message-labels-p): Move back here from
23 rmailsum.el.
24
252009-01-22 Glenn Morris <rgm@gnu.org>
26
27 * mail/rmailout.el (rmail-update-summary): Declare.
28
29 * mail/rmailsum.el (rmail-summary-mode-map)
30 (rmail-summary-output-to-rmail-file): Use rmail-summary-output
31 rather than rmail-summary-output-to-babyl-file (renamed 2009-01-05).
32 (rmail-output-as-seen): Declare.
33 (rmail-summary-output): Also require rmailout non-interactively.
34
352009-01-22 Richard M Stallman <rms@gnu.org>
36
37 * mail/rmailout.el (rmail-output-to-r-mail-buffer): New function.
38 (rmail-output-as-babyl): Use it.
39 (rmail-output-to-rmail-buffer): New function.
40 (rmail-output-as-mbox): Use it.
41 (rmail-output-as-seen): Pass t to rmail-output-as-mbox.
42 (rmail-output): Call set-buffer later.
43
44 * mail/rmail.el (rmail-count-screen-lines) Fn deleted.
45 Other functions reordered but not changed.
46
47 * mail/rmailsort.el (rmail-fetch-field): Function deleted.
48 Callers use rmail-get-header.
49 (rmail-sort-messages): Replace point-offset with
50 return-to-point, which can be nil.
51 Call rmail-swap-buffers-maybe after that.
52 Don't bind buffer-read-only. Bind inhibit-read-only.
53 Be more careful in making blank line at end of msg.
54 Don't enable undo at end.
55
56 * mail/rmail.el (rmail-ignored-headers): Hide more fields.
57 (rmail-next-undeleted-message): If we stay on same message,
58 don't change anything.
59
602009-01-22 Glenn Morris <rgm@gnu.org>
61
62 * mail/rmailmsc.el (rmail-show-message): Fix declaration.
63
64 * mail/rmailsum.el (rmail-output-read-rmail-file-name):
65 Remove declaration.
66
672009-01-22 Richard M Stallman <rms@gnu.org>
68
69 * mail/rmailkwd.el: Require rmail; delete compiler defvars.
70 Delete most declare-function calls.
71 (rmail-keywords, rmail-deleted-label, rmail-attributes): Vars deleted.
72 (rmail-attribute-p, rmail-keyword-p): Fns deleted.
73 (rmail-keywords, rmail-parse-file-keywords, rmail-install-keyword):
74 (rmail-force-make-label, rmail-quote-label-name): Fns deleted.
75 (rmail-last-label, rmail-last-multi-labels): Vars moved from rmail.el.
76 (rmail-read-label): Don't switch buffers, don't parse file keywords.
77 (rmail-set-label): Major rewrite.
78 (rmail-next-labeled-message): Call rmail-get-labels and match it.
79
80 * mail/rmailsum.el (rmail-message-labels-p): Function moved from
81 rmail.el and rewritten.
82 (rmail-message-recipients-p): Likewise.
83 (rmail-message-regexp-p): Likewise.
84 (rmail-message-recipients-p-1): New subroutine.
85 (rmail-message-regexp-p-1): Likewise.
86 (rmail-summary-by-topic): Use rmail-simplified-subject.
87 Delete subject-re variable.
88 (rmail-message-subject-p): Total rewrite.
89 (rmail-message-senders-p): Total rewrite.
90 (rmail-new-summary-1): Call FUNCTION in the main Rmail buffer.
91 (rmail-get-summary): Doc fix.
92 (rmail-create-summary-line): Renamed from
93 rmail-get-create-summary-line, and major rewrite.
94 (rmail-get-summary-labels): Doc fix.
95 (rmail-create-summary): Major rewrite. Construct line counts here.
96 (rmail-header-summary): Renamed from rmail-make-basic-summary-line.
97 Return list of two strings.
98 (rmail-summary-next-same-subject): Extract subjects and compare.
99 (rmail-summary-output): Renamed from rmail-summary-output-to-babyl-file.
100 Use rmail-output.
101 (rmail-summary-output-as-seen): Renamed from rmail-summary-output.
102 Use rmail-output-as-seen.
103 (rmail-summary-construct-io-menu): Use rmail-summary-output.
104
105 * mail/rmail.el (basic-save-buffer): Protect buffer-modified flag
106 around first swap.
107 (rmail-show-message): Protect buffer-modified flag around swap.
108 (rmail-change-major-mode-hook, rmail-swap-buffers-maybe): Likewise.
109
110 * mail/rmail.el (rmail-error-bad-format): Always phrase the error as
111 about an invalid message.
112 (rmail-convert-file-maybe): Don't use rmail-error-bad-format.
113 (rmail-mode-map): Move rmail-widen to C-c C-w.
114 (rmail-mode-1): Don't alter mode-line-modified.
115 (rmail-perm-variables): Turn off undo in view buffer.
116 (rmail-variables): Turn off undo.
117 (rmail-show-message): Delete useless calls to `widen'.
118 Avoid passing thru temp buffer if we don't need
119 base64 or quoted printable decoding for whole message.
120
121 * mail/rmail.el (rmail-keywords): Variable deleted.
122 (rmail-last-label, rmail-last-multi-labels): Moved to rmailkwd.el.
123 (rmail-perm-variables): Don't mess with rmail-last-label.
124 Don't mess with rmail-keywords.
125 (rmail-copy-headers): Doc fix.
126 (rmail-set-header): New function.
127 (rmail-get-keywords): Doc fix.
128 (rmail-get-labels): New function.
129 (rmail-display-labels): Use rmail-get-labels.
130 (rmail-set-attribute): Mark rmail-buffer modified
131 if we change an attribute.
132
133 * mail/rmail.el (rmail-apply-in-message): New function.
134 (rmail-message-labels-p): Function moved to rmailsum.el.
135 (rmail-message-recipients-p, rmail-message-regexp-p): Likewise.
136 (rmail-current-subject, rmail-current-subject-regexp): Fns deleted.
137 (rmail-simplified-subject, rmail-simplified-subject-regexp): New fns.
138 (rmail-next-same-subject): Fetch each msg's subject and compare.
139
140 * mail/rmail.el (rmail-speedbar-move-message): Use rmail-output.
141 (rmail-construct-io-menu): Use rmail-output.
142 (rmail-default-rmail-file): Variable deleted.
143 (rmail-auto-file): Use rmail-output.
144 (rmail-mode-map): Remove rmail-output-to-babyl-file.
145 Add rmail-output-as-seen.
146 (rmail-mode): Update output commands in doc string.
147
1482009-01-22 Chong Yidong <cyd@stupidchicken.com>
149
150 * mail/rmail.el (buffer-swapped-with): New var, moved from files.el.
151 Add advice to basic-save-buffer to use it.
152
1532009-01-22 Richard M Stallman <rms@gnu.org>
154
155 * mail/rmailedit.el (rmail-edit-mode): Bind buffer-swwapped-with to nil.
156 (rmail-edit-current-message): Save all of buffer as old text.
157 Clear undo list.
158 (rmail-cease-edit): Widen first.
159 Operate in the view buffer; copy edited text back to mbox buffer
160 and re-encode what was decoded to display the message.
161 (rmail-abort-edit): Widen first.
162
163 * mail/rmail.el (rmail-forwarded-attr-index): Doc fix.
164 (rmail-resent-attr-index): New variable.
165 (rmail-attr-array): Add r for resent.
166 (rmail-add-mbox-headers): Make 8 attributes.
167 (rmail-set-attribute): Extend attribute line if necessary.
168
169 * mail/rmail.el (rmail-widen): New command.
170 (rmail-mode-map): o is rmail-output, C-o is rmail-output-as-seen,
171 (rmail-mode-map): c-w is rmail-widen.
172 (rmail-change-major-mode-hook): Do nothing unless buffer-swapped-with.
173 (rmail-show-message): Downcase character-coding.
174
175 * mail/rmailout.el (rmail-output-decode-coding): New variable.
176 (rmail-delete-unwanted-fields): Greatly simplified.
177 (rmail-output-as-babyl): New function.
178 (rmail-convert-to-babyl-format): Considerably simplified:
179 assume just one message and don't worry about Content-Type.
180 (rmail-output-as-mbox): New function.
181 (rmail-output): Total rewrite.
182 (rmail-output-as-seen): New command.
183 (rmail-output-read-rmail-file-name): Function deleted.
184 (rmail-output-to-babyl-file): Function deleted.
185 (rmail-output-body-to-file): Don't set an attribute.
186
1872009-01-22 Richard M Stallman <rms@gnu.org>
188
189 * mail/rmailedit.el (rmail-edit-saved-coding-system): Var deleted.
190 (rmail-edit-current-message, rmail-cease-edit):
191 Don't set it, or save-buffer-coding-system.
192 (rmail-edit-current-message): Change error message.
193 (rmail-cease-edit): Put `>' before `From ' lines in message.
194
195 * mail/rmail.el (rmail-variables): Don't set save-buffer-coding-system.
196
197 * mail/rmailsum.el (rmail-message-subject-p): Mark as broken.
198 (rmail-message-senders-p): Likewise.
199 (rmail-new-summary-1): Don't unswap -- search messages where they are.
200
201 * mail/rmail.el (rmail-display-labels): Doc fix.
202 (rmail-set-attribute): Deleted unused vars.
203 Bind inhibit-read-only, not buffer-read-only.
204 (rmail-message-attr-p): Doc fix.
205 (rmail-message-labels-p, rmail-message-recipients-p)
206 (rmail-message-regexp-p): Mark as broken.
207
208 * mail/rmailedit.el (rmail-edit-current-message): Don't call
209 rmail-header-show-headers.
210 (rmail-cease-edit): Force a blank line at end of edited message.
211 Call rmail-set-attribute properly.
212 Don't set buffer-read-only.
213
2142009-01-22 Richard M Stallman <rms@gnu.org>
215
216 * mail/rmail.el (rmail-retried-attr-index, rmail-forwarded-attr-index):
217 Renamed from rmail-resent-attr-index and rmail-stored-attr-index.
218 (rmail-attr-array): Change names to `retried' and `forwarded'
219 (rmail-reply): Use rmail-answered-attr-index.
220 (rmail-forward): Use rmail-forwarded-attr-index.
221 (rmail-retry-failure): Use rmail-retried-attr-index.
222
223 * mail/rmail.el (rmail-get-header): Don't unswap,
224 just see data where it is.
225 (rmail-set-attribute): Don't unswap, just set the data where it is.
226 (rmail-show-message): Call rmail-swap-buffers-maybe before reswapping.
227
228 * mail/rmail.el (rmail-get-attr-names): Doc fix.
229 (rmail-is-text-p): Doc fix.
230
231 * mail/rmailout.el (rmail-output): Use rmail-buffers-swapped-p as
232 function.
233
234 * mail/rmail.el (rmail-swap-buffers-maybe): Variable deleted.
235 All uses call the function instead.
236
237 * mail/rmail.el (rmail-mode-map): Don't bind C-x C-s.
238 (rmail-mode-1): Don't set up write-region-annotate-functions.
239 (rmail-write-region-annotate): Function deleted.
240 (rmail-change-major-mode-hook): Set buffer-swapped-with.
241 (rmail-show-message): Likewise.
242
243 * mail/rmail.el (rmail-swap-buffers-maybe): Go to rmail-buffer before
244 testing anything.
245 (rmail): Call rmail-swap-buffers-maybe only if already in Rmail mode.
246
2472009-01-22 Chong Yidong <cyd@stupidchicken.com>
248
249 * mail/rmail.el (rmail-get-new-mail): Call rmail-swap-buffers-maybe.
250 (rmail-get-new-mail-1): Adjust restriction after calling
251 rmail-insert-inbox-text.
252 (rmail-add-mbox-headers): Use save-restriction.
253 (rmail-expunge-and-save): Call rmail-swap-buffers-maybe before
254 saving.
255 (rmail-quit): Handling expunging manually, instead of calling
256 rmail-expunge-and-save.
257 (rmail-next-undeleted-message): If no other message can be shown,
258 show the current one.
259 (rmail-attr-array): Doc fix.
260 (rmail-add-header): Function deleted.
261 (rmail-add-mbox-headers): Insert header directly instead of
262 calling rmail-add-header.
263 (rmail-display-labels): Add leading space to attribute string.
264 (rmail-set-attribute): Call rmail-swap-buffers-maybe. Insert
265 header directly instead of calling rmail-add-header.
266 (rmail): Ensure that rmail-mode-hook is run.
267
2682009-01-22 Juanma Barranquero <lekktu@gmail.com>
269
270 * mail/rmail.el (rmail-require-mime-maybe): Fix arguments of
271 `display-warning'.
272
2732009-01-22 Chong Yidong <cyd@stupidchicken.com>
274
275 * mail/rmail.el (rmail): Call rmail-swap-buffers-maybe.
276 (rmail-search): Call rmail-swap-buffers-maybe.
277 (rmail-expunge): Save point if no expunging was done.
278
2792009-01-22 Chong Yidong <cyd@stupidchicken.com>
280
281 * mail/rmailout.el (rmail-output-to-babyl-file): Rewrite, assuming mbox
282 internal format.
283 (rmail-convert-to-babyl-format, rmail-nuke-pinhead-header): New
284 functions, moved from rmail.el.
285
2862009-01-22 Chong Yidong <cyd@stupidchicken.com>
287
288 * mail/rmailout.el (rmail-output): Rewrite to handle mbox format.
289 (rmail-output-to-babyl-file): Renamed from
290 rmail-output-to-rmail-file.
291
292 * mail/rmail.el: All callers to rmail-output-to-rmail-file changed to
293 rmail-output-to-babyl-file.
294
295 * mail/rmail.el: All callers to rmail-output-to-rmail-file changed to
296 rmail-output-to-babyl-file.
297
2982009-01-22 Chong Yidong <cyd@stupidchicken.com>
299
300 * mail/rmailout.el (rmail-output-to-rmail-file): Don't call
301 rmail-insert-rmail-file-header.
302
303 * mail/rmail.el (rmail-insert-rmail-file-header): Function deleted.
304 (rmail-decode-babyl-format): Function deleted.
305 (rmail-perm-variables): Don't call rmail-parse-file-inboxes.
306 (rmail-parse-file-inboxes): Function deleted.
307 (rmail-get-new-mail-1): Function merged into rmail-get-new-mail.
308 (rmail-get-new-mail-2): Renamed to rmail-get-new-mail-1.
309 (rmail-get-new-mail-filter-spam): Call rmail-spam-filter, not
310 rmail-spam-filter.
311 (rmail-convert-to-babyl-format): Function deleted.
312 (rmail-nuke-pinhead-header): Function deleted.
313 (rmail-reply): Parsing headers in mbox format. Call
314 rmail-dont-reply-to instead of rmail-dont-reply-to.
315
3162009-01-22 Chong Yidong <cyd@stupidchicken.com>
317
318 * mail/rmail.el (rmail-only-expunge): Swap buffers at the beginning.
319 (rmail-expunge): Pass new optional arg to rmail-only-expunge.
320 (rmail-expunge-and-save): Don't reset view buffer.
321
322 * mail/rmailsum.el (rmail-summary-header): Deleted.
323 (rmail-get-create-summary-line): Don't insert a summary line into
324 the file.
325
3262009-01-22 Chong Yidong <cyd@stupidchicken.com>
327
328 * mail/rmail.el (rmail-convert-babyl-to-mbox): Reinitialize rmail-mode
329 variables after conversion.
330
3312009-01-22 Chong Yidong <cyd@stupidchicken.com>
332
333 * mail/rmailsort.el (rmail-sort-messages): Insert two newlines at the
334 end of the message if they do not exist.
335
336 * mail/rmailedit.el (rmail-edit-current-message): Remove deleted
337 function rmail-msg-is-pruned.
338
339 * mail/rmail.el (rmail-get-header): Call rmail-swap-buffers-maybe.
340 (rmail-retry-failure): Remove call to non-existent function
341 rmail-clear-headers.
342 (rmail-message-labels-p): New function.
343
3442009-01-22 Chong Yidong <cyd@stupidchicken.com>
345
346 * mail/rmailsort.el (rmail-sort-messages): Don't call removed function
347 rmail-header-show-headers.
348
3492009-01-22 Chong Yidong <cyd@stupidchicken.com>
350
351 * mail/rmail.el (rmail-only-expunge): Pass correct arg to
352 rmail-show-message-maybe.
353
354 * mail/rmailsum.el (rmail-get-summary-labels): If no attribute headers
355 are found, use the empty string.
356 (rmail-summary): Call rmail-summary-beginning-of-message
357 (rmail-new-summary): Check for rmail-summary-mode in the current
358 buffer, not in the rmail buffer.
359 (rmail-summary-goto-msg): Use rmail-show-message-maybe.
360
3612009-01-22 Paul Reilly <pmr@pajato.com>
362
363 * mail/rmail.el: Add support for save-buffer.
364
3652009-01-22 Paul Reilly <pmr@pajato.com>
366
367 * mail/rmail.el (rmail):
368 Remove a redundant message counter reset call; try to
369 minimize the attempts to show a message (ideally it should be done
370 once and only once).
371
372 (rmail-convert-babyl-to-mbox): Set up the global message variables
373 after inserting the converted mbox file into the Rmail buffer; avoid
374 an unecessary message display function call.
375
376 (rmail-show-message-maybe): Use the current message number when the
377 optional argument is not passed.
378
3792009-01-22 Paul Reilly <pmr@pajato.com>
380
381 * mail/rmail.el (rmail): Check for babyl conversion early; ignore
382 multibyte.
383
3842009-01-22 Chong Yidong <cyd@stupidchicken.com>
385
386 * mail/rmail.el (rmail-tool-bar-map): Initialize it unconditionally.
387
3882009-01-22 Paul Reilly <pmr@pajato.com>
389
390 * mail/rmail.el, mail/rmailsum.el:
391 Next step in the Rmail/mbox support: getting basic summary support
392 working.
393
3942009-01-22 Paul Reilly <pmr@pajato.com>
395
396 * mail/rmail.el:
397 First pass at handling decoding the mbox message into the view buffer.
398
3992009-01-22 Paul Reilly <pmr@pajato.com>
400
401 * mail/rmail.el:
402 The Rmail/mbox merge has been abandoned in favor of a restart using
403 the current rmail.el file. A comprehensive list of changes will be
404 supplied when rmail.el is morphed back into rmail.el
405
406 The current status is that rmail.el supports basic Rmail
407 navigation (no summary support) and shows the current message in a
408 special buffer using buffer-swap-text. No decoding is done yet. That
409 is the next step.
410
4112009-01-22 Glenn Morris <rgm@gnu.org>
412
413 * mail/rmailsort.el (rmail-dont-reply-to, rmail-desc-get-marker-end)
414 (rmail-desc-get-marker-start): Remove declarations of undefined
415 functions.
416 (rmail-select-correspondent): Use rmail-dont-reply-to from mail-utils
417 rather than non-existent rmail-dont-reply-to.
418 (rmail-sort-messages): Use rmail-desc-get-start, rmail-desc-get-end
419 rather than non-existent `marker-' functions.
420
421 * mail/rmailkwd.el (rmail-maybe-set-message-counters)
422 (rmail-set-message-deleted-p):
423 * mail/rmailmsc.el (rmail-parse-file-inboxes):
424 * mail/rmailsum.el (rmail-output-read-rmail-file-name):
425 Remove unused declarations.
426
427 * mail/rmail.el (rmail-spam-filter): Remove declaration of undefined
428 function.
429 (rmail-use-spam-filter): Remove un-needed variable declaration.
430 Doc fix for actual definition.
431 (rmail-get-new-mail): Call rmail-spam-filter rather than non-existent
432 rmail-spam-filter.
433 (rmail-spam-filter): Autoload it.
434
4352009-01-22 Paul Reilly <pmr@pajato.com>
436
437 * mail/rmail.el (rmail-get-new-mail): When there are no new messages,
438 invoke a redisplay of the current message.
439
4402009-01-22 Paul Reilly <pmr@pajato.com>
441
442 * mail/rmail.el, mail/rmailout.el:
443 Fix the expunge command so that the current message index is correct.
444
445 * mail/rmail.el (rmail-expunge-counter): New variable.
446 (rmail-set-attribute): Canonicalize the calling sequence to index,
447 attribute, state.
448 (rmail-show-message, rmail-delete-message)
449 (rmail-undelete-previous-message, rmail-delete-forward)
450 (rmail-mark-message): Use the new canonical calling sequence.
451 (rmail-only-expunge): Use the expunge counter to update the current
452 message index.
453 (rmail-expunge-callback): Simplify. Just count the expunged messages
454 with a lower index than the current message index.
455
456 * mail/rmailout.el (rmail-output-body-to-file): Use the canonical
457 calling sequence.
458
4592009-01-22 Paul Reilly <pmr@pajato.com>
460
461 * mail/rmail.el: Fix the expunge operation.
462
463 * mail/rmail.el (rmail-only-expunge): Manage rmail-total-messages in the
464 callback handler; remove the extra show message call.
465 (rmail-expunge-callback): Rewrite to handle all possible conditions.
466
4672009-01-22 Paul Reilly <pmr@pajato.com>
468
469 * mail/rmail.el, mail/rmailkwd.el, mail/rmailmsc.el, mail/rmailsort.el:
470 * mail/rmailsum.el: Resolve all byte compiler warnings and enable
471 IMAP/movemail support.
472
4732009-01-22 Henrik Enberg <enberg@printf.se>
474
475 * mail/rmailout.el (rmail-output): Bind buffer-file-coding-system even
476 when rmail-enable-mime is nil.
477
478 * mail/rmail.el (rmail-perm-variables): Make sure rmail-desc-vector is
479 buffer local.
480 (rmail): Don't bind coding-system-for-read.
481 (rmail-revert): Likewise.
482 (rmail-variables): Don't set buffer-file-coding-system.
483 (rmail-show-message): Likewise.
484
4852009-01-22 Henrik Enberg <enberg@printf.se>
486
487 * mail/rmail.el (rmail-highlight): New face.
488 (rmail-highlight-face): Use it.
489
4902009-01-22 Alex Schroeder <alex@gnu.org>
491
492 * mail/rmailsum.el (rmail-summary-kill-label): Call rmail-kill-label
493 with only one argument.
494
495 * mail/rmail.el (rmail-process-new-messages): Handle missing From
496 line (usually spam).
497
4982009-01-22 Henrik Enberg <enberg@printf.se>
499
500 * mail/rmailedit.el (rmail-edit-map): Initialize at definition.
501 Doc String.
502
503 * mail/rmail.el (rmail-narrow-to-header): Don't end error message with
504 a period.
505
506 * mail/rmailedit.el (rmail-edit-current-message):
507 Use rmail-head-show-headers instead of rmail-toggle-header.
508 (rmail-cease-edit): Likewise. Simplify.
509
5102009-01-22 Alex Schroeder <alex@gnu.org>
511
512 * mail/rmailkwd.el (rmail-read-label): Since rmail-keywords is a list
513 of symbols, we need to transform it into an alist for completion.
514
5152009-01-22 Alex Schroeder <alex@gnu.org>
516
517 * mail/rmailsum.el (rmail-summary-kill-label): Use rmail-kill-label
518 instead of calling rmail-set-label, which will call rmail-make-label
519 on the string.
520
5212009-01-22 Alex Schroeder <alex@gnu.org>
522
523 * mail/rmailkwd.el (rmail-label-obarray): Delete.
524 (rmail-attributes): Use an ordinary list of symbols.
525 (rmail-deleted-label): Use an ordinary symbol.
526 (rmail-keywords): Doc, initial value nil.
527 (rmail-keywords, rmail-keyword-init): Delete defuns.
528 (rmail-make-label): Simplify.
529 (rmail-keyword-register-keywords, rmail-install-keyword):
530 Replace.
531 (rmail-register-keywords, rmail-register-keyword): Replacements.
532 (rmail-add-label, rmail-kill-label): Call set-label with a symbol.
533 (rmail-read-label): Return a string.
534 (rmail-set-label): Rewrote. Call rmail-display-labels always.
535
536 * mail/rmail.el (qp): No longer required.
537 (rmail-convert-file): Don't rmail-enable-multibyte.
538 (rmail-decode-mbox-format): Delete.
539 (rmail-convert-mbox-format): No converting of qp headings, no
540 decoding of the message body.
541
542 (rmail-maybe-set-message-counters): Delete.
543 (rmail-next-undeleted-message): Store original message until the
544 end instead of relying on rmail-current-message.
545
546 (rmail-process-new-messages): Use rmail-register-keywords.
547
5482009-01-22 Alex Schroeder <alex@gnu.org>
549
550 * mail/rmail.el (qp): No longer require it.
551 (rmail-convert-file): Doc. Remove useless test for coding system
552 header. Don't call rmail-decode-mbox-format. Just call
553 rmail-convert-mbox-format.
554 (rmail-decode-mbox-format): Delete.
555 (rmail-convert-mbox-format): Don't translate quoted printable
556 headers. Don't handle quoted-printable content-transfer-encoding.
557 No longer add x-coding-system header.
558 (rmail-maybe-set-message-counters): Delete.
559 (rmail-next-undeleted-message): Add caching of rmail-current-message
560 such that it doesn't break when rmail-show-message switches buffers.
561
5622009-01-22 Alex Schroeder <alex@gnu.org>
563
564 * mail/rmail.el (rmail-convert-mbox-format): Handle mails without
565 subject.
566
5672009-01-22 Henrik Enberg <enberg@printf.se>
568
569 * mail/rmail.el (rmail-first-unseen-message): Make sure to return the
570 last message if no unseen message was found. Doc fix.
571 (rmail): Call rmail-first-unseen-message properly.
572 Remove commented out code.
573 (rmail-show-message): Maybe call rmail-unknown-mail-followup-to.
574 (rmail-revert): Simplify.
575
5762009-01-22 Alex Schroeder <alex@gnu.org>
577
578 * mail/rmailmm.el: New file, based on Alexander Pohoyda's code.
579
5802009-01-22 Henrik Enberg <enberg@printf.se>
581
582 * mail/rmail.el (rmail-next-message):
583 Don't call rmail-maybe-set-message-counters. Use with-current-buffer.
584
585 * mail/rmailkwd.el (rmail-next-labeled-message):
586 Don't call rmail-maybe-set-message-counters. Use with-current-buffer.
587
5882009-01-22 Henrik Enberg <enberg@printf.se>
589
590 * mail/rmailsum.el (rmail-summary-show-message): Reformat.
591 (rmail-summary-get-summary-line):
592 Rename from `rmail-summary-get-summary'. Update callers.
593 (rmail-summary-mode-map): Initialize at definition, Doc fix.
594 (rmail-summary-undelete-many): Simplify.
595
5962009-01-22 Henrik Enberg <enberg@printf.se>
597
598 * mail/rmailsum.el (rmail-summary-deleted-p): Fix misplaced paren.
599 (rmail-summary-undelete): Simplify.
600
6012009-01-22 Henrik Enberg <enberg@printf.se>
602
603 * mail/rmailsum.el (rmail-summary-get-sender): Handle a nil value of
604 rmail-user-mail-address-regexp.
605
606 * mail/rmail.el (rmail-unknown-mail-followup-to): Likewise.
607
608 * mail/rmailout.el (rmail-delete-unwanted-fields): Handle mbox format.
609 (rmail-output): Error when target is a BABYL file. Handle MIME
610 charset. Make sure headers are properly hidden after output.
611 Avoid pointless with-current-buffer call.
612
6132009-01-22 Alex Schroeder <alex@gnu.org>
614
615 * mail/rmailsum.el (rmail-summary-edit-map): Rewrite.
616
6172009-01-22 Alex Schroeder <alex@gnu.org>
618
619 * mail/rmail.el (rmail-narrow-to-non-pruned-header): Delete.
620 (rmail-unknown-mail-followup-to, rmail-retry-failure): No longer
621 call rmail-narrow-to-non-pruned-header and replace
622 mail-fetch-field with rmail-header-get-header because that one
623 ignores the intangible property when searching.
624 (rmail-show-message): Simplify x-coding-system handling.
625 (rmail-redecode-body): No longer call rmail-header-show-headers
626 because rmail-header-get-header handles the intanglible property.
627 (rmail-reply): Simplify code at the price of some efficiency when
628 setting up the variable bindings. No longer toggle visibility of
629 headers, because rmail-header-show-headers is no longer necessary.
630
631 * mail/rmailsum.el (rmail-user-mail-address-regexp): Compute a default
632 value instead of assuming nil. Doc.
633 (rmail-summary-get-sender): Compare with rmail-user-mail-address-regexp
634 instead of computing the default value.
635
636 * mail/rmail.el (rmail-convert-mbox-format): Decode messages with
637 content-transfer-encoding quoted-printable, because it's easy to do.
638 (rmail-unknown-mail-followup-to): Compare with
639 rmail-user-mail-address-regexp instead of computing the default value.
640
6412009-01-22 Henrik Enberg <enberg@printf.se>
642
643 * mail/rmail.el (rmail-decode-mbox-format):
644 Rename from `rmail-decode-mail-file'.
645 (rmail-process-new-messages): Don't add missing headers here.
646 (rmail-convert-mbox-format): Rename from `rmail-decode-messages'.
647 Add missing headers here. Remove FROM and TO arguments.
648 (rmail-get-new-mail): Simplify.
649 (rmail-convert-file): New function.
650 (rmail-revert): Use it.
651 (rmail): Change logic for avoiding selecting new messages twice.
652 (rmail-display-labels): Avoid space in mode-line if there are no
653 keywords.
654
6552009-01-22 Henrik Enberg <enberg@printf.se>
656
657 * mail/rmail.el (rmail): Go back to using find-file for reading in the
658 mail file. This avoids gratuitous modification of the file.
659 (rmail-decode-region): Doc string, cleanup.
660 (rmail-decode-by-content-type): New function.
661 (rmail-decode-messages): Use it. Add FROM and TO args and only
662 process messages in that region.
663 (rmail-get-new-mail): Call `rmail-decode-region' before
664 `rmail-process-new-messages'.
665 (rmail-fontify-message): Reformat, Doc String.
666 (rmail-displayed-headers): Default value set to nil.
667 (rmail-inbox-alist): Add version tag.
668 (rmail-process-new-messages): Use rmail-desc-default-attrs.
669
6702009-01-22 Alex Schroeder <alex@gnu.org>
671
672 * mail/rmail.el (rmail-decode-messages): Decode encoded-words in
673 Subject and From header.
674 (rmail-process-new-messages): Don't decode encoded words here.
675
6762009-01-22 Henrik Enberg <enberg@printf.se>
677
678 * mail/rmail.el (rmail-process-new-messages): Don't decode messages
679 here, don't lose on missing subject field.
680 (rmail-decode-messages): New function.
681 (rmail): Use it.
682 (rmail-get-new-mail): Likewise.
683
684 * mail/rmailsum.el (rmail-summary-get-sender): Narrow to current
685 message before extracting headers.
686
6872009-01-22 Alex Schroeder <alex@gnu.org>
688
689 * mail/rmailedit.el (rmail-abort-edit): Don't call
690 rmail-highlight-headers anymore.
691
692 * mail/rmail.el (rmail-next-undeleted-message): Simplify.
693 (rmail-what-message): Delete since it was never called.
694 (rmail-narrow-to-header): Use the same error message as
695 rmail-header-get-limit.
696 (rmail-highlight-face): Doc.
697 (rmail-font-lock-keywords): Add the stuff necessary to make
698 rmail-highlight-headers obsolete.
699 (rmail-toggle-header, rmail-show-message): Don't call
700 rmail-highlight-headers anymore.
701 (rmail-highlight-headers): Delete.
702
703 * mail/rmail.el (rmail-msgbeg, rmail-msgend): Fix and make obsolete.
704 (rmail-process-new-messages): Use mail-decode-encoded-word-string
705 on the subject. Requires mail-parse from Gnus.
706 (rmail-highlight-headers): Doc.
707
7082009-01-22 Henrik Enberg <enberg@printf.se>
709
710 * mail/rmailsum.el (rmail-message-senders-p): Fix typo.
711
712 * mail/rmail.el (rmail-process-new-messages): Simplify.
713 (rmail-decode-quoted-printable): Delete unused function.
714 (rmail-hex-string-to-integer): Likewise.
715 (rmail-hex-char-to-integer): Likewise.
716 (rmail-decode-mail-file): Rename from `rmail-decode-mbox-file'.
717 (rmail-delete-inbox-files): New function factored out of
718 `rmail-get-new-mail'.
719 (rmail-get-new-mail): Use it.
720 (rmail-get-inbox-files): Rename from `rmail-get-inbox-list'.
721
7222009-01-22 Alex Schroeder <alex@gnu.org>
723
724 * mail/rmail.el (rmail-get-new-mail): Doc.
725 (rmail-get-inbox-list): Doc.
726 (rmail-require-mime-maybe): Simplify.
727 (rmail-mode-map): Rewrite using a local binding to agree
728 with "(elisp)Tips for Defining".
729
7302009-01-22 Henrik Enberg <enberg@printf.se>
731
732 * mail/rmailsum.el (rmail-summary-get-sender): Doc fix.
733
734 * mail/rmail.el (rmail-redecode-body): Simplify.
735 (rmail-get-inbox-list): Stop on name conflict.
736 (rmail-show-message): Set `rmail-view-buffer' to `rmail-buffer` if
737 not using MIME. Make sure we go to `point-min' before setting
738 window point as searching for coding header might move point.
739
7402009-01-22 Alex Schroeder <alex@gnu.org>
741
742 * mail/rmail.el (rmail-inbox-alist): Doc.
743
7442009-01-22 Henrik Enberg <enberg@printf.se>
745
746 * mail/rmailsum.el (rmail-summary-get-sender): New function.
747 (rmail-summary-get-summary): Use it. Make sure sender is no
748 longer than 25 characters.
749 (rmail-summary-get-line-count): Doc fix.
750 (rmail-summary-get-summary-attributes): Likewise.
751
752 * mail/rmailmsc.el (set-rmail-inbox-list): Rewrite to only set inbox
753 list temporarily for a session.
754
7552009-01-22 Alex Schroeder <alex@gnu.org>
756
757 * mail/rmail.el (rmail-show-message): Minor changes: comments.
758
759 * mail/rmailsum.el (rmail-summary-get-summary): Fix display of keywords.
760 (rmail-summary-rmail-update): Minor changes: If to when, comments,
761 doc string.
762
7632009-01-22 Henrik Enberg <enberg@printf.se>
764
765 * mail/rmail.el (rmail-inbox-alist): New variable.
766 (rmail-get-file-inbox-list): New function.
767 (rmail-perm-variables): Use it.
768 (rmail-parse-file-inboxes): Delete.
769
7702009-01-22 Alex Schroeder <alex@gnu.org>
771
772 * mail/rmailsum.el (rmail-summary-mode): Fix typo in doc string and
773 keymap.
774 (rmail-summary-update-attribute): Delete.
775 (rmail-summary-update): Simple defun regenerates the entire
776 summary line.
777 (rmail-summary-by-topic): Don't use rmail-current-subject-regexp.
778 (rmail-message-subject-p): Use rmail-header-get-header instead of
779 mail-fetch-field.
780 (rmail-summary-by-senders): Default to current sender.
781
782 * mail/rmailkwd.el (rmail-set-label): Call rmail-summary-update at the
783 end.
784
785 * mail/rmail.el (rmail-set-attribute): Call rmail-summary-update
786 instead of just updating the attributes.
787
7882009-01-22 Henrik Enberg <enberg@printf.se>
789
790 * mail/rmail.el (rmail-process-new-messages):
791 Use rmail-header-get-header instead of mail-fetch-field.
792
793 * mail/rmailout.el (rmail-output-read-file-name): Simplify.
794 (rmail-output): Likewise.
795
7962009-01-22 Alex Schroeder <alex@gnu.org>
797
798 * mail/rmailsum.el (rmail-make-summary-line-1)
799 (rmail-make-basic-summary-line): Delete.
800 (rmail-summary-kill-label): Only ask for existing labels.
801
802 * mail/rmailkwd.el (rmail-add-label): Doc fix.
803 (rmail-kill-label): Only read labels that the current message has.
804 (rmail-read-label): Possibly only ask for existing labels.
805 (rmail-set-label): Display labels at the end.
806
807 * mail/rmailedit.el (rmail-cease-edit): Bugfix.
808
809 * mail/rmail.el (rmail-set-attribute): Move comment into document.
810
8112009-01-22 Henrik Enberg <enberg@printf.se>
812
813 * mail/rmail.el (rmail-get-inbox-list): New function.
814 (rmail-get-new-mail): Use it. Only call `rmail-show-message' on
815 file-error condition if no new messages are found.
816 (rmail-get-sender): Delete.
817 (rmail-process-new-messages): Use mail-fetch-field instead.
818 (rmail-show-message): Cleanup.
819 (rmail-decode-mbox-file): New function.
820 (rmail): Use it. Only call `rmail-show-message' if no new mail was
821 found.
822
823 * mail/rmailsum.el (rmail-summary-get-new-mail): Only call
824 `rmail-summary-goto-msg' if no new mail was found.
825
8262009-01-22 Alex Schroeder <alex@gnu.org>
827
828 * mail/rmail.el (rmail): Only insert the file if it actually exists.
829 (rmail-show-message): Do not display labels if there are no
830 messages. This corrects the mistake if visiting an empty file,
831 but it doesn't fix the situation where you delete the all messages
832 and expunge them. This may leave the labels of the last message
833 in the modeline.
834
8352009-01-22 Henrik Enberg <enberg@printf.se>
836
837 * mail/rmailkwd.el: Don't require rmail.
838
839 * mail/rmail.el (rmail-process-new-messages): Don't require rmailkwd
840 here, do it at toplevel instead.
841 (rmail-process-new-messages): Add an X-Coding-System
842 header if one doesn't exist.
843
8442009-01-22 Alex Schroeder <alex@gnu.org>
845
846 * mail/rmailsum.el (rmail-summary-by-labels): No longer concatenate
847 regexp with commas because of recent change to
848 rmail-message-labels-p.
849 (rmail-summary-rmail-update): Replace rmail-message-labels-p test
850 with simple rmail-desc-get-keywords.
851
852 * mail/rmail.el (rmail-message-labels-p):
853 Rewrite using rmail-desc-get-keywords.
854 (rmail-auto-file): Rewrite test for "filed" using
855 rmail-desc-get-keywords.
856
857 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix regular
858 expression for unread messages.
859 (rmail-summary-mode): Add documentation for the filtering commands.
860 (rmail-summary-mode-map): Add keybinding for rmail-summary-by-sender.
861 (rmail-summary-get-summary): Don't show attributes, only
862 user-defined keywords.
863
864 * mail/rmailedit.el (rmail-cease-edit): Do not adjust the marker of the
865 last message.
866
8672009-01-22 Henrik Enberg <enberg@printf.se>
868
869 * mail/rmailout.el (rmail-output-read-file-name): Make sure search in
870 executed in `rmail-buffer'.
871 (rmail-output-to-rmail-file): Use `rmail-output-read-file-name'.
872 (rmail-output-read-rmail-file-name): Delete.
873
874 * mail/rmailsum.el (rmail-summary-output-to-rmail-file):
875 Use `rmail-output-read-file-name'.
876 (rmail-summary-get-message-at-point): Handle 5-digit message ids.
877
878 * mail/rmail.el (rmail-process-new-messages): Require rmailkwd.
879 (rmail-ignored-headers): Add "Original-Recipient".
880
8812009-01-22 Alex Schroeder <alex@gnu.org>
882
883 * mail/rmail.el (rmail-display-labels): Use identity instead of lambda.
884
885 * mail/rmailsum.el (rmail-summary-font-lock-keywords):
886 Fix typo for labels.
887 (rmail-summary-get-summary): Add labels again.
888
8892009-01-22 Alex Schroeder <alex@gnu.org>
890
891 * mail/rmail.el (rmail-nuke-pinhead-header, rmail-reformat-message)
892 (rmail-msg-restore-non-pruned-header, rmail-msg-prune-header):
893 Delete.
894 (rmail-narrow-to-header): Fix typo, error if we cannot find the
895 end of the headers.
896
897 * mail/rmailsum.el (rmail-message-subject-p, rmail-message-senders-p):
898 Use mail-fetch-field instead of mail-header-get-header.
899 (rmail-summary-next-same-subject): Simplify.
900
901 * mail/rmail.el (rmail): Create the buffer using file-name-nondirectory.
902 (rmail-mode-map): Bind j to rmail-show-message instead of rmail-message.
903
9042009-01-22 Henrik Enberg <enberg@printf.se>
905
906 * mail/rmailsum.el (rmail-new-summary): Make sure summary buffer is
907 current when selecting message.
908 (rmail-summary-browse-body): Delete.
909 (rmail-summary-rmail-update, rmail-summary-get-message-at-point)
910 (rmail-summary-goto-msg): Use string-to-number.
911 (rmail-summary-toggle-header, rmail-summary-add-label)
912 (rmail-summary-kill-label): Use with-current-buffer.
913 (rmail-summary-previous-msg): Add docstring.
914
9152009-01-22 Alex Schroeder <alex@gnu.org>
916
917 * mail/rmail.el (rmail-ignored-headers): Merge several terms using
918 grouping, add simple "from " (without a colon), and several
919 other headers.
920 (rmail): Automatically convert BABYL files to mbox files.
921 (rmail-decode-babyl-format): Delete, since conversion is handled
922 by unrmail.
923
924 * unrmail.el (unrmail): Use regular expression search to find
925 message separators such that the fake separators inserted by
926 rmime.el are not matched. The sections added by rmime.el are removed.
927
9282009-01-22 Henrik Enberg <enberg@printf.se>
929
930 * mail/rmail.el: Don't require `rmailout' and `rmailsum'.
931
932 * mail/rmailsum.el (rmail-summary-get-line-count): Rightalign line
933 count.
934 (rmail-summary-get-summary): Display 5-digit message ids.
935 (rmail-summary-goto-msg): Adjust for 5-digit ids.
936 (rmail-summary-font-lock-keywords): Likewise.
937
938 * mail/rmail.el (rmail-url-map, rmail-activate-urls)
939 (rmail-visit-url-at-mouse, rmail-visit-url-at-point, rmail-browse-body):
940 Delete, don't duplicate goto-address functionality.
941
9422009-01-22 Richard M. Stallman <rms@gnu.org>
943
944 * mail/rmail.el (rmail): Convert Babyl files using decode-babyl-file.
945 (rmail-use-spam-filter): Add defvar.
946
947 * mail/unrmail.el: Mostly rewritten. Parses the file
948 directly without calling any functions in Rmail.
949 (batch-convert-babyl, convert-babyl-file, decode-babyl-file)
950 (decode-babyl): New functions.
951 (unrmail, batch-unrmail): Now aliases.
952
9532009-01-22 Richard M. Stallman <rms@gnu.org>
954
955 * mail/rmail.el (rmail-message-vector, rmail-deleted-vector)
956 (rmail-msgref-vector, rmail-summary-vector): Delete vars, and
957 all code to initialize them too.
958 (rmail-forget-messages): Delete function. Change callers.
959 (rmail-set-message-counters): Delete function. Change callers.
960 (rmail-count-new-messages): Delete function. Change callers.
961 (rmail-set-message-counters-counter): Likewise.
962 (rmail-maybe-set-message-counters): Now no-op.
963 (rmail-message-deleted-p, rmail-set-message-deleted-p): Delete Fns.
964 (rmail-msg-number-after-expunge): Delete Fn.
965 (rmail): Delete excess closeparen.
966 (rmail-initialize-messages): Doc fix.
967 (rmail-expunge-confirmed): Update to use rmail-desc-deleted-p.
968
969 * mail/rmailsum.el (rmail-make-summary-line): Delete function.
970 (rmail-new-summary): Make it work once again as in old version.
971 (rmail-summary-get-summary): Call rmail-summary-line-decoder.
972
9732009-01-22 Richard M. Stallman <rms@gnu.org>
974
975 * mail/rmail.el (rmail): Error if file is Babyl format.
976 (rmail-process-new-messages, rmail-reply-callback, rmail-mark-message)
977 (rmail-narrow-to-message): Doc fix.
978 (rmail-reply, rmail-forward, rmail-resend, rmail-retry-failure)
979 (rmail-browse-body): Immediate error if file is empty.
980
981 * mail/rmail.el (rmail-convert-file, rmail-insert-rmail-file-header)
982 (rmail-convert-to-babyl-format): Delete functions.
983 (rmail-mode): Don't call rmail-convert-file.
984
985 * mail/rmailedit.el (rmail-edit-current-message):
986 Immediate error if file is empty.
987
988 * mail/rmailkwd.el (rmail-read-label, rmail-set-label):
989 Immediate error if file is empty.
990 (rmail-parse-file-keywords): Delete function.
991
992;; Local Variables:
993;; coding: iso-2022-7bit
994;; add-log-time-zone-rule: t
995;; End:
996
997 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
998
999 This file is part of GNU Emacs.
1000
1001 GNU Emacs is free software: you can redistribute it and/or modify
1002 it under the terms of the GNU General Public License as published by
1003 the Free Software Foundation, either version 3 of the License, or
1004 (at your option) any later version.
1005
1006 GNU Emacs is distributed in the hope that it will be useful,
1007 but WITHOUT ANY WARRANTY; without even the implied warranty of
1008 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1009 GNU General Public License for more details.
1010
1011 You should have received a copy of the GNU General Public License
1012 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
1013
1014;; arch-tag: e3ca2b68-f400-4f0d-b95f-83a4b0f5d0c4