(looking-back): Fix doc-string typo.
[bpt/emacs.git] / lisp / mail / ChangeLog.pmail
CommitLineData
69caa40a
PR
12008-10-17 Paul Reilly <pmr@pajato.com>
2
3 * pmail.el (pmail):
4 Remove a redundant message counter reset call; try to
5 minimize the attempts to show a message (ideally it should be done
6 once and only once).
7
8 (pmail-convert-babyl-to-mbox): Set up the global message variables
9 after inserting the converted mbox file into the Pmail buffer; avoid
10 an unecessary message display function call.
11
12 (pmail-show-message-maybe): Use the current message number when the
13 optional argument is not passed.
14
fc8d7fa8
PR
152008-10-14 Paul Reilly <pmr@pajato.com>
16
17 * pmail.el (pmail): Check for babyl conversion early; ignore multibyte.
18
675ccaf0
CY
192008-10-11 Chong Yidong <cyd@stupidchicken.com>
20
21 * pmail.el (pmail-tool-bar-map): Initialize it unconditionally.
22
a1fdbf6d
PR
232008-10-05 Paul Reilly <pmr@pajato.com>
24
25 * pmail.el, pmailsum.el:
26 Next step in the Rmail/mbox support: getting basic summary support working.
27
b05f4920
PR
282008-09-23 Paul Reilly <pmr@pajato.com>
29
30 * pmail.el:
31 First pass at handling decoding the mbox message into the view buffer.
32
332008-09-16 Paul Reilly <pmr@pajato.com>
34
35 * subdirs.el: Remove file.
36
372008-09-15 author <author@lilly>
38
39 * ChangeLog.pmail: *** empty log message ***
40
41 * pmail.el:
42 The Rmail/mbox merge has been abandoned in favor of a restart using
43 the current rmail.el file. A comprehensive list of changes will be
44 supplied when pmail.el is morphed back into rmail.el
45
46 The current status is that pmail.el supports basic Rmail navigation
47 (no summary support) and shows the current message in a special
48 buffer using buffer-swap-text. No decoding is done yet. That is the
49 next step.
50
98c78ffe
PR
512008-09-15 Paul Reilly <pmr@pajato.com>
52
53 * pmail.el:
54 The Rmail/mbox merge has been abandoned in favor of a restart using
55 the current rmail.el file. A comprehensive list of changes will be
56 supplied when pmail.el is morphed back into rmail.el
57
58 The current status is that pmail.el supports basic Rmail navigation
59 (no summary support) and shows the current message in a special
60 buffer using buffer-swap-text. No decoding is done yet. That is the
61 next step.
62
63 * mbox-trunk-annotations/rmail.el.annotation, mbox-trunk-annotations/rmailedit.el.annotation, mbox-trunk-annotations/rmailkwd.el.annotation, mbox-trunk-annotations/rmailmsc.el.annotation, mbox-trunk-annotations/rmailout.el.annotation, mbox-trunk-annotations/rmailsort.el.annotation:
64 Rmail/mbox merge abandoned. Remove stale files.
65
66 * mbox-changes/rmail.el.changes, mbox-changes/rmailedit.el.changes, mbox-changes/rmailkwd.el.changes, mbox-changes/rmailmsc.el.changes, mbox-changes/rmailout.el.changes, mbox-changes/rmailsort.el.changes, mbox-changes/rmailsum.el.changes:
67 Rmail/mbox merge abandoned. Remove stale files.
68
c1ca0a06
GM
692008-09-06 Glenn Morris <rgm@gnu.org>
70
71 * pmailsort.el (pmail-dont-reply-to, pmail-desc-get-marker-end)
72 (pmail-desc-get-marker-start): Remove declarations of undefined
73 functions.
74 (pmail-select-correspondent): Use rmail-dont-reply-to from mail-utils
75 rather than non-existent pmail-dont-reply-to.
b3a2404f
GM
76 (pmail-sort-messages): Use pmail-desc-get-start, pmail-desc-get-end
77 rather than non-existent `marker-' functions.
c1ca0a06
GM
78
79 * pmailkwd.el (pmail-maybe-set-message-counters)
80 (pmail-set-message-deleted-p):
81 * pmailmsc.el (pmail-parse-file-inboxes):
82 * pmailsum.el (pmail-output-read-pmail-file-name):
83 Remove unused declarations.
84
85 * pmail.el (pmail-spam-filter): Remove declaration of undefined
86 function.
b3a2404f
GM
87 (pmail-use-spam-filter): Remove un-needed variable declaration.
88 Doc fix for actual definition.
89 (pmail-get-new-mail): Call rmail-spam-filter rather than non-existent
90 pmail-spam-filter.
a7a65779 91 (rmail-spam-filter): Autoload it.
c1ca0a06 92
6eb249b7
GM
932008-09-05 Paul Reilly <pmr@pajato.com>
94
95 * pmail.el (pmail-get-new-mail): When there are no new messages, invoke
96 a redisplay of the current message.
97
982008-09-03 Paul Reilly <pmr@pajato.com>
8bc83fb8
PR
99
100 * pmail.el, pmaildesc.el, pmailout.el:
101 Fix the expunge command so that the current message index is correct.
102
6eb249b7
GM
103 * pmail.el (pmail-expunge-counter): New variable.
104 (pmail-set-attribute): Canonicalize the calling sequence to index,
105 attribute, state.
106 (pmail-show-message, pmail-delete-message)
107 (pmail-undelete-previous-message, pmail-delete-forward)
108 (pmail-mark-message): Use the new canonical calling sequence.
109 (pmail-only-expunge): Use the expunge counter to update the current
110 message index.
111 (pmail-expunge-callback): Simplify. Just count the expunged messages
112 with a lower index than the current message index.
8bc83fb8
PR
113
114 * pmaildesc.el (pmail-desc-get-previous): Fix an "off by one" issue.
6eb249b7
GM
115 (pmail-desc-set-attribute): Canonicalize the calling sequence to index,
116 attribute, state.
8bc83fb8 117
6eb249b7
GM
118 * pmailout.el (pmail-output-body-to-file): Use the canonical calling
119 sequence.
8bc83fb8 120
2e2da3d5
JB
1212008-09-02 Juanma Barranquero <lekktu@gmail.com>
122
6981a71f 123 * pmaildesc.el (pmail-desc-get-match-index): Fix malformed let binding.
2e2da3d5 124
6eb249b7 1252008-09-01 Paul Reilly <pmr@pajato.com>
da084553
PR
126
127 * pmail.el, pmaildesc.el: Fix the expunge operation.
128
6eb249b7 129 * pmail.el (pmail-only-expunge): Manage pmail-total-messages in the
da084553
PR
130 callback handler; remove the extra show message call.
131 (pmail-expunge-callback): Rewrite to handle all possible conditions.
132
6eb249b7 133 * pmaildesc.el (pmail-desc-get-previous, pmail-desc-get-match-index):
da084553
PR
134 New functions.
135
d007e8e9
PR
1362008-08-29 Paul Reilly <pmr@pajato.com>
137
138 * pmail.el, pmaildesc.el, pmailhdr.el, pmailkwd.el, pmailmm.el,
139 * pmailmsc.el, pmailsort.el, pmailsum.el: Resolve all byte
140 compiler warnings and enable IMAP/movemail support.
141
1422007-04-30 Henrik Enberg <enberg@printf.se>
143
144 * rmailhdr.el (rmail-header-add-header): Use delete-region instead
145 of kill-region.
146
1472007-04-27 Henrik Enberg <enberg@printf.se>
148
149 * rmailout.el (rmail-output): Bind buffer-file-coding-system even
150 when rmail-enable-mime is nil.
151
152 * rmail.el (rmail-perm-variables): Make sure rmail-desc-vector is
153 buffer local.
154 (rmail-mime-charset-pattern): Sync with trunk.
155 (rmail): Don't bind coding-system-for-read.
156 (rmail-revert): Likewise.
157 (rmail-variables): Don't set buffer-file-coding-system.
158 (rmail-show-message): Likewise.
159
1602007-04-26 Henrik Enberg <enberg@printf.se>
161
162 * rmail.el (rmail-highlight): New face.
163 (rmail-highlight-face): Use it.
164
1652006-04-11 Alex Schroeder <alex@gnu.org>
166
167 * rmailsum.el (rmail-summary-kill-label): Call rmail-kill-label
168 with only one argument.
169
170 * rmail.el (rmail-process-new-messages): Handle missing From
171 line (usually spam).
172
1732006-03-09 Henrik Enberg <enberg@printf.se>
174
6eb249b7 175 * rmailedit.el (rmail-edit-map): Initialize at definition. Doc String.
d007e8e9
PR
176
177 * rmail.el (rmail-narrow-to-header): Don't end error message with
178 a period.
179
180 * rmailhdr.el (rmail-header-get-limit): Don't end error message
181 with a period.
182
183 * rmaildesc.el (rmail-desc-get-header-display-state): Make sure
184 whole header region is searched for overlays.
185
6eb249b7
GM
186 * rmailedit.el (rmail-edit-current-message):
187 Use rmail-head-show-headers instead of rmail-toggle-header.
d007e8e9
PR
188 (rmail-cease-edit): Likewise. Simplify.
189
1902006-03-02 Alex Schroeder <alex@gnu.org>
191
192 * rmailkwd.el (rmail-read-label): Since rmail-keywords is a list
193 of symbols, we need to transform it into an alist for completion.
194
1952006-03-01 Alex Schroeder <alex@gnu.org>
196
197 * rmailsum.el (rmail-summary-kill-label): Use rmail-kill-label
6eb249b7
GM
198 instead of calling rmail-set-label, which will call rmail-make-label
199 on the string.
d007e8e9
PR
200
2012006-02-28 Alex Schroeder <alex@gnu.org>
202
6eb249b7 203 * rmailkwd.el (rmail-label-obarray): Delete.
d007e8e9
PR
204 (rmail-attributes): Use an ordinary list of symbols.
205 (rmail-deleted-label): Use an ordinary symbol.
206 (rmail-keywords): Doc, initial value nil.
6eb249b7 207 (rmail-keywords, rmail-keyword-init): Delete defuns.
d007e8e9
PR
208 (rmail-attribute-p, rmail-keyword-p, rmail-make-label): Simplify.
209 (rmail-keyword-register-keywords, rmail-install-keyword):
6eb249b7 210 Replace.
d007e8e9
PR
211 (rmail-register-keywords, rmail-register-keyword): Replacements.
212 (rmail-add-label, rmail-kill-label): Call set-label with a symbol.
213 (rmail-read-label): Return a string.
214 (rmail-set-label): Rewrote. Call rmail-display-labels always.
215
216 * rmail.el (qp): No longer required.
217 (rmail-convert-file): Don't rmail-enable-multibyte.
6eb249b7 218 (rmail-decode-mbox-format): Delete.
d007e8e9
PR
219 (rmail-convert-mbox-format): No converting of qp headings, no
220 decoding of the message body.
221
6eb249b7 222 (rmail-maybe-set-message-counters): Delete.
d007e8e9
PR
223 (rmail-next-undeleted-message): Store original message until the
224 end instead of relying on rmail-current-message.
225
226 (rmail-process-new-messages): Use rmail-register-keywords.
227
2282006-02-17 Alex Schroeder <alex@gnu.org>
229
6eb249b7 230 * rmailmm.el (rmail-mime-text-handler): Only downcase if charset exists.
d007e8e9
PR
231 (rmail-mime-handle): Doc. Ignore errors when decoding base64.
232 Seems to be common on my system.
233 (rmail-mime-show): Change show-header code.
234 (rmail-mime): New.
235
2362006-02-12 Alex Schroeder <alex@gnu.org>
237
238 * rmail.el (qp): No longer require it.
6eb249b7 239 (rmail-convert-file): Doc. Remove useless test for coding system
d007e8e9
PR
240 header. Don't call rmail-decode-mbox-format. Just call
241 rmail-convert-mbox-format.
6eb249b7 242 (rmail-decode-mbox-format): Delete.
d007e8e9
PR
243 (rmail-convert-mbox-format): Don't translate quoted printable
244 headers. Don't handle quoted-printable content-transfer-encoding.
245 No longer add x-coding-system header.
6eb249b7
GM
246 (rmail-maybe-set-message-counters): Delete.
247 (rmail-next-undeleted-message): Add caching of rmail-current-message
248 such that it doesn't break when rmail-show-message switches buffers.
d007e8e9
PR
249
2502006-02-07 Alex Schroeder <alex@gnu.org>
251
6eb249b7
GM
252 * rmailmm.el (rmail-mime-media-type-handlers-alist):
253 Remove non-existing handlers for the moment.
254 (rmail-mime-text-handler): Do decoding based on the charset parameter.
255 (test-rmail-mime-handler): Test decoding using an 8bit KOI8 message.
d007e8e9
PR
256 (rmail-mime-handle): Switch to unibyte if content transfer
257 encoding is 8bit. Strange that it should be necessary.
258
2592006-02-04 Alex Schroeder <alex@gnu.org>
260
6eb249b7
GM
261 * rmailmm.el: Rename all symbols to rmail-mime-*. Rewrite code
262 to modify the buffer instead of using display properties.
263 Fix bulk handler, and add simple test defun for it.
d007e8e9
PR
264
2652006-02-01 Alex Schroeder <alex@gnu.org>
266
267 * rmail.el (rmail-convert-mbox-format): Handle mails without subject.
268
2692006-02-01 Henrik Enberg <enberg@printf.se>
270
271 * rmail.el (rmail-first-unseen-message): Make sure to return the
272 last message if no unseen message was found. Doc fix.
6eb249b7
GM
273 (rmail): Call rmail-first-unseen-message properly.
274 Remove commented out code.
d007e8e9
PR
275 (rmail-show-message): Maybe call rmail-unknown-mail-followup-to.
276 (rmail-revert): Simplify.
277
2782006-01-31 Alex Schroeder <alex@gnu.org>
279
280 * rmailmm.el: New file, based on Alexander Pohoyda's code.
281
2822006-01-30 Henrik Enberg <enberg@printf.se>
283
6eb249b7
GM
284 * rmail.el (rmail-next-message):
285 Don't call rmail-maybe-set-message-counters. Use with-current-buffer.
d007e8e9 286
6eb249b7
GM
287 * rmailkwd.el (rmail-next-labeled-message):
288 Don't call rmail-maybe-set-message-counters. Use with-current-buffer.
d007e8e9
PR
289
290 * rmailhdr.el (rmail-header-hide-headers): Simplify.
291 (rmail-header-get-limit): Wrap in a save-excursion.
6eb249b7 292 (rmail-header-display-state): Rename from rmail-header-display-mode.
d007e8e9
PR
293
2942006-01-29 Henrik Enberg <enberg@printf.se>
295
296 * rmailsum.el (rmail-summary-show-message): Reformat.
6eb249b7
GM
297 (rmail-summary-get-summary-line):
298 Rename from `rmail-summary-get-summary'. Update callers.
d007e8e9
PR
299 (rmail-summary-mode-map): Initialize at definition, Doc fix.
300 (rmail-summary-undelete-many): Simplify.
301
3022006-01-26 Henrik Enberg <enberg@printf.se>
303
304 * rmailsum.el (rmail-summary-deleted-p): Fix misplaced paren.
305 (rmail-summary-undelete): Simplify.
306
3072006-01-25 Henrik Enberg <enberg@printf.se>
308
309 * rmailsum.el (rmail-summary-get-sender): Handle a nil value of
310 rmail-user-mail-address-regexp.
311
312 * rmail.el (rmail-unknown-mail-followup-to): Likewise.
313
314 * rmailout.el (rmail-delete-unwanted-fields): Handle mbox format.
315 (rmail-output): Error when target is a BABYL file. Handle MIME
316 charset. Make sure headers are properly hidden after output.
317 Avoid pointless with-current-buffer call.
318
3192006-01-24 Alex Schroeder <alex@gnu.org>
320
321 * rmailsum.el (rmail-summary-edit-map): Rewrite.
322
3232006-01-23 Alex Schroeder <alex@gnu.org>
324
6eb249b7 325 * rmail.el (rmail-narrow-to-non-pruned-header): Delete.
d007e8e9
PR
326 (rmail-unknown-mail-followup-to, rmail-retry-failure): No longer
327 call rmail-narrow-to-non-pruned-header and replace
328 mail-fetch-field with rmail-header-get-header because that one
329 ignores the intangible property when searching.
330 (rmail-show-message): Simplify x-coding-system handling.
331 (rmail-redecode-body): No longer call rmail-header-show-headers
332 because rmail-header-get-header handles the intanglible property.
333 (rmail-reply): Simplify code at the price of some efficiency when
334 setting up the variable bindings. No longer toggle visibility of
335 headers, because rmail-header-show-headers is no longer necessary.
336
337 * rmailhdr.el (rmail-header-get-header): Accept more arguments and
6eb249b7
GM
338 pass them to mail-fetch-field unchanged.
339 Bind inhibit-point-motion-hooks to t.
d007e8e9
PR
340
341 * rmailsum.el (rmail-user-mail-address-regexp): Compute a default
342 value instead of assuming nil. Doc.
6eb249b7
GM
343 (rmail-summary-get-sender): Compare with rmail-user-mail-address-regexp
344 instead of computing the default value.
d007e8e9
PR
345
346 * rmail.el (rmail-convert-mbox-format): Decode messages with
6eb249b7 347 content-transfer-encoding quoted-printable, because it's easy to do.
d007e8e9 348 (rmail-unknown-mail-followup-to): Compare with
6eb249b7 349 rmail-user-mail-address-regexp instead of computing the default value.
d007e8e9
PR
350
3512006-01-23 Henrik Enberg <enberg@printf.se>
352
6eb249b7
GM
353 * rmail.el (rmail-decode-mbox-format):
354 Rename from `rmail-decode-mail-file'.
d007e8e9
PR
355 (rmail-process-new-messages): Don't add missing headers here.
356 (rmail-convert-mbox-format): Rename from `rmail-decode-messages'.
357 Add missing headers here. Remove FROM and TO arguments.
358 (rmail-get-new-mail): Simplify.
359 (rmail-convert-file): New function.
360 (rmail-revert): Use it.
361 (rmail): Change logic for avoiding selecting new messages twice.
362 (rmail-display-labels): Avoid space in mode-line if there are no
363 keywords.
364
3652006-01-22 Henrik Enberg <enberg@printf.se>
366
367 * rmaildesc.el (rmail-desc-default-attrs): New const.
6eb249b7 368 (rmail-desc-get-default-attrs): Delete.
d007e8e9
PR
369
370 * rmail.el (rmail): Go back to using find-file for reading in the
371 mail file. This avoids gratuitous modification of the file.
372 (rmail-decode-region): Doc string, cleanup.
373 (rmail-decode-by-content-type): New function.
374 (rmail-decode-messages): Use it. Add FROM and TO args and only
375 process messages in that region.
376 (rmail-get-new-mail): Call `rmail-decode-region' before
377 `rmail-process-new-messages'.
378 (rmail-fontify-message): Reformat, Doc String.
379 (rmail-displayed-headers): Default value set to nil.
380 (rmail-inbox-alist): Add version tag.
381 (rmail-count-screen-lines): Doc string.
382 (rmail-process-new-messages): Use rmail-desc-default-attrs.
383
3842006-01-21 Alex Schroeder <alex@gnu.org>
385
6eb249b7 386 * rmail.el (rmail-decode-messages): Decode encoded-words in
d007e8e9
PR
387 Subject and From header.
388 (rmail-process-new-messages): Don't decode encoded words here.
389
3902006-01-21 Henrik Enberg <enberg@printf.se>
391
392 * rmail.el (rmail-process-new-messages): Don't decode messages
6eb249b7 393 here, don't lose on missing subject field.
d007e8e9
PR
394 (rmail-decode-messages): New function.
395 (rmail): Use it.
396 (rmail-get-new-mail): Likewise.
397
398 * rmailsum.el (rmail-summary-get-sender): Narrow to current
399 message before extracting headers.
400
4012006-01-21 Alex Schroeder <alex@gnu.org>
402
6eb249b7
GM
403 * rmailedit.el (rmail-abort-edit): Don't call rmail-highlight-headers
404 anymore.
d007e8e9
PR
405
406 * rmail.el (rmail-next-undeleted-message): Simplify.
6eb249b7 407 (rmail-what-message): Delete since it was never called.
d007e8e9
PR
408 (rmail-narrow-to-header): Use the same error message as
409 rmail-header-get-limit.
410 (rmail-highlight-face): Doc.
411 (rmail-font-lock-keywords): Add the stuff necessary to make
412 rmail-highlight-headers obsolete.
413 (rmail-toggle-header, rmail-show-message): Don't call
414 rmail-highlight-headers anymore.
6eb249b7 415 (rmail-highlight-headers): Delete.
d007e8e9
PR
416
417 * rmaildesc.el (rmail-desc-set-attribute): Use
418 rmail-header-add-header instead of rmail-header-set-header.
419
420 * rmailhdr.el (rmail-header-attribute-header)
421 (rmail-header-keyword-header, rmail-header-get-limit): Doc.
422 (rmail-header-add-header): Add inhibit-point-motion-hooks and
423 buffer-undo-list bindings from rmail-header-set-header. I don't
424 know whether they are necessary, however.
425 (rmail-header-persist-attributes, rmail-header-set-header):
6eb249b7
GM
426 Delete. rmail-header-add-header does what rmail-header-set-header did,
427 except throw an error if the header was not found.
d007e8e9
PR
428
429 * rmail.el (rmail-msgbeg, rmail-msgend): Fix and make obsolete.
430 (rmail-process-new-messages): Use mail-decode-encoded-word-string
431 on the subject. Requires mail-parse from Gnus.
432 (rmail-highlight-headers): Doc.
433
4342006-01-21 Henrik Enberg <enberg@printf.se>
435
6eb249b7 436 * rmailsum.el (rmail-message-senders-p): Fix typo.
d007e8e9
PR
437
438 * rmail.el (rmail-process-new-messages): Simplify.
439 (rmail-decode-quoted-printable): Delete unused function.
440 (rmail-hex-string-to-integer): Likewise.
441 (rmail-hex-char-to-integer): Likewise.
6eb249b7 442 (rmail-decode-mail-file): Rename from `rmail-decode-mbox-file'.
d007e8e9
PR
443 (rmail-delete-inbox-files): New function factored out of
444 `rmail-get-new-mail'.
445 (rmail-get-new-mail): Use it.
6eb249b7 446 (rmail-get-inbox-files): Rename from `rmail-get-inbox-list'.
d007e8e9
PR
447
4482006-01-21 Alex Schroeder <alex@gnu.org>
449
450 * rmail.el (rmail-get-new-mail): Doc.
451 (rmail-get-inbox-list): Doc.
6eb249b7
GM
452 (rmail-require-mime-maybe): Simplify.
453 (rmail-mode-map): Rewrite using a local binding to agree
d007e8e9
PR
454 with "(elisp)Tips for Defining".
455
4562006-01-21 Henrik Enberg <enberg@printf.se>
457
458 * rmailsum.el (rmail-summary-get-sender): Doc fix.
459
460 * rmail.el (rmail-redecode-body): Simplify.
461 (rmail-get-inbox-list): Stop on name conflict.
462 (rmail-show-message): Set `rmail-view-buffer' to `rmail-buffer` if
463 not using MIME. Make sure we go to `point-min' before setting
464 window point as searching for coding header might move point.
465
4662006-01-20 Alex Schroeder <alex@gnu.org>
467
468 * rmail.el (rmail-inbox-alist): Doc.
469
4702006-01-20 Henrik Enberg <enberg@printf.se>
471
472 * rmailsum.el (rmail-summary-get-sender): New function.
473 (rmail-summary-get-summary): Use it. Make sure sender is no
474 longer than 25 characters.
475 (rmail-summary-get-line-count): Doc fix.
476 (rmail-summary-get-summary-attributes): Likewise.
477
478 * rmailmsc.el (set-rmail-inbox-list): Rewrite to only set inbox
479 list temporarily for a session.
480
4812006-01-20 Alex Schroeder <alex@gnu.org>
482
483 * rmail.el (rmail-show-message): Minor changes: comments.
484
6eb249b7 485 * rmailsum.el (rmail-summary-get-summary): Fix display of keywords.
d007e8e9
PR
486 (rmail-summary-rmail-update): Minor changes: If to when, comments,
487 doc string.
488
4892006-01-20 Henrik Enberg <enberg@printf.se>
490
491 * rmail.el (rmail-inbox-alist): New variable.
492 (rmail-get-file-inbox-list): New function.
493 (rmail-perm-variables): Use it.
6eb249b7 494 (rmail-parse-file-inboxes): Delete.
d007e8e9
PR
495
4962006-01-20 Alex Schroeder <alex@gnu.org>
497
6eb249b7
GM
498 * rmailsum.el (rmail-summary-mode): Fix typo in doc string and keymap.
499 (rmail-summary-update-attribute): Delete.
d007e8e9
PR
500 (rmail-summary-update): Simple defun regenerates the entire
501 summary line.
502 (rmail-summary-by-topic): Don't use rmail-current-subject-regexp.
503 (rmail-message-subject-p): Use rmail-header-get-header instead of
504 mail-fetch-field.
505 (rmail-summary-by-senders): Default to current sender.
506
6eb249b7 507 * rmailkwd.el (rmail-set-label): Call rmail-summary-update at the end.
d007e8e9
PR
508
509 * rmail.el (rmail-set-attribute): Call rmail-summary-update
510 instead of just updating the attributes.
511
5122006-01-19 Henrik Enberg <enberg@printf.se>
513
514 * rmailhdr.el (rmail-header-get-header): Rewrite to be a
515 convenience wrapper for mail-fetch-field.
516 (rmail-header-hide-headers): Simplify.
517
6eb249b7
GM
518 * rmail.el (rmail-process-new-messages):
519 Use rmail-header-get-header instead of mail-fetch-field.
d007e8e9
PR
520
521 * rmailout.el (rmail-output-read-file-name): Simplify.
522 (rmail-output): Likewise.
523
5242006-01-18 Alex Schroeder <alex@gnu.org>
525
526 * rmailsum.el (rmail-make-summary-line-1)
6eb249b7 527 (rmail-make-basic-summary-line): Delete.
d007e8e9
PR
528 (rmail-summary-kill-label): Only ask for existing labels.
529
530 * rmailkwd.el (rmail-add-label): Doc fix.
531 (rmail-kill-label): Only read labels that the current message has.
532 (rmail-read-label): Possibly only ask for existing labels.
533 (rmail-set-label): Display labels at the end.
534
6eb249b7 535 * rmailhdr.el (rmail-header-get-limit): Rewrite macro as simple defun.
d007e8e9 536 (rmail-header-persist-attributes): Doc.
6eb249b7 537 (rmail-header-add-header): Simplify the finding of the header.
d007e8e9 538 Delete header if value is nil or "".
6eb249b7 539 (rmail-header-remove-keyword): Delet stub. Removing can be
d007e8e9
PR
540 handled by calling `rmail-header-add-header' with value nil or "".
541
542 * rmailedit.el (rmail-cease-edit): Bugfix.
543
6eb249b7 544 * rmaildesc.el: Remove require statements.
d007e8e9
PR
545 (rmail-desc-add-keyword, rmail-desc-remove-keyword): Rewrite.
546 (rmail-desc-get-keywords, rmail-desc-get-keyword-list)
547 (rmail-desc-edited-index): Doc fix.
548
6eb249b7 549 * rmail.el (rmail-set-attribute): Move comment into document.
d007e8e9
PR
550
5512006-01-18 Henrik Enberg <enberg@printf.se>
552
553 * rmail.el (rmail-get-inbox-list): New function.
554 (rmail-get-new-mail): Use it. Only call `rmail-show-message' on
555 file-error condition if no new messages are found.
6eb249b7 556 (rmail-get-sender): Delete.
d007e8e9
PR
557 (rmail-process-new-messages): Use mail-fetch-field instead.
558 (rmail-show-message): Cleanup.
559 (rmail-decode-mbox-file): New function.
560 (rmail): Use it. Only call `rmail-show-message' if no new mail was
561 found.
562
563 * rmailsum.el (rmail-summary-get-new-mail): Only call
564 `rmail-summary-goto-msg' if no new mail was found.
6eb249b7 565
d007e8e9
PR
5662006-01-18 Alex Schroeder <alex@gnu.org>
567
568 * rmail.el (rmail): Only insert the file if it actually exists.
569 (rmail-show-message): Do not display labels if there are no
570 messages. This corrects the mistake if visiting an empty file,
571 but it doesn't fix the situation where you delete the all messages
572 and expunge them. This may leave the labels of the last message
573 in the modeline.
574
5752006-01-17 Henrik Enberg <enberg@printf.se>
576
577 * rmailkwd.el: Don't require rmail.
578
579 * rmail.el (rmail-process-new-messages): Don't require rmailkwd
580 here, do it at toplevel instead.
581 (rmail-process-new-messages): Add an X-Coding-System
582 header if one doesn't exist.
583
5842006-01-17 Alex Schroeder <alex@gnu.org>
585
586 * rmailsum.el (rmail-summary-by-labels): No longer concatenate
587 regexp with commas because of recent change to
588 rmail-message-labels-p.
589 (rmail-summary-rmail-update): Replace rmail-message-labels-p test
590 with simple rmail-desc-get-keywords.
591
6eb249b7
GM
592 * rmail.el (rmail-message-labels-p):
593 Rewrite using rmail-desc-get-keywords.
594 (rmail-auto-file): Rewrite test for "filed" using
d007e8e9
PR
595 rmail-desc-get-keywords.
596
597 * rmailsum.el (rmail-summary-font-lock-keywords): Fix regular
598 expression for unread messages.
6eb249b7
GM
599 (rmail-summary-mode): Add documentation for the filtering commands.
600 (rmail-summary-mode-map): Add keybinding for rmail-summary-by-sender.
d007e8e9
PR
601 (rmail-summary-get-summary): Don't show attributes, only
602 user-defined keywords.
603
604 * rmailedit.el (rmail-cease-edit): Do not adjust the marker of the
605 last message.
606
6072006-01-17 Henrik Enberg <enberg@printf.se>
608
609 * rmailout.el (rmail-output-read-file-name): Make sure search in
610 executed in `rmail-buffer'.
611 (rmail-output-to-rmail-file): Use `rmail-output-read-file-name'.
6eb249b7 612 (rmail-output-read-rmail-file-name): Delete.
d007e8e9 613
6eb249b7
GM
614 * rmailsum.el (rmail-summary-output-to-rmail-file):
615 Use `rmail-output-read-file-name'.
d007e8e9 616 (rmail-summary-get-message-at-point): Handle 5-digit message ids.
6eb249b7 617
d007e8e9 618 * rmail.el (rmail-process-new-messages): Require rmailkwd.
6eb249b7
GM
619 (rmail-ignored-headers): Add "Original-Recipient".
620
d007e8e9
PR
6212006-01-17 Alex Schroeder <alex@gnu.org>
622
623 * rmail.el (rmail-display-labels): Use identity instead of lambda.
624
6eb249b7 625 * rmailsum.el (rmail-summary-font-lock-keywords): Fix typo for labels.
d007e8e9
PR
626 (rmail-summary-get-summary): Add labels again.
627
6282006-01-16 Alex Schroeder <alex@gnu.org>
629
630 * rmail.el (rmail-nuke-pinhead-header, rmail-reformat-message)
631 (rmail-msg-restore-non-pruned-header, rmail-msg-prune-header):
6eb249b7 632 Delete.
d007e8e9
PR
633 (rmail-narrow-to-header): Fix typo, error if we cannot find the
634 end of the headers.
635
636 * rmailsum.el (rmail-message-subject-p, rmail-message-senders-p):
637 Use mail-fetch-field instead of mail-header-get-header.
638 (rmail-summary-next-same-subject): Simplify.
639
6eb249b7
GM
640 * rmail.el (rmail): Create the buffer using file-name-nondirectory.
641 (rmail-mode-map): Bind j to rmail-show-message instead of rmail-message.
d007e8e9
PR
642
6432006-01-16 Henrik Enberg <enberg@printf.se>
644
645 * rmailsum.el (rmail-new-summary): Make sure summary buffer is
646 current when selecting message.
6eb249b7
GM
647 (rmail-summary-browse-body): Delete.
648 (rmail-summary-rmail-update, rmail-summary-get-message-at-point)
649 (rmail-summary-goto-msg): Use string-to-number.
650 (rmail-summary-toggle-header, rmail-summary-add-label)
651 (rmail-summary-kill-label): Use with-current-buffer.
d007e8e9
PR
652 (rmail-summary-previous-msg): Add docstring.
653
6542006-01-16 Alex Schroeder <alex@gnu.org>
655
6eb249b7
GM
656 * rmail.el (rmail-ignored-headers): Merge several terms using
657 grouping, add simple "from " (without a colon), and several
d007e8e9
PR
658 other headers.
659 (rmail): Automatically convert BABYL files to mbox files.
6eb249b7 660 (rmail-decode-babyl-format): Delete, since conversion is handled
d007e8e9
PR
661 by unrmail.
662
663 * unrmail.el (unrmail): Use regular expression search to find
664 message separators such that the fake separators inserted by
6eb249b7 665 rmime.el are not matched. The sections added by rmime.el are removed.
d007e8e9
PR
666
6672006-01-16 Henrik Enberg <enberg@printf.se>
668
669 * rmail.el: Don't require `rmailout' and `rmailsum'.
670
671 * rmailsum.el (rmail-summary-get-line-count): Rightalign line count.
672 (rmail-summary-get-summary): Display 5-digit message ids.
673 (rmail-summary-goto-msg): Adjust for 5-digit ids.
674 (rmail-summary-font-lock-keywords): Likewise.
675
6eb249b7
GM
676 * rmail.el (rmail-url-map, rmail-activate-urls)
677 (rmail-visit-url-at-mouse, rmail-visit-url-at-point, rmail-browse-body):
678 Delete, don't duplicate goto-address functionality.
d007e8e9
PR
679
6802004-10-02 Richard M. Stallman <rms@gnu.org>
681
682 * mail/rmail.el (rmail): Convert Babyl files using decode-babyl-file.
683 (rmail-use-spam-filter): Add defvar.
684
685 * mail/unrmail.el: Mostly rewritten. Parses the file
686 directly without calling any functions in Rmail.
687 (batch-convert-babyl, convert-babyl-file, decode-babyl-file)
688 (decode-babyl): New functions.
689 (unrmail, batch-unrmail): Now aliases.
690
6912004-09-27 Richard M. Stallman <rms@gnu.org>
692
693 * mail/rmaildesc.el (rmail-message-deleted-p): Add as alias.
694
695 * mail/rmail.el (rmail-message-vector, rmail-deleted-vector)
6eb249b7
GM
696 (rmail-msgref-vector, rmail-summary-vector): Delete vars, and
697 all code to initialize them too.
698 (rmail-forget-messages): Delete function. Change callers.
699 (rmail-set-message-counters): Delete function. Change callers.
700 (rmail-count-new-messages): Delete function. Change callers.
d007e8e9
PR
701 (rmail-set-message-counters-counter): Likewise.
702 (rmail-maybe-set-message-counters): Now no-op.
6eb249b7
GM
703 (rmail-message-deleted-p, rmail-set-message-deleted-p): Delete Fns.
704 (rmail-msg-number-after-expunge): Delete Fn.
d007e8e9
PR
705 (rmail): Delete excess closeparen.
706 (rmail-initialize-messages): Doc fix.
707 (rmail-expunge-confirmed): Update to use rmail-desc-deleted-p.
6eb249b7
GM
708
709 * mail/rmailsum.el (rmail-make-summary-line): Delete function.
d007e8e9
PR
710 (rmail-new-summary): Make it work once again as in old version.
711 (rmail-summary-get-summary): Call rmail-summary-line-decoder.
712
7132004-09-20 Richard M. Stallman <rms@gnu.org>
714
715 * mail/rmail.el (rmail): Error if file is Babyl format.
716 (rmail-process-new-messages, rmail-reply-callback, rmail-mark-message)
717 (rmail-narrow-to-message): Doc fix.
718 (rmail-reply, rmail-forward, rmail-resend, rmail-retry-failure)
719 (rmail-browse-body): Immediate error if file is empty.
720
721 * mail/rmail.el (rmail-convert-file, rmail-insert-rmail-file-header)
6eb249b7 722 (rmail-convert-to-babyl-format): Delete functions.
d007e8e9
PR
723 (rmail-mode): Don't call rmail-convert-file.
724
725 * net/browse-url.el (browse-url-activate-urls): Add autoload.
726
6eb249b7 727 * mail/rmailedit.el (rmail-edit-current-message):
d007e8e9
PR
728 Immediate error if file is empty.
729
6eb249b7 730 * mail/rmailkwd.el (rmail-read-label, rmail-set-label):
d007e8e9 731 Immediate error if file is empty.
6eb249b7 732 (rmail-parse-file-keywords): Delete function.
d007e8e9
PR
733
734;; Local Variables:
735;; coding: iso-2022-7bit
6eb249b7 736;; add-log-time-zone-rule: t
d007e8e9 737;; End:
bc26117c 738
6eb249b7
GM
739 Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
740
741 This file is part of GNU Emacs.
742
743 GNU Emacs is free software: you can redistribute it and/or modify
744 it under the terms of the GNU General Public License as published by
745 the Free Software Foundation, either version 3 of the License, or
746 (at your option) any later version.
747
748 GNU Emacs is distributed in the hope that it will be useful,
749 but WITHOUT ANY WARRANTY; without even the implied warranty of
750 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
751 GNU General Public License for more details.
752
753 You should have received a copy of the GNU General Public License
754 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
755
bc26117c 756;; arch-tag: e3ca2b68-f400-4f0d-b95f-83a4b0f5d0c4