ChangeLog.pmail 29.8 KB
Newer Older
1 2 3 4 5 6 7 8
2008-12-09  Chong Yidong  <cyd@stupidchicken.com>

	* pmail.el (pmail-only-expunge): Swap buffers at the beginning.

	* pmailsum.el (pmail-summary-header): Deleted.
	(pmail-get-create-summary-line): Don't insert a summary line into
	the file.

9 10 11 12 13
2008-12-05  Chong Yidong  <cyd@stupidchicken.com>

	* pmail.el (pmail-convert-babyl-to-mbox): Reinitialize pmail-mode
	variables after conversion.

14 15
2008-12-04  Chong Yidong  <cyd@stupidchicken.com>

16 17 18
	* pmailsort.el: Sync with pmailsort.el.
	(pmail-sort-messages): Insert two newlines at the end of the
	message if they do not exist.
19
	(pmailhdr): Require pmailhdr.
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

	* pmailmm.el: Require mail-parse.
	(pmail-mime-show): Don't use removed function
	pmail-header-hide-headers.
	(pmail-mime): Use pmail-msgbeg and pmail-msgend instead of removed
	pmail-desc-* functions.

	* pmailkwd.el: Sync with rmailkwd.el.

	* pmailout.el: Sync with rmailout.el.

	* pmailedit.el: Sync with rmailedit.el.
	(pmail-edit-current-message): Remove deleted function
	pmail-msg-is-pruned.

	* pmaildesc.el: File deleted.

37
	* pmail.el (pmail-get-header): Call pmail-swap-buffers-maybe.
38 39 40
	(pmail-retry-failure): Remove call to non-existent function
	pmail-clear-headers.
	(pmail-message-labels-p): New function.
41

42 43 44 45 46
2008-12-02  Chong Yidong  <cyd@stupidchicken.com>

	* pmailsort.el (pmail-sort-messages): Don't call removed function
	pmail-header-show-headers.

47 48 49 50 51
2008-12-02  Chong Yidong  <cyd@stupidchicken.com>

	* pmail.el (pmail-only-expunge): Pass correct arg to
	pmail-show-message-maybe.

52 53 54 55 56
	* pmailsum.el (pmail-get-summary-labels): If no attribute headers
	are found, use the empty string.
	(pmail-summary): Call pmail-summary-beginning-of-message
	(pmail-new-summary): Check for pmail-summary-mode in the current
	buffer, not in the pmail buffer.
57
	(pmail-summary-goto-msg): Use pmail-show-message-maybe.
58

Paul Reilly's avatar
Paul Reilly committed
59 60 61 62
2008-11-13  Paul Reilly  <pmr@pajato.com>

	* pmail.el: Add support for save-buffer.

Paul Reilly's avatar
Paul Reilly committed
63 64 65 66 67 68 69 70 71 72 73 74 75 76
2008-10-17  Paul Reilly  <pmr@pajato.com>

	* pmail.el (pmail):
	Remove a redundant message counter reset call; try to
	minimize the attempts to show a message (ideally it should be done
	once and only once).

	(pmail-convert-babyl-to-mbox): Set up the global message variables
	after inserting the converted mbox file into the Pmail buffer; avoid
	an unecessary message display function call.

	(pmail-show-message-maybe): Use the current message number when the
	optional argument is not passed.

Paul Reilly's avatar
Paul Reilly committed
77 78 79 80
2008-10-14  Paul Reilly  <pmr@pajato.com>

	* pmail.el (pmail): Check for babyl conversion early; ignore multibyte.

81 82 83 84
2008-10-11  Chong Yidong  <cyd@stupidchicken.com>

	* pmail.el (pmail-tool-bar-map): Initialize it unconditionally.

Paul Reilly's avatar
Paul Reilly committed
85 86 87 88 89
2008-10-05  Paul Reilly  <pmr@pajato.com>

	* pmail.el, pmailsum.el:
	Next step in the Rmail/mbox support: getting basic summary support working.

Paul Reilly's avatar
Paul Reilly committed
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
2008-09-23  Paul Reilly  <pmr@pajato.com>

	* pmail.el:
	First pass at handling decoding the mbox message into the view buffer.

2008-09-16  Paul Reilly  <pmr@pajato.com>

	* subdirs.el: Remove file.

2008-09-15  author  <author@lilly>

	* ChangeLog.pmail: *** empty log message ***

	* pmail.el:
	The Rmail/mbox merge has been abandoned in favor of a restart using
	the current rmail.el file.  A comprehensive list of changes will be
	supplied when pmail.el is morphed back into rmail.el

	The current status is that pmail.el supports basic Rmail navigation
	(no summary support) and shows the current message in a special
	buffer using buffer-swap-text.  No decoding is done yet.  That is the
	next step.

Paul Reilly's avatar
Paul Reilly committed
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
2008-09-15  Paul Reilly  <pmr@pajato.com>

	* pmail.el:
	The Rmail/mbox merge has been abandoned in favor of a restart using
	the current rmail.el file.  A comprehensive list of changes will be
	supplied when pmail.el is morphed back into rmail.el

	The current status is that pmail.el supports basic Rmail navigation
	(no summary support) and shows the current message in a special
	buffer using buffer-swap-text.  No decoding is done yet.  That is the
	next step.

	* 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:
	Rmail/mbox merge abandoned. Remove stale files.

	* 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:
	Rmail/mbox merge abandoned.  Remove stale files.

Glenn Morris's avatar
Glenn Morris committed
131 132 133 134 135 136 137
2008-09-06  Glenn Morris  <rgm@gnu.org>

	* pmailsort.el (pmail-dont-reply-to, pmail-desc-get-marker-end)
	(pmail-desc-get-marker-start): Remove declarations of undefined
	functions.
	(pmail-select-correspondent): Use rmail-dont-reply-to from mail-utils
	rather than non-existent pmail-dont-reply-to.
Glenn Morris's avatar
Glenn Morris committed
138 139
	(pmail-sort-messages): Use pmail-desc-get-start, pmail-desc-get-end
	rather than non-existent `marker-' functions.
Glenn Morris's avatar
Glenn Morris committed
140 141 142 143 144 145 146 147 148

	* pmailkwd.el (pmail-maybe-set-message-counters)
	(pmail-set-message-deleted-p):
	* pmailmsc.el (pmail-parse-file-inboxes):
	* pmailsum.el (pmail-output-read-pmail-file-name):
	Remove unused declarations.

	* pmail.el (pmail-spam-filter): Remove declaration of undefined
	function.
Glenn Morris's avatar
Glenn Morris committed
149 150 151 152
	(pmail-use-spam-filter): Remove un-needed variable declaration.
	Doc fix for actual definition.
	(pmail-get-new-mail): Call rmail-spam-filter rather than non-existent
	pmail-spam-filter.
Glenn Morris's avatar
Glenn Morris committed
153
	(rmail-spam-filter): Autoload it.
Glenn Morris's avatar
Glenn Morris committed
154

Glenn Morris's avatar
Glenn Morris committed
155 156 157 158 159 160
2008-09-05  Paul Reilly  <pmr@pajato.com>

	* pmail.el (pmail-get-new-mail): When there are no new messages, invoke
	a redisplay of the current message.

2008-09-03  Paul Reilly  <pmr@pajato.com>
Paul Reilly's avatar
Paul Reilly committed
161 162 163 164

	* pmail.el, pmaildesc.el, pmailout.el:
	Fix the expunge command so that the current message index is correct.

Glenn Morris's avatar
Glenn Morris committed
165 166 167 168 169 170 171 172 173 174
	* pmail.el (pmail-expunge-counter): New variable.
	(pmail-set-attribute): Canonicalize the calling sequence to index,
	attribute, state.
	(pmail-show-message, pmail-delete-message)
	(pmail-undelete-previous-message, pmail-delete-forward)
	(pmail-mark-message): Use the new canonical calling sequence.
	(pmail-only-expunge): Use the expunge counter to update the current
	message index.
	(pmail-expunge-callback): Simplify.  Just count the expunged messages
	with a lower index than the current message index.
Paul Reilly's avatar
Paul Reilly committed
175 176

	* pmaildesc.el (pmail-desc-get-previous): Fix an "off by one" issue.
Glenn Morris's avatar
Glenn Morris committed
177 178
	(pmail-desc-set-attribute): Canonicalize the calling sequence to index,
	attribute, state.
Paul Reilly's avatar
Paul Reilly committed
179

Glenn Morris's avatar
Glenn Morris committed
180 181
	* pmailout.el (pmail-output-body-to-file): Use the canonical calling
	sequence.
Paul Reilly's avatar
Paul Reilly committed
182

183 184
2008-09-02  Juanma Barranquero  <lekktu@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
185
	* pmaildesc.el (pmail-desc-get-match-index): Fix malformed let binding.
186

Glenn Morris's avatar
Glenn Morris committed
187
2008-09-01  Paul Reilly  <pmr@pajato.com>
Paul Reilly's avatar
Paul Reilly committed
188 189 190

	* pmail.el, pmaildesc.el: Fix the expunge operation.

Glenn Morris's avatar
Glenn Morris committed
191
	* pmail.el (pmail-only-expunge): Manage pmail-total-messages in the
Paul Reilly's avatar
Paul Reilly committed
192 193 194
	callback handler; remove the extra show message call.
	(pmail-expunge-callback): Rewrite to handle all possible conditions.

Glenn Morris's avatar
Glenn Morris committed
195
	* pmaildesc.el (pmail-desc-get-previous, pmail-desc-get-match-index):
Paul Reilly's avatar
Paul Reilly committed
196 197
	New functions.

198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
2008-08-29  Paul Reilly  <pmr@pajato.com>

	* pmail.el, pmaildesc.el, pmailhdr.el, pmailkwd.el, pmailmm.el,
	* pmailmsc.el, pmailsort.el, pmailsum.el: Resolve all byte
	compiler warnings and enable IMAP/movemail support.

2007-04-30  Henrik Enberg  <enberg@printf.se>

	* rmailhdr.el (rmail-header-add-header): Use delete-region instead
	of kill-region.

2007-04-27  Henrik Enberg  <enberg@printf.se>

	* rmailout.el (rmail-output): Bind buffer-file-coding-system even
	when rmail-enable-mime is nil.

	* rmail.el (rmail-perm-variables): Make sure rmail-desc-vector is
	buffer local.
	(rmail-mime-charset-pattern): Sync with trunk.
	(rmail): Don't bind coding-system-for-read.
	(rmail-revert): Likewise.
	(rmail-variables): Don't set buffer-file-coding-system.
	(rmail-show-message): Likewise.

2007-04-26  Henrik Enberg  <enberg@printf.se>

	* rmail.el (rmail-highlight): New face.
	(rmail-highlight-face): Use it.

2006-04-11  Alex Schroeder  <alex@gnu.org>

	* rmailsum.el (rmail-summary-kill-label): Call rmail-kill-label
	with only one argument.

	* rmail.el (rmail-process-new-messages): Handle missing From
	line (usually spam).

2006-03-09  Henrik Enberg  <enberg@printf.se>

Glenn Morris's avatar
Glenn Morris committed
237
	* rmailedit.el (rmail-edit-map): Initialize at definition.  Doc String.
238 239 240 241 242 243 244 245 246 247

	* rmail.el (rmail-narrow-to-header): Don't end error message with
	a period.

	* rmailhdr.el (rmail-header-get-limit): Don't end error message
	with a period.

	* rmaildesc.el (rmail-desc-get-header-display-state): Make sure
	whole header region is searched for overlays.

Glenn Morris's avatar
Glenn Morris committed
248 249
	* rmailedit.el (rmail-edit-current-message):
	Use rmail-head-show-headers instead of rmail-toggle-header.
250 251 252 253 254 255 256 257 258 259
	(rmail-cease-edit): Likewise.  Simplify.

2006-03-02  Alex Schroeder  <alex@gnu.org>

	* rmailkwd.el (rmail-read-label): Since rmail-keywords is a list
	of symbols, we need to transform it into an alist for completion.

2006-03-01  Alex Schroeder  <alex@gnu.org>

	* rmailsum.el (rmail-summary-kill-label): Use rmail-kill-label
Glenn Morris's avatar
Glenn Morris committed
260 261
	instead of calling rmail-set-label, which will call rmail-make-label
	on the string.
262 263 264

2006-02-28  Alex Schroeder  <alex@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
265
	* rmailkwd.el (rmail-label-obarray): Delete.
266 267 268
	(rmail-attributes): Use an ordinary list of symbols.
	(rmail-deleted-label): Use an ordinary symbol.
	(rmail-keywords): Doc, initial value nil.
Glenn Morris's avatar
Glenn Morris committed
269
	(rmail-keywords, rmail-keyword-init): Delete defuns.
270 271
	(rmail-attribute-p, rmail-keyword-p, rmail-make-label): Simplify.
	(rmail-keyword-register-keywords, rmail-install-keyword):
Glenn Morris's avatar
Glenn Morris committed
272
	Replace.
273 274 275 276 277 278 279
	(rmail-register-keywords, rmail-register-keyword): Replacements.
	(rmail-add-label, rmail-kill-label): Call set-label with a symbol.
	(rmail-read-label): Return a string.
	(rmail-set-label): Rewrote. Call rmail-display-labels always.

	* rmail.el (qp): No longer required.
	(rmail-convert-file): Don't rmail-enable-multibyte.
Glenn Morris's avatar
Glenn Morris committed
280
	(rmail-decode-mbox-format): Delete.
281 282 283
	(rmail-convert-mbox-format): No converting of qp headings, no
	decoding of the message body.

Glenn Morris's avatar
Glenn Morris committed
284
	(rmail-maybe-set-message-counters): Delete.
285 286 287 288 289 290 291
	(rmail-next-undeleted-message): Store original message until the
	end instead of relying on rmail-current-message.

	(rmail-process-new-messages): Use rmail-register-keywords.

2006-02-17  Alex Schroeder  <alex@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
292
	* rmailmm.el (rmail-mime-text-handler): Only downcase if charset exists.
293 294 295 296 297 298 299 300
	(rmail-mime-handle): Doc.  Ignore errors when decoding base64.
	Seems to be common on my system.
	(rmail-mime-show): Change show-header code.
	(rmail-mime): New.

2006-02-12  Alex Schroeder  <alex@gnu.org>

	* rmail.el (qp): No longer require it.
Glenn Morris's avatar
Glenn Morris committed
301
	(rmail-convert-file): Doc.  Remove useless test for coding system
302 303
	header.  Don't call rmail-decode-mbox-format.  Just call
	rmail-convert-mbox-format.
Glenn Morris's avatar
Glenn Morris committed
304
	(rmail-decode-mbox-format): Delete.
305 306 307
	(rmail-convert-mbox-format): Don't translate quoted printable
	headers.  Don't handle quoted-printable content-transfer-encoding.
	No longer add x-coding-system header.
Glenn Morris's avatar
Glenn Morris committed
308 309 310
	(rmail-maybe-set-message-counters): Delete.
	(rmail-next-undeleted-message): Add caching of rmail-current-message
	such that it doesn't break when rmail-show-message switches buffers.
311 312 313

2006-02-07  Alex Schroeder  <alex@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
314 315 316 317
	* rmailmm.el (rmail-mime-media-type-handlers-alist):
	Remove non-existing handlers for the moment.
	(rmail-mime-text-handler): Do decoding based on the charset parameter.
	(test-rmail-mime-handler): Test decoding using an 8bit KOI8 message.
318 319 320 321 322
	(rmail-mime-handle): Switch to unibyte if content transfer
	encoding is 8bit.  Strange that it should be necessary.

2006-02-04  Alex Schroeder  <alex@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
323 324 325
	* rmailmm.el: Rename all symbols to rmail-mime-*.  Rewrite code
	to modify the buffer instead of using display properties.
	Fix bulk handler, and add simple test defun for it.
326 327 328 329 330 331 332 333 334

2006-02-01  Alex Schroeder  <alex@gnu.org>

	* rmail.el (rmail-convert-mbox-format): Handle mails without subject.

2006-02-01  Henrik Enberg  <enberg@printf.se>

	* rmail.el (rmail-first-unseen-message): Make sure to return the
	last message if no unseen message was found.  Doc fix.
Glenn Morris's avatar
Glenn Morris committed
335 336
	(rmail): Call rmail-first-unseen-message properly.
	Remove commented out code.
337 338 339 340 341 342 343 344 345
	(rmail-show-message): Maybe call rmail-unknown-mail-followup-to.
	(rmail-revert): Simplify.

2006-01-31  Alex Schroeder  <alex@gnu.org>

	* rmailmm.el: New file, based on Alexander Pohoyda's code.

2006-01-30  Henrik Enberg  <enberg@printf.se>

Glenn Morris's avatar
Glenn Morris committed
346 347
	* rmail.el (rmail-next-message):
	Don't call rmail-maybe-set-message-counters. Use with-current-buffer.
348

Glenn Morris's avatar
Glenn Morris committed
349 350
	* rmailkwd.el (rmail-next-labeled-message):
	Don't call rmail-maybe-set-message-counters.  Use with-current-buffer.
351 352 353

	* rmailhdr.el (rmail-header-hide-headers): Simplify.
	(rmail-header-get-limit): Wrap in a save-excursion.
Glenn Morris's avatar
Glenn Morris committed
354
	(rmail-header-display-state): Rename from rmail-header-display-mode.
355 356 357 358

2006-01-29  Henrik Enberg  <enberg@printf.se>

	* rmailsum.el (rmail-summary-show-message): Reformat.
Glenn Morris's avatar
Glenn Morris committed
359 360
	(rmail-summary-get-summary-line):
	Rename from `rmail-summary-get-summary'.  Update callers.
361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
	(rmail-summary-mode-map): Initialize at definition, Doc fix.
	(rmail-summary-undelete-many): Simplify.

2006-01-26  Henrik Enberg  <enberg@printf.se>

	* rmailsum.el (rmail-summary-deleted-p): Fix misplaced paren.
	(rmail-summary-undelete): Simplify.

2006-01-25  Henrik Enberg  <enberg@printf.se>

	* rmailsum.el (rmail-summary-get-sender): Handle a nil value of
	rmail-user-mail-address-regexp.

	* rmail.el (rmail-unknown-mail-followup-to): Likewise.

	* rmailout.el (rmail-delete-unwanted-fields): Handle mbox format.
	(rmail-output): Error when target is a BABYL file.  Handle MIME
	charset.  Make sure headers are properly hidden after output.
	Avoid pointless with-current-buffer call.

2006-01-24  Alex Schroeder  <alex@gnu.org>

	* rmailsum.el (rmail-summary-edit-map): Rewrite.

2006-01-23  Alex Schroeder  <alex@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
387
	* rmail.el (rmail-narrow-to-non-pruned-header): Delete.
388 389 390 391 392 393 394 395 396 397 398 399
	(rmail-unknown-mail-followup-to, rmail-retry-failure): No longer
	call rmail-narrow-to-non-pruned-header and replace
	mail-fetch-field with rmail-header-get-header because that one
	ignores the intangible property when searching.
	(rmail-show-message): Simplify x-coding-system handling.
	(rmail-redecode-body): No longer call rmail-header-show-headers
	because rmail-header-get-header handles the intanglible property.
	(rmail-reply): Simplify code at the price of some efficiency when
	setting up the variable bindings.  No longer toggle visibility of
	headers, because rmail-header-show-headers is no longer necessary.

	* rmailhdr.el (rmail-header-get-header): Accept more arguments and
Glenn Morris's avatar
Glenn Morris committed
400 401
	pass them to mail-fetch-field unchanged.
	Bind inhibit-point-motion-hooks to t.
402 403 404

	* rmailsum.el (rmail-user-mail-address-regexp): Compute a default
	value instead of assuming nil.  Doc.
Glenn Morris's avatar
Glenn Morris committed
405 406
	(rmail-summary-get-sender): Compare with rmail-user-mail-address-regexp
	instead of computing the default value.
407 408

	* rmail.el (rmail-convert-mbox-format): Decode messages with
Glenn Morris's avatar
Glenn Morris committed
409
	content-transfer-encoding quoted-printable, because it's easy to do.
410
	(rmail-unknown-mail-followup-to): Compare with
Glenn Morris's avatar
Glenn Morris committed
411
	rmail-user-mail-address-regexp instead of computing the default value.
412 413 414

2006-01-23  Henrik Enberg  <enberg@printf.se>

Glenn Morris's avatar
Glenn Morris committed
415 416
	* rmail.el (rmail-decode-mbox-format):
	Rename from `rmail-decode-mail-file'.
417 418 419 420 421 422 423 424 425 426 427 428 429
	(rmail-process-new-messages): Don't add missing headers here.
	(rmail-convert-mbox-format): Rename from `rmail-decode-messages'.
	Add missing headers here.  Remove FROM and TO arguments.
	(rmail-get-new-mail): Simplify.
	(rmail-convert-file): New function.
	(rmail-revert): Use it.
	(rmail): Change logic for avoiding selecting new messages twice.
	(rmail-display-labels): Avoid space in mode-line if there are no
	keywords.

2006-01-22  Henrik Enberg  <enberg@printf.se>

	* rmaildesc.el (rmail-desc-default-attrs): New const.
Glenn Morris's avatar
Glenn Morris committed
430
	(rmail-desc-get-default-attrs): Delete.
431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447

	* rmail.el (rmail): Go back to using find-file for reading in the
	mail file.  This avoids gratuitous modification of the file.
	(rmail-decode-region): Doc string, cleanup.
	(rmail-decode-by-content-type): New function.
	(rmail-decode-messages): Use it.  Add FROM and TO args and only
	process messages in that region.
	(rmail-get-new-mail): Call `rmail-decode-region' before
	`rmail-process-new-messages'.
	(rmail-fontify-message): Reformat, Doc String.
	(rmail-displayed-headers): Default value set to nil.
	(rmail-inbox-alist): Add version tag.
	(rmail-count-screen-lines): Doc string.
	(rmail-process-new-messages): Use rmail-desc-default-attrs.

2006-01-21  Alex Schroeder  <alex@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
448
	* rmail.el (rmail-decode-messages): Decode encoded-words in
449 450 451 452 453 454
	Subject and From header.
	(rmail-process-new-messages): Don't decode encoded words here.

2006-01-21  Henrik Enberg  <enberg@printf.se>

	* rmail.el (rmail-process-new-messages): Don't decode messages
Glenn Morris's avatar
Glenn Morris committed
455
	here, don't lose on missing subject field.
456 457 458 459 460 461 462 463 464
	(rmail-decode-messages): New function.
	(rmail): Use it.
	(rmail-get-new-mail): Likewise.

	* rmailsum.el (rmail-summary-get-sender): Narrow to current
	message before extracting headers.

2006-01-21  Alex Schroeder  <alex@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
465 466
	* rmailedit.el (rmail-abort-edit): Don't call rmail-highlight-headers
	anymore.
467 468

	* rmail.el (rmail-next-undeleted-message): Simplify.
Glenn Morris's avatar
Glenn Morris committed
469
	(rmail-what-message): Delete since it was never called.
470 471 472 473 474 475 476
	(rmail-narrow-to-header): Use the same error message as
	rmail-header-get-limit.
	(rmail-highlight-face): Doc.
	(rmail-font-lock-keywords): Add the stuff necessary to make
	rmail-highlight-headers obsolete.
	(rmail-toggle-header, rmail-show-message): Don't call
	rmail-highlight-headers anymore.
Glenn Morris's avatar
Glenn Morris committed
477
	(rmail-highlight-headers): Delete.
478 479 480 481 482 483 484 485 486 487

	* rmaildesc.el (rmail-desc-set-attribute): Use
	rmail-header-add-header instead of rmail-header-set-header.

	* rmailhdr.el (rmail-header-attribute-header)
	(rmail-header-keyword-header, rmail-header-get-limit): Doc.
	(rmail-header-add-header): Add inhibit-point-motion-hooks and
	buffer-undo-list bindings from rmail-header-set-header.  I don't
	know whether they are necessary, however.
	(rmail-header-persist-attributes, rmail-header-set-header):
Glenn Morris's avatar
Glenn Morris committed
488 489
	Delete.  rmail-header-add-header does what rmail-header-set-header did,
	except throw an error if the header was not found.
490 491 492 493 494 495 496 497

	* rmail.el (rmail-msgbeg, rmail-msgend): Fix and make obsolete.
	(rmail-process-new-messages): Use mail-decode-encoded-word-string
	on the subject.  Requires mail-parse from Gnus.
	(rmail-highlight-headers): Doc.

2006-01-21  Henrik Enberg  <enberg@printf.se>

Glenn Morris's avatar
Glenn Morris committed
498
	* rmailsum.el (rmail-message-senders-p): Fix typo.
499 500 501 502 503

	* rmail.el (rmail-process-new-messages): Simplify.
	(rmail-decode-quoted-printable): Delete unused function.
	(rmail-hex-string-to-integer): Likewise.
	(rmail-hex-char-to-integer): Likewise.
Glenn Morris's avatar
Glenn Morris committed
504
	(rmail-decode-mail-file): Rename from `rmail-decode-mbox-file'.
505 506 507
	(rmail-delete-inbox-files): New function factored out of
	`rmail-get-new-mail'.
	(rmail-get-new-mail): Use it.
Glenn Morris's avatar
Glenn Morris committed
508
	(rmail-get-inbox-files): Rename from `rmail-get-inbox-list'.
509 510 511 512 513

2006-01-21  Alex Schroeder  <alex@gnu.org>

	* rmail.el (rmail-get-new-mail): Doc.
	(rmail-get-inbox-list): Doc.
Glenn Morris's avatar
Glenn Morris committed
514 515
	(rmail-require-mime-maybe): Simplify.
	(rmail-mode-map): Rewrite using a local binding to agree
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546
	with "(elisp)Tips for Defining".

2006-01-21  Henrik Enberg  <enberg@printf.se>

	* rmailsum.el (rmail-summary-get-sender): Doc fix.

	* rmail.el (rmail-redecode-body): Simplify.
	(rmail-get-inbox-list): Stop on name conflict.
	(rmail-show-message): Set `rmail-view-buffer' to `rmail-buffer` if
	not using MIME.  Make sure we go to `point-min' before setting
	window point as searching for coding header might move point.

2006-01-20  Alex Schroeder  <alex@gnu.org>

	* rmail.el (rmail-inbox-alist): Doc.

2006-01-20  Henrik Enberg  <enberg@printf.se>

	* rmailsum.el (rmail-summary-get-sender): New function.
	(rmail-summary-get-summary): Use it.  Make sure sender is no
	longer than 25 characters.
	(rmail-summary-get-line-count): Doc fix.
	(rmail-summary-get-summary-attributes): Likewise.

	* rmailmsc.el (set-rmail-inbox-list): Rewrite to only set inbox
	list temporarily for a session.

2006-01-20  Alex Schroeder  <alex@gnu.org>

	* rmail.el (rmail-show-message): Minor changes: comments.

Glenn Morris's avatar
Glenn Morris committed
547
	* rmailsum.el (rmail-summary-get-summary): Fix display of keywords.
548 549 550 551 552 553 554 555
	(rmail-summary-rmail-update): Minor changes: If to when, comments,
	doc string.

2006-01-20  Henrik Enberg  <enberg@printf.se>

	* rmail.el (rmail-inbox-alist): New variable.
	(rmail-get-file-inbox-list): New function.
	(rmail-perm-variables): Use it.
Glenn Morris's avatar
Glenn Morris committed
556
	(rmail-parse-file-inboxes): Delete.
557 558 559

2006-01-20  Alex Schroeder  <alex@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
560 561
	* rmailsum.el (rmail-summary-mode): Fix typo in doc string and keymap.
	(rmail-summary-update-attribute): Delete.
562 563 564 565 566 567 568
	(rmail-summary-update): Simple defun regenerates the entire
	summary line.
	(rmail-summary-by-topic): Don't use rmail-current-subject-regexp.
	(rmail-message-subject-p): Use rmail-header-get-header instead of
	mail-fetch-field.
	(rmail-summary-by-senders): Default to current sender.

Glenn Morris's avatar
Glenn Morris committed
569
	* rmailkwd.el (rmail-set-label): Call rmail-summary-update at the end.
570 571 572 573 574 575 576 577 578 579

	* rmail.el (rmail-set-attribute): Call rmail-summary-update
	instead of just updating the attributes.

2006-01-19  Henrik Enberg  <enberg@printf.se>

	* rmailhdr.el (rmail-header-get-header): Rewrite to be a
	convenience wrapper for mail-fetch-field.
	(rmail-header-hide-headers): Simplify.

Glenn Morris's avatar
Glenn Morris committed
580 581
	* rmail.el (rmail-process-new-messages):
	Use rmail-header-get-header instead of mail-fetch-field.
582 583 584 585 586 587 588

	* rmailout.el (rmail-output-read-file-name): Simplify.
	(rmail-output): Likewise.

2006-01-18  Alex Schroeder  <alex@gnu.org>

	* rmailsum.el (rmail-make-summary-line-1)
Glenn Morris's avatar
Glenn Morris committed
589
	(rmail-make-basic-summary-line): Delete.
590 591 592 593 594 595 596
	(rmail-summary-kill-label): Only ask for existing labels.

	* rmailkwd.el (rmail-add-label): Doc fix.
	(rmail-kill-label): Only read labels that the current message has.
	(rmail-read-label): Possibly only ask for existing labels.
	(rmail-set-label): Display labels at the end.

Glenn Morris's avatar
Glenn Morris committed
597
	* rmailhdr.el (rmail-header-get-limit): Rewrite macro as simple defun.
598
	(rmail-header-persist-attributes): Doc.
Glenn Morris's avatar
Glenn Morris committed
599
	(rmail-header-add-header): Simplify the finding of the header.
600
	Delete header if value is nil or "".
Glenn Morris's avatar
Glenn Morris committed
601
	(rmail-header-remove-keyword): Delet stub.  Removing can be
602 603 604 605
	handled by calling `rmail-header-add-header' with value nil or "".

	* rmailedit.el (rmail-cease-edit): Bugfix.

Glenn Morris's avatar
Glenn Morris committed
606
	* rmaildesc.el: Remove require statements.
607 608 609 610
	(rmail-desc-add-keyword, rmail-desc-remove-keyword): Rewrite.
	(rmail-desc-get-keywords, rmail-desc-get-keyword-list)
	(rmail-desc-edited-index): Doc fix.

Glenn Morris's avatar
Glenn Morris committed
611
	* rmail.el (rmail-set-attribute): Move comment into document.
612 613 614 615 616 617

2006-01-18  Henrik Enberg  <enberg@printf.se>

	* rmail.el (rmail-get-inbox-list): New function.
	(rmail-get-new-mail): Use it.  Only call `rmail-show-message' on
	file-error condition if no new messages are found.
Glenn Morris's avatar
Glenn Morris committed
618
	(rmail-get-sender): Delete.
619 620 621 622 623 624 625 626
	(rmail-process-new-messages): Use mail-fetch-field instead.
	(rmail-show-message): Cleanup.
	(rmail-decode-mbox-file): New function.
	(rmail): Use it. Only call `rmail-show-message' if no new mail was
	found.

	* rmailsum.el (rmail-summary-get-new-mail): Only call
	`rmail-summary-goto-msg' if no new mail was found.
Glenn Morris's avatar
Glenn Morris committed
627

628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653
2006-01-18  Alex Schroeder  <alex@gnu.org>

	* rmail.el (rmail): Only insert the file if it actually exists.
	(rmail-show-message): Do not display labels if there are no
	messages.  This corrects the mistake if visiting an empty file,
	but it doesn't fix the situation where you delete the all messages
	and expunge them.  This may leave the labels of the last message
	in the modeline.

2006-01-17  Henrik Enberg  <enberg@printf.se>

	* rmailkwd.el: Don't require rmail.

	* rmail.el (rmail-process-new-messages): Don't require rmailkwd
	here, do it at toplevel instead.
	(rmail-process-new-messages): Add an X-Coding-System
	header if one doesn't exist.

2006-01-17  Alex Schroeder  <alex@gnu.org>

	* rmailsum.el (rmail-summary-by-labels): No longer concatenate
	regexp with commas because of recent change to
	rmail-message-labels-p.
	(rmail-summary-rmail-update): Replace rmail-message-labels-p test
	with simple rmail-desc-get-keywords.

Glenn Morris's avatar
Glenn Morris committed
654 655 656
	* rmail.el (rmail-message-labels-p):
	Rewrite using rmail-desc-get-keywords.
	(rmail-auto-file): Rewrite test for "filed" using
657 658 659 660
	rmail-desc-get-keywords.

	* rmailsum.el (rmail-summary-font-lock-keywords): Fix regular
	expression for unread messages.
Glenn Morris's avatar
Glenn Morris committed
661 662
	(rmail-summary-mode): Add documentation for the filtering commands.
	(rmail-summary-mode-map): Add keybinding for rmail-summary-by-sender.
663 664 665 666 667 668 669 670 671 672 673
	(rmail-summary-get-summary): Don't show attributes, only
	user-defined keywords.

	* rmailedit.el (rmail-cease-edit): Do not adjust the marker of the
	last message.

2006-01-17  Henrik Enberg  <enberg@printf.se>

	* rmailout.el (rmail-output-read-file-name): Make sure search in
	executed in `rmail-buffer'.
	(rmail-output-to-rmail-file): Use `rmail-output-read-file-name'.
Glenn Morris's avatar
Glenn Morris committed
674
	(rmail-output-read-rmail-file-name): Delete.
675

Glenn Morris's avatar
Glenn Morris committed
676 677
	* rmailsum.el (rmail-summary-output-to-rmail-file):
	Use `rmail-output-read-file-name'.
678
	(rmail-summary-get-message-at-point): Handle 5-digit message ids.
Glenn Morris's avatar
Glenn Morris committed
679

680
	* rmail.el (rmail-process-new-messages): Require rmailkwd.
Glenn Morris's avatar
Glenn Morris committed
681 682
	(rmail-ignored-headers): Add "Original-Recipient".

683 684 685 686
2006-01-17  Alex Schroeder  <alex@gnu.org>

	* rmail.el (rmail-display-labels): Use identity instead of lambda.

Glenn Morris's avatar
Glenn Morris committed
687
	* rmailsum.el (rmail-summary-font-lock-keywords): Fix typo for labels.
688 689 690 691 692 693
	(rmail-summary-get-summary): Add labels again.

2006-01-16  Alex Schroeder  <alex@gnu.org>

	* rmail.el (rmail-nuke-pinhead-header, rmail-reformat-message)
	(rmail-msg-restore-non-pruned-header, rmail-msg-prune-header):
Glenn Morris's avatar
Glenn Morris committed
694
	Delete.
695 696 697 698 699 700 701
	(rmail-narrow-to-header): Fix typo, error if we cannot find the
	end of the headers.

	* rmailsum.el (rmail-message-subject-p, rmail-message-senders-p):
	Use mail-fetch-field instead of mail-header-get-header.
	(rmail-summary-next-same-subject): Simplify.

Glenn Morris's avatar
Glenn Morris committed
702 703
	* rmail.el (rmail): Create the buffer using file-name-nondirectory.
	(rmail-mode-map): Bind j to rmail-show-message instead of rmail-message.
704 705 706 707 708

2006-01-16  Henrik Enberg  <enberg@printf.se>

	* rmailsum.el (rmail-new-summary): Make sure summary buffer is
	current when selecting message.
Glenn Morris's avatar
Glenn Morris committed
709 710 711 712 713
	(rmail-summary-browse-body): Delete.
	(rmail-summary-rmail-update, rmail-summary-get-message-at-point)
	(rmail-summary-goto-msg): Use string-to-number.
	(rmail-summary-toggle-header, rmail-summary-add-label)
	(rmail-summary-kill-label): Use with-current-buffer.
714 715 716 717
	(rmail-summary-previous-msg): Add docstring.

2006-01-16  Alex Schroeder  <alex@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
718 719
	* rmail.el (rmail-ignored-headers): Merge several terms using
	grouping, add simple "from " (without a colon), and several
720 721
	other headers.
	(rmail): Automatically convert BABYL files to mbox files.
Glenn Morris's avatar
Glenn Morris committed
722
	(rmail-decode-babyl-format): Delete, since conversion is handled
723 724 725 726
	by unrmail.

	* unrmail.el (unrmail): Use regular expression search to find
	message separators such that the fake separators inserted by
Glenn Morris's avatar
Glenn Morris committed
727
	rmime.el are not matched.  The sections added by rmime.el are removed.
728 729 730 731 732 733 734 735 736 737

2006-01-16  Henrik Enberg  <enberg@printf.se>

	* rmail.el: Don't require `rmailout' and `rmailsum'.

	* rmailsum.el (rmail-summary-get-line-count): Rightalign line count.
	(rmail-summary-get-summary): Display 5-digit message ids.
	(rmail-summary-goto-msg): Adjust for 5-digit ids.
	(rmail-summary-font-lock-keywords): Likewise.

Glenn Morris's avatar
Glenn Morris committed
738 739 740
	* rmail.el (rmail-url-map, rmail-activate-urls)
	(rmail-visit-url-at-mouse, rmail-visit-url-at-point, rmail-browse-body):
	Delete, don't duplicate goto-address functionality.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757

2004-10-02  Richard M. Stallman  <rms@gnu.org>

	* mail/rmail.el	(rmail): Convert Babyl files using decode-babyl-file.
	(rmail-use-spam-filter): Add defvar.

	* mail/unrmail.el: Mostly rewritten.  Parses the file
	directly without calling any functions in Rmail.
	(batch-convert-babyl, convert-babyl-file, decode-babyl-file)
	(decode-babyl): New functions.
	(unrmail, batch-unrmail): Now aliases.

2004-09-27  Richard M. Stallman  <rms@gnu.org>

	* mail/rmaildesc.el (rmail-message-deleted-p): Add as alias.

	* mail/rmail.el (rmail-message-vector, rmail-deleted-vector)
Glenn Morris's avatar
Glenn Morris committed
758 759 760 761 762
	(rmail-msgref-vector, rmail-summary-vector): Delete vars, and
	all code to initialize them too.
	(rmail-forget-messages): Delete function.  Change callers.
	(rmail-set-message-counters): Delete function.  Change callers.
	(rmail-count-new-messages): Delete function.  Change callers.
763 764
	(rmail-set-message-counters-counter): Likewise.
	(rmail-maybe-set-message-counters): Now no-op.
Glenn Morris's avatar
Glenn Morris committed
765 766
	(rmail-message-deleted-p, rmail-set-message-deleted-p): Delete Fns.
	(rmail-msg-number-after-expunge): Delete Fn.
767 768 769
	(rmail): Delete excess closeparen.
	(rmail-initialize-messages): Doc fix.
	(rmail-expunge-confirmed): Update to use rmail-desc-deleted-p.
Glenn Morris's avatar
Glenn Morris committed
770 771

	* mail/rmailsum.el (rmail-make-summary-line): Delete function.
772 773 774 775 776 777 778 779 780 781 782 783
	(rmail-new-summary): Make it work once again as in old version.
	(rmail-summary-get-summary): Call rmail-summary-line-decoder.

2004-09-20  Richard M. Stallman  <rms@gnu.org>

	* mail/rmail.el (rmail): Error if file is Babyl format.
	(rmail-process-new-messages, rmail-reply-callback, rmail-mark-message)
	(rmail-narrow-to-message): Doc fix.
	(rmail-reply, rmail-forward, rmail-resend, rmail-retry-failure)
	(rmail-browse-body): Immediate error if file is empty.

	* mail/rmail.el (rmail-convert-file, rmail-insert-rmail-file-header)
Glenn Morris's avatar
Glenn Morris committed
784
	(rmail-convert-to-babyl-format): Delete functions.
785 786 787 788
	(rmail-mode): Don't call rmail-convert-file.

	* net/browse-url.el (browse-url-activate-urls): Add autoload.

Glenn Morris's avatar
Glenn Morris committed
789
	* mail/rmailedit.el (rmail-edit-current-message):
790 791
	Immediate error if file is empty.

Glenn Morris's avatar
Glenn Morris committed
792
	* mail/rmailkwd.el (rmail-read-label, rmail-set-label):
793
	Immediate error if file is empty.
Glenn Morris's avatar
Glenn Morris committed
794
	(rmail-parse-file-keywords): Delete function.
795 796 797

;; Local Variables:
;; coding: iso-2022-7bit
Glenn Morris's avatar
Glenn Morris committed
798
;; add-log-time-zone-rule: t
799
;; End:
Miles Bader's avatar
Miles Bader committed
800

Glenn Morris's avatar
Glenn Morris committed
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817
    Copyright (C) 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.

  This file is part of GNU Emacs.

  GNU Emacs is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  GNU Emacs is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.

Miles Bader's avatar
Miles Bader committed
818
;; arch-tag: e3ca2b68-f400-4f0d-b95f-83a4b0f5d0c4