1 2007-04-16 Yoichi NAKAYAMA <yoichi@geiin.org>
3 * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
4 with \Noselect attribute.
6 2007-04-15 Yoichi NAKAYAMA <yoichi@geiin.org>
8 * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
9 hierarchical folder structure with UW-imapd.
11 2007-02-12 Yoichi NAKAYAMA <yoichi@geiin.org>
13 * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
14 when the LOGINDISABLED capability is advertised.
16 2007-01-27 Yoichi NAKAYAMA <yoichi@geiin.org>
18 * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
20 2007-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
22 * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
24 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
25 if the message entity is exists.
27 2007-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
29 * elmo-util.el (elmo-msgdb-insert-file-header): Call
30 `elmo-delete-cr-buffer'.
32 * elmo-localdir.el (elmo-message-fetch-internal): Use
33 `insert-file-contents-as-raw-text' instead of
34 `insert-file-contents-as-binary'.
36 * elmo-maildir.el (elmo-map-message-fetch): Ditto.
38 2006-12-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
40 * elmo-imap4.el (elmo-network-initialize-session): Check to
41 retrieve a whole greeting message.
43 2006-11-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
45 * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
47 2006-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
49 * elmo-util.el (elmo-safe-plist-get): New alias or macro.
50 (elmo-progress-notify): Use it instead of `plist-get'.
52 2006-11-19 Yoichi NAKAYAMA <yoichi@geiin.org>
54 * elmo.el (elmo-generic-folder-append-messages): Remove unused
57 2006-11-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
59 * elmo-pipe.el (elmo-folder-set-plugged): Define.
61 2006-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
63 * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
64 (elmo-spam-list-spam-messages): Check it option.
66 2006-11-08 Tetsurou Okazaki <okazaki@be.to>
68 * elmo-util.el (elmo-with-progress-display): Return the value
69 of the last form in `body'.
71 2006-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
73 * elmo-util.el (elmo-progress-start): Accept nil for `total'. Set
74 `elmo-progress-counter' as t when a query callback returns nil.
75 (elmo-progress-clear): New function.
76 (elmo-progress-done): Split into `elmo-progress-clear'.
77 (elmo-progress-notify): Update a total slot when it is nil.
78 (elmo-with-progress-display): Call `elmo-progress-clear' in
79 unwind-protect and move calling `elmo-progress-done' to outside.
81 * elmo-imap4.el (elmo-imap4-find-next-line): Call
82 `elmo-progress-notify' with :total parameter instead of
83 `elmo-progress-counter-set-total'.
85 2006-11-07 Tetsurou Okazaki <okazaki@be.to>
87 * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
89 (elmo-progress-start): Avoid updating `elmo-progress-counter'
90 when a query callback returns nil. Return a progress counter
91 instead of t whenever a start callback was called.
93 2006-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
95 * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
96 (elmo-imap4-send-command): Use it.
97 (elmo-network-initialize-session): Ditto.
98 (elmo-network-setup-session): Ditto.
99 (elmo-folder-msgdb-create-plugged): Ditto.
101 2006-11-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
103 * elmo-util.el (elmo-progress-done): Fix a miss refer to
104 `elmo-progress-counter'.
106 2006-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
108 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
109 (elsp-bsfilter-list-spam-filter): New function.
110 (elsp-bsfilter-start-list-spam): Ditto.
111 (elsp-bsfilter-read-list-spam): Ditto.
112 (elmo-spam-list-spam-messages): Use async process to display
113 progress message by each message.
115 2006-11-03 Yoichi NAKAYAMA <yoichi@geiin.org>
117 * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
118 of flushing previously inserted message contents.
120 * elmo-imap4.el (elmo-folder-search): Fix return value.
122 2006-11-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
124 * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
125 of reporter is enable or not.
127 2006-10-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
129 * elmo-util.el (elmo-list-bigger-diff): Abolish.
130 (elmo-display-progress): Ditto.
131 (elmo-progress-counter-alist): Ditto.
132 (elmo-progress-set): Ditto.
133 (elmo-progress-clear): Ditto.
134 (elmo-progress-counter-all-value): Rename to
135 `elmo-progress-counter-total'.
136 (elmo-progress-counter-format): Rename to
137 `elmo-progress-counter-action'.
138 (elmo-progress-counter): New internal variable.
139 (elmo-progress-callback-function): Ditto.
140 (elmo-progress-counter-label): New function.
141 (elmo-progress-counter-set-total): Ditto.
142 (elmo-progress-counter-set-action): Ditto.
143 (elmo-progress-call-callback): Ditto.
144 (elmo-progress-start): Ditto.
145 (elmo-progress-done): Ditto.
146 (elmo-progress-notify): Rewrite.
147 (elmo-with-progress-display): Remove first argument
148 `condition'. Add optional argument `var' in `spec'.
150 * elmo-vars.el (elmo-display-progress-threshold): Abolish.
151 (elmo-display-retrieval-progress-threshold): Ditto.
152 (elmo-inhibit-display-retrieval-progress): Ditto.
154 * Replace all pair of `elmo-progress-set' and
155 `elmo-progress-clear' into `elmo-with-progress-display'.
157 * Replace to call `elmo-display-progress' into pair of
158 `elmo-progress-notify' and `elmo-with-progress-display'.
160 * elmo-version.el (elmo-version): Up to 2.15.5.
162 2006-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
164 * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
167 2006-10-15 Yoichi NAKAYAMA <yoichi@geiin.org>
169 * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
170 cleanup-forms [wl:14027].
172 2006-10-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
174 * elmo-flag.el (elmo-global-flag-set-internal): Use
175 `elmo-copy-file' by priority when the message is a file.
177 2006-10-01 Yoichi NAKAYAMA <yoichi@geiin.org>
179 * elmo.el: Fix typo: disptch -> dispatch.
181 2006-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
183 * elmo.el (elmo-file-tag): New class.
184 (elmo-append-messages-disptch-table): New constant.
185 (elmo-folder-type-p): New function.
186 (elmo-folder-append-messages): Redefine as function.
188 * elmo-null.el (elmo-folder-append-messages): Renamed from
189 `elmo-folder-append-messages'.
191 * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
192 (elmo-folder-append-messages-*-maildir): Renamed from
193 `elmo-folder-append-messages'.
195 * elmo-localdir.el (elmo-localdir-folder): Inherit
197 (elmo-folder-append-messages-*-localdir): Renamed from
198 `elmo-folder-append-messages'.
200 * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
201 from `elmo-folder-append-messages'.
203 * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
204 `elmo-folder-append-messages'.
206 * elmo-filter.el (elmo-folder-append-messages-filter-*): New
208 (elmo-folder-append-messages-*-filter): Ditto.
210 * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
212 * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
213 (elmo-folder-append-messages-*-pipe): Renamed from
214 `elmo-folder-append-messages'.
216 * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
218 * elmo-file.el (elmo-file-folder): Ditto.
220 * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
222 * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
223 from `elmo-folder-append-messages'
225 2006-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
227 * elmo-map.el (elmo-location-map-setup): Change an argument
228 `locations' to optional.
229 (elmo-location-map-clear): Abolish.
230 (elmo-folder-clear): Follow the API change.
232 * elmo-pop3.el (elmo-folder-clear): Ditto.
234 * elmo-pop3.el (toplevel): Require elmo-map.
235 (elmo-pop3-folder): Inherit elmo-location-map and abolish
236 location-alist slot (All other related portions are changed).
237 (elmo-pop3-folder-use-uidl): New function.
238 (elmo-folder-msgdb-create): Don't sort message entities.
239 (elmo-pop3-sort-msgdb-by-original-number): Abolish.
240 (elmo-pop3-number-to-size): Convert return value to number.
241 (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
244 * elmo-map.el: Use `location-map' as a variable name for instance
246 (elmo-location-map-setup): Return location alist.
247 (elmo-location-map-update): Ditto.
249 2006-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
251 * elmo-map.el (elmo-location-map): New class; split location and
252 number mapping from elmo-map-folder (All other related portions
255 * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
258 * elmo-version.el (elmo-version): Up to 2.15.4.
260 2006-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
262 * elmo-vars.el (elmo-use-hardlink): New user option.
264 * elmo-util.el (elmo-add-name-to-file): Switch implementations by
267 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
269 (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
270 instead of `*-internal'. Use `elmo-with-progress-display'.
272 2006-09-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
274 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
275 `elmo-spam-process-messages-as-mbox'.
277 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
279 2006-08-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
281 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
282 argument BUFFER of `call-process'.
284 2006-08-27 Yoichi NAKAYAMA <yoichi@geiin.org>
286 * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
288 (elsp-bsfilter-list-spam-files): Ditto.
290 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
292 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
293 (elmo-spam-bsfilter-max-messages-per-process): New use option.
294 (elmo-spam-bsfilter-debug): Fix a group.
295 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
297 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
298 (elsp-bsfilter-list-spam-files): New function.
299 (elmo-spam-list-spam-messages): Define.
300 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
301 (elmo-spam-bsfilter-register-messages): New function.
302 (elmo-spam-register-spam-messages): Define.
303 (elmo-spam-register-good-messages): Ditto.
305 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
307 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
310 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
312 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
313 hash table to test whether a location is exists.
315 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
317 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
318 even if some error occurred.
320 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
321 meaningless unwind-protect.
323 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
324 start-number correctly.
325 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
326 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
328 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
330 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
331 (elmo-folder-initialize): Use it.
332 (elmo-global-flag-replace-referrer): New function.
334 * elmo.el (toplevel): Added autoload setting for
335 `elmo-global-flag-replace-referrer'.
336 (elmo-folder-rename): Rewrite the last change use
337 `elmo-global-flag-replace-referrer'.
339 * elmo-pipe.el (elmo-folder-rename): Call
340 `elmo-global-flag-replace-referrer'.
342 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
344 * elmo.el (elmo-folder-rename): Set meta data for global flags
347 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
349 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
351 (elmo-folder-close): Ditto.
352 (elmo-filter-folder-number-list-loaded-p): New function.
353 (elmo-filter-folder-number-list): Check whether loaded or not.
354 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
355 of `elmo-filter-folder-number-list-internal'.
356 (elmo-folder-delete-messages): Ditto.
357 (elmo-folder-length): Check whether number-list is loaded or not.
359 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
361 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
362 field `real field' into each element of list.
363 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
364 (elmo-msgdb-message-entity-field): Ditto.
365 (modb-entity-ml-info-real-fields): New function.
367 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
369 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
370 `elmo-msgdb-extra-fields'.
372 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
374 * elmo-util.el (elmo-passwd-alist-load): Move point to min
375 position before read.
377 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
379 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
380 (elmo-global-flags-initialize): Ditto.
382 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
384 * elmo-archive.el (toplevel): Don't require emu, std11
387 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
390 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
392 * elmo.el (elmo-folder-confirm-appends): Display folder name.
394 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
396 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
399 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
401 * elmo-maildir.el (elmo-maildir-list-location): Reduce
402 `elmo-get-last-modification-time' call.
404 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
406 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
408 (elmo-maildir-set-mark): Ditto.
409 (elmo-maildir-delete-mark): Ditto.
411 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
413 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
414 optional argument `separators'.
416 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
418 * elmo.el (cache-changed): Abolish.
419 (status-changed): New signal.
420 (elmo-message-killed-p): New generic function and define for
422 (elmo-folder-recover-messages): Ditto.
423 (elmo-message-set-cached): Emit signal `status-changed' instead of
425 (elmo-message-status): New macro.
426 (elmo-message-status-folder): Ditto.
427 (elmo-message-status-number): Ditto.
428 (elmo-message-status-set-flags): Ditto.
429 (elmo-message-status-set-killed): Ditto.
430 (elmo-message-status-flags): New function.
431 (elmo-message-status-cached-p): Ditto.
432 (elmo-message-status-killed-p): Ditto.
434 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
435 `status-changed' instead of `cache-changed'.
436 (elmo-folder-recover-messages): Define.
437 (elmo-message-killed-p): Ditto.
439 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
440 `status-changed' instead of `cache-changed'.
442 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
443 (elmo-message-killed-p): Define.
444 (elmo-folder-recover-messages): Ditto.
446 * elmo-version.el (elmo-version): Up to 2.15.3.
448 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
450 * elmo-signal.el (elmo-signal-bindings): Use cons to append
452 (elmo-define-signal-handler): Add docstring.
453 (elmo-define-signal-filter): Ditto.
455 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
457 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
459 * elmo-util.el (elmo-flatten): Don't use recursive call.
461 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
463 (elmo-folder-message-make-temp-files): Use `number-to-string'
464 instead of `int-to-string'.
466 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
468 * elmo-search.el (elmo-folder-delete-messages): Define.
470 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
472 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
474 (elmo-mailing-list-count-spec-list): Ditto.
476 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
479 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
481 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
484 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
486 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
487 (elmo-mailing-list-count-spec-list): Ditto.
489 * elmo-util.el (elmo-map-until-success): New function.
490 (elmo-string-match-substring): Ditto.
491 (elmo-find-list-match-value): Ditto.
493 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
495 (modb-entity-extract-ml-info-from-subject): Ditto.
496 (modb-entity-extract-ml-info-from-return-path): Ditto.
497 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
498 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
499 (modb-entity-extract-ml-info-from-mailman): Ditto.
500 (modb-entity-extract-mailing-list-info-functions): Ditto.
501 (modb-entity-extract-mailing-list-info): Rewrite with
502 `elmo-find-list-match-value'.
504 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
506 * elmo-net.el (elmo-network-session-retry-count): New user option.
507 (elmo-network-session-buffer-name): New internal function.
508 (elmo-network-session-buffer-create): Ditto.
509 (elmo-network-open-session): Retry open network session
510 `elmo-network-session-retry-count' times.
512 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
514 * elmo-util.el (elmo-list-filter): Rewritten.
516 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
518 * elmo-util.el (elmo-string-member): Allow symbol element in list.
520 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
522 * elmo-search.el (elmo-make-search-engine): Use prefix
523 `elmo-search-' for require symbol instead of `else-'.
524 (elmo-search-engine-extprog): New class.
525 (elmo-search-engine-do-search): Remove nil from argument
526 list. Added argument pattern to evaluate element as function.
527 (elmo-search-engine-local-file): Derived from
528 `elmo-search-engine-extprog'.
529 (elmo-search-engine-create-message-entity): Check existance of file.
530 (elmo-search-engine-fetch-message): Ditto.
531 (elmo-search-namazu-index): Follow the API change.
532 (elmo-search-grep-target): Ditto.
534 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
536 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
537 characters of working buffer.
539 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
540 Does not bind `default-mime-charset'.
541 (elmo-msgdb-create-message-entity-from-buffer): Removed
542 unnecessary local bind.
544 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
546 (modb-entity-extract-mailing-list-info-functions): Added it.
548 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
550 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
551 when number and message-id are non-nil.
553 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
555 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
556 conditional steatment.
557 (elmo-pop3-auth-apop): Likewise.
558 (elmo-network-authenticate-session): Likewise.
560 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
562 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
563 symbol `fill-column'.
564 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
567 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
568 (elmo-decoded-field-body): Ditto.
570 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
572 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
573 `tokens' to `params'.
575 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
577 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
580 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
582 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
585 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
587 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
588 Set default value as nil.
589 (toplevel): Register search engines by
590 `elmo-search-register-engine' if there are not defined.
592 * elmo.el (autoload): Added autoload setting for
593 `elmo-search-register-engine'.
595 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
597 * elmo.el (toplevel): `[' is redefined as the prefix of the search
598 folder instead of nmz folder.
599 (elmo-nmz-default-index-path): Added obsolete variable setting.
600 (elmo-nmz-index-alias-alist): Ditto.
601 (elmo-nmz-use-drive-letter): Ditto.
603 * elmo-search.el (elmo-search-register-engine): New function.
605 * elmo-nmz.el: Removed.
607 * elmo-version.el (elmo-version): Up to 2.15.2.
609 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
611 * elmo-search.el: New file.
613 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
615 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
616 condition `larger' and `smaller'.
618 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
620 * elmo-util.el (elmo-safe-filename): Rewrite to replace
621 `"' (double quote) into "_Q_".
623 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
625 * elmo-net.el (elmo-net-quote-chars): Abolish.
626 (elmo-net-format-quoted): Ditto.
628 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
630 * elmo.el (elmo-get-folder-function): New variable.
631 (elmo-get-folder): New function.
632 (elmo-folder-rename): Call `elmo-make-folder' with specified
635 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
637 (elmo-split-subr): Ditto.
639 * elmo-multi.el (elmo-folder-initialize): Ditto.
641 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
643 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
644 (elmo-flag-get-folder): Ditto.
646 * elmo-filter.el (elmo-folder-initialize): Ditto.
648 * elmo-access.el (elmo-folder-initialize): Ditto.
649 (elmo-access-folder-update-children): Ditto.
651 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
652 (elmo-dop-queue-flush): Ditto.
653 (elmo-folder-append-buffer-dop-delayed): Ditto.
654 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
657 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
658 instead of `elmo-make-folder'.
659 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
660 destination folder instead of send `elmo-folder-rename-internal'.
662 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
663 slot of subfolder instead of create it.
665 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
667 * elmo-util.el (elmo-collect-separators): New function.
668 (elmo-collect-separators-internal): Ditto.
669 (elmo-collect-trail-separators): Ditto.
670 (elmo-parse-separated-tokens): Ditto.
671 (elmo-parse-separated-tokens-internal): Ditto.
672 (elmo-quote-syntactical-element): Ditto.
674 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
675 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
677 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
678 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
679 (elmo-nntp-folder-list-subfolders): Quote a user name.
681 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
682 (elmo-net-parse-network): Abolish.
683 (elmo-net-folder-set-parameters): New function.
684 (elmo-folder-initialize): Follow the above change.
686 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
687 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
688 (elmo-folder-list-subfolders): Use
689 `elmo-quote-syntactical-element' instead of
690 `elmo-net-format-quoted' to quote mailbox and user name.
692 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
694 * elmo-util.el (elmo-token-valid-p): New function.
695 (elmo-parse-token): Add optional argument `requirement'.
696 (elmo-parse-prefixed-element): Likewise.
698 * elmo-net.el (elmo-net-quote-chars): Renamed from
699 `elmo-net-quote-chars-regexp'.
700 (elmo-net-format-quoted): Add optional argument `extra-chars'.
702 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
703 by info document. Check token `uidl' is started an alphabet.
705 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
706 by info document. Check token `user' is started an alphabet.
708 * elmo-imap4.el (elmo-folder-initialize): Ditto.
709 (elmo-folder-list-subfolders): Quote user.
711 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
713 * elmo-util.el (elmo-quoted-specials-list): New constant.
714 (elmo-quoted-token): New function.
716 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
717 (elmo-net-format-quoted): New function.
718 (elmo-net-parse-network): Ditto.
719 (elmo-folder-initialize): Use it.
721 * elmo-nntp.el (elmo-folder-initialize): Use
722 `elmo-net-parse-network' to parse network specification instead of
723 `elmo-folder-initialize#elmo-net'.
725 * elmo-pop3.el (elmo-folder-initialize): Ditto.
727 * elmo-imap4.el (elmo-folder-initialize): Ditto.
728 (elmo-folder-list-subfolders): Quote folder name by
729 `elmo-net-format-quoted'.
731 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
733 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
734 (elmo-folder-search): Use it.
736 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
738 * modb-standard.el (modb-standard-loaded-message-id): Use
739 `elmo-msgdb-message-entity-field'.
741 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
743 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
746 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
748 * elmo-util.el (elmo-set-auto-coding): New function.
749 (elmo-object-load): Use it.
751 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
753 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
754 (elmo-time<): Define as alias of `elmo-time-less-p'.
755 (elmo-time-to-datevec): New function.
757 * elmo-date.el (elmo-time-to-days): New function.
759 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
761 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
764 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
766 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
769 * elmo-util.el (elmo-map-recursive): New function.
771 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
772 (modb-entity-encode-string-recursive): Ditto.
774 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
776 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
777 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
778 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
779 compare sequence number when last modified time is nil.
781 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
783 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
785 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
787 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
789 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
790 modification time of the file.
792 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
794 * elmo-util.el (elmo-condition-optimize): Discriminated against
795 preserved fields, extra fields and the other weight.
797 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
799 * modb-entity.el (initialize-instance): Define.
800 (modb-entity-handler-mime-charset): New internal function.
801 (modb-standard-entity-set-field): Use it.
802 (elmo-msgdb-message-entity-field): Ditto.
803 (elmo-msgdb-message-entity-field): Ditto.
805 * modb.el (elmo-msgdb-match-condition): Rewrite with
806 `elmo-condition-match'.
807 (elmo-msgdb-match-condition-primitive): New function.
809 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
810 arguments `flags' and `numbers'.
811 (elmo-msgdb-match-condition-primitive): Abolished (merged to
812 `elmo-msgdb-message-match-condition').
813 (modb-buffer-entity-handler): New class.
815 * elmo.el (elmo-folder-search): Optimize condition to use
816 `elmo-condition-optimize'.
817 (elmo-message-buffer-match-condition): New function.
818 (elmo-message-match-condition): Use
819 `elmo-message-buffer-match-condition' instead of
820 `elmo-buffer-field-condition-match'.
822 * elmo-util.el (elmo-condition-match): New function.
823 (elmo-condition-optimize): Ditto.
824 (elmo-buffer-field-primitive-condition-match): Abolish.
825 (elmo-buffer-field-condition-match): Ditto.
827 * elmo-archive.el (elmo-archive-field-condition-match): Use
828 `elmo-message-buffer-match-condition' instead of
829 `elmo-buffer-field-condition-match'.
831 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
833 * elmo-flag.el (elmo-global-flags-initialize): Check the
834 existence of the flag directory.
836 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
838 * elmo-access.el (elmo-folder-initialize): Call
839 `elmo-multi-connect-signals'.
841 * elmo-pipe.el (elmo-folder-close): Define.
843 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
846 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
849 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
852 * elmo-multi.el (elmo-message-entity): Don't use return value of
853 `elmo-message-entity-set-number'.
855 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
857 * modb.el (modb-generic): Added slot `mime-charset'.
859 * modb-standard.el (modb-standard): Added slot `overview-handler'.
860 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
861 and `modb-entity-handler-dump-parameters'.
862 (modb-standard-default-entity-handler): Abolish.
863 (elmo-msgdb-message-entity-handler): Save created handler by
866 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
867 (modb-entity-handler-list-parameters): New method.
868 (modb-entity-handler-equal-p): New function.
869 (modb-entity-handler-dump-parameters): Ditto.
870 (modb-entity-parse-address-string): Encode return value.
871 (modb-entity-make-address-string): Decode argument value.
872 (modb-entity-decode-string-recursive): New function.
873 (modb-entity-encode-string-recursive): Ditto.
874 (modb-standard-entity-normalizer): Set to encode field value.
875 (modb-standard-entity-specializer): Follow the above change.
876 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
877 mime-charset of handler.
878 (elmo-msgdb-message-entity-field): Ditto.
879 (elmo-msgdb-copy-message-entity): Fixed reference to internal
881 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
883 * elmo.el (elmo-folder): Added slot `mime-charset'.
884 (elmo-make-folder): Added argument `mime-charset'.
885 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
888 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
889 (elmo-make-msgdb): Likewise.
891 * elmo-internal.el (elmo-internal-folder-initialize): Call
892 `luna-make-entity' with :mime-charset parameter.
894 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
896 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
897 encoded words in `from' and `subject' field.
899 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
901 * modb.el (elmo-msgdb-message-field): Add argument `type'.
902 (elmo-msgdb-match-condition): Get handler from entity instead of
905 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
906 (modb-standard-load-entity): Treat new file format.
907 (modb-standard-save-entity-1): Save as new file format.
908 (modb-standard-save-entity): Split messages into section here.
909 (elmo-msgdb-message-field): Follow the API change.
910 (modb-standard-default-entity-handler): New internal variable.
911 (elmo-msgdb-message-entity-handler): Define.
913 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
915 (modb-entity-field-extractor-alist): New user option.
916 (elmo-msgdb-message-entity-field): Removed argument `decode' and
917 added argument `type'.
918 (elmo-msgdb-copy-message-entity): Add optional argument
920 (modb-set-field-converter): New function.
921 (modb-convert-field-value): Ditto.
922 (modb-entity-string-decoder): Ditto.
923 (modb-entity-string-encoder): Ditto.
924 (modb-entity-parse-date-string): Ditto.
925 (modb-entity-make-date-string): Ditto.
926 (modb-entity-mime-decoder): Ditto.
927 (modb-entity-mime-encoder): Ditto.
928 (modb-entity-address-list-decoder): Ditto.
929 (modb-entity-address-list-encoder): Ditto.
930 (modb-entity-parse-address-string): Ditto.
931 (modb-entity-make-address-string): Ditto.
932 (modb-entity-create-field-indices): Ditto.
933 (modb-legacy-entity-field-slots): New constant.
934 (modb-legacy-entity-field-indices): Ditto.
935 (modb-legacy-entity-normalizer): New variable.
936 (modb-legacy-entity-specializer): Ditto.
937 (modb-legacy-entity-field-index): New macro.
938 (modb-legacy-entity-set-field): New function.
939 (modb-legacy-make-message-entity): Rewrite.
940 (elmo-msgdb-create-message-entity-from-buffer): Use
941 `elmo-msgdb-get-references-from-buffer'. Use
942 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
943 Use `modb-legacy-entity-set-field' instead of
944 `elmo-msgdb-message-entity-set-field'.
945 (elmo-msgdb-message-entity-field): Rewrite.
946 (elmo-msgdb-message-entity-set-field): Ditto.
947 (elmo-msgdb-copy-message-entity): Make new entity by
948 `make-handler' if it specified.
949 (elmo-msgdb-message-match-condition): Define a method of
950 `modb-entity-handler' and follow the API change.
951 (modb-standard-entity-handler): New class.
952 (modb-entity-extract-ml-info-from-x-sequence): New function.
953 (modb-entity-extract-ml-info-from-subject): Ditto.
954 (modb-entity-extract-ml-info-from-return-path): Ditto.
955 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
956 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
957 (modb-entity-extract-mailing-list-info): Ditto.
958 (modb-entity-extract-mailing-list-info-functions): New variable.
960 * elmo.el (elmo-message-field): Add optional argument `type'.
962 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
963 from `modb-entity.el'.
965 * elmo-util.el (elmo-object-load): Decode by coding-system from
966 `set-auto-coding-function'.
967 (elmo-object-save): Use `detect-mime-charset-region' and add
968 coding cookie if encode.
969 (elmo-msgdb-get-references-from-buffer): New function.
970 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
972 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
974 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
975 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
976 instead of `shimbun-make-header' and follow the API change.
977 (elmo-shimbun-update-overview): Follow the API change.
978 (elmo-map-folder-list-message-locations): Ditto.
980 * elmo-pipe.el (elmo-message-field): Ditto.
982 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
985 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
987 * elmo-multi.el (elmo-message-field): Ditto.
989 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
990 (elmo-msgdb-sort-by-date): Ditto.
991 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
992 `elmo-message-entity-field'.
993 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
995 (elmo-msgdb-overview-entity-get-from): Ditto.
996 (elmo-msgdb-overview-entity-get-subject): Ditto.
997 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
998 (elmo-msgdb-overview-entity-get-date): Ditto.
999 (elmo-msgdb-overview-entity-get-to): Ditto.
1000 (elmo-msgdb-overview-entity-get-cc): Ditto.
1002 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1003 (elmo-mime-collect-message/partial-pieces): Ditto.
1005 * elmo-filter.el (elmo-message-field): Ditto.
1007 * elmo-date.el (elmo-datevec-to-time): New function.
1008 (elmo-time-parse-date-string): Ditto.
1009 (elmo-time-make-date-string): Ditto.
1010 (elmo-time<): Ditto.
1012 * elmo-version.el (elmo-version): Up to 2.15.1.
1014 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
1016 * elmo-flag.el (elmo-global-flags-initialize): Don't include
1017 member of elmo-local-flags.
1019 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
1021 * elmo-version.el (elmo-version): Up to 2.15.0.
1023 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1025 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1026 `ignore-msgdb' is non-nil.
1028 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1030 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1031 (elmo-condition-in-msgdb-p): Ditto.
1032 (elmo-file-field-primitive-condition-match): Ditto.
1033 (elmo-file-field-condition-match): Ditto.
1035 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1037 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1039 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1040 subdirectories here.
1041 (elmo-global-flags-initialize): New function.
1043 * elmo.el (toplevel): Added autoload setting for
1044 `elmo-global-flags-initialize'.
1046 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
1048 * elmo.el (message-number-changed): Define new signal.
1049 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1050 message-number-changed signal.
1051 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1052 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1053 Respect `elmo-pack-number-check-strict'.
1055 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
1057 * elmo-signal.el (elmo-connect-signal): Document.
1058 (elmo-emit-signal): Ditto.
1059 (elmo-emit-signal): It should pass source argument to filter and
1060 handler, not slot-source.
1062 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1064 * modb.el (elmo-msgdb-update-entity): New API and define generic
1067 * modb-standard.el (elmo-msgdb-update-entity): Define.
1069 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1070 API and define generic implement.
1072 * elmo.el (update-overview): New singnal.
1074 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1075 `elmo-msgdb-update-entity' and emit signal `update-overview'.
1076 (elmo-message-entity-parent): Define.
1078 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1081 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1083 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1085 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
1087 * elmo.el (elmo-folder-synchronize): Sort the return value of
1090 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1093 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1095 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1096 `default-enable-multibyte-characters'.
1097 (elmo-object-load): Use `with-temp-buffer' instead of
1098 `elmo-set-work-buf'.
1099 (elmo-object-save): Ditto.
1100 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1101 `elmo-set-work-buf'.
1102 (elmo-decoded-field-body): Ditto.
1104 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1106 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1107 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1109 * elmo-version.el (elmo-version): Up to 2.13.3.
1111 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
1113 * elmo-util.el (elmo-list-diff): Fix the last change.
1114 Reverse order of result lists.
1116 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
1118 * modb-standard.el (elmo-msgdb-set-flag): Use
1119 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1120 (elmo-msgdb-unset-flag): Ditto.
1122 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1125 * elmo-util.el (elmo-list-diff): Rewrite.
1126 (elmo-list-diff-nonsortable): New function.
1128 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
1130 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1131 `elmo-multibypte-buffer-name'. All referers are updated.
1133 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1135 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1136 (elmo-mime-entity-fragment-p): New function.
1137 (mime-elmo-buffer-entity): Added slot `reassembled'.
1138 (elmo-message-mime-entity): Added 4th argument `reassemble'.
1139 (elmo-message-mime-entity-internal): New function (renamed from
1140 `elmo-message-mime-entity').
1141 (elmo-mime-inherit-field-list-from-enclosed): New constant.
1142 (elmo-mime-make-reassembled-mime-entity): New function.
1143 (elmo-message-reassembled-mime-entity): Ditto.
1144 (elmo-mime-collect-message/partial-pieces): Ditto.
1146 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1148 * elmo.el (elmo-message-fetch-string): Disable multibyte.
1150 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1151 (elmo-with-enable-multibyte): New macro.
1153 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1155 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1157 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1159 (elmo-filter-connect-signals): Follow the above change.
1161 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
1163 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1165 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1166 that only the first flag is used.
1168 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1170 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
1173 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1175 * elmo-signal.el: New file.
1177 * elmo.el (toplevel): Require elmo-signal.
1178 (flag-changing, flag-changed, cache-changed): New signal.
1179 (elmo-folder): Remove slog `handlers'.
1180 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1181 `elmo-folder-notify-event'.
1182 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1183 (elmo-folder-unset-flag): Ditto.
1184 (elmo-event-handler): Abolish.
1185 (elmo-event-handler-flag-changed): Ditto.
1186 (elmo-event-handler-cache-changed): Ditto.
1187 (elmo-folder-add-handler): Ditto.
1188 (elmo-folder-remove-handler): Ditto.
1189 (elmo-folder-notify-event): Ditto.
1191 * elmo-pipe.el (toplevel): Require elmo-signal.
1192 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1193 (elmo-pipe-connect-signals): New function.
1194 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1195 (elmo-folder-set-flag): Ditto.
1196 (elmo-folder-unset-flag): Ditto.
1197 (elmo-message-set-cached): Ditto.
1199 * elmo-multi.el (toplevel): Require elmo-signal.
1200 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1201 (elmo-multi-connect-signals): New function.
1202 (elmo-multi-map-numbers): Ditto.
1203 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1204 (elmo-message-fetch): Ditto.
1205 (elmo-folder-set-flag): Ditto.
1206 (elmo-folder-unset-flag): Ditto.
1208 * elmo-filter.el (toplevel): Require elmo-signal.
1209 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1210 (elmo-filter-connect-signals): New function.
1211 (elmo-filter-add-flag-count): Ditto.
1212 (elmo-message-fetch): Does not call
1213 `elmo-filter-folder-countup-message-flags' and
1214 `elmo-folder-notify-event'.
1215 (elmo-message-set-cached): Ditto.
1216 (elmo-folder-set-flag): Ditto.
1217 (elmo-folder-unset-flag): Ditto.
1219 * elmo-version.el (elmo-version): Up to 2.13.2.
1221 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1223 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1226 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1228 * elmo-filter.el (elmo-message-set-cached): Call
1229 `elmo-folder-notify-event' with event `cache-changed'.
1231 * elmo-multi.el (elmo-message-set-cached): Ditto.
1233 * elmo-pipe.el (elmo-message-set-cached): Ditto.
1235 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
1237 * elmo.el (elmo-folder-encache): Abolish.
1239 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1241 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1242 (elmo-folder-next-message-number-dop): Return appropriate negative
1245 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1247 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1248 clearing pending operations.
1249 (elmo-folder-next-message-number-dop): Return appropriate negative
1252 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1254 * elmo.el (toplevel): Added autoload setting for `md5'.
1255 (elmo-msgdb-path-encode-threshold): New user option.
1256 (elmo-folder-msgdb-path): Encode msgdb path if its length is
1257 longer than `elmo-msgdb-path-encode-threshold'.
1259 * elmo-flag.el (elmo-global-mark-migrate): Use
1260 `elmo-folder-expand-msgdb-path' instead of
1261 `elmo-folder-msgdb-path'.
1263 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1265 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1266 element of the difference is nil.
1268 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
1270 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1271 to the check logic of file systems which are weak in colon character.
1273 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1275 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1277 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
1279 * elmo-maildir.el (elmo-maildir-move-file): New function.
1280 (elmo-folder-append-buffer): Use it.
1281 (elmo-folder-append-messages): Ditto.
1282 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1284 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1285 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1287 * elmo-maildir.el (elmo-maildir-separator): New user option.
1288 (elmo-maildir-adjust-separator): New macro.
1289 (elmo-maildir-list-location): Use it.
1290 (elmo-maildir-update-current): Ditto.
1291 (elmo-maildir-set-mark): Ditto.
1292 (elmo-maildir-delete-mark): Ditto.
1293 (These changes are based on Hiroya Murata's patch [wl: 13437])
1295 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1297 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1299 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1301 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1302 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1303 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1305 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1307 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1308 Use `with-temp-buffer'.
1310 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1312 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1314 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1315 `wl-read-search-condition').
1316 (elmo-read-search-condition-internal): Likewise.
1318 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1319 (elmo-flag-valid-p): New function.
1320 (elmo-folder-initialize): Check flag name is valid.
1322 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1324 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1325 delimiter to obtain root mailbox itself.
1327 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1329 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1332 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1334 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1337 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1339 * elmo-shimbun.el (toplevel): Require cl at compile.
1341 * elmo-nntp.el (toplevel): Ditto.
1343 * elmo-nmz.el (toplevel): Ditto.
1345 * elmo-multi.el (toplevel): Ditto.
1347 * elmo-file.el (toplevel): Ditto.
1349 * elmo-dop.el (toplevel): Ditto.
1351 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1353 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1355 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1358 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1359 size of elmo-message-fetch-internal is 0 byte.
1361 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1363 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1365 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1367 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1370 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1372 * elmo-maildir.el (elmo-map-message-fetch): Call
1373 `elmo-map-folder-set-flag'.
1375 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1376 (elmo-message-fetch): Merge from
1377 `elmo-message-fetch-with-cache-process'.
1379 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1380 (elmo-message-fetch): Define.
1382 * elmo-nntp.el (elmo-message-fetch): Renamed from
1383 `elmo-message-fetch-with-cache-process'.
1385 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1386 (elmo-message-fetch): Define.
1388 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1391 * elmo-shimbun.el (shimbun-mua-search-id): Use
1392 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1393 (elmo-shimbun-folder-shimbun-header): Ditto.
1394 (elmo-shimbun-get-headers): Ditto.
1395 (elmo-shimbun-update-overview): Ditto.
1397 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1399 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1400 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1402 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1404 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1406 (elmo-message-fetch-string): Fixed argument.
1408 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1410 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1411 exchange order of arguments `section' and `unread'.
1412 (elmo-message-encache): Follow the API change.
1413 (elmo-message-match-condition): Ditto.
1414 (elmo-generic-folder-append-messages): Ditto.
1415 (elmo-message-fetch-string): New function.
1417 * elmo-split.el (elmo-split-subr): Ditto.
1419 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1421 * elmo-pipe.el (elmo-message-fetch): Ditto.
1423 * elmo-multi.el (elmo-message-fetch): Ditto.
1425 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1427 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1429 * elmo-filter.el (elmo-message-fetch): Ditto.
1431 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1433 * elmo-imap4.el (mime-imap-location-section-body): Use
1434 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1435 follow the API change.
1437 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1439 * elmo-access.el: New file.
1441 * elmo-null.el: Ditto.
1443 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1445 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1447 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1448 (elmo-network-session): New attribute `last-accessed'.
1449 (elmo-network-get-session): Discard network cache if elapsed time
1450 since last-accessed is larger than elmo-network-session-idle-timeout.
1452 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1454 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1455 and added `number', `require-entireness'.
1456 (elmo-find-fetch-strategy): Rewrite.
1457 (elmo-message-fetch): Unset `unread' flag when argument unread is
1460 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1462 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1463 (elmo-message-fetch): Notify event `flag-changed'.
1465 * elmo-pipe.el: Likewise.
1467 * elmo-mime.el (elmo-mime-entity): New class.
1468 (elmo-mime-entity-display-p): New generic function.
1469 (elmo-mime-entity-display): Ditto.
1470 (elmo-mime-entity-display-as-is): Ditto.
1471 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1473 (elmo-make-mime-message-location): Removed.
1474 (elmo-mime-message-display): Ditto.
1475 (elmo-mime-display-as-is): Ditto.
1476 (elmo-message-mime-entity): New function.
1478 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1480 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1482 (elmo-message-fetch): Re-count flagged message number and notify
1483 event `flag-changed'.
1485 * elmo-version.el (elmo-version): Up to 2.13.1.
1487 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1489 * elmo-filter.el (elmo-message-field): Define.
1490 (elmo-message-set-field): Ditto.
1492 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1494 * elmo.el (elmo-message-set-cached): Call
1495 `elmo-folder-notify-event' with cache-changed.
1496 (elmo-event-handler-cache-changed): New generic function.
1498 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1500 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1501 instead of elmo-add-name-to-file.
1502 (elmo-folder-append-messages): Ditto.
1504 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1506 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1508 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1510 * elmo-version.el (elmo-version): Up to 2.13.0.
1512 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1515 * modb-standard.el (modb-standard-economize-entity-size): Changed
1516 default value to `t'.
1518 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1521 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1522 after parsing greeting string.
1524 2004-11-23 Daishi Kato <daishi@axlight.com>
1526 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1528 (elmo-spam-spamoracle-call): Use it.
1530 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1532 * elmo.el (elmo-message-accessible-p): Message in dop spool
1535 2004-11-23 Daishi Kato <daishi@axlight.com>
1537 * elsp-spamoracle.el: New file.
1539 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1541 * elmo.el (elmo-message-flags-for-append): New function.
1542 (elmo-generic-folder-append-messages): Use it.
1544 * elmo-split.el (elmo-split-subr): Ditto.
1546 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1547 `flags' and use elmo-folder-append-buffer instead of
1548 write-region-as-binary.
1549 (elmo-dop-filter-pending-messages): New function.
1550 (elmo-folder-append-buffer-dop): Call
1551 elmo-dop-spool-folder-append-buffer with `flag'.
1552 (elmo-folder-set-flag-dop): Filter messages by
1553 elmo-dop-filter-pending-messages.
1554 (elmo-folder-unset-flag-dop): Ditto.
1555 (elmo-folder-append-buffer-dop-delayed): Use
1556 elmo-message-flags-for-append to get flags of the message and
1559 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1561 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1563 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1565 * elmo.el (elmo-folder): Added handlers slot.
1566 (elmo-event-handler): New class.
1567 (elmo-event-handler-flag-changed): New API.
1568 (elmo-folder-add-handler): New function.
1569 (elmo-folder-remove-handler): Ditto.
1570 (elmo-folder-notify-event): Ditto.
1571 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1573 (elmo-folder-unset-flag): Ditto.
1575 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1576 (elmo-folder-unset-flag): Ditto.
1578 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1579 (elmo-folder-unset-flag): Ditto.
1581 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1582 (elmo-folder-unset-flag): Ditto.
1584 * elmo-version.el (elmo-version): Up to 2.11.33.
1586 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1588 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1590 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1592 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1594 * elmo-flag.el (elmo-folder-unset-flag): Define.
1595 (elmo-global-flag-detach): Do process when the flag is not target
1598 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1600 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1602 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1604 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1606 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1608 (elmo-folder-delete-messages): Detach messages before delete
1609 messages from target folder.
1610 (elmo-folder-detach-messages): Set updated number-list to slot.
1612 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1614 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1616 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1618 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1620 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1622 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1624 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1626 (elmo-folder-delete-messages): Define.
1627 (elmo-folder-move-messages): Don't call
1628 `elmo-folder-detach-messages'.
1629 (elmo-folder-synchronize): Rewrite.
1630 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1632 * elmo-util.el (elmo-last): New function.
1633 (elmo-set-list): Ditto.
1634 (elmo-number-set-delete-list): Ditto.
1635 (elmo-number-set-delete): Ditto.
1637 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1639 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1640 `elmo-folder-delete-messages' and don't delete location map.
1641 (elmo-folder-detach-messages): Define.
1643 * elmo-imap4.el (elmo-folder-delete): Use
1644 `elmo-folder-delete-messages-internal' instead of
1645 `elmo-folder-delete-messages'.
1647 * elmo-filter.el (elmo-folder-delete-messages): Call
1648 `elmo-folder-detach-messages'.
1649 (elmo-folder-detach-messages): Don't call
1650 `elmo-folder-detach-messages' for target folder.
1652 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1653 message deletion is succeeded.
1655 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1657 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1658 from `elmo-folder-delete-messages'.
1660 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1662 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1664 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1666 * elmo-version.el (elmo-version): Up to 2.11.32.
1668 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1670 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1671 (elmo-global-flag-list): Added obsolete variable setting.
1673 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1675 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1676 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1677 `elmo-mime-display-header-analysis' is nil.
1679 * elmo-flag.el (elmo-global-flags): Renamed from
1680 `elmo-global-flag-list' (All other related portions are changed).
1681 (elmo-local-flags): New variable.
1682 (elmo-local-flag-p): New function.
1683 (elmo-global-flag-set-internal): Cause an error when flag is not
1686 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1688 * elmo-util.el (elmo-concat-path): Treat empty path.
1690 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1692 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1694 (elmo-split-address-match): Ditto.
1695 (elmo-split-equal): Ditto.
1696 (elmo-split-match): Ditto.
1698 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1700 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1701 (elmo-generic-folder-append-messages): If src message exists but
1702 has no flag, pass (read) for the FLAG argument of
1703 `elmo-folder-append-buffer'. Otherwise, pass nil.
1705 * elmo-split.el (elmo-split-subr): Likewise.
1707 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1709 * elmo-multi.el (elmo-message-flags): Ditto.
1711 * elmo-filter.el (elmo-message-flags): Ditto.
1713 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1714 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1715 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1717 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1719 * elmo-split.el (elmo-split-rule): Update comment.
1720 (elmo-split-address-equal): Allow 2nd argument to be a list.
1721 (elmo-split-address-match): Ditto.
1722 (elmo-split-equal): Ditto.
1723 (elmo-split-match): Ditto.
1725 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1727 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1728 (elmo-folder-append-msgdb): Don't treat `read'.
1729 (elmo-message-flags): Don't return `read'.
1731 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1732 (elmo-folder-unset-read-delayed): Ditto.
1734 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1736 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1738 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1741 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1743 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1746 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1748 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1750 (elmo-msgdb-save): Bind inhibit-quit.
1751 (modb-standard-message-entity): Ditto.
1753 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1755 * elmo-database.el: No need to require elmo-msgdb.
1757 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1759 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1760 instead of `elmo-list-subdirectories'.
1762 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1764 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1766 (elmo-folder-exists-p): "[" is empty.
1767 (elmo-folder-list-subfolders): Define.
1768 (elmo-folder-have-subfolder-p): Ditto.
1770 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1772 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1774 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1776 * elmo-filter.el (elmo-folder-local-p): Define.
1778 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1780 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1781 when entity is garbaged.
1782 (modb-standard-save-entity-1): Don't modify the original entity.
1784 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1786 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1788 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1790 * elmo.el (elmo-strict-folder-diff): Use
1791 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1793 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1795 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1796 (elmo-msgdb-message-number): Ditto.
1797 (elmo-msgdb-message-field): Ditto.
1799 * modb-standard.el (modb-standard-economize-entity-size): New user
1801 (modb-standard-loaded-message-id): New inline function.
1802 (modb-standard-load-entity): Use it.
1803 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1804 throw message-id string away.
1805 (elmo-msgdb-flag-available-p): Define.
1806 (elmo-msgdb-message-number): Ditto.
1807 (elmo-msgdb-message-field): Ditto.
1809 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1810 (suppoted -> supported).
1811 (modb-legacy-supported-flag-p): Ditto.
1812 (elmo-msgdb-set-flag): Ditto.
1813 (elmo-msgdb-unset-flag): Ditto.
1814 (elmo-msgdb-flag-available-p): Define.
1816 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1817 is `t', treat it as legacy entity.
1819 * elmo.el (elmo-message-flag-available-p): New generic function.
1820 (elmo-message-number): Ditto.
1821 (elmo-message-field): Use `elmo-msgdb-message-field'.
1823 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1825 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1826 (elmo-message-number): Ditto.
1828 * elmo-multi.el (elmo-message-number): Define.
1829 (elmo-message-flag-available-p): Ditto.
1831 * elmo-filter.el (elmo-message-flag-available-p): Define.
1832 (elmo-message-number): Ditto.
1834 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1835 (elmo-folder-initialize): Load `max-number'.
1836 (elmo-folder-commit): Save it.
1837 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1838 (elmo-global-flag-set-internal): Set up max-number slot.
1840 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1842 * elmo-version.el (elmo-version): Up to 2.11.31.
1844 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1846 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1847 unibyte string of the current buffer for the argument of `md5'
1848 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1850 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1852 * modb-legacy.el (modb-legacy-flag-list): New constant.
1853 (modb-legacy-suppoted-flag-p): New internal function.
1854 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1855 (elmo-msgdb-unset-flag): Ditto.
1857 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1859 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1861 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1864 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1866 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1867 (follow the API change).
1869 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1871 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1873 * modb-standard.el (modb-standard-digest-flags): Abolish.
1874 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1876 * elmo-vars.el (elmo-digest-flags): New variable.
1877 (elmo-preserved-flags): Moved from elmo-flag.el.
1879 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1880 (elmo-imap4-flag-to-imap-criteria): Ditto.
1881 (elmo-imap4-folder-list-flagged): Use it.
1883 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1885 * elmo.el (elmo-folder-count-flags): Changed return value.
1887 * elmo-flag.el (elmo-preserved-flags): New variable.
1888 (elmo-get-global-flags): Use it.
1890 * modb-standard.el (modb-standard-digest-flags): New variable.
1891 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1892 Changed behavior of `any'.
1894 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1895 which are defined the Internet draft
1896 (draft-melnikov-imap-keywords-03.txt).
1897 (elmo-imap4-flags-to-imap): New function.
1898 (elmo-folder-append-buffer): Use it.
1900 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1903 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1904 avoid the bug of Emacs 21.3.
1906 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1908 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1909 function find-coding-system does not exist.
1911 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1913 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1916 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1918 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1921 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1923 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1924 (elmo-network-close-session): Follow the changes in
1925 `elmo-pop3-read-response'.
1926 (elmo-pop3-auth-user): Ditto.
1927 (elmo-pop3-auth-apop): Ditto.
1928 (elmo-network-initialize-session): Ditto.
1929 (elmo-network-authenticate-session): Ditto.
1930 (elmo-network-setup-session): Ditto.
1931 (elmo-folder-status): Ditto.
1932 (elmo-message-fetch-plugged): Ditto.
1933 (elmo-pop3-delete-msg): Ditto.
1935 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1937 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1940 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1942 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1944 (elmo-bind-directory): Ditto.
1946 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1948 * elmo.el (elmo-folder-append-messages): Note on return value.
1949 * elmo-archive.el (elmo-folder-append-messages): Don't return
1950 message numbers which could not be appended.
1952 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1954 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1956 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1958 * elmo-version.el (elmo-version): Up to 2.11.30.
1960 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1962 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1965 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1967 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1968 (elmo-multi-split-numbers): Add elmo-folder object into each
1969 element of return value at first.
1970 (elmo-folder-delete-messages): Follow the above change.
1971 (elmo-folder-detach-messages): Ditto.
1973 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1974 number which is synchronized in target folder.
1976 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1978 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1979 Change default value to symbol `all'.
1980 (elmo-map-message-fetch): Change condition to update overview
1983 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1985 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1986 behavior to update overview.
1987 (elmo-shimbun-update-overview-folder-list): Note it.
1989 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1991 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1994 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1996 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1997 buffer-disable-undo, it is unnecessary.
1998 (elmo-spam-register-good-messages): Ditto.
2000 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2003 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2005 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2007 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2008 (elmo-set-work-buf): Use set-buffer-multibyte instead of
2009 elmo-set-buffer-multibyte.
2010 (elmo-object-load): Ditto.
2011 (elmo-save-buffer): Ditto.
2012 (elmo-delete-char): Ditto.
2013 (elmo-file-field-primitive-condition-match): Ditto.
2014 (elmo-mime-string): Ditto.
2016 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2017 (elmo-archive-field-condition-match): Ditto.
2019 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2021 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2023 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2024 (elmo-nntp-msgdb-create-message): Ditto.
2026 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2028 * elmo.el (elmo-message-match-condition): Ditto.
2029 (elmo-message-match-condition): Ditto.
2031 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2034 * elmo-version.el (elmo-version): Up to 2.11.29.
2036 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2037 (elsp-header): New backend.
2039 * elmo-util.el (elmo-decoded-field-body): New function.
2041 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2043 * elmo-version.el (elmo-version): Up to 2.11.28.
2045 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2047 * elmo-filter.el: Rewrite.
2049 * elmo-version.el (elmo-version): Up to 2.11.27.
2051 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
2053 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2054 msgdb path for the localdir folder with absolute path.
2056 * utf7.el: Synch up with latest gnus/utf7.el;
2057 Modified for latest Emacs.
2059 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2061 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2062 shimbun backend couldn't open.
2064 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
2066 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2067 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2068 when a destination folder is a filter folder.
2070 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2072 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2073 (elmo-generic-folder-append-messages): Call elmo-message-flags
2074 with argument `msgid'.
2076 * elmo-split.el (elmo-split-subr): Ditto.
2078 * elmo-pipe.el (elmo-message-flags): Follow the API change.
2080 * elmo-multi.el (elmo-message-flags): Ditto.
2082 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2084 * elmo.el (elmo-folder): Add new slot `flag-table'.
2085 (elmo-folder-flag-table): New API.
2086 (elmo-folder-close-flag-table): Ditto.
2087 (elmo-folder-preserve-flags): New function.
2088 (elmo-generic-folder-append-messages): Use
2089 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2090 Flag of a non-registered message, it sets to nil.
2091 Does not set flag to flag-table.
2093 * elmo-maildir.el (elmo-folder-append-buffer): Use
2094 `elmo-folder-preserve-flags'.
2095 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2096 `elmo-folder-close-flag-table'.
2098 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2099 (elmo-archive-folder-append-buffer): Use
2100 `elmo-folder-preserve-flags'.
2102 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2104 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2106 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2107 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2108 `elmo-folder-close-flag-table'.
2110 * elmo-version.el (elmo-version): Up to 2.11.26.
2112 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2114 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2116 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2117 md5's 4th and 5th argument (non-existent in flim one).
2119 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2121 * elmo-split.el (elmo-split-subr): Flag of a non-registered
2122 message, It sets to nil.
2124 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2126 * elmo.el (elmo-folder-list-messages): Merge lists only if both
2129 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
2131 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2133 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2135 * elmo-util.el (elmo-uniq-sorted-list): New function.
2136 (elmo-make-number-list): Ditto.
2137 (elmo-number-set-to-number-list): Use elmo-make-number-list
2138 and don't use nreverse.
2140 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2142 * elmo-version.el (elmo-version): Up to 2.11.25.
2144 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2146 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2147 field not exists in message, Use md5 message digest of header.
2149 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2151 * elmo.el (elmo-folder-append-buffer): Add note on return value.
2152 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2153 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2154 * elmo-split.el (elmo-split-subr): Check return value of
2155 elmo-folder-append-buffer.
2157 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2158 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2160 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2163 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
2165 * elmo-split.el (elmo-split-subr): Append message with flag.
2167 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2168 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2169 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2171 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
2173 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2174 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2175 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2177 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
2179 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2180 with a function call of `process-buffer'. All callers are updated.
2181 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
2182 Remove redundant `set-buffer' in a while loop.
2184 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
2186 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2189 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2191 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2192 elsp-spamfilter-register-buffer-internal with current buffer.
2193 (elmo-spam-register-spam-buffer): Ditto.
2194 (elmo-spam-register-good-buffer): Ditto.
2196 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2198 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2199 if it is not contained in the response(A workaround for courier-imap).
2201 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2203 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2206 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2208 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2211 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2213 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2216 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2218 (elmo-msgdb-message-match-condition): Follow the change above.
2220 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2222 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2225 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2227 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2229 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2231 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2233 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2235 * elmo-file.el (elmo-file-find): Fixed the problem when file is
2238 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
2240 * elmo-file.el (elmo-file-find): Use expand-file-name for return
2242 (elmo-file-command-argument): Undo last change for cygwin.
2243 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2245 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2247 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2249 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2250 value returned from elmo-file-find is nil.
2252 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2254 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2257 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2258 instead of insert-file-contents-as-binary.
2259 (elmo-message-set-field): New generic function.
2261 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2262 behavior change on `split-string'.
2264 * elmo-file.el (elmo-file-find): New function.
2265 (elmo-file-command): New user option.
2266 (elmo-file-command-argument): Ditto.
2267 (elmo-file-fetch-max-size): Ditto.
2268 (elmo-file-detect-format): New function.
2269 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2270 Use elmo-file-detect-format.
2271 (elmo-map-folder-list-message-locations): Don't treat directories.
2273 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2275 * elmo-util.el (elmo-string-partial-p): Removed unused function.
2276 (elmo-passwd-alist-clear): Shred password before clear.
2277 (elmo-remove-passwd): Remove all mached pair.
2279 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2281 * elmo.el (elmo-folder-synchronize): Fix description of the return
2284 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
2286 * elmo.el (elmo-message-fetch-bodystructure): New method.
2287 (elmo-message-fetch-bodystructure): Define default.
2289 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2290 elmo-message-fetch-bodystructure.
2291 (elmo-message-fetch-bodystructure): Define.
2293 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2295 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2297 * elmo-filter.el (elmo-message-folder): Define.
2299 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2301 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2302 elmo-delete-cr-buffer.
2304 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2306 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2308 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2310 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2311 type seems to be a text.
2313 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2315 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2316 (elmo-spam-register-good-buffer): Ditto.
2317 (elmo-spam-spamassassin-register-messages): Ditto.
2319 * elmo-util.el (elmo-string-member-ignore-case): Define with
2322 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2324 * elmo.el (elmo-folder-type): Undo last change.
2326 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2328 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2331 * elmo-file.el: New file.
2333 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2335 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2337 (elmo-spam-spamassassin-register-messages): New inline function.
2338 (elmo-spam-register-spam-messages): Define.
2339 (elmo-spam-register-good-messages): Ditto.
2341 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2344 * elmo.el (toplevel): Added autoload setting for
2345 `elmo-get-global-flags'.
2346 (elmo-message-has-global-flag-p): New function.
2347 (elmo-message-set-global-flags): Ditto.
2348 (elmo-folder-type): Improvement for name: format.
2350 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2351 availability of keyword flags.
2352 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2353 (elmo-folder-list-flagged-plugged): Renamed from
2354 elmo-folder-list-flagged-unplugged.
2355 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2356 accept any flag as keyword flag.
2357 (elmo-folder-set-flag-plugged): Accept keyword flags.
2358 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2360 * elmo-flag.el (elmo-get-global-flags): New function.
2362 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2365 * elmo-version.el (elmo-version): Up to 2.11.24.
2367 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2369 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2370 elmo-multiple-field-body instead of std11-field-body to check all
2373 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2375 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2378 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2380 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2381 unintern is unbound.
2383 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2385 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2386 Protect from infinite loop.
2388 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2390 * elsp-bogofilter.el
2391 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2392 (elmo-spam-bogofilter-register-messages): New internal function.
2393 (elmo-spam-register-spam-messages): Define.
2394 (elmo-spam-register-good-messages): Ditto.
2396 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2398 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2399 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2400 (elmo-spam-bogofilter-call): Fixed the last change.
2401 (elmo-spam-bogofilter-arguments): Ditto.
2403 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2404 Follow the options change of latest bogofilter.
2406 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2407 (elmo-spam-bogofilter-good-switch): Ditto.
2408 (elmo-spam-bogofilter-arguments-alist): New user option.
2409 (elmo-spam-bogofilter-debug): Ditto.
2410 (elmo-spam-bogofilter-call): Renamed from
2411 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2412 is non-nil, insert output in buffer for debug.
2413 (elmo-spam-bogofilter-arguments): New macro.
2414 (elmo-spam-buffer-spam-p): Use it.
2415 (elsp-bogofilter-register-buffer): Ditto.
2417 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2419 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2422 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2424 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2426 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2427 (elmo-spam-bsfilter-program): Set default value as full path for
2429 (elmo-spam-bsfilter-debug): New user option.
2430 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2431 non-nil, insert output in buffer for debug. Fix treating of
2434 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2436 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2437 `elmo-maildir-flag-specs' element instead of one.
2438 (elmo-map-folder-unset-flag): Ditto.
2439 (Reported by Ken Makimura <macky@astem.or.jp>)
2441 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2442 (elmo-folder-unset-flag-plugged): Ditto.
2444 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2446 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2447 to `reads' slot only if `in-msgdb' is nil.
2449 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2451 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2452 and complement argument list.
2454 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2456 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2457 instead of elmo-folder-list-flagged.
2459 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2461 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2463 * elsp-bsfilter.el: New file.
2465 * elmo-pipe.el (elmo-folder-list-unreads,
2466 elmo-folder-list-answereds,
2467 elmo-folder-list-importants,
2468 elmo-folder-flag-as-important,
2469 elmo-folder-unflag-important,
2470 elmo-folder-flag-as-read,
2471 elmo-folder-unflag-read,
2472 elmo-folder-flag-as-answered,
2473 elmo-folder-unflag-answered): Remove.
2474 (elmo-folder-set-flag): Define.
2475 (elmo-folder-unset-flag): Ditto.
2477 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2478 (elmo-folder-set-flag): Define.
2479 (elmo-folder-unset-flag): Ditto.
2480 (elmo-folder-list-unreads): Remove.
2481 (elmo-folder-list-flagged): Define.
2483 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2484 (elmo-folder-list-unreads,
2485 elmo-folder-list-importants,
2486 elmo-folder-list-answereds,
2487 elmo-folder-list-unreads-plugged,
2488 elmo-folder-list-importants-plugged,
2489 elmo-folder-list-answereds-plugged): Remove.
2490 (elmo-folder-list-flagged-plugged): New method.
2491 (elmo-folder-unflag-important,
2492 elmo-folder-flag-as-important,
2493 elmo-folder-unflag-read,
2494 elmo-folder-flag-as-read,
2495 elmo-folder-unflag-answered,
2496 elmo-folder-flag-as-answered,
2497 elmo-folder-flag-as-read-unplugged,
2498 elmo-folder-unflag-read-unplugged,
2499 elmo-folder-flag-as-important-unplugged,
2500 elmo-folder-unflag-important-unplugged,
2501 elmo-folder-flag-as-answered-unplugged,
2502 elmo-folder-unflag-answered-unplugged): Remove.
2503 (elmo-folder-set-flag): Define.
2504 (elmo-folder-unset-flag): Ditto.
2505 (elmo-folder-set-flag-unplugged): Ditto.
2506 (elmo-folder-unset-flag-unplugged): Ditto.
2508 * elmo-multi.el (elmo-folder-list-unreads,
2509 elmo-folder-list-answereds,
2510 elmo-folder-list-importants,
2511 elmo-folder-flag-as-important,
2512 elmo-folder-unflag-important,
2513 elmo-folder-flag-as-read,
2514 elmo-folder-unflag-read,
2515 elmo-folder-flag-as-answered,
2516 elmo-folder-unflag-answered): Remove.
2517 (elmo-folder-set-flag): Define.
2518 (elmo-folder-unset-flag): Ditto.
2520 * elmo-map.el (elmo-map-folder-unflag-important,
2521 elmo-map-folder-flag-as-important,
2522 elmo-map-folder-unflag-read,
2523 elmo-map-folder-flag-as-read,
2524 elmo-map-folder-unflag-answered,
2525 elmo-map-folder-flag-as-answered): Remove.
2526 (elmo-map-folder-set-flag): New method.
2527 (elmo-map-folder-unset-flag): Ditto.
2528 (elmo-map-folder-list-unreads,
2529 elmo-map-folder-list-importants,
2530 elmo-map-folder-list-answereds): Remove.
2531 (elmo-folder-list-flagged-internal): Define.
2532 (elmo-map-folder-list-flagged): New method.
2534 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2535 (elmo-map-folder-list-unreads,
2536 elmo-map-folder-list-importants,
2537 elmo-map-folder-list-flagged): Remove.
2538 (elmo-map-folder-list-flagged): Define.
2539 (elmo-map-folder-flag-as-important,
2540 elmo-map-folder-unflag-important,
2541 elmo-map-folder-flag-as-read,
2542 elmo-map-folder-unflag-read,
2543 elmo-map-folder-flag-as-answered,
2544 elmo-map-folder-unflag-answered): Remove.
2545 (elmo-maildir-set-mark-messages): New internal function.
2546 (elmo-map-folder-set-flag): Define.
2547 (elmo-map-folder-unset-flag): Ditto.
2549 * elmo.el (toplevel): Added autoload setting for
2550 `elmo-folder-list-global-flag-messages'.
2551 (elmo-folder-list-unreads,
2552 elmo-folder-list-importants,
2553 elmo-folder-list-answereds): Remove.
2554 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2555 Return a list whitch merged with messages have global flag.
2556 (elmo-folder-list-flagged-internal): New method.
2557 (elmo-folder-unflag-important,
2558 elmo-folder-flag-as-important,
2559 elmo-folder-unflag-read,
2560 elmo-folder-flag-as-read,
2561 elmo-folder-unflag-answered,
2562 elmo-folder-flag-as-answered): Remove.
2563 (elmo-folder-set-flag): New method.
2564 (elmo-folder-unset-flag): Ditto.
2565 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2566 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2568 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2569 (elmo-folder-list-unreads-plugged,
2570 elmo-folder-list-importants-plugged,
2571 elmo-folder-list-answereds-plugged,
2572 elmo-folder-list-flagged-unplugged,
2573 elmo-folder-unflag-important-plugged,
2574 elmo-folder-flag-as-important-plugged,
2575 elmo-folder-unflag-read-plugged,
2576 elmo-folder-flag-as-read-plugged,
2577 elmo-folder-unflag-answered-plugged,
2578 elmo-folder-flag-as-answered-plugged): Remove.
2579 (elmo-folder-set-flag-plugged,
2580 elmo-folder-unset-flag-plugged): Define.
2582 * elmo-flag.el (elmo-folder-initialize): Register to
2583 `elmo-global-flag-list' if flag is not global.
2584 (elmo-folder-append-messages): Set flag to source messages.
2586 * elmo-filter.el (elmo-filter-folder-list-unreads,
2587 elmo-folder-list-unreads,
2588 elmo-filter-folder-list-importants,
2589 elmo-folder-list-importants,
2590 elmo-folder-flag-as-read,
2591 elmo-folder-unflag-read,
2592 elmo-folder-flag-as-important,
2593 elmo-folder-unflag-important,
2594 elmo-folder-flag-as-answered,
2595 elmo-folder-unflag-answered): Remove.
2596 (elmo-folder-set-flag): Define.
2597 (elmo-folder-unset-flag): Ditto.
2599 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2600 elmo-folder-unflag-read-dop,
2601 elmo-folder-flag-as-important-dop,
2602 elmo-folder-unflag-important-dop,
2603 elmo-folder-flag-as-answered-dop,
2604 elmo-folder-unflag-answered-dop): Remove.
2605 (elmo-folder-set-flag-dop,
2606 elmo-folder-unset-flag-dop,
2607 elmo-folder-set-important-delayed,
2608 elmo-folder-unset-important-delayed,
2609 elmo-folder-set-read-delayed,
2610 elmo-folder-unset-read-delayed,
2611 elmo-folder-set-answered-delayed,
2612 elmo-folder-unset-answered-delayed): New function.
2613 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2614 (elmo-dop-queue-method-name-alist): Ditto.
2616 * elmo-version.el (elmo-version): Up to 2.11.23.
2618 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2620 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2622 * elsp-sa.el: New file.
2624 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2626 * modb-standard.el (modb-standard-message-entity): New function.
2627 (elmo-msgdb-message-entity): Use it.
2629 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2631 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2632 behavior when one-level is nil.
2634 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2636 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2638 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2640 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2642 (elmo-generic-folder-diff): Ditto.
2644 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2645 (elmo-folder-update-number): Ditto.
2647 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2648 (elmo-folder-next-message-number-dop): Ditto.
2650 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2652 * elmo-filter.el (elmo-folder-msgdb-create): Use
2653 `elmo-message-entity' and `elmo-message-flags' instead of
2654 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2656 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2658 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2661 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2663 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2665 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2667 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2669 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2671 * elmo-version.el (elmo-version): Up to 2.11.22.
2673 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2675 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2677 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2679 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2680 if the message dose not exist.
2682 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2684 * elmo-version.el (elmo-version): Up to 2.11.21.
2686 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2688 * modb-standard.el (toplevel): Don't require mime.
2690 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2692 * elsp-bogofilter.el (toplevel): Don't require path-util.
2693 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2694 (elmo-spam-bogofilter-header): Abolish.
2695 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2696 (elmo-spam-bogofilter-args): New user option.
2697 (elsp-bogofilter-call-bogofilter): New internal function.
2698 (elmo-spam-buffer-spam-p): Use it.
2699 (elsp-bogofilter-register-buffer): Renamed from
2700 `elmo-spam-bogofilter-register-buffer';
2701 Use `elsp-bogofilter-call-bogofilter'.
2702 (elmo-spam-register-spam-buffer): Follow the change above.
2703 (elmo-spam-register-good-buffer): Ditto.
2705 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2707 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2708 message-id is nil do nothing.
2710 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2712 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2714 (elmo-imap4-session): Removed use-flag slot.
2715 (elmo-imap4-session-select-mailbox): Undo last change.
2716 (elmo-folder-use-flag-p): Use
2717 elmo-imap4-disuse-server-flag-mailbox-regexp.
2719 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2721 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2722 (elmo-imap4-session-select-mailbox): Set it up.
2723 (elmo-folder-use-flag-p): Return value of use-flag slot.
2725 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2727 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2729 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2731 * modb-entity.el (elmo-message-entity-handler): Likewise.
2733 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2735 * elmo.el (toplevel): Remove setting of autoloding for
2736 elmo-global-flag-initialize.
2737 (elmo-init): Don't call elmo-global-flag-initialize.
2738 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2740 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2741 (elmo-global-mark-migrate): Don't call it.
2742 (elmo-global-mark-upgrade): Ditto.
2744 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2746 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2747 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2749 * elmo-vars.el (elmo-init-hook): New user option.
2751 * elmo.el (elmo-init): Run the elmo-init-hook.
2753 * elmo-flag.el (elmo-global-mark-migrate): New function.
2755 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2757 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2758 Undo last change (move to elmo-msgdb-unset-flag).
2759 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2762 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2764 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2766 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2767 (elmo-msgdb-unset-flag): Ditto.
2769 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2771 * elmo-split.el (elmo-split): Return split message count.
2773 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2775 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2778 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2780 * elmo.el (elmo-folder-unflag-important): Call
2781 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2784 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2786 (elmo-global-flag-detach): Delete the message from flag folder, if
2787 `delete-if-none' is a symbol `always'.
2789 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2791 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2792 `elmo-spam-spamfilter-decode-buffer'.
2793 (elsp-spamfilter-register-buffer-internal): New internal function.
2794 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2795 (elmo-spam-register-spam-buffer): Ditto.
2796 (elmo-spam-register-good-buffer): Ditto.
2798 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2800 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2801 (elmo-spam-register-spam-buffer): Follow the API change.
2802 (elmo-spam-register-good-buffer): Ditto.
2804 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2805 (elmo-split-spam-p): Added argument plist; Call
2806 `elmo-spam-buffer-spam-p' with new argument register.
2808 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2810 (elmo-spam-message-spam-p): Ditto.
2811 (elmo-spam-register-spam-buffer): Added optional argument
2813 (elmo-spam-register-good-buffer): Ditto.
2814 (elmo-spam-register-spam-messages): Ditto.
2815 (elmo-spam-register-good-messages): Ditto.
2817 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2819 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2820 register into good corpus.
2821 (elmo-spam-register-good-buffer): Fixed to register into bad
2824 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2826 * elmo-version.el (elmo-version): Up to 2.11.20.
2828 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2831 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2832 flag without depending on \Recent flag.
2834 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2836 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2837 (elmo-spam-modified-p): Defined.
2838 (elmo-spam-save-status): Set `modified' slot to nil.
2839 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2840 (elmo-spam-register-good-buffer): Ditto.
2842 * elmo-spam.el (elmo-spam-modified-p): New API.
2844 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2846 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2847 duplicate definition.
2849 * elmo-util.el (elmo-unfold-field-body): New function.
2850 (elmo-msgdb-get-message-id-from-buffer): Use it.
2852 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2853 Fixed the last change; Use elmo-unfold-field-body.
2855 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2857 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2860 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2862 * elmo-spam.el (elmo-spam-save-status): New API.
2864 * elsp-spamfilter.el: New file.
2866 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2868 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2870 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2872 * elmo-split.el (elmo-split-spam-p): New function.
2874 * elmo-spam.el: New file.
2876 * elsp-bogofilter.el: Ditto.
2878 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2880 * elmo.el (elmo-folder-next-message-number): New API.
2881 (elmo-folder-next-message-number): Define.
2882 (elmo-message-field): Don't check folder length.
2884 * elmo-net.el (elmo-folder-next-message-number): Define.
2885 (elmo-folder-next-message-number-unplugged): Define.
2887 * elmo-map.el (elmo-folder-next-message-number): Define.
2888 (elmo-folder-delete-messages): Clear hash value.
2890 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2892 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2893 (elmo-folder-delete-messages-dop-delayed): Always return t.
2895 * elmo-version.el (elmo-version): Up to 2.11.19.
2897 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2899 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2902 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2903 identical cons cell into the mark-alist and the hash table.
2905 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2907 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2908 elmo-folder-list-messages with argument `visible-only' as t.
2910 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2911 (elmo-folder-msgdb-create): Check the target folder.
2913 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2915 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2916 `permanentflag' instead of `flags'.
2917 (elmo-folder-open): Ditto.
2918 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2919 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2920 (elmo-folder-use-flag-p): Always return t.
2921 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2922 `permanentflags' does not exist.
2923 (elmo-folder-open): Ditto.
2925 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2927 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2929 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2931 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2932 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2934 (elmo-folder-open): Ditto.
2935 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2936 slot of the session includes the flag.
2937 (elmo-imap4-session-flag-available-p): New function.
2938 (elmo-imap4-folder-list-flagged): Ditto.
2939 (elmo-folder-list-unreads-plugged): Use it.
2940 (elmo-folder-list-importants-plugged): Ditto.
2941 (elmo-folder-list-answereds-plugged): Ditto.
2942 (elmo-imap4-search-internal-primitive): Ditto.
2943 (elmo-imap4-folder-list-any-plugged,
2944 elmo-imap4-folder-list-digest-plugged): Abolish.
2946 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2949 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2951 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2953 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2955 * elmo-util.el (elmo-get-hash-val): Simplify.
2956 (elmo-set-hash-val): Rewrite.
2958 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2960 * elmo.el (elmo-folder-list-messages): Append killed messages into
2961 result if `visible-only' is nil and `in-msgdb' is non-nil.
2963 * elmo-util.el (elmo-uniq-list): Added optional argument
2966 * modb.el (elmo-msgdb-flag-count): New API.
2968 * modb-standard.el (modb-standard): Added slot flag-count.
2969 (modb-standard-countup-flags): New function.
2970 (modb-standard-load-flag): Call it.
2971 (elmo-msgdb-append): Ditto.
2972 (elmo-msgdb-clear): Clear slot flag-count.
2973 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2974 (elmo-msgdb-unset-flag): Treat `all' flag and call
2975 modb-standard-countup-flags.
2976 (elmo-msgdb-flag-count): Define.
2977 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2978 (elmo-msgdb-delete-messages): Ditto.
2980 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2981 (elmo-msgdb-flag-count): Define.
2983 * elmo.el (elmo-folder-list-messages): Undo last change.
2984 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2985 (elmo-folder-kill-messages): Unset all flags to numbers.
2987 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2988 elmo-folder-kill-messages.
2990 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2991 (elmo-nntp-folder-delete-messages): Abolish.
2993 * elmo-version.el (elmo-version): Up to 2.11.18.
2995 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2997 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2998 (elmo-folder-kill-messages-range): New function.
2999 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3000 instead of elmo-folder-kill-messages-before.
3002 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
3004 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3005 elmo-imap4-current-msgdb to decide entity handler.
3007 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3009 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3011 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3013 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3014 (elmo-msgdb-overview-entity-set-number,
3015 elmo-msgdb-overview-entity-get-references,
3016 elmo-msgdb-overview-entity-set-references,
3017 elmo-msgdb-overview-entity-get-from-no-decode,
3018 elmo-msgdb-overview-entity-get-from,
3019 elmo-msgdb-overview-entity-set-from,
3020 elmo-msgdb-overview-entity-get-subject,
3021 elmo-msgdb-overview-entity-get-subject-no-decode,
3022 elmo-msgdb-overview-entity-set-subject,
3023 elmo-msgdb-overview-entity-get-date,
3024 elmo-msgdb-overview-entity-set-date,
3025 elmo-msgdb-overview-entity-get-to,
3026 elmo-msgdb-overview-entity-get-cc,
3027 elmo-msgdb-overview-entity-get-size,
3028 elmo-msgdb-overview-entity-set-size,
3029 elmo-msgdb-overview-entity-get-extra,
3030 elmo-msgdb-overview-entity-set-extra,
3031 elmo-msgdb-overview-entity-get-extra-field,
3032 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3033 (elmo-msgdb-make-index): Use
3034 `elmo-msgdb-overview-entity-get-number-internal'.
3035 (elmo-msgdb-clear-index): Ditto.
3036 (elmo-msgdb-append-entity): Ditto;
3037 Use `elmo-msgdb-overview-entity-get-id-internal'.
3039 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3040 elmo-msgdb-overview-entity-set-number,
3041 elmo-msgdb-overview-entity-get-references,
3042 elmo-msgdb-overview-entity-set-references,
3043 elmo-msgdb-overview-entity-get-from-no-decode,
3044 elmo-msgdb-overview-entity-get-from,
3045 elmo-msgdb-overview-entity-set-from,
3046 elmo-msgdb-overview-entity-get-subject,
3047 elmo-msgdb-overview-entity-get-subject-no-decode,
3048 elmo-msgdb-overview-entity-set-subject,
3049 elmo-msgdb-overview-entity-get-date,
3050 elmo-msgdb-overview-entity-set-date,
3051 elmo-msgdb-overview-entity-get-to,
3052 elmo-msgdb-overview-entity-get-cc,
3053 elmo-msgdb-overview-entity-get-size,
3054 elmo-msgdb-overview-entity-set-size,
3055 elmo-msgdb-overview-entity-get-extra,
3056 elmo-msgdb-overview-entity-set-extra,
3057 elmo-msgdb-overview-entity-get-extra-field,
3058 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3059 and rewrote for backward compatibility.
3061 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3063 * elmo.el (elmo-message-entity-number,
3064 elmo-message-entity-set-number,
3065 elmo-message-entity-field,
3066 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3068 * elmo-msgdb.el (elmo-message-entity-number,
3069 elmo-message-entity-set-number,
3070 elmo-message-entity-field,
3071 elmo-message-entity-set-field): Moved from elmo.el.
3073 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3075 * elmo.el (toplevel): Changed definition orders.
3077 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3079 * modb.el (elmo-msgdb-search): New API .
3080 (elmo-msgdb-match-condition): Ditto.
3082 * modb-standard.el (elmo-msgdb-search): Define.
3084 * modb-legacy.el (elmo-msgdb-search): Ditto.
3086 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3087 from elmo-msgdb-match-condition-internal.
3089 * elmo.el (elmo-folder-search-fast): Abolish.
3090 (elmo-folder-search): Use elmo-msgdb-search and
3091 elmo-with-progress-display.
3093 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3096 * elmo.el (elmo-folder): Remove slot message-modified and
3098 (elmo-folder-set-message-modified): Abolish.
3099 (elmo-generic-folder-commit): Follow the change above.
3100 (elmo-folder-synchronize): Ditto.
3102 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3104 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3106 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3108 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3110 * modb-standard.el (modb-standard-make-message-entity,
3111 elmo-msgdb-make-message-entity,
3112 elmo-msgdb-create-message-entity-from-buffer,
3113 elmo-msgdb-message-entity-number,
3114 elmo-msgdb-message-entity-set-number,
3115 elmo-msgdb-message-entity-field,
3116 elmo-msgdb-message-entity-set-field,
3117 elmo-msgdb-copy-message-entity,
3118 elmo-msgdb-match-condition-internal): Remove.
3120 * modb-entity.el: New file (again).
3122 * modb.el (toplevel): Require modb-entity.
3123 (elmo-msgdb-message-entity-handler): New method.
3125 * modb-standard.el (modb-standard-entity-id): Use
3126 elmo-message-entity-handler.
3127 (modb-standard-load-entity): Ditto.
3128 (elmo-msgdb-append-entity): Ditto.
3129 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3131 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3132 elmo-msgdb-decoded-cache-hashtb,
3133 (modb-legacy-make-message-entity,
3134 elmo-msgdb-make-message-entity,
3135 elmo-msgdb-create-message-entity-from-buffer,
3136 elmo-msgdb-message-entity-number,
3137 elmo-msgdb-message-entity-set-number,
3138 elmo-msgdb-message-entity-field,
3139 elmo-msgdb-message-entity-set-field,
3140 elmo-msgdb-copy-message-entity,
3141 elmo-msgdb-match-condition-internal,
3142 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3144 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3145 (elmo-message-entity-set-number): Ditto.
3146 (elmo-message-entity-field): Ditto.
3147 (elmo-message-entity-set-field): Ditto.
3149 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3151 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3153 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3155 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3156 (elmo-nntp-msgdb-create-message): Ditto.
3158 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3159 (elmo-folder-msgdb-create): Add unread flag.
3161 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3163 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3165 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3167 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3169 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3170 elmo-msgdb-messge-entity-handler.
3171 * elmo-version.el (elmo-version): Up to 2.11.17.
3173 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3175 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3178 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3180 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3182 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3183 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3184 (elmo-msgdb-flag-table): Ditto.
3185 (elmo-msgdb-sort-by-date): Ditto.
3187 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3189 * modb-standard.el (toplevel): Require mime.
3190 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3191 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3192 elmo-msgdb-message-entity-number.
3193 (elmo-msgdb-append-entity): Ditto.
3194 (elmo-msgdb-create-message-entity-from-file): Remove.
3195 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3196 corresponds to the entity.
3197 (elmo-msgdb-message-entity-number): Do nothing currently.
3198 (elmo-msgdb-message-entity-field): Ditto.
3199 (elmo-msgdb-message-entity-set-field): Ditto.
3200 (elmo-msgdb-copy-message-entity): Ditto.
3201 (elmo-msgdb-match-condition-internal): Ditto.
3203 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3205 (elmo-msgdb-create-message-entity-from-file): Remove.
3207 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3209 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3211 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3213 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3215 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3216 (elmo-msgdb-message-entity-field): Ditto.
3217 (elmo-msgdb-message-entity-number): Ditto.
3219 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3221 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3222 Fixed how to set extra field into entity.
3223 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3226 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3227 Fixed how to set extra field into entity.
3228 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3231 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3233 * modb.el (elmo-message-entity-db): New function.
3234 (elmo-msgdb-make-message-entity): New API.
3235 (elmo-msgdb-message-entity-number): Ditto.
3236 (elmo-msgdb-message-entity-set-number): Ditto.
3237 (elmo-msgdb-message-entity-field): Ditto.
3238 (elmo-msgdb-message-entity-set-field): Ditto.
3239 (elmo-msgdb-copy-message-entity): Ditto.
3240 (elmo-msgdb-create-message-entity-from-file): Ditto.
3241 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3242 (elmo-msgdb-match-condition-internal): Ditto.
3244 * modb-standard.el (modb-legacy): Require modb-legacy.
3245 (modb-standard-make-message-entity): New inline function.
3246 (elmo-msgdb-make-message-entity): Define.
3247 (elmo-msgdb-create-message-entity-from-file): Ditto.
3248 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3249 (elmo-msgdb-message-entity-field): Ditto.
3250 (elmo-msgdb-message-entity-set-field): Ditto.
3251 (elmo-msgdb-copy-message-entity): Ditto.
3252 (elmo-msgdb-match-condition-internal): Ditto.
3254 * modb-legacy.el: Don't require modb-entity.
3255 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3256 (elmo-msgdb-match-condition-primitive): Ditto.
3257 (elmo-msgdb-get-decoded-cache): Ditto.
3258 (elmo-msgdb-overview-entity-get-id): Ditto.
3259 (elmo-msgdb-overview-entity-get-number): Ditto.
3260 (elmo-msgdb-overview-entity-set-number): Ditto.
3261 (elmo-msgdb-overview-entity-get-references): Ditto.
3262 (elmo-msgdb-overview-entity-set-references): Ditto.
3263 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3264 (elmo-msgdb-overview-entity-get-from): Ditto.
3265 (elmo-msgdb-overview-entity-set-from): Ditto.
3266 (elmo-msgdb-overview-entity-get-subject): Ditto.
3267 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3268 (elmo-msgdb-overview-entity-set-subject): Ditto.
3269 (elmo-msgdb-overview-entity-get-date): Ditto.
3270 (elmo-msgdb-overview-entity-set-date): Ditto.
3271 (elmo-msgdb-overview-entity-get-to): Ditto.
3272 (elmo-msgdb-overview-entity-get-cc): Ditto.
3273 (elmo-msgdb-overview-entity-get-size): Ditto.
3274 (elmo-msgdb-overview-entity-set-size): Ditto.
3275 (elmo-msgdb-overview-entity-get-extra): Ditto.
3276 (elmo-msgdb-overview-entity-set-extra): Ditto.
3277 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3278 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3279 (elmo-msgdb-number-load): Ditto.
3280 (elmo-msgdb-overview-load): Ditto.
3281 (elmo-msgdb-mark-load): Ditto.
3282 (elmo-msgdb-number-save): Ditto.
3283 (elmo-msgdb-mark-save): Ditto.
3284 (elmo-msgdb-overview-save): Ditto.
3285 (modb-legacy-make-message-entity): New inline function.
3286 (elmo-msgdb-insert-file-header): Ditto.
3287 (elmo-msgdb-make-message-entity): Define.
3288 (elmo-msgdb-create-message-entity-from-file): Ditto.
3289 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3290 (elmo-msgdb-message-entity-number): Ditto.
3291 (elmo-msgdb-message-entity-set-number): Ditto.
3292 (elmo-msgdb-message-entity-field): Ditto.
3293 (elmo-msgdb-message-entity-set-field): Ditto.
3294 (elmo-msgdb-copy-message-entity): Ditto.
3295 (elmo-msgdb-match-condition-internal): Ditto.
3297 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3298 (elmo-message-copy-entity): Rewrite.
3299 (elmo-message-entity-number): Ditto.
3300 (elmo-message-entity-set-number): Ditto.
3301 (elmo-message-entity-field): Use elmo-message-entity-db.
3302 (elmo-message-entity-set-field): Ditto.
3303 (elmo-message-field): Rewrite.
3305 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3307 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3309 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3310 elmo-message-entity-field.
3311 (elmo-shimbun-folder-shimbun-header): Ditto.
3312 (elmo-shimbun-entity-to-header): Ditto.
3313 (elmo-folder-msgdb-create): Ditto.
3314 (elmo-shimbun-msgdb-create-entity): Ditto;
3315 Use elmo-msgdb-create-message-entity-from-buffer.
3316 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3317 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3319 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3320 elmo-msgdb-create-message-entity-from-file and
3321 elmo-message-entity-field.
3323 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3324 elmo-message-entity-number.
3325 (elmo-pop3-msgdb-create-message): Use
3326 elmo-msgdb-create-message-entity-from-buffer,
3327 elmo-message-entity-set-field, elmo-message-entity-number and
3328 elmo-message-entity-set-number.
3330 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3331 the API change in elmo-msgdb-make-message-entity.
3332 (elmo-nntp-msgdb-create-message): Use
3333 elmo-msgdb-create-message-entity-from-buffer.
3335 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3336 elmo-message-entity-field and
3337 elmo-msgdb-create-message-entity-from-file.
3339 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3340 (elmo-msgdb-get-field): Abolish.
3341 (elmo-msgdb-get-number): Rewrite.
3342 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3343 (elmo-msgdb-flag-table): Ditto.
3344 (elmo-msgdb-get-last-message-id,
3345 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3346 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3347 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3348 (elmo-msgdb-create-overview-from-buffer,
3349 elmo-msgdb-overview-get-parent-entity): Abolish.
3351 * elmo-mime.el (elmo-mime-display-as-is): Use
3352 elmo-message-entity-field.
3354 * elmo-map.el (elmo-folder-pack-numbers): Use
3355 elmo-message-entity-set-number.
3357 * elmo-maildir.el (elmo-folder-msgdb-create):
3358 elmo-msgdb-create-message-entity-from-file instead of
3359 elmo-msgdb-create-overview-entity-from-file.
3361 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3363 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3364 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3366 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3367 elmo-messge-entity-field and elmo-message-entity-number.
3368 (elmo-imap4-fetch-callback-1): Call
3369 elmo-msgdb-create-message-entity-from-buffer instead of
3370 elmo-msgdb-create-overview-from-buffer.
3371 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3372 (elmo-find-fetch-strategy): Likewise.
3374 * elmo-flag.el (elmo-folder-msgdb-create): Call
3375 elmo-localdir-msgdb-create-entity with argument msgdb.
3377 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3378 and elmo-message-entity-set-number.
3380 * elmo-cache.el (elmo-folder-msgdb-create): Use
3381 elmo-message-entity-field.
3382 (elmo-folder-msgdb-create): Call
3383 elmo-msgdb-create-message-entity-from-file instead of
3384 elmo-msgdb-create-overview-entity-from-file.
3386 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3387 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3388 instead of elmo-msgdb-create-overview-from-buffer.
3389 (elmo-archive-msgdb-create-entity): Ditto.
3390 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3391 elmo-message-entity-field.
3392 (elmo-archive-parse-mmdf): Ditto.
3394 * modb-entity.el: Removed.
3396 * elmo-version.el (elmo-version): Up to 2.11.16.
3398 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3400 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3402 (elmo-folder-flag-as-answered): Ditto.
3404 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3406 * modb-standard.el: New file.
3408 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3409 elmo-msgdb-convert-type is `sync'.
3411 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3412 (elmo-msgdb-convert-type): New user option.
3414 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3415 (elmo-load-msgdb): Auto detect saved type.
3417 * elmo-version.el (elmo-version): Up to 2.11.15.
3419 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3421 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3423 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3424 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3425 with argument `delete-if-none' when dst-folder is 'null.
3427 * elmo-flag.el (elmo-folder-append-messages): Defined.
3428 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3430 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3432 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3434 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3436 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3437 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3438 (elmo-folder-commit): Ditto.
3440 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3442 * elmo-flag.el: New file.
3444 * elmo-mark.el: Removed.
3446 * modb-legacy.el (modb-legacy-new-mark,
3447 modb-legacy-unread-uncached-mark,
3448 modb-legacy-unread-cached-mark,
3449 modb-legacy-read-uncached-mark,
3450 modb-legacy-answered-cached-mark,
3451 modb-legacy-answered-uncached-mark,
3452 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3453 All other related portions are changed.
3455 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3456 (elmo-folder-list-messages-with-global-mark): Abolish.
3457 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3458 (elmo-folder-flag-as-important): Ditto.
3459 (elmo-folder-unflag-read): Ditto.
3460 (elmo-folder-flag-as-read): Ditto.
3461 (elmo-folder-unflag-answered): Ditto.
3462 (elmo-folder-flag-as-answered): Ditto.
3463 (elmo-message-encache): Return the cache path.
3464 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3465 (elmo-message-set-flag): Transitional implementation.
3466 (elmo-message-unset-flag): Ditto.
3467 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3468 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3469 (elmo-init): Call elmo-global-flag-initialize.
3470 (toplevel): Added autoload settings for elmo-flag.
3472 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3474 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3475 (elmo-file-cache-delete): Don't treat global-mark.
3477 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3479 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3481 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3482 `elmo-global-flags-set'.
3484 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3486 (elmo-folder-unflag-read): Ditto.
3487 (elmo-folder-unflag-important): Ditto.
3488 (elmo-folder-flag-as-important): Ditto.
3489 (elmo-folder-unflag-answered): Ditto.
3490 (elmo-folder-flag-as-answered): Ditto.
3492 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3493 `elmo-global-flags-set'.
3494 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3496 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3498 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3500 (elmo-folder-flag-as-important): Ditto.
3501 (elmo-folder-unflag-important): Ditto.
3502 (elmo-folder-flag-as-important): Ditto.
3503 (elmo-folder-unflag-read): Ditto.
3504 (elmo-folder-flag-as-read): Ditto.
3505 (elmo-folder-unflag-answered): Ditto.
3506 (elmo-folder-flag-as-answered): Ditto.
3508 * elmo-multi.el (elmo-folder-list-importants): Don't call
3509 elmo-folder-list-messages-with-global-mark.
3510 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3511 (elmo-folder-unflag-important): Ditto.
3512 (elmo-folder-flag-as-read): Ditto.
3513 (elmo-folder-unflag-read): Ditto.
3514 (elmo-folder-flag-as-answered): Ditto.
3515 (elmo-folder-unflag-answered): Ditto.
3517 * elmo-msgdb.el (elmo-msgdb-new-mark,
3518 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3519 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3520 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3521 (Moved to modb-legacy.el).
3522 (elmo-flag-table-get): Treat important flag too.
3524 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3526 (elmo-map-folder-flag-as-important): Ditto.
3527 (elmo-map-folder-unflag-read): Ditto.
3528 (elmo-map-folder-flag-as-read): Ditto.
3529 (elmo-map-folder-unflag-answered): Ditto.
3530 (elmo-map-folder-flag-as-answered): Ditto.
3531 (elmo-folder-unflag-important): Ditto.
3532 (elmo-folder-flag-as-important): Ditto.
3533 (elmo-folder-unflag-read): Ditto.
3534 (elmo-folder-flag-as-read): Ditto.
3535 (elmo-folder-unflag-answered): Ditto.
3536 (elmo-folder-flag-as-answered): Ditto.
3538 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3539 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3541 (elmo-map-folder-unflag-important): Ditto.
3542 (elmo-map-folder-flag-as-read): Ditto.
3543 (elmo-map-folder-unflag-read): Ditto.
3544 (elmo-map-folder-flag-as-answered): Ditto.
3545 (elmo-map-folder-unflag-answered): Ditto.
3547 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3548 `elmo-global-flags-set'.
3549 (elmo-global-flags-set): Added autoload setting.
3551 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3554 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3555 `elmo-msgdb-global-mark-set'.
3556 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3557 Call `elmo-global-flags-set'.
3558 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3560 (elmo-folder-flag-as-important-plugged): Ditto.
3561 (elmo-folder-unflag-read-plugged): Ditto.
3562 (elmo-folder-flag-as-read-plugged): Ditto.
3563 (elmo-folder-unflag-answered-plugged): Ditto.
3564 (elmo-folder-flag-as-answered-plugged): Ditto.
3565 (elmo-global-flags-set): Added autoload setting.
3567 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3569 (elmo-folder-unflag-read): Ditto.
3570 (elmo-folder-flag-as-important): Ditto.
3571 (elmo-folder-unflag-important): Ditto.
3572 (elmo-folder-flag-as-answered): Ditto.
3573 (elmo-folder-unflag-answered): Ditto.
3575 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3576 change of `mark'->`flag'.
3577 (elmo-dop-queue-method-name-alist): Ditto.
3578 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3579 (elmo-folder-unflag-read-dop): Ditto.
3580 (elmo-folder-flag-as-important-dop): Ditto.
3581 (elmo-folder-unflag-important-dop): Ditto.
3582 (elmo-folder-flag-as-answered-dop): Ditto.
3583 (elmo-folder-unflag-answered-dop): Ditto.
3585 * elmo-cache.el (elmo-folder-msgdb-create): Call
3586 `elmo-global-flags-set'.
3588 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3589 Call `elmo-global-flags-set'.
3590 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3591 elmo-archive-parse-mmdf with argument `folder'.
3592 (elmo-archive-parse-mmdf): Added argument `folder';
3593 Call `elmo-global-flags-set'.
3595 * elmo-version.el (elmo-version): Up to 2.11.14.
3597 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3599 * modb.el (elmo-msgdb-length): Define.
3601 * elmo.el (elmo-make-folder): Fixed.
3602 (elmo-generic-folder-append-messages): Follow the API change.
3604 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3607 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3609 * modb.el: New file.
3611 * modb-entity.el: Ditto.
3613 * modb-legacy.el: Ditto.
3615 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3616 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3617 of `elmo-msgdb-overview-get-entity'.
3618 (elmo-msgdb-get-field): Ditto.
3619 (elmo-msgdb-merge): Moved to `elmo.el'.
3620 (elmo-msgdb-length): Removed; redefine as modb method.
3621 (elmo-msgdb-change-mark): Abolish.
3622 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3623 (elmo-msgdb-match-condition): Don't use mark.
3624 (elmo-msgdb-overview-get-entity): Abolish.
3625 Split modb part into `modb*.el'.
3627 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3629 * elmo-shimbun.el (shimbun-mua-search-id): Use
3630 `elmo-msgdb-message-entity' instead of
3631 `elmo-msgdb-overview-get-entity'.
3632 (elmo-shimbun-folder-shimbun-header): Ditto.
3633 (elmo-shimbun-get-headers): Ditto.
3634 (elmo-shimbun-update-overview): Ditto.
3636 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3638 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3640 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3641 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3643 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3644 `elmo-msgdb-mark-to-flags'.
3646 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3647 `elmo-msgdb-set-path'.
3649 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3651 * elmo-version.el (elmo-version): Up to 2.11.13.
3653 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3655 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3658 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3660 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3663 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3665 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3666 instead of `elmo-msgdb-get-cached'.
3667 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3669 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3670 (elmo-msgdb-set-cached): Ditto.
3671 (elmo-msgdb-set-flag): Rewrite.
3672 (elmo-msgdb-unset-flag): Ditto.
3674 * elmo-msgdb.el: Rewrite with luna.
3676 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3677 (elmo-folder-msgdb): Follow the change above.
3678 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3679 (elmo-folder-unmark-important): Follow the API change.
3680 (elmo-folder-mark-as-important): Ditto.
3681 (elmo-folder-unmark-read): Ditto.
3682 (elmo-folder-mark-as-read): Ditto.
3683 (elmo-folder-unmark-answered): Ditto.
3684 (elmo-folder-mark-as-answered): Ditto.
3685 (elmo-folder-clear): Likewise.
3687 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3688 instead of `elmo-msgdb-load' (renamed).
3690 * elmo-version.el (elmo-version): Up to 2.11.12.
3692 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3694 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3696 (elmo-message-mark): Abolish.
3697 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3698 instead of `elmo-msgdb-change-mark'.
3700 * elmo-pipe.el (elmo-message-mark): Abolish.
3702 * elmo-multi.el (elmo-message-mark): Ditto.
3704 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3705 (elmo-msgdb-unread-uncached-mark): Ditto.
3706 (elmo-msgdb-unread-cached-mark): Ditto.
3707 (elmo-msgdb-read-uncached-mark): Ditto.
3708 (elmo-msgdb-answered-cached-mark): Ditto.
3709 (elmo-msgdb-answered-uncached-mark): Ditto.
3710 (elmo-msgdb-important-mark): Ditto.
3711 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3713 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3715 (elmo-flag-table-load): Changed flag to list of flag.
3716 (elmo-flag-table-set): If flags is nil, set read flag.
3717 (elmo-flag-table-get): Return derived flags from global mark,
3718 cache status and saved flags.
3719 (elmo-msgdb-flag-table): Follow the change above.
3720 (elmo-msgdb-out-of-date-messages): New function.
3722 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3724 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3726 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3728 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3729 (elmo-nntp-msgdb-create-message): Ditto.
3731 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3733 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3735 (elmo-folder-msgdb-create): Follow the API change.
3737 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3738 (elmo-folder-append-messages): Ditto.
3740 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3741 (elmo-folder-append-buffer): Ditto.
3743 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3745 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3747 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3748 (elmo-archive-parse-mmdf): Ditto.
3750 * elmo-version.el (elmo-version): Up to 2.11.11.
3752 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3754 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3757 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3759 * elmo-pipe.el (elmo-message-flags): Defined.
3761 * elmo-multi.el (elmo-message-flags): Ditto.
3763 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3765 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3766 `elmo-msgdb-delete-msgs'.
3768 * elmo.el (elmo-folder-count-flags): Don't use
3769 `elmo-msgdb-get-mark-alist'.
3770 (elmo-folder-detach-messages): Follow the API change.
3772 * elmo.el (elmo-folder-list-messages): Append killed messages into
3773 result if `visible-only' is nil.
3775 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3777 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3778 (elmo-folder-update-number): Likewise.
3780 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3781 (elmo-pop3-sort-msgdb-by-original-number): Use
3782 `elmo-msgdb-sort-entities'.
3784 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3785 (elmo-msgdb-sort-by-date): Use it.
3786 (elmo-msgdb-overview-sort-by-date): Abolish.
3788 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3790 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3791 (elmo-msgdb-flags): New function.
3792 (elmo-msgdb-merge): Use elmo-msgdb-append.
3794 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3797 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3799 * elmo-dop.el (elmo-folder-status-dop): Use
3800 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3802 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3804 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3806 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3808 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3810 * elmo-util.el (elmo-with-progress-display): New macro.
3812 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3814 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3816 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3817 `elmo-folder-list-message-entities' instead of
3818 `elmo-msgdb-get-overview'.
3819 (elmo-map-folder-list-message-locations): Ditto.
3821 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3822 methods instead of treat directly).
3823 (elmo-msgdb-clear): Ditto.
3824 (elmo-msgdb-delete-msgs): Ditto.
3825 (elmo-msgdb-sort-by-date): Ditto.
3827 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3829 (elmo-nntp-folder-msgdb-create): Follow the API change.
3831 * elmo-version.el (elmo-version): Up to 2.11.10.
3833 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3835 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3836 (elmo-msgdb-flags-to-mark): Ditto.
3837 (elmo-msgdb-append-entity): Ditto.
3839 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3840 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3841 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3842 (elmo-archive-parse-mmdf): Ditto.
3844 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3846 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3848 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3850 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3852 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3854 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3856 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3858 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3860 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3861 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3864 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3865 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3866 instead of directly construction.
3867 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3868 instead of construct msgdb.
3870 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3871 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3872 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3873 instead of construct msgdb.
3875 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3877 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3878 when field is from or subject.
3880 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3882 * elmo-multi.el (elmo-message-entity-parent): Define.
3883 (elmo-folder-search): Rewrite.
3885 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3887 * elmo-multi.el (elmo-message-cached-p): Define.
3889 * elmo.el (elmo-message-cached-p): New method.
3890 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3891 (elmo-message-flags): New method.
3892 (elmo-message-flagged-p): New function.
3894 * elmo-version.el (elmo-version): Up to 2.11.9.
3896 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3898 * elmo-version.el (elmo-version): Up to 2.11.8.
3900 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3902 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3904 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3906 * elmo.el (elmo-folder-detach-messages): Undo last change.
3908 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3910 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3912 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3913 only when src folder type is pop3.
3915 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3917 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3918 elmo-msgdb-overview-entity-get-number instead of
3919 elmo-message-entity-number.
3921 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3923 * elmo-version.el (elmo-version): Up to 2.11.7.
3925 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3927 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3930 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3931 (elmo-msgdb-merge): New function.
3932 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3933 (elmo-msgdb-make-index): Rewrite.
3935 * elmo-version.el (elmo-version): Up to 2.11.6.
3937 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3938 use it as a the path for loading message entities.
3940 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3942 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3944 * elmo-filter.el (elmo-folder-set-message-modified): Set
3945 message-modified slot of itself if it does not require target msgdb.
3947 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3948 if folder length is zero.
3949 (elmo-mime-display-as-is): Ditto.
3951 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3953 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3955 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3957 * elmo.el (elmo-folder-set-message-modified): New method.
3958 (elmo-generic-folder-commit): Use it.
3959 (elmo-folder-synchronize): Ditto.
3961 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3962 (elmo-folder-commit): Remove duplicate definition.
3964 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3966 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3968 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3970 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3971 (elmo-strict-folder-diff): Ditto.
3972 (elmo-folder-set-info-max-by-numdb): Simplify.
3974 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3975 elmo-msgdb-list-messages.
3977 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3978 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3980 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3982 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3983 visible-only is non-nil.
3984 (elmo-folder-confirm-appends): Changed message.
3985 (elmo-folder-synchronize): Added argument disable-killed.
3987 * elmo-multi.el (elmo-folder-synchronize): Added argument
3990 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3992 * elmo-version.el (elmo-version): Up to 2.11.5.
3994 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3997 * elmo-util.el (elmo-list-filter): Simplify.
3999 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4000 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4001 (elmo-generic-folder-diff): Abolish argument.
4002 (elmo-msgdb-load): Don't use number-alist.
4004 * elmo-filter.el (elmo-folder-diff): Abolish argument.
4006 * elmo-pipe.el (elmo-folder-diff): Ditto.
4008 * elmo-nmz.el (elmo-folder-diff): Ditto.
4010 * elmo-net.el (elmo-folder-diff): Ditto.
4012 * elmo-maildir.el (elmo-folder-diff): Ditto.
4014 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4016 * elmo-multi.el (elmo-folder-diff): Ditto
4017 (elmo-multi-folder-diff): Rewrite.
4019 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4021 * elmo-pipe.el (elmo-folder-msgdb): Define.
4023 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
4025 * elmo.el (elmo-message-set-cached): Define as a method.
4027 * elmo-pipe.el (elmo-message-set-cached): Define.
4028 (elmo-find-fetch-strategy): Ditto.
4030 * elmo-multi.el (elmo-message-set-cached): Define.
4031 (elmo-find-fetch-strategy): Rewrite.
4033 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4035 * elmo-pipe.el (elmo-message-folder): Fixed definition.
4037 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
4039 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4040 instead of number-alist.
4042 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4043 mark nor message-id when msgdb of source folder is not loaded.
4045 * elmo.el (elmo-generic-folder-append-messages): Ditto.
4047 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4049 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
4051 * elmo.el (elmo-folder-length): Don't require msgdb.
4053 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
4055 * elmo.el (elmo-message-mark): Cause an error when empty folder.
4056 (elmo-message-field): Ditto.
4058 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4059 (elmo-map-folder-list-message-locations): Setup `answered-locations'
4061 (elmo-map-folder-list-answereds): Define.
4062 (elmo-maildir-list-location): Treat 'R' info.
4063 (elmo-folder-msgdb-create): Treat flag-table.
4064 (elmo-folder-append-messages): Save flag-table.
4066 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
4068 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
4069 Use SELECT when elmo-imap4-use-select-to-update-status is t.
4071 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4073 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4075 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4076 'read when mark is null.
4078 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
4080 * elmo-version.el (elmo-version): Up to 2.11.4.
4082 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4084 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4085 (elmo-folder-mark-as-answered): Ditto.
4087 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
4089 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4090 (elmo-pop3-get-session): Make msgdb directory after session.
4091 (elmo-folder-exists-p): Check exactly at the first time even when the
4092 elmo-pop3-exists-exactly is nil.
4094 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4095 (elmo-folder-list-messages): Define instead of
4096 elmo-folder-list-messages-internal.
4097 (elmo-folder-check): Check destination folder.
4098 (elmo-folder-synchronize): Drain the pipe.
4100 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4101 when msgdb is not loaded.
4103 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4105 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4106 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4109 * elmo.el (elmo-folder-kill-messages-before): New function.
4110 (elmo-folder-kill-messages): Ditto.
4111 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4113 * elmo-imap4.el (elmo-folder-list-messages-plugged):
4114 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4115 killed not by synchronize (e.g. scoring).
4117 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4119 * elmo.el (elmo-folder-search-fast): Return t if condition is not
4121 (elmo-folder-search): Follow the change above.
4123 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4124 into the candidates of search field.
4126 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
4128 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4129 (elmo-msgdb-unset-flag): Ditto.
4131 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4133 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
4135 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4136 (elmo-folder-commit): Define.
4137 (elmo-folder-synchronize): Ditto.
4138 (elmo-folder-list-flagged): Ditto.
4139 (elmo-folder-commit): Ditto.
4140 (elmo-folder-length): Ditto.
4141 (elmo-folder-count-flags): Ditto.
4142 (elmo-message-mark): Ditto.
4143 (elmo-message-field): Ditto.
4144 (elmo-message-entity): Ditto.
4145 (elmo-message-folder): Ditto.
4147 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
4149 * elmo.el (elmo-message-field): Define as a method.
4151 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4152 (elmo-message-field): Define.
4154 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4155 (elmo-folder-list-importants): Ditto.
4156 (elmo-folder-list-answereds): Ditto.
4158 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4160 (elmo-folder-mark-as-read): Ditto.
4161 (elmo-folder-unmark-read): Ditto.
4162 (elmo-folder-mark-as-answered): Ditto.
4163 (elmo-folder-unmark-answered): Ditto.
4164 (elmo-folder-list-flagged): Define.
4165 (elmo-folder-commit): Ditto.
4166 (elmo-folder-length): Ditto.
4167 (elmo-folder-count-flags): Ditto.
4169 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4171 * elmo.el (elmo-folder-detach-messages): New method.
4172 (elmo-folder-move-messages): Use it.
4173 (elmo-folder-synchronize): Ditto.
4175 * elmo-multi.el (elmo-folder-detach-messages): Define.
4177 * elmo.el (elmo-message-copy-entity): New function.
4178 (elmo-message-entity-set-number): Ditto.
4179 (elmo-message-mark): Define as method.
4181 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4182 (elmo-folder-synchronize): Return 0 (Should be reconsider).
4183 (elmo-message-entity): Fixed last change.
4184 (elmo-message-mark): Define.
4185 (elmo-folder-msgdb-create): Abolish.
4186 (elmo-multi-folder-append-msgdb): Ditto.
4187 (elmo-multi-folder-diff): Fixed.
4188 (elmo-multi-split-number-alist): Removed.
4189 (elmo-multi-split-mark-alist): Removed.
4190 (elmo-folder-list-messages): Define.
4191 (elmo-folder-list-messages-internal): Removed.
4193 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4194 local file messages.
4195 (elmo-folder-msgdb-create): Fixed read mark.
4197 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4199 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4202 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4204 * elmo.el (elmo-folder-list-message-entities): Define as inline
4206 (elmo-folder-messages): Abolish.
4208 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4210 (elmo-folder-synchronize): Define.
4211 (elmo-message-entity): Define.
4213 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
4215 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4216 elmo-imap4-session-select-mailbox.
4218 * elmo.el (elmo-folder-move-messages): Don't display any message.
4220 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4222 (elmo-imap4-session-check): Don't wait CHECK response.
4223 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4225 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
4227 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4229 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4231 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4233 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4236 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4237 (elmo-folder-list-message-entities): Added argument in-msgdb and
4239 (elmo-folder-synchronize): Define as a method.
4241 * elmo-nntp.el (elmo-folder-initialize): Don't use
4242 elmo-nntp-default-user if zero-length username is specified
4245 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
4247 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4248 server name in case with username.
4249 (XXX: this is ad-hoc fix against username includes "@", it
4250 should be solved fundamentally)
4252 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
4254 * elmo-nntp.el (elmo-nntp-debug): New function.
4255 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4256 (elmo-network-authenticate-session): Hide auth-info from the log.
4258 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4259 user name if it is equal to elmo-nntp-default-user.
4261 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
4263 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4264 instead of shimbun-server-internal;
4265 Use shimbun-current-group instead of shimbun-current-group-internal.
4266 (elmo-folder-plugged-p): Use shimbun-server instead of
4267 shimbun-server-internal.
4268 (elmo-folder-set-plugged): Ditto.
4269 (elmo-net-port-info): Ditto.
4270 (elmo-folder-check): Ditto.
4271 (elmo-folder-expand-msgdb-path): Ditto.
4272 (elmo-folder-list-subfolders): Ditto.
4274 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
4276 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4277 Convert field-name to lower case.
4278 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4280 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
4282 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4283 `message' and `error' take format string.
4285 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4287 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4289 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4291 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4292 recursive call (can't byte compile on emacs 20.7).
4294 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4296 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4297 (elmo-folder-list-message-entities): New API.
4298 (elmo-message-entity): Ditto.
4299 (elmo-message-entity-parent): Ditto.
4300 (elmo-folder-do-each-message-entity): Ditto.
4301 (elmo-message-entity-number): Ditto.
4302 (elmo-message-entity-field): Ditto.
4303 (elmo-message-entity-set-field): Ditto.
4304 (elmo-folder-count-flags): Ditto.
4305 (elmo-folder-length): Ditto.
4307 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4310 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4311 (elmo-msgdb-count-marks): Abolish.
4312 (elmo-msgdb-make-entity): Ditto.
4313 (elmo-msgdb-do-each-entity): Ditto.
4314 (elmo-msgdb-message-entity): New inline function.
4315 (elmo-msgdb-message-entity-field): Ditto.
4316 (elmo-msgdb-message-entity-set-field): Ditto.
4317 (elmo-msgdb-make-message-entity): New function.
4319 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4321 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4322 to flag. (All other related portions are changed.)
4323 (elmo-folder-msgdb-create): Likewise.
4324 (elmo-generic-folder-append-messages): Use flag-table instead of
4326 (elmo-folder-move-messages): Removed redundant process.
4327 (elmo-folder-synchronize): Likewise.
4329 * elmo-msgdb.el (elmo-flag-table-get): New function.
4330 (elmo-flag-table-save): Fixed.
4331 (elmo-msgdb-length): New inline function.
4332 (elmo-msgdb-flag-table): New function.
4333 (elmo-msgdb-mark): Add optional argument new.
4334 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4335 (elmo-msgdb-seen-list): Ditto.
4336 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4339 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4341 * elmo.el (elmo-message-set-mark): Abolish.
4342 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4343 (All related portions are changed.)
4345 * elmo-msgdb.el (toplevel): Added comment.
4346 (elmo-load-msgdb): Added 4th element `path'.
4347 (elmo-msgdb-append): Follow the change above.
4348 (elmo-msgdb-clear): Ditto.
4349 (elmo-msgdb-delete-msgs): Ditto.
4350 (elmo-msgdb-get-path): New inline function.
4351 (elmo-msgdb-set-path): Ditto.
4352 (elmo-flag-table-filename): New variable.
4353 (elmo-flag-table-load): New function.
4354 (elmo-flag-table-set): Ditto.
4355 (elmo-flag-table-save): Ditto.
4356 (elmo-msgdb-get-field-value): Abolish.
4357 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4359 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4361 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4362 the folder has been deleted successfully.
4363 * elmo-imap4.el (elmo-folder-delete): Ditto.
4364 * elmo-archive.el (elmo-folder-delete): Ditto.
4365 * elmo-localdir.el (elmo-folder-delete): Ditto.
4366 * elmo-maildir.el (elmo-folder-delete): Ditto.
4368 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4370 * elmo-util.el (elmo-string-member-ignore-case): New function.
4371 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4372 (elmo-imap4-fetch-callback-1-subr): Likewise.
4374 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4376 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4377 the case of the name attribute "\Noselect".
4379 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4381 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4383 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4384 flist, is not always a member of onum-alist.
4386 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4388 * elmo-version.el (elmo-version): Up to 2.11.3.
4390 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4392 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4393 copied from localdir's one.
4395 * elmo-pipe.el (elmo-folder-rename): New method, rename
4396 destination folder with leaving source folder as it is.
4398 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4400 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4403 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4405 * elmo-version.el (elmo-version): Up to 2.11.2.
4407 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4409 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4410 shimbun-open in case of "@".
4411 (elmo-folder-open-internal): Cope with shimbun = nil case.
4412 (elmo-folder-plugged-p): Ditto.
4413 (elmo-folder-list-subfolders): Make list for "@/" group.
4415 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4417 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4418 mailbox (e.g. for %~/something).
4420 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4422 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4423 Replace nested conditional with guard clauses.
4425 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4427 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4430 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4433 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4435 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4436 Replace nested conditional with guard clauses.
4438 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4440 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4441 (elmo-passwd-alist-save): Ditto.
4442 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4444 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4446 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4447 dir-name only if it is absolute path.
4448 (TODO: distinguish +/something and +something)
4450 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4452 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4453 path for "+~/something".
4455 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4457 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4458 as non-directory, cause error before rename-file.
4459 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4460 apropriately, mimic localdir's one.
4461 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4463 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4465 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4467 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4469 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4471 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4473 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4474 is included in the global-mark or not.
4476 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4478 * utf7.el (toplevel): Avoid error when the function
4479 find-coding-system does not exist.
4481 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4483 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4484 cache even if the folder is plugged.
4485 (elmo-nntp-search-primitive): Do nothing when body search is
4486 invoked (although it is not used by the change above).
4487 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4489 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4491 * elmo-version.el (elmo-version): Up to 2.11.1.
4493 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4495 * elmo-archive.el: Specify charset.
4497 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4499 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4500 process buffer lives or not.
4502 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4503 while flushing queues (It causes infinite loop).
4505 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4507 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4509 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4511 * utf7.el (toplevel): Check the ucs features dynamically.
4512 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4514 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4515 folder is creatabe or not if it already exists.
4517 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4519 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4521 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4523 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4524 (elmo-imap4-read-response): Take care of garbage response.
4526 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4528 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4529 just return nil instead of error.
4531 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4533 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4534 search-key is "body".
4536 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4538 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4539 of elmo-string-matched-assoc to use match-data.
4540 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4542 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4544 * elmo-split.el (elmo-split->): New function.
4545 (elmo-split-<): Ditto.
4547 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4549 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4550 workaround for invalid message-id.
4552 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4554 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4555 return normal pop3 session or pop3 biff session.
4557 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4559 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4560 info part to the cur files when the new files already have it.
4561 (Adviced by Jared Rhine <jared@wordzoo.com>)
4563 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4565 * elmo-split.el (elmo-split-default-action): New variable.
4566 (elmo-split-subr): Use it if all other conditions are passed.
4567 Extend `fname' and rename it as `action'. (implemented
4568 Teranishi-san's idea in [wl:10800])
4570 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4572 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4573 * elmo-util.el: Ditto.
4575 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4577 * elmo.el (elmo-message-accessible-p): Renamed from
4578 elmo-message-cached-p and rewritten.
4580 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4582 * elmo.el (elmo-folder-list-flagged): New generic function.
4583 (elmo-folder-list-importants): New implementation.
4584 (elmo-folder-list-answereds): Ditto.
4585 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4587 (elmo-message-cached-p): New function.
4588 (elmo-message-set-flag): Ditto (no content).
4589 (elmo-message-unset-flag): Ditto.
4590 (elmo-folder-list-messages-mark-match): Abolish.
4592 * elmo-util.el (elmo-regexp-opt): New function.
4594 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4595 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4597 (elmo-msgdb-list-flagged): New function.
4599 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4600 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4603 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4605 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4607 * elmo-version.el (elmo-version): Up to 2.11.0.
4609 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4611 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4612 `elmo-file-cache-exists-p'; use proper mark that depends on
4614 (elmo-msgdb-unset-flag): Ditto.
4615 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4617 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4618 with 4th argument `use-cache'.
4620 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4622 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4623 (elmo-folder-mark-as-important): Ditto.
4624 (elmo-folder-unmark-read): Ditto.
4625 (elmo-folder-mark-as-read): Ditto.
4626 (elmo-folder-unmark-answered): Ditto.
4627 (elmo-folder-mark-as-answered): Ditto.
4629 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4631 (elmo-msgdb-mark): Likewise.
4632 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4633 (elmo-msgdb-unset-flag): Likewise.
4635 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4637 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4639 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4642 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4644 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4645 set spool-length to 0.
4647 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4649 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4650 (elmo-dop-queue-flush): Fixed last change.
4652 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4654 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4655 if require-msgdb slot is nil.
4656 (elmo-folder-list-importants): Likewise.
4658 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4660 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4663 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4664 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4667 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4669 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4671 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4673 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4675 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4677 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4679 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4680 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4682 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4684 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4685 the problem reported by Sean Rima [wl-en:180].
4687 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4689 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4691 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4693 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4695 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4697 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4699 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4701 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4703 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4705 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4708 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4710 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4711 (elmo-folder-mark-as-read): Follow the API change.
4712 (elmo-message-set-cached): New function.
4714 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4716 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4718 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4719 (elmo-folder-mark-as-important): Ditto.
4720 (elmo-folder-unmark-read): Ditto.
4721 (elmo-folder-mark-as-read): Ditto.
4722 (elmo-folder-unmark-answered): Ditto.
4723 (elmo-folder-mark-as-answered): Ditto.
4725 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4726 (elmo-folder-unmark-important): Ditto.
4727 (elmo-folder-mark-as-read): Ditto.
4728 (elmo-folder-unmark-read): Ditto.
4729 (elmo-folder-mark-as-answered): Ditto.
4730 (elmo-folder-unmark-answered): Ditto.
4732 * elmo-mark.el (toplevel): Removed some mark method definitions.
4734 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4735 (elmo-map-folder-mark-as-answered): Ditto.
4736 (elmo-folder-unmark-important): Add :before qualifier.
4737 (elmo-folder-mark-as-important): Ditto.
4738 (elmo-folder-unmark-read): Ditto.
4739 (elmo-folder-mark-as-read): Ditto.
4740 (elmo-folder-unmark-answered): Define.
4741 (elmo-folder-mark-as-answered): Ditto.
4743 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4744 (elmo-map-folder-unmark-answered): Ditto.
4746 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4748 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4749 (elmo-folder-mark-as-important): Ditto.
4750 (elmo-folder-unmark-read): Ditto.
4751 (elmo-folder-mark-as-read): Ditto.
4752 (elmo-folder-unmark-answered): Ditto.
4753 (elmo-folder-mark-as-answered): Ditto.
4755 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4756 `mark'; evaluate mark condition.
4757 (elmo-msgdb-match-condition-internal): New function.
4758 (elmo-msgdb-match-condition): Call it; changed argument.
4760 * elmo.el (elmo-folder-search): Follow the API change on
4761 `elmo-msgdb-match-condition'.
4763 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4765 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4766 original mark is non-nil.
4768 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4770 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4771 (elmo-map-folder-list-answereds): New method.
4772 (elmo-folder-list-unreads): Add :around qualifier.
4773 (elmo-folder-list-importants): Ditto.
4774 (elmo-folder-list-answereds): Ditto.
4776 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4778 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4780 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4781 method if msgdb is not required.
4782 (elmo-filter-folder-list-importants): Don't treat global-mark.
4784 * elmo.el (elmo-folder-list-importants): Ditto.
4786 * elmo-net.el (elmo-folder-list-importants): Ditto.
4788 * elmo-map.el (elmo-folder-list-importants): Ditto.
4790 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4792 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4793 (elmo-imap4-folder-list-any-plugged): New function.
4794 (elmo-imap4-search-internal-primitive): Use it.
4796 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4797 only when require-msgdb slot is non-nil.
4798 (elmo-folder-close): Clear target folder's msgdb.
4800 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4802 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4803 (elmo-pop3-msgdb-create-by-header): Ditto.
4804 (elmo-pop3-msgdb-create-message): Ditto.
4806 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4808 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4810 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4812 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4813 (elmo-folder-msgdb-create): Ditto.
4814 (elmo-nntp-folder-msgdb-create): Ditto.
4815 (elmo-nntp-msgdb-create-by-header): Ditto.
4816 (elmo-nntp-msgdb-create-message): Ditto.
4817 (elmo-folder-list-unreads): Define.
4819 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4820 (elmo-folder-append-messages): Ditto.
4821 (elmo-folder-list-unreads): Define.
4822 (elmo-folder-list-importants): Ditto.
4823 (elmo-folder-list-answereds): Ditto.
4825 * elmo-net.el (elmo-folder-list-unreads): Define.
4826 (elmo-folder-list-importants): Ditto.
4827 (elmo-folder-list-answereds): Ditto.
4828 (elmo-folder-list-answereds-plugged): Ditto.
4829 (elmo-folder-msgdb-create): Follow the API change.
4830 (elmo-folder-msgdb-create-unplugged): Ditto.
4831 (elmo-folder-unmark-answered): Define.
4832 (elmo-folder-mark-as-answered-unplugged): Ditto.
4833 (elmo-folder-unmark-answered-unplugged): Ditto.
4835 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4836 (elmo-msgdb-unread-uncached-mark): Ditto.
4837 (elmo-msgdb-unread-cached-mark): Ditto.
4838 (elmo-msgdb-read-uncached-mark): Ditto.
4839 (elmo-msgdb-answered-cached-mark): Ditto.
4840 (elmo-msgdb-answered-uncached-mark): Ditto.
4841 (elmo-msgdb-important-mark): Ditto.
4842 (elmo-msgdb-set-mark): Rewrite.
4843 (elmo-msgdb-count-marks): Rewrite.
4844 (elmo-msgdb-mark-alist-set): Abolish.
4845 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4846 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4848 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4849 (elmo-folder-close): Define.
4850 (elmo-folder-msgdb-create): Follow the API change.
4851 (elmo-folder-list-unreads): Rewrite.
4852 (elmo-folder-mark-as-important): Ditto.
4853 (elmo-folder-unmark-important): Ditto.
4854 (elmo-folder-mark-as-read): Ditto.
4855 (elmo-folder-unmark-read): Ditto.
4856 (elmo-folder-mark-as-answered): Define.
4857 (elmo-folder-unmark-answered): Ditto.
4859 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4860 (elmo-folder-append-messages): Ditto.
4862 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4864 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4865 (elmo-folder-list-importants): Ditto.
4867 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4868 (elmo-folder-append-messages): Ditto.
4870 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4872 (elmo-folder-msgdb-create-plugged): Ditto.
4873 (elmo-folder-append-messages): Ditto.
4874 (elmo-folder-list-answereds-plugged): Define.
4875 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4876 (elmo-folder-unmark-answered-plugged): Define.
4877 (elmo-folder-mark-as-answered-plugged): Ditto.
4878 (elmo-folder-search-requires-msgdb-p): Ditto.
4880 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4881 (elmo-folder-initialize): Set it.
4882 (elmo-folder-msgdb): Define.
4883 (elmo-folder-check): Call elmo-folder-synchronize.
4884 (elmo-folder-close): Define.
4885 (elmo-folder-commit): Ditto.
4886 (elmo-folder-msgdb-create): Rewrite.
4887 (elmo-folder-list-unreads): Ditto.
4888 (elmo-folder-list-importants): Ditto.
4889 (elmo-folder-mark-as-read): Ditto.
4890 (elmo-folder-unmark-read): Ditto.
4891 (elmo-folder-mark-as-important): Ditto.
4892 (elmo-folder-unmark-important): Ditto.
4893 (elmo-folder-mark-as-answered): Define.
4894 (elmo-folder-unmark-answered): Ditto.
4896 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4897 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4898 (elmo-dop-queue-method-name-alist): Likewise.
4899 (elmo-folder-mark-as-answered-dop): New inline function.
4900 (elmo-folder-unmark-answered-dop): Ditto.
4901 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4903 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4904 (elmo-folder-msgdb-create): Ditto.
4905 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4906 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4907 (elmo-archive-parse-mmdf): Ditto.
4909 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4910 (elmo-folder-list-unreads-internal): Ditto.
4912 * elmo.el (elmo-folder-msgdb): Define as generic function.
4913 (elmo-folder-list-messages): Added argument `in-msgdb'.
4914 (elmo-folder-list-unreads): Define as generic function.
4915 (elmo-folder-list-importants): Ditto.
4916 (elmo-folder-list-answereds): Ditto.
4917 (elmo-folder-list-messages-with-global-mark): New function.
4918 (elmo-folder-msgdb-create): Removed mark arguments.
4919 (elmo-folder-unmark-answered): New generic function.
4920 (elmo-folder-mark-as-answered): Ditto.
4921 (elmo-folder-append-messages): Removed argunment `unread-marks'
4922 (elmo-folder-list-unreads-internal): Abolish.
4923 (elmo-folder-list-importants-internal): Ditto.
4924 (elmo-folder-search-requires-msgdb-p): New generic function.
4925 (elmo-folder-search-requires-msgdb-p-internal): New function.
4926 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4928 (elmo-folder-search-fast): Added key 'mark'.
4929 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4930 instead of unread-marks argument.
4931 (elmo-folder-move-messages): Removed argunment `unread-marks'
4932 (elmo-folder-unmark-important): Define.
4933 (elmo-folder-mark-as-important): Ditto.
4934 (elmo-folder-unmark-read): Ditto.
4935 (elmo-folder-mark-as-read): Ditto.
4936 (elmo-folder-unmark-answered): Ditto.
4937 (elmo-folder-mark-as-answered): Ditto.
4938 (elmo-folder-replace-marks): Abolish.
4939 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4941 (elmo-folder-synchronize): Removed mark arguments;
4942 return crosspost only number.
4944 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4946 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4947 Remove redundunt connectivity check.
4949 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4951 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4952 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4954 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4956 * pldap.el (ldap-decode-string): Return string as-is if
4957 `ldap-coding-system' is nil.
4958 (ldap-encode-string): Ditto.
4959 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4960 (ldap-default-host): Fixed docstring.
4962 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4964 * elmo-util.el (elmo-warning): Define as a macro which uses
4965 `display-warning' if it is defined as a function.
4967 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4968 (elmo-split-equal): Use it.
4969 (elmo-split-match): Ditto.
4970 (elmo-split-message-entity): New buffer-local variable.
4971 (elmo-split-subr): Set it.
4973 * elmo-version.el (elmo-version): Up to 2.9.15.
4975 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4977 * elmo-imap4.el (elmo-network-initialize-session):
4978 Check capability after starttls.
4980 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4982 * elmo-util.el (elmo-list-delete): Added optional argument
4985 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4987 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4989 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4991 * elmo-imap4.el (elmo-folder-initialize): Don't use
4992 elmo-imap4-default-mailbox.
4994 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4996 * elmo-split.el (toplevel): Use `product-provide'.
4997 (elmo-split): Checkdoc.
4999 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
5001 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5002 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5003 the function `elmo-imap4-debug-1'.
5005 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5007 * elmo-split.el (elmo-split): Moved to run hooks and to show
5008 message from elmo-split-subr.
5009 (elmo-split-subr): Follow the change above.
5011 * elmo-split.el (elmo-split-subr): New function (renamed from
5013 (elmo-split): Changed to call elmo-split-subr by element of
5015 (elmo-split-folder): Changed customization type to choice.
5017 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5019 * elmo-split.el (elmo-split-and): Fixed condition.
5021 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5023 * elmo-split.el: New file.
5024 (elmo-split): Fixed logic.
5025 Display "Test:" instead of "Folder:" when reharsal.
5027 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5030 * elmo-version.el (elmo-version): Up to 2.9.14.
5032 * elmo-util.el (elmo-expand-newtext): New function (renamed from
5035 2002-06-10 Kenichi Sato <ksato@sonycom.com>
5037 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5038 message with no message-id field.
5040 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
5042 * elmo-version.el (elmo-version): Up to 2.9.13.
5044 * elmo-dop.el (elmo-folder-status-dop): Fix.
5046 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
5048 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5050 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5051 changing default value of default-mime-charset.
5052 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5054 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5056 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5057 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5058 instead of elmo-dop-queue-method-name-alist to check merging queue.
5059 (elmo-folder-delete-messages-dop): Delete from queue if negative
5061 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5062 file is already removed.
5064 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
5066 * elmo-vars.el: Bind colon keywords for old Emacsen.
5068 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5070 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5071 against non-exsisting charset.
5073 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
5075 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5076 Use eword-decode-and-unfold-unstructured-field-body.
5078 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5079 (elmo-msgdb-create-overview-from-buffer): Use document charset if
5080 exists to decode raw subject string.
5081 (toplevel): Require 'mime.
5083 * elmo-version.el (elmo-version): Up to 2.9.12.
5085 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
5087 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5088 (elmo-msgdb-set-mark): Ditto.
5090 * elmo-version.el (elmo-version): Up to 2.9.11.
5092 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
5094 * elmo-util.el (elmo-delete-match-files): New function.
5096 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5097 instead of elmo-delete-directory.
5099 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5100 elmo-hash-minimun-size as 63.
5102 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5103 elmo-diff-unread is nil.
5105 * elmo-imap4.el (elmo-folder-open): Fix.
5107 * elmo.el (elmo-message-mark): Rewrite.
5108 (elmo-message-field): Ditto.
5109 (elmo-message-set-mark): Ditto.
5110 (elmo-folder-replace-marks): New function.
5111 (elmo-generic-folder-append-msgdb): Removed third argument for
5113 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5114 (elmo-msgdb-load): New implementation.
5116 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5118 * elmo-util.el (elmo-list-insert): New implementation.
5120 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5121 argument for elmo-msgdb-append.
5124 * elmo-msgdb.el (elmo-load-msgdb): New function.
5125 (elmo-make-msgdb): Ditto.
5126 (elmo-msgdb-get-index): New inline function.
5127 (elmo-msgdb-set-index): Ditto.
5128 (elmo-msgdb-get-entity-hashtb): Ditto.
5129 (elmo-msgdb-get-mark-hashtb): Ditto.
5130 (elmo-msgdb-get-mark): Ditto.
5131 (elmo-msgdb-set-mark): Ditto.
5132 (elmo-msgdb-count-marks): Ditto.
5133 (elmo-msgdb-get-number): Ditto.
5134 (elmo-msgdb-get-field): Ditto.
5135 (elmo-msgdb-seen-list): Ditto.
5136 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5137 (elmo-msgdb-delete-msgs): Follow the changes above.
5138 (elmo-msgdb-overview-get-entity): Ditto.
5139 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5140 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5142 (elmo-msgdb-make-index): Likewise.
5143 (elmo-msgdb-append): Removed third argument.
5144 (elmo-msgdb-clear): Clear index as nil.
5145 (elmo-folder-set-info-hashtb): Removed.
5146 (elmo-folder-set-info-max-by-numdb): Ditto.
5147 (elmo-folder-info-make-hashtb): Ditto.
5149 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5151 * elmo-map.el (elmo-folder-pack-number): Ditto.
5153 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
5155 * elmo-version.el (elmo-version): Up to 2.9.10.
5157 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5159 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5161 2002-04-26 Kenichi OKADA <okada@opaopa.org>
5163 * elmo-utils.el (elmo-make-directory): Add option.
5164 Default file mode is 700.
5166 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5168 * elmo-shimbun.el (elmo-folder-local-p): Defined.
5170 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
5172 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5175 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5178 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5180 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5181 (elmo-shimbun-folder-entity-hash): New function.
5182 (elmo-shimbun-folder-shimbun-header): Ditto.
5183 (elmo-shimbun-entity-to-header): Ditto.
5184 (elmo-shimbun-msgdb-to-headers): Removed.
5185 (elmo-shimbun-folder-setup): Ditto.
5186 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5188 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5189 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5190 Removed useless local bind.
5191 (elmo-folder-open-internal): Don't call
5192 `elmo-shimbun-folder-setup'.
5193 (elmo-folder-close-internal): Clear entity-hash slot.
5194 (elmo-folder-clear): Ditto.
5195 (elmo-shimbun-msgdb-create-entity): Use
5196 `elmo-shimbun-folder-shimbun-header'.
5197 (elmo-map-message-fetch): Ditto.
5198 (elmo-shimbun-update-overview): Use overview entity instead of
5199 shimbun header to lookup id by references.
5200 (elmo-map-folder-list-message-locations): Use not only headers but
5201 also overviews to list locations.
5203 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5205 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5208 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5210 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5212 * elmo-util.el (elmo-read-search-condition-internal): Give default
5215 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
5217 * elmo-util.el (elmo-condition-parse-search-value): Accept
5218 YYYY-MM-DD format to search.
5219 * elmo-date.el (elmo-date-get-datevec): Likewise.
5221 2002-04-04 Kenichi OKADA <okada@opaopa.org>
5223 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5226 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5228 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5231 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5233 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5234 case from `elmo-folder-exists-p'.
5235 (elmo-folder-exists-p): Removed.
5236 (elmo-folder-creatable-p) Ditto.
5238 * elmo-net.el (elmo-folder-create): Defined.
5239 (elmo-folder-create-unplugged): New function.
5240 (elmo-folder-exists-p): Changed default value to nil from t.
5242 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5243 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5245 * elmo-dop.el (elmo-folder-create-dop): Renamed from
5246 `elmo-create-folder-dop' and append queue
5247 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5248 (elmo-folder-create-dop-delayed): New function.
5250 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5252 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5254 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5255 (elmo-folder-writable-p) : Ditto.
5257 * elmo-version.el (elmo-version): Up to 2.9.9.
5259 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5261 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5262 `elmo-message-use-cache-p' returns nil.
5263 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5264 (ignore cache file and refer the substance in local folders)
5266 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5268 * elmo-version.el (elmo-version): Up to 2.9.8.
5270 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
5272 * elmo-version.el (elmo-version): Up to 2.9.7.
5274 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5276 2002-02-18 Daiki Ueno <ueno@unixuser.org>
5278 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5280 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
5282 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5284 (elmo-map-folder-list-message-locations): Reverse location list.
5286 2002-02-01 Kenichi OKADA <okada@opaopa.org>
5288 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5290 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5292 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5294 (elmo-nntp-folder-list-subfolders): Follow the change above.
5296 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5298 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5299 name if authentication type is specified.
5301 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5303 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5305 (elmo-default-nntp-stream-type): Ditto.
5306 (elmo-default-pop3-stream-type): Ditto.
5308 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5310 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5312 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5314 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5316 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5318 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5319 (elmo-maildir-folder-path): Ditto.
5320 (elmo-maildir-list): Ditto (abolished).
5322 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5324 * elmo-version.el (elmo-version): Up to 2.9.6.
5326 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5328 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5329 (elmo-maildir-folder-path): Ditto.
5330 (elmo-msgdb-directory): Ditto.
5331 (elmo-passwd-life-time): Ditto.
5332 (elmo-msgdb-extra-fields): Ditto.
5333 (elmo-enable-disconnected-operation): Ditto.
5335 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5337 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5339 (elmo-pop3-default-authenticate-type): Ditto.
5341 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5343 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5345 (elmo-pop3-default-authenticate-type): Ditto.
5347 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5349 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5350 mailbox to new-folder.
5352 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5354 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5355 less than new, set new as unread.
5357 * elmo-util.el (elmo-string): Don't put text-property if nil.
5359 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5361 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5362 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5364 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5366 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5367 is nil on `completing-read'.
5369 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5371 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5373 (elmo-imap4-parse-namespace-subr): Ditto.
5374 (elmo-folder-list-subfolders): Append a delimiter when the specified
5375 folder path is a root with namespace and does not end with delimiter.
5377 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5379 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5382 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5384 * elmo-util.el (elmo-save-buffer): The first argument of message
5385 is a format control string.
5387 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5389 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5390 `elmo-folder-diff').
5391 (elmo-diff-unread): Likewise.
5393 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5395 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5396 is t on `completing-read'.
5398 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5400 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5401 method of target folder with self mark-alist if MARK-ALIST is nil.
5403 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5405 * elmo-version.el (elmo-version): Up to 2.9.5.
5407 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5409 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5410 (elmo-dop-merge-funcs): Remove.
5412 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5414 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5415 Return t if PATH is directory, too.
5416 Use `dolist' instead of while loop.
5418 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5420 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5423 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5425 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5427 (elmo-folder-list-messages-unplugged): Return t if
5428 elmo-enable-disconnected-operation is nil.
5430 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5431 `elmo-folder-list-messages-internal'.
5433 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5435 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5436 Change to looking-at `[23][0-9]+'.
5437 (elmo-network-initialize-session): Use 'error-msg'
5438 * elmo-net.el (elmo-network-open-session): Set unplugged
5439 if elmo-network-initialize-session returns 'elmo-open-err.
5441 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5443 * elmo-version.el (elmo-version): Up to 2.9.4.
5445 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5447 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5448 `elmo-folder-list-messages-internal'.
5450 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5452 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5453 (elmo-message-match-condition): New method.
5454 (elmo-folder-search-fast): New inline function.
5455 (elmo-msgdb-search): Removed.
5457 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5458 target folder if it is unplugged.
5459 (elmo-folder-list-messages-internal): Return t if target folder is
5460 unplugged and itself is persistent; In this case, use list be
5463 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5464 (elmo-msgdb-search-internal-primitive): Ditto.
5465 (elmo-msgdb-match-condition): New function.
5466 (elmo-msgdb-match-condition-primitive): Ditto.
5468 * elmo-util.el (elmo-filter-condition-p): New macro.
5470 * elmo-cache.el (elmo-folder-search): Removed.
5472 * elmo-localdir.el (elmo-folder-search): Ditto.
5474 * elmo-maildir.el (elmo-folder-search): Ditto.
5476 * elmo-mark.el (elmo-folder-search): Ditto.
5478 * elmo-nmz.el (elmo-folder-search): Ditto.
5480 * elmo-sendlog.el (elmo-folder-search): Ditto.
5482 * elmo-shimbun.el (elmo-folder-search): Ditto.
5484 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5485 if folder is unplugged.
5487 * elmo-nntp.el (elmo-folder-search): Likewise.
5488 (elmo-nntp-search-internal): New function.
5490 * elmo-version.el (elmo-version): Up to 2.9.3.
5492 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5494 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5496 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5498 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5500 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5502 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5504 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5506 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5507 (elmo-map-folder-list-message-locations): Do drive letter conversion
5508 on Windows environment.
5509 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5510 (elmo-map-message-fetch): Ditto.
5512 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5514 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5515 (elmo-network-initialize-session): Ditto.
5517 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5519 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5521 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5523 * elmo-util.el (elmo-progress-clear): Ditto.
5525 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5526 `DD-Mon-YYYY' type date.
5528 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5530 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5531 `elmo-date-make-sortable-string' instead of
5532 `timezone-make-date-sortable'.
5534 * elmo-date.el (elmo-date-make-sortable-string): Use
5535 `timezone-make-time-string'.
5537 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5539 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5541 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5542 `since'; Fix timezone.
5544 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5546 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5548 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5550 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5552 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5554 * elmo.el (elmo-generic-folder-append-messages): Make
5555 fetch-strategy with `use-cache' as 'maybe. Check return value of
5556 `elmo-message-fetch'.
5557 (elmo-message-fetch): Return return value of
5558 `elmo-message-fetch-with-cache-process'.
5559 (elmo-message-fetch-with-cache-process): Return non-nil if
5560 fetching was succeed. Load cache when fetching was failed and
5561 fetch-strategy-use-cache is 'maybe.
5563 * elmo-util.el (elmo-file-cache-load): New function.
5565 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5568 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5569 non-nil if fetching was succeed.
5571 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5573 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5575 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5576 (elmo-message-fetch-with-cache-process): Likwise.
5578 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5580 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5582 * elmo-version.el (elmo-version): Up to 2.9.2.
5584 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5586 * elmo.el (elmo-folder-delete): Delete msgdb path.
5588 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5590 * elmo-maildir.el (elmo-folder-delete): Ditto.
5592 * elmo-localdir.el (elmo-folder-delete): Ditto.
5594 * elmo-imap4.el (elmo-folder-delete): Ditto.
5596 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5598 * elmo.el (luna-define-class): Added `biff' slot.
5600 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5601 (elmo-pop3-debug-inhibit-logging): Abolished.
5602 (elmo-network-close-session): Eliminated needless let.
5603 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5604 (elmo-pop3-send-command): Added `no-log' argument.
5605 (elmo-pop3-process-filter): Use `with-current-buffer'.
5606 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5608 (elmo-pop3-auth-apop): Likewise.
5609 (elmo-network-authenticate-session): Likewise.
5611 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5614 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5615 string to determine protocol.
5616 (elmo-network-session-name-prefix): Abolished.
5617 (elmo-network-session-cache-key): Follow the change above.
5618 (elmo-network-open-session): Ditto.
5620 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5621 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5623 * elmo-version.el (elmo-version): Up to 2.9.1.
5625 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5626 unmatch condition checking.
5628 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5631 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5633 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5635 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5637 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5638 test for while loop to execute at least one SEARCH command.
5640 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5642 * elmo-version.el (elmo-version): Up to 2.9.0.
5644 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5646 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5647 (elmo-archive-folder-path): Define.
5648 (elmo-folder-initialize): Setup `dir-name' slot.
5649 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5650 Use `dir-name' as prefix of each subfolders.
5651 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5653 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5655 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5656 (elmo-pipe-folder-list-target-messages): New internal function.
5657 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5659 (elmo-pipe-folder-copied-list-load): New function.
5660 (elmo-pipe-folder-copied-list-save): Ditto.
5661 (elmo-folder-open-internal): Follow the change above.
5662 (elmo-folder-status): Fixed for copy.
5664 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5666 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5668 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5670 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5671 elmo-copy-file instead of elmo-add-name-to-file.
5673 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5675 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5678 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5679 of accept-process-output as 1.
5680 (elmo-pop3-read-contents): Ditto.
5681 (elmo-pop3-read-body): Ditto.
5683 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5685 * elmo-version.el (product-version-as-string): Remove define.
5687 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5689 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5690 (elmo-imap4-copy-messages): Chop number set using
5691 `elmo-imap4-number-set-chop-length'.
5692 (elmo-imap4-set-flag): Ditto.
5693 (elmo-imap4-search-internal-primitive): Ditto.
5695 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5697 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5698 `elmo-folder-make-temp-dir'
5700 * elmo-vars.el (elmo-cache-directory): New variable.
5701 (elmo-cache-dir): Abolished.
5702 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5704 * elmo-version.el (elmo-version): Up to 2.7.7.
5706 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5708 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5709 defcustom; Set default value as t.
5711 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5713 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5714 (ldap-search-program-arguments): Changed default value.
5715 (ldap-search-basic): Accept exit status 4.
5716 (ldap/field-body): Parse options.
5717 (ldap/collect-field): Ditto.
5718 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5720 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5721 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5722 (elmo-imap4-accept-ok): Ditto.
5723 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5724 'notify-bye, only BYE error is reported.
5725 (elmo-folder-exists-p-plugged): Set no-error argument of
5726 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5728 * elmo.el (elmo-imap4-bye-error): Changed message.
5730 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5731 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5732 queues (It causes infinite loop).
5734 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5736 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5737 (RECENT UNSEEN MESSAGES) extension.
5739 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5741 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5742 Check number of overview fields.
5744 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5746 * elmo.el (elmo-folder-confirm-appends): Changed message.
5747 (elmo-folder-confirm-appends): Ditto.
5749 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5751 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5753 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5755 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5756 of elmo-folder-update-threshold is nil, which can be set by
5757 wl-summary-update-confirm-threshold.
5759 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5761 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5762 (elmo-nmz-index-alias-alist): Ditto.
5763 (elmo-map-folder-list-message-locations): Follow the change above.
5765 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5767 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5769 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5771 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5773 * elmo-util.el (elmo-read): Ditto.
5774 (elmo-display-error): Ditto.
5776 * elmo-vars.el (elmo-date-match): Ditto.
5778 * pldap.el (ldap-coding-system): Ditto.
5780 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5781 `elmo-inhibit-number-mapping' as nil.
5783 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5785 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5786 space delimiter for list response.
5788 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5790 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5792 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5794 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5795 (elmo-map-message-fetch): Fix.
5796 * elmo-map.el (elmo-folder-status): Fix for killed.
5798 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5800 * elmo-sendlog.el: New file.
5801 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5803 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5805 * acap.el (acap-logging-out): New buffer local variable.
5806 (acap-close): Set it.
5807 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5810 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5812 * acap.el (acap-response-bye-p): New function.
5813 (acap-response-bye-message): Ditto.
5814 (acap-wait-for-response): If bye response is received, cause an error.
5815 (acap-parse-response): Make bye response when 'Bye' is received.
5817 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5819 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5821 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5823 * elmo-util.el (elmo-copy-file): Added argument
5824 `ok-if-already-exists'.
5825 (elmo-copy-file): Fixed typo.
5827 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5829 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5831 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5833 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5835 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5837 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5840 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5842 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5843 (elmo-folder-initialize): Fix for `copy'.
5844 (elmo-pipe-drain): Ditto.
5845 (elmo-folder-open-internal): Ditto.
5846 (elmo-folder-newsgroups): Fix.
5848 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5850 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5853 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5854 recent value is returned from imap folder.
5856 * elmo.el (elmo-folder-newsgroups): New generic function.
5858 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5859 (elmo-folder-initialize): Set it.
5860 (elmo-folder-expand-msgdb-path): Use it.
5861 (elmo-folder-newsgroups): Define.
5863 * elmo-filter.el (elmo-folder-newsgroups): Define.
5865 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5867 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5869 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5871 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5873 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5875 (elmo-shimbun-header-extra-field): New inline function.
5876 (elmo-shimbun-header-set-extra-field): Ditto.
5877 (elmo-shimbun-folder-header-hash-setup): Ditto.
5878 (elmo-shimbun-update-overview): Ditto.
5879 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5880 (elmo-shimbun-folder-setup): Use
5881 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5882 (elmo-shimbun-get-headers): Ditto.
5883 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5884 Insert `X-Shimbun-Id:' header if extra field is set.
5885 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5886 field's value instead of `shimbun-header-id'.
5888 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5890 (elmo-msgdb-overview-entity-set-date): Ditto.
5891 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5893 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5895 * mmimap.el (mmimap-entity-section): Changed body node number from
5898 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5900 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5901 `elmo-folder-delete-messages'.
5903 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5904 (elmo-folder-initialize): Changed to expand alias into index path.
5906 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5907 `elmo-mime-insert-header-from-buffer' with 6th arg
5910 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5912 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5914 * elmo.el (elmo-diff-new): New inline function.
5915 (elmo-diff-unread): Ditto.
5916 (elmo-diff-all): Ditto.
5918 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5919 value from responseb.
5920 (elmo-imap4-folder-diff-plugged): Ditto.
5921 (elmo-imap4-server-diff-async): Added recent argument.
5922 (elmo-server-diff-async): Ditto.
5923 (elmo-imap4-folder-diff-plugged): Ditto.
5925 * elmo-version.el (elmo-version): Up to 2.7.6.
5927 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5929 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5932 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5934 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5936 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5938 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5940 * elmo-multi.el (elmo-folder-initialize): Ditto.
5942 * elmo-util.el (elmo-parse-token): New function.
5943 (elmo-parse-prefixed-element): Ditto.
5945 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5947 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5949 (elmo-imap4-accept-ok): Ditto.
5951 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5953 * mmimap.el (mime-imap-entity-header-string): Don't check first
5954 element of node-id is `0' (Follow last change).
5956 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5958 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5959 assigned irregular node-id to nested multipart section.
5960 (initialize-instance): Followed above change.
5962 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5964 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5965 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5966 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5967 `elmo-shimbun-get-headers');
5968 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5969 visible article on summary exists in headers).
5970 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5972 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5974 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5977 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5979 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5981 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5983 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5984 header separator into loop condition.
5986 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5988 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5989 Return duplicate folder if it has subfolder.
5991 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5993 * elmo.el (elmo-make-folder): Add folder name error check.
5995 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5996 (elmo-nntp-encode-group-string): New inline function.
5997 (elmo-nntp-decode-group-string): Ditto.
5998 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5999 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6000 Use `not' instead of `null';
6001 Use elmo-nntp-decode-group-string.
6003 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6005 * elmo-version.el (elmo-version): Up to 2.7.5.
6007 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6009 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6010 Hide progress gauge if `elmo-folder-move-messages' exits
6013 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
6015 * elmo-imap4.el (elmo-folder-initialize): Use
6016 `elmo-imap4-encode-folder-string' for folder name.
6018 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6020 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6023 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6025 * elmo-util.el (elmo-progress-counter-alist): New internal
6027 (elmo-progress-counter-value): New macro.
6028 (elmo-progress-counter-all-value): Ditto.
6029 (elmo-progress-counter-format): Ditto.
6030 (elmo-progress-counter-set-value): Ditto.
6031 (elmo-progress-set): New function.
6032 (elmo-progress-clear): Ditto.
6033 (elmo-progress-notify): Ditto.
6035 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6038 * elmo.el (elmo-generic-folder-append-messages): Call
6039 `elmo-progress-notify'.
6040 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6042 * elmo-archive.el (elmo-folder-append-messages): Call
6043 `elmo-progress-notify'.
6045 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6047 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6049 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6051 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
6053 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6055 (elmo-message-encache-dop): Added argument `read'.
6057 * elmo-shimbun.el (elmo-message-encache): Ditto.
6059 * elmo-net.el (elmo-message-encache): Ditto.
6061 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6062 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6063 elmo-imap4-seen-messages.
6064 (elmo-folder-msgdb-create-plugged): Initialize
6065 elmo-imap4-seen-messages;
6066 Set seen mark on elmo-imap4-seen-messages.
6068 * elmo-pipe.el (elmo-folder-message-file-p): Define.
6070 * elmo.el (elmo-generic-folder-append-messages): Check return value of
6071 elmo-folder-append-buffer.
6072 (elmo-folder-encache): Added optional argument `read'.
6073 (elmo-message-encache): Ditto.
6075 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6077 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6079 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6080 if append buffer content succeds.
6082 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
6084 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6085 elmo-display-progress.
6087 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6088 Set 4th argument of mime-display-message.
6089 (elmo-mime-display-as-is): Ditto.
6091 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
6093 * elmo-nmz.el (toplevel): Require 'mime-edit.
6094 (elmo-nmz-content-type-alist): Abolished.
6095 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6096 content is not a message.
6097 (elmo-map-message-fetch): Changed behavior exept for message content;
6098 Detect mime-charset automatically, Use `mime-find-file-type' to detect
6099 content-type, Add From: and Subject: field.
6101 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6103 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6104 (elmo-map-message-fetch): Add `Content-Type' field if contents is
6107 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6109 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6110 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6112 * elmo-archive.el (elmo-folder-writable-p): Defined.
6114 * elmo-cache.el (elmo-folder-writable-p): Ditto.
6116 * elmo-filter.el (elmo-folder-writable-p): Ditto.
6118 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6120 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6122 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6124 * elmo-mark.el (elmo-folder-writable-p): Ditto.
6126 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6128 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6130 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
6132 * elmo-util.el (elmo-address-quote-specials): New function;
6133 Renamed from `wl-address-quote-specials'.
6135 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
6137 * elmo-version.el (elmo-version): Up to 2.7.4.
6139 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
6141 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6143 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6145 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6146 both compile-time and run-time to avoid byte-compile warning.
6148 2001-09-13 Kenichi OKADA <okada@opaopa.org>
6150 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6152 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
6154 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6156 (elmo-mime-display-as-is-internal): Use it.
6158 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6159 if `read-passwd' is not defined.
6161 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
6163 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6165 (elmo-folder-status): Call `elmo-folder-open-internal';
6166 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6167 (elmo-folder-close-internal): Set location-alist as nil.
6168 (elmo-folder-clear): Define.
6169 (elmo-folder-check): Don't set location-alist as nil.
6171 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6173 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
6175 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6176 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6178 * mmimap.el (mime-imap-entity::requested): New slot.
6179 (mime-imap-location-fetch-entity-p): New generic function.
6180 (mime-decode-parameters): Define using `defun-maybe'.
6181 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6182 content-type structure.
6183 (mime-entity-body): Return empty body if
6184 `mime-imap-location-fetch-entity-p' returns nil in the first request.
6186 * elmo.el (elmo-message-displaying): New variable.
6188 * elmo-mime.el (elmo-mime-message-display): Bind
6189 elmo-message-displaying as t.
6191 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6193 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
6195 * acap.el (acap-open): erase buffer before starting network process.
6196 (acap-store): Rewrite.
6198 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
6200 * elmo-imap4.el (elmo-imap4-default-mailbox,
6201 elmo-imap4-default-server
6202 elmo-imap4-default-authenticate-type,
6203 elmo-imap4-default-user,
6204 elmo-imap4-default-port,
6205 elmo-imap4-default-stream-type,
6206 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6208 * elmo-pop3.el (elmo-pop3-default-user,
6209 elmo-pop3-default-server,
6210 elmo-pop3-default-authenticate-type,
6211 elmo-pop3-default-port,
6212 elmo-pop3-default-stream-type,
6213 elmo-pop3-stream-type-alist): Ditto.
6215 * elmo-nntp.el (elmo-nntp-default-server,
6216 elmo-nntp-default-user,
6217 elmo-nntp-default-port,
6218 elmo-nntp-default-stream-type,
6219 elmo-nntp-stream-type-alist): Ditto.
6221 * elmo-vars.el: Follow changes above.
6222 (elmo-setting): New custom group; added 'elmo-setting group to
6225 * elmo-version.el (elmo-version): Up to 2.7.3.
6227 * acap.el (acap-parse-response): Don't delete process when BYE
6228 response (It causes hang-up on slow network environment).
6229 (toplevel): Added comment.
6231 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
6233 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6235 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6237 (acap-parse-return-metadata): Ditto.
6240 (toplevel): Fixed typo.
6242 * acap.el: New file.
6243 (acap-network-stream-open): Show "Connecting..." message.
6244 (acap-parse-response): Fixed problem for BYE untagged response.
6245 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6246 (toplevel): Added tiny comments.
6248 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
6250 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6251 space delimiter for uidl response.
6253 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
6255 * elmo-vars.el (elmo-use-semi): Eliminated.
6257 * elmo-util.el (elmo-string-assoc-all): New function.
6259 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6261 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6262 property 'mime-preview-situation for `mime-preview-quit'.
6264 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6266 * elmo.el (elmo-message-fetch-with-cache-process): Call
6267 elmo-message-fetch-internal instead of causing an error when fetch
6268 strategy is 'entire but only 'section cache is available.
6270 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
6272 * elmo-version.el (elmo-version): Up to 2.7.2.
6274 * elmo.el (elmo-generic-folder-append-messages): Make
6275 fetch-strategy with `use-cache'.
6277 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6278 (elmo-dop-queue-method-name): New macro.
6280 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6282 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6283 unbalanced parenthesis.
6285 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
6287 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6289 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6291 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6292 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6294 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6296 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6299 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6301 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6302 (elmo-message-use-cache-p): Define.
6303 (elmo-folder-msgdb-create): Treat cache.
6305 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6307 * elmo-nntp.el (elmo-network-initialize-session): Call
6308 `elmo-nntp-send-mode-reader'.
6309 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6311 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6313 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6315 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6318 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6319 for `elmo-plugged-p'.
6320 (elmo-open-network-stream): Fixed stream-type argument.
6322 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6324 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6325 unknown archive type is specified.
6327 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6329 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6331 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6332 while loading msgdb.
6334 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6335 (elmo-folder-open-internal): Rewrite.
6337 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6339 * elmo-mime.el (elmo-mime-display-as-is-internal):
6340 Adjust buffer-multibyte status.
6342 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6344 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6345 of elmo-condition-find-key.
6347 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6348 (elmo-condition-in-msgdb-p): Ditto.
6349 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6352 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6354 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6356 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6358 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6359 label for elmo-display-progress.
6361 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6363 * elmo.el (elmo-folder-clear): New method.
6364 (elmo-folder-clear): Define.
6365 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6367 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6368 (elmo-folder-clear): Define.
6370 * elmo-map.el (elmo-folder-clear): Define.
6372 * elmo-version.el (elmo-version): Up to 2.7.1.
6374 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6376 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6379 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6381 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6382 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6384 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6386 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6388 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6391 * elmo-imap4.el (elmo-folder-initialize): Use
6392 elmo-get-network-stream-type.
6394 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6396 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6398 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6400 * elmo.el (elmo-message-encache): Set unread argument for
6403 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6405 * elmo.el (elmo-net-port-info): New method.
6407 * elmo-shimbun.el (elmo-net-port-info): Define.
6408 (elmo-message-encache): Ditto.
6410 * elmo-net.el (elmo-net-port-info): Define as method.
6412 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6413 unplugged status when elmo-enable-disconnected-operation is t.
6415 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6416 of spool folder before checking new number.
6418 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6420 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6421 (elmo-network-setup-session): Ditto.
6422 (elmo-message-fetch-plugged): Ditto.
6423 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6424 (elmo-network-initialize-session): Ditto.
6425 (elmo-pop3-read-response): Abolish 3rd argument.
6426 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6427 (elmo-pop3-read-contents): Ditto.
6428 (elmo-pop3-read-body): Ditto.
6429 (elmo-folder-status): Call elmo-folder-close.
6430 (elmo-pop3-lock): Abolish.
6431 (elmo-pop3-unlock): Ditto.
6432 (elmo-pop3-locked-p): Ditto.
6433 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6435 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6437 * elmo-version.el (elmo-version): Up to 2.7.0.
6439 * elmo-pop3.el (elmo-pop3-debug): New variable.
6440 (elmo-pop3-debug-inhibit-logging): Ditto.
6441 (elmo-pop3-debug): New function.
6442 (elmo-pop3-send-command): Call elmo-pop3-debug.
6443 (elmo-pop3-read-response): Added keep-lock optional argument;
6444 Don't unlock if keep-lock is non-nil.
6445 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6446 (elmo-network-authenticate-session): Bind
6447 elmo-pop3-debug-inhibit-logging as t.
6448 (elmo-network-setup-session): Call elmo-pop3-read-response with
6450 (elmo-pop3-read-msg): Ditto.
6451 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6452 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6453 (elmo-network-initialize-session): Call elmo-pop3-lock.
6454 (elmo-folder-close-internal): Don't clear location-alist slot.
6455 (elmo-folder-check): Clear location-alist slot.
6457 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6459 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6460 (elmo-pop3-send-command): Call elmo-pop3-lock.
6461 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6462 (elmo-pop3-read-contents): Ditto.
6463 (elmo-pop3-lock): New function.
6464 (elmo-pop3-unlock): Ditto.
6465 (elmo-pop3-locked-p): Ditto.
6466 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6469 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6471 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6473 * elmo-util.el (elmo-file-field-primitive-condition-match):
6474 New inline function (Don't fetch file content if "first" or "last").
6475 (elmo-file-field-condition-match): Use
6476 elmo-file-field-primitive-condition-match.
6478 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6481 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6482 (elmo-message-fetch-plugged): Fixed.
6484 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6486 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6488 * elmo.el (elmo-folder-move-messages): Bind
6489 elmo-inhibit-display-retrieval-progress as t while moving messages.
6491 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6493 (elmo-inhibit-display-retrieval-progress): Ditto.
6495 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6496 for retrieval progress;
6497 Don't display progress when total buffer size is smaller than
6498 elmo-display-retrieval-progress-threshold.
6499 (elmo-message-fetch-plugged): Don't display progress when
6500 elmo-inhibit-display-retrieval-progress is non-nil.
6502 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6503 for retrieval progress;
6504 Don't display progress when literal size is smaller than
6505 elmo-display-retrieval-progress-threshold.
6506 (elmo-imap4-message-fetch): Don't display progress when
6507 elmo-inhibit-display-retrieval-progress is non-nil.
6509 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6511 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6512 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6513 (elmo-imap4-message-fetch): Likewise.
6515 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6516 (elmo-shimbun-index-range-alist): Ditto.
6517 (elmo-shimbun-use-entire-index): Abolish.
6518 (shimbun-mua-use-entire-index): Ditto.
6519 (elmo-shimbun-folder): Added new slot `range'.
6520 (elmo-folder-initialize): Setup slot `range'.
6522 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6524 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6525 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6526 (elmo-shimbun-get-headers): Use return value of
6527 `shimbun-article-expiration-days'.
6528 (elmo-folder-close-internal): Clean up last-check slot.
6530 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6531 (elmo-pop3-total-size): New variable.
6532 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6534 * elmo.el (elmo-folder-reserve-status-p): New method.
6536 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6537 (elmo-shimbun-use-entire-index): New user option.
6538 (shimbun-elmo-mua): New class.
6539 (shimbun-mua-search-id): Define.
6540 (shimbun-mua-use-entire-index): Ditto.
6541 (elmo-shimbun-folder:last-check): New slot.
6542 (elmo-shimbun-headers-cache-header-list): Abolish.
6543 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6544 (elmo-shimbun-headers-cache-header-hash): Ditto.
6545 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6546 (elmo-shimbun-headers-cache-last-check): Ditto.
6547 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6548 (elmo-shimbun-headers-check-p): Rewrite.
6549 (elmo-shimbun-msgdb-to-headers): New function.
6550 (elmo-shimbun-get-headers): Rewrite.
6551 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6552 (elmo-folder-open-internal): Get headers only if
6553 `elmo-shimbun-headers-check-p' is non-nil.
6554 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6556 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6557 (elmo-quit): Removed.
6559 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6561 (elmo-msgdb-overview-entity-set-extra): Ditto.
6562 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6564 * elmo-map.el (elmo-folder-status): Don't call
6565 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6568 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6570 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6571 of `elmo-msgdb-search-internal-primitive' when condition's car is
6574 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6576 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6578 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6580 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6581 call `elmo-pipe-drain'.
6583 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6585 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6586 typo. (elmo-cache-folder -> elmo-mark-folder)
6588 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6590 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6591 `elmo-message-fetch'.
6593 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6595 * elmo-net.el (elmo-message-encache): Fixed typo.
6596 (elmo-message-fetch-unplugged): Changed call
6597 `elmo-message-fetch-internal' without argument `outbuf'.
6599 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6601 * elmo.el (elmo-message-encache): Define as generic function.
6602 (elmo-message-fetch-field): New generic function.
6603 (elmo-message-fetch-with-cache-process): Cause an error when
6604 fetch strategy is 'entire but only 'section cache is available.
6605 (toplevel): Fixed nmz folder definition.
6607 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6608 (elmo-msgdb-resume-list-filename): Ditto.
6609 (elmo-queue-filename): Ditto.
6610 (elmo-enable-disconnected-operation): Changed default value to t.
6612 * elmo-util.el (elmo-cache-path-section-p): New function.
6613 (elmo-file-cache-get): Use it.
6614 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6615 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6616 (elmo-dop-queue-save): Ditto.
6618 * elmo-net.el (elmo-folder-status-unplugged): Call
6619 elmo-folder-status-dop.
6620 (elmo-folder-list-messages-unplugged): Implemented.
6621 (elmo-folder-delete-messages-unplugged): Define.
6622 (elmo-folder-msgdb-create): Define.
6623 (elmo-folder-msgdb-create-unplugged): Define.
6624 (elmo-folder-mark-as-read-unplugged): Ditto.
6625 (elmo-folder-unmark-read-unplugged): Ditto.
6626 (elmo-folder-mark-as-important-unplugged): Ditto.
6627 (elmo-folder-unmark-important-unplugged): Ditto.
6628 (elmo-message-encache): Ditto.
6630 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6631 (elmo-dop-queue-save): Ditto.
6633 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6634 `elmo-folder-msgdb-create'.
6635 (elmo-folder-append-buffer): Implemented unplugged operation.
6636 (elmo-folder-append-messages): Call parent method in unplugged status.
6637 (elmo-message-fetch-unplugged): Removed definition.
6638 (elmo-message-fetch-field): Implemented.
6640 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6641 (elmo-dop-folder): Removed variable definition.
6642 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6643 (elmo-dop-queue-flush): Implemented.
6644 (elmo-dop-queue-merge): Removed definition (TODO).
6645 (elmo-dop-spool-folder): New function.
6646 (elmo-dop-spool-folder-append-buffer): Ditto.
6647 (elmo-dop-spool-folder-list-messages): Ditto.
6648 (elmo-dop-list-deleting-messages): Ditto.
6649 (elmo-folder-append-buffer-dop): Ditto.
6650 (elmo-folder-delete-messages-dop): Ditto.
6651 (elmo-message-encache-dop): New inline function.
6652 (elmo-create-folder-dop): Ditto.
6653 (elmo-folder-mark-as-read-dop): Ditto.
6654 (elmo-folder-unmark-read-dop): Ditto.
6655 (elmo-folder-mark-as-important-dop): Ditto.
6656 (elmo-folder-unmark-important-dop): Ditto.
6657 (elmo-folder-status-dop): Fixed.
6658 (elmo-folder-append-buffer-dop-delayed): New function.
6659 (elmo-folder-delete-messages-dop-delayed): Ditto.
6660 (elmo-dop-msgdb): Ditto.
6662 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6664 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6666 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6668 * elmo.el (elmo-folder-move-messages): Fixed problem when
6669 `dst-folder' is 'null.
6671 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6673 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6674 instead of current mark.
6676 * elmo-multi.el (elmo-folder-list-importants-internal): No
6677 operation if importants is not list.
6679 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6680 Return t if importants is not list.
6682 * elmo-map.el (elmo-map-folder-list-importants): Define.
6683 (elmo-folder-list-importants-internal): Check return value of
6684 `elmo-map-folder-list-importants-internal'.
6686 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6688 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6690 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6692 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6694 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6696 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6697 (Patch is provided by <kita@coe.nttdata.co.jp>).
6699 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6701 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6704 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6706 * elmo.el (elmo-message-fetch): Define.
6707 (elmo-message-fetch-with-cache-process): New generic method.
6708 (elmo-message-fetch-internal): New generic method.
6709 (elmo-folder-synchronize):
6711 * elmo-archive.el (elmo-message-fetch-internal): Define.
6712 (elmo-message-fetch): Eliminated.
6714 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6715 (elmo-message-fetch): Eliminated.
6717 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6719 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6721 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6722 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6724 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6725 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6727 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6729 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6731 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6733 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6734 (elmo-message-fetch-unplugged): New generic method.
6735 (elmo-message-fetch-internal): Remove cache process (Renamed from
6736 `elmo-message-fetch').
6738 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6739 (elmo-message-fetch): Eliminated.
6740 (elmo-message-fetch-unplugged): Ditto.
6742 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6744 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6746 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6747 of `to-be-deleted' from number-alist to number-list.
6749 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6751 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6752 (elmo-folder-mark-as-important): Ditto.
6754 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6756 * elmo.el (elmo-folder): Added process-duplicates slot.
6758 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6759 (elmo-folder-unmark-read): Ditto.
6760 (elmo-folder-unmark-important): Ditto.
6761 (elmo-folder-mark-as-important): Ditto.
6763 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6764 duplicated message processing.
6766 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6768 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6770 * elmo-util.el (elmo-list-subdirectories-1): New function.
6771 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6772 (elmo-mapcar-list-of-list): New function.
6774 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6775 `elmo-mapcar-list-of-list' instead of `mapcar'.
6777 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6779 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6780 `elmo-have-link-count'. Return the fully qualified folder name.
6782 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6784 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6785 (elmo-shimbun-headers-cache): New internal variable.
6786 (elmo-shimbun-headers-cache-header-list): New inline function.
6787 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6788 (elmo-shimbun-headers-cache-header-hash): Ditto.
6789 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6790 (elmo-shimbun-headers-cache-last-check): Ditto.
6791 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6792 (elmo-shimbun-lapse-seconds): Ditto.
6793 (elmo-shimbun-headers-cache-check-p): Ditto.
6794 (elmo-shimbun-get-headers): New function.
6795 (elmo-folder-open-internal): Call it.
6796 (elmo-quit): Define (Clear headers-cache).
6798 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6800 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6802 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6803 (elmo-msgdb-flist-save): Ditto.
6805 * elmo-shimbun.el (elmo-folder-list-subfolders):
6806 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6807 (elmo-folder-exists-p): Ditto.
6809 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6810 argument for `shimbun-header-insert'.
6812 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6814 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6817 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6818 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6820 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6822 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6823 (elmo-folder-plugged-p): Define.
6824 (elmo-folder-set-plugged): Ditto.
6825 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6826 (elmo-folder-list-messages-internal): Return t if unplugged.
6827 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6829 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6830 when elmo-folder-list-messages-internal method of children returns t.
6832 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6834 (elmo-folder-open-internal): Don't update if unplugged status.
6836 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6838 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6841 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6843 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6845 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6848 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6850 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6852 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6853 (elmo-folder-open-internal): Set up headers slot.
6854 (elmo-folder-check): Call elmo-folder-close-internal and
6855 elmo-folder-open-internal.
6856 (elmo-folder-close-internal): Clean up headers slot.
6858 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6860 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6861 exactly folder list.
6862 (elmo-folder-append-messages): Fixed append archive with prefix.
6864 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6865 make temp files with start-number.
6867 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6869 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6871 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6872 argument `visible-only'.
6873 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6876 * elmo-pop3.el (elmo-folder-open-internal): Check
6877 `elmo-inhibit-number-mapping' is non-nil.
6879 * elmo-pipe.el (elmo-folder-status): Fixed.
6881 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6883 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6885 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6886 (elmo-folder-open-internal): Setup `header-hash' slot.
6887 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6889 (elmo-map-message-fetch): Ditto.
6891 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6893 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6894 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6895 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6896 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6898 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6900 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6902 * sb-airs.el: Added footer.
6904 * shimbun.el (shimbun-article): Define as luna-method.
6906 * sb-tcup.el: New file.
6908 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6909 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6911 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6913 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6914 (shimbun-get-headers): Ditto.
6916 * elmo.el: Moved obsolete variable definitions from
6917 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6919 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6922 * shimbun.el: New file.
6924 * elmo-shimbun.el: New file.
6926 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6927 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6928 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6929 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6931 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6933 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6936 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6938 * elmo.el (elmo-folder-msgdb): Define as macro.
6939 (elmo-folder-open): Added argument `load-msgdb'.
6940 (elmo-generic-folder-open): Ditto.
6941 (elmo-folder-encache): New function.
6943 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6945 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6947 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6948 Eliminated argument FOLDER and added argument MSGDB.
6949 (elmo-dop-queue-load): Moved from elmo-dop.el.
6950 (elmo-dop-queue-save): Ditto.
6952 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6954 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6956 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6957 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6958 (elmo-filter-folder-list-importants-internal): Ditto.
6960 * elmo-map.el (elmo-folder-pack-number): Ditto.
6962 * elmo-mime.el (elmo-mime-message-display): Ditto.
6964 * elmo.el (elmo-generic-folder-commit): Ditto.
6965 (elmo-folder-list-unreads): Ditto.
6966 (elmo-folder-list-importants): Ditto.
6967 (elmo-generic-folder-commit): Ditto.
6968 (elmo-message-set-mark): Ditto.
6969 (elmo-generic-folder-append-msgdb): Ditto.
6970 (elmo-folder-synchronize): Ditto.
6971 (elmo-folder-messages): Ditto.
6972 (elmo-init): Call elmo-dop-queue-load.
6973 (elmo-folder-list-messages): Ditto.
6975 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6976 (elmo-nntp-folder-process-crosspost): Ditto.
6977 (elmo-folder-list-unreads-internal): Ditto.
6979 * elmo-dop.el: Removed old functions.
6981 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6983 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6984 `folder' to `msgdb'.
6986 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6988 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6989 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6991 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6994 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6996 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6999 * mmimap.el (toplevel): Require 'mime-parse and 'static.
7000 (mmimap-parse-parameters-from-list): Define as alias for
7001 `mime-decode-parameter-plist' if it is defined as function.
7002 (mmimap-make-mime-entity): Added argument `number'.
7003 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7005 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7007 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7009 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7011 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7013 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
7015 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7017 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7018 when elmo-imap4-default-authenticate-type is nil.
7019 (elmo-folder-list-subfolders): Ditto
7020 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7021 (elmo-imap4-fetch-callback-1-subr): Renamed from
7022 `elmo-imap4-fetch-callback-1' and define as inline function.
7023 (elmo-imap4-fetch-callback-1):
7024 Renamed from `elmo-imap4-fetch-callback'.
7025 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7027 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7028 msgdb path (To keep compatibility with main trunk).
7030 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7032 * elmo-util.el (elmo-make-file-cache): Moved position of
7035 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7036 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7037 instead of `elmo-pop3-inhibit-uidl'.
7038 (elmo-folder-exists-p): Ditto.
7039 (elmo-pop3-folder-list-messages): Ditto.
7041 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7042 instead of `elmo-pop3-inhibit-uidl'.
7043 (elmo-folder-status): Ditto.
7045 * elmo-dop.el (elmo-dop-folder): New variable.
7046 (elmo-dop-lock-message): Eliminated.
7047 (elmo-dop-unlock-message): Ditto.
7048 (elmo-dop-lock-list-load): Ditto.
7049 (elmo-dop-lock-list-save): Ditto.
7050 (elmo-dop-delete-folder): Ditto.
7051 (elmo-dop-rename-folder): Ditto.
7053 * elmo.el: Removed incomplete commentary.
7055 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
7057 * elmo.el (toplevel): Require 'elmo-version first;
7058 for little `recursive-load-depth' settings.
7059 Fix "ends here" comment.
7061 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
7063 * elmo-util.el (toplevel): Require 'poem;
7064 Some functions are moved from elmo-cache.el.
7066 * elmo-net.el (toplevel): Require 'elmo-cache.
7068 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7070 * elmo.el (toplevel): Ditto.
7072 * elmo-cache.el: Rewrite with luna;
7073 Some functions are moved to elmo-util.el.
7075 * elmo-internal.el (elmo-internal-folder-list): New variable.
7076 (elmo-internal-folder-initialize): Rewrite.
7077 (elmo-folder-list-subfolders): Ditto.
7079 * elmo-cache.el (elmo-cache-search-all): Eliminated.
7080 (elmo-cache-collect-sub-directories): Ditto.
7082 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
7084 * elmo-version.el (elmo-version): Up to 2.5.8.
7086 * elmo.el (elmo-folder-list-messages-mark-match): New function.
7088 * elmo-util.el (elmo-list-insert): New function.
7090 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
7092 * elmo.el (elmo-init): New function.
7093 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7095 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7096 (Renamed from `elmo-localdir-header-chop-length').
7098 * elmo-pop3.el (elmo-pop3-use-cache,
7099 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7101 * elmo-nntp.el (elmo-message-fetch): Define.
7102 (elmo-message-fetch-unplugged): Ditto.
7103 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7104 (elmo-nntp-use-cache): Ditto.
7105 (elmo-nntp-max-number-precedes-list-active): Ditto.
7107 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7109 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7110 `elmo-msgdb-insert-file-header'.
7111 Use `elmo-msgdb-file-header-chop-length'.
7113 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7116 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7117 (elmo-cache-msgdb-create-overview-entity-from-file): Use
7118 `elmo-msgdb-insert-file-header'.
7120 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7122 Define obsolete variables with `elmo-define-obsolete-variable',
7124 * elmo-util.el (elmo-warning-buffer-name): New constant.
7125 (elmo-warning): New function.
7126 (elmo-obsolete-variable-alist): New variable.
7127 (elmo-obsolete-variable-show-warnings): New variable.
7128 (elmo-define-obsolete-variable): New function.
7129 (elmo-resque-obsolete-variable): Ditto.
7130 (elmo-resque-obsolete-variables): Ditto.
7132 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7134 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7137 * elmo-pop3.el, elmo-nntp.el: Use custom.
7139 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7141 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7142 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7144 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7146 * Luna-fy Kenichi OKADA's following changes.
7147 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7149 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7151 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
7153 * elmo-util.el (elmo-display-progress): Prefer
7154 `progress-feedback-with-label' to `lprogress-display'.
7156 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7158 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7160 2000-02-19 Kenichi OKADA <okada@opaopa.org>
7162 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7163 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7164 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7165 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7166 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7167 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7168 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7169 * elmo-filter.el (elmo-filter-list-folder): Ditto.
7170 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7171 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7172 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7173 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7174 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7176 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7178 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7179 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7181 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7183 * elmo.el (elmo-folder-process-crosspost): New generic method.
7184 (elmo-folder-writable-p): Ditto.
7185 (elmo-folder-message-appendable-p): Eliminated.
7186 (elmo-generic-folder-append-msgdb): Rewrite.
7187 (elmo-newsgroups-hashtb): New internal variable.
7188 (elmo-crosspost-message-set): Eliminated.
7189 (elmo-crosspost-message-delete): Ditto.
7190 (elmo-setup-subscribed-newsgroups): New function.
7191 (elmo-crosspost-message-alist-modified): New internal variable.
7192 (elmo-crosspost-message-alist-load): New function (Renamed from
7193 `wl-crosspost-alist-load').
7194 (elmo-crosspost-message-alist-save): Ditto (Renamed from
7195 `wl-crosspost-alist-save').
7197 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7199 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7201 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7202 elmo-newsgroups-hashtb).
7203 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7204 `elmo-nntp-folder-update-crosspost-message-alist'.
7205 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7206 `elmo-nntp-groups-hashtb'.
7207 (elmo-nntp-make-groups-hashtb): Eliminated.
7208 (elmo-nntp-parse-newsgroups): New function (Renamed from
7209 `wl-parse-newsgroups').
7210 (elmo-folder-creatable-p, elmo-folder-writable-p,
7211 elmo-folder-close-internal, elmo-folder-mark-as-read,
7212 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7214 (elmo-nntp-folder-update-crosspost-message-alist): New function.
7216 * elmo-net.el (elmo-message-fetch): Check buffer size.
7218 * elmo-multi.el (elmo-multi-split-number-alist): New function.
7220 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7222 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7223 before `close' command.
7225 * elmo.el (elmo-folder-list-unreads-internal): Added argument
7226 `mark-alist' (All other related portions are changed).
7228 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
7230 * elmo-util.el (elmo-create-hash-size): Eliminated.
7231 (elmo-make-hash) Make a hash with `one less than a power of two'
7234 * elmo-vars.el (elmo-hash-minimum-size): New variable.
7235 (elmo-hash-maximum-size): Changed value.
7237 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
7239 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7240 (elmo-mime-message-display-as-is): Ditto.
7242 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
7244 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7245 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7247 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
7249 * elmo-mark.el: New file.
7251 * elmo-internal.el: Rewrite (Almost empty).
7253 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
7255 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7256 (mime-imap-entity-header-string): Ditto.
7257 (mmimap-entity-section): Rewrite.
7259 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7261 * elmo-nmz.el: New file.
7263 * elmo-pipe.el: Rewrite with luna.
7265 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
7267 * elmo-archive.el: Rewrite with luna.
7269 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7270 (elmo-folder-list-importants-internal): Ditto.
7272 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
7274 * elmo-archive.el (elmo-archive-version): Abolish.
7275 (toplevel) Removed `boso' comment.
7277 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
7279 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7280 elmo-msgdb-add-msgs-to-seen-list-subr;
7281 Changed argument seen-marks to unread-marks.
7283 * elmo-nntp.el: Rewrite with luna.
7285 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
7287 * elmo-filter.el: Rewrite with luna.
7289 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7291 * elmo-pop3.el: Rewrite with luna.
7293 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7295 * elmo-multi.el: Rewrite with luna.
7297 * elmo-vars.el (elmo-use-killed-list): Abolish.
7298 All other related portions are changed.
7299 (elmo-filename-replace-string-alist): Renamed from
7300 elmo-msgid-replace-string-alist.
7302 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7304 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7306 * elmo-map.el: New file.
7307 * elmo-maildir.el: Rewrite with luna.
7309 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7311 * elmo.el: Changed meaning of `elmo-folder-commit'.
7312 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7314 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7316 * elmo.el (elmo-folder-append-buffer): New function.
7317 (Renamed from `elmo-append-msg')
7319 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7321 * elmo-mime.el: New file.
7323 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7325 * elmo-cache.el: Rewrite.
7327 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7329 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7331 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7333 * elmo-vars.el (elmo): New group.
7334 (elmo-strict-diff-folder-regexp): New variable.
7336 * elmo-util.el (elmo-call-func): Abolish.
7337 (elmo-folder-get-type): Ditto.
7338 (elmo-*-get-spec): Ditto.
7339 (elmo-*-spec-*): Ditto.
7340 (elmo-imap4-identical-name-space-p): Ditto.
7341 (elmo-folder-identical-system-p): Ditto.
7342 (elmo-folder-direct-copy-alist): Ditto.
7343 (elmo-folder-direct-copy-p): Ditto.
7345 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7346 (elmo-folder-initialize): Define.
7347 (elmo-folder-get-primitive-list): Ditto.
7349 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7350 (elmo-folder-initialize): Define.
7351 Renamed `elmo-network-session-host-internal' to
7352 `elmo-network-session-server-internal'.
7354 * elmo-multi.el (elmo-multi-folder): New luna class.
7355 (elmo-folder-initialize): Define.
7356 (elmo-folder-get-primitive-list): Ditto.
7357 (elmo-folder-contains-type): Ditto.
7358 (elmo-message-use-cache-p): Ditto.
7360 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7361 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7363 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7364 (elmo-folder-initialize): Define.
7366 * elmo-filter.el (elmo-filter-folder): New luna class.
7367 (elmo-folder-initialize): Define.
7368 (elmo-folder-get-primitive-list): Ditto.
7369 (elmo-folder-contains-type): Ditto.
7371 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7373 * elmo-imap4.el: Rewrite with luna.
7375 * mmimap.el: New file.
7377 * mmelmo.el, mmelmo-imap4.el: Removed.
7379 * elmo-net.el: Ditto.
7381 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7382 (elmo-folder-initialize): Define.
7384 * elmo-archive.el (elmo-archive-folder): New luna class.
7385 (elmo-folder-initialize): Define.
7387 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7388 `elmo-folder-msgdb-path'.
7389 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7392 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7394 * elmo.el: New file.
7396 * elmo2.el: Renamed to elmo.el.
7399 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7401 * elmo-cache.el (elmo-cache-expire-by-size): Count
7402 a disk usage for a cache file entry in KB even when
7403 its kind is a directory.
7405 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7407 * elmo-version.el (elmo-version): Up to 2.5.7.
7409 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7411 * elmo-version.el (elmo-version): Up to 2.5.6.
7413 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7415 * elmo-version.el (elmo-version): Up to 2.5.5.
7417 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7419 * elmo-imap4.el (elmo-network-authenticate-session):
7420 Fixed a logic for response checking.
7422 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7424 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7425 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7426 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7429 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7430 for `starttls-open-stream' and `starttls-negotiate'.
7432 * elmo-nntp.el: Remove autoload settings for
7433 `starttls-open-stream' and `starttls-negotiate'.
7435 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7436 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7437 `luna-define-class' with `eval-and-compile'.
7439 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7441 * elmo-util.el (elmo-read-search-condition-internal):
7442 Require an element of table for searching field.
7444 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7446 * elmo-version.el (elmo-version): Up to 2.5.4.
7448 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7450 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7452 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7454 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7456 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7458 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7461 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7463 * elmo-imap4.el (elmo-imap4-delete-folder):
7464 Send "close" before "delete" (Use commented out line).
7465 (elmo-imap4-rename-folder): Ditto.
7467 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7468 folder string itself.
7469 (elmo-dop-list-deleted): New function.
7470 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7473 * elmo-util.el (elmo-string-rassoc-all): New function.
7475 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7477 * elmo-version.el (elmo-version): Up to 2.5.3.
7479 * elmo-net.el (elmo-network-get-session): Changed logic for
7480 checking process status.
7482 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7484 Changed logic for checking process status.
7486 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7488 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7490 (elmo-network-setup-session): Set UIDL hash size according to
7491 the length of list response.
7492 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7493 according to the length of list response;
7494 Return the length of list response.
7495 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7497 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7499 * elmo-imap4.el (toplevel): Require 'ssl.
7500 Add autoload 'starttls.
7501 * elmo-pop3.el (toplevel): Ditto.
7502 * elmo-nntp.el (toplevel): Ditto.
7504 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7506 * elmo-imap4.el (toplevel): defun at compile time.
7507 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7508 sasl-next-step, sasl-step-data, sasl-step-set-data.
7509 * elmo-pop3.el (toplevel): Ditto.
7511 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7513 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7515 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7517 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7519 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7520 and `elmo-pop-auth-apop'.
7522 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7524 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7526 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7528 * elmo-pop3.el (elmo-network-authenticate-session): Split
7529 encoded response value.
7531 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7533 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7534 `elmo-pop3-force-login'.
7535 Redefine `sasl-mechanisms'.
7536 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7538 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7540 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7541 Delete `elmo-imap4-authenticator-alist'.
7542 (elmo-imap4-auth-cram-md5): Delete.
7543 (elmo-imap4-auth-digest-md5): Delete.
7545 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7547 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7548 (elmo-pop3-auth-scram-md5): Ditto.
7549 (elmo-pop3-auth-cram-md5): Ditto.
7551 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7553 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7554 Delete `elmo-pop3-authenticator-alist'.
7556 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7558 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7560 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7562 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7564 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7566 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7568 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7569 Fixed problem when `elmo-pop3-use-uidl' is nil.
7570 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7572 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7574 * elmo-version.el (elmo-version): Up to 2.5.2.
7576 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7578 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7580 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7581 (elmo-pop3-msgdb-create-as-numlist): Use it.
7583 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7584 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7586 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7587 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7589 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7591 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7592 when elmo-mark-as-read is called with second argument nil.
7594 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7596 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7597 Moved to elmo-util.el.
7599 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7600 Moved from elmo-pipe.el
7602 * elmo-archive.el (elmo-archive-call-process): Enclose with
7605 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7606 "RFC822" (because RFC822.PEEK is obsolete).
7607 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7609 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7611 * elmo-archive.el (elmo-archive-call-process): Don't check for
7612 the exit status when Nemacs is running.
7614 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7616 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7619 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7620 (elmo-pop3-get-spec): Set default of auth to 'user.
7622 * elmo-imap4.el (elmo-imap4-session-check):
7623 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7624 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7625 (elmo-imap4-auth-login): New function; Revival.
7626 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7627 `elmo-imap4-auth-login'.
7629 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7631 * elmo2.el (toplevel): Move `product-provide' declare.
7632 * mmelmo.el (toplevel): Ditto.
7634 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7636 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7638 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7640 * elmo-util.el (elmo-folder-get-store-type): New function.
7641 (elmo-folder-direct-copy-p): Use it.
7643 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7645 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7646 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7647 and result of `elmo-imap4-use-flag-p'.
7648 (elmo-imap4-fetch-callback-1): Set mark according to
7649 the result of `elmo-imap4-use-flag-p'.
7651 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7653 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7654 (elmo-generic-list-folder-unread): Ditto.
7655 (elmo-folder-get-info): Ditto.
7656 (elmo-folder-set-info-max-by-numdb): Ditto.
7657 (elmo-folder-get-info-max): Ditto.
7658 (elmo-folder-get-info-length): Ditto.
7659 (elmo-folder-get-info-unread): Ditto.
7660 (elmo-folder-info-make-hashtb): Ditto.
7662 * elmo2.el: Removed above functions.
7664 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7666 * elmo-imap4.el (toplevel): Require 'ssl.
7667 Add autoload 'starttls.
7668 * elmo-pop3.el (toplevel): Ditto.
7669 * elmo-nntp.el (toplevel): Ditto.
7671 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7673 * elmo-imap4.el (toplevel): defun at compile time.
7674 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7675 sasl-next-step, sasl-step-data, sasl-step-set-data.
7676 * elmo-pop3.el (toplevel): Ditto.
7678 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7680 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7682 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7684 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7686 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7687 and `elmo-pop-auth-apop'.
7689 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7691 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7693 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7695 * elmo-pop3.el (elmo-network-authenticate-session): Split
7696 encoded response value.
7698 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7700 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7701 `elmo-pop3-force-login'.
7702 Redefine `sasl-mechanisms'.
7703 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7705 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7707 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7708 Delete `elmo-imap4-authenticator-alist'.
7709 (elmo-imap4-auth-cram-md5): Delete.
7710 (elmo-imap4-auth-digest-md5): Delete.
7712 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7714 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7715 (elmo-pop3-auth-scram-md5): Ditto.
7716 (elmo-pop3-auth-cram-md5): Ditto.
7718 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7720 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7721 Delete `elmo-pop3-authenticator-alist'.
7723 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7725 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7727 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7730 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7732 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7734 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7736 * elmo-nntp.el (elmo-nntp-get-folders-info):
7737 Fixed problem when '\' character is contained in user-id.
7738 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7741 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7743 * elmo-imap4.el (elmo-imap4-delete-folder):
7744 Send "close" before "delete" (Use commented out line).
7745 (elmo-imap4-rename-folder): Ditto.
7747 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7748 folder string itself.
7749 (elmo-dop-list-deleted): New function.
7750 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7753 * elmo-util.el (elmo-string-rassoc-all): New function.
7755 * elmo-version.el (elmo-version): Up to 2.5.1.
7757 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7759 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7761 * elmo-internal.el (elmo-internal-search): Fix last change.
7763 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7765 * elmo-internal.el (elmo-internal-search): Rewrite.
7766 (Fixed problem which is pointed out by Akihiro MOTOKI
7767 <motoki@da.jp.nec.com>)
7769 * elmo-version.el (elmo-version): Up to 2.5.0.
7771 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7773 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7775 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7777 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7778 non-nil, make hierarchy.
7780 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7782 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7783 `elmo-pop3-use-uidl' must be bound to nil.
7784 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7786 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7788 * elmo-util.el (elmo-copy-file): Don't cause an error after
7789 `add-name-to-file' failed.
7791 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7792 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7794 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7796 * elmo-version.el (elmo-version): Up to 2.3.93.
7798 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7800 * elmo-util.el (elmo-flatten): New function.
7802 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7804 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7806 * elmo-cache.el (toplevel): Ditto.
7807 * elmo-database.el (toplevel): Ditto.
7808 * elmo-date.el (toplevel): Ditto.
7809 * elmo-dop.el (toplevel): Ditto.
7810 * elmo-filter.el (toplevel): Ditto.
7811 * elmo-imap4.el (toplevel): Ditto.
7812 * elmo-internal.el (toplevel): Ditto.
7813 * elmo-localdir.el (toplevel): Ditto.
7814 * elmo-localnews.el (toplevel): Ditto.
7815 * elmo-maildir.el (toplevel): Ditto.
7816 * elmo-msgdb.el (toplevel): Ditto.
7817 * elmo-multi.el (toplevel): Ditto.
7818 * elmo-net.el (toplevel): Ditto.
7819 * elmo-nntp.el (toplevel): Ditto.
7820 * elmo-pipe.el (toplevel): Ditto.
7821 * elmo-pop3.el (toplevel): Ditto.
7822 * elmo-util.el (toplevel): Ditto.
7823 * elmo-vars.el (toplevel): Ditto.
7824 * elmo2.el (toplevel): Ditto.
7825 * mmelmo-imap4.el (toplevel): Ditto.
7826 * mmelmo.el (toplevel): Ditto.
7828 * elmo-version.el (elmo-version): Move to top.
7830 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7831 * elmo-imap4.el (toplevel): Ditto.
7832 * elmo-localdir.el (toplevel): Ditto.
7833 * elmo-msgdb.el (toplevel): Ditto.
7834 * elmo-nntp.el (toplevel): Ditto.
7835 * elmo-pop3.el (toplevel): Ditto.
7836 * elmo-version.el (toplevel): Ditto.
7838 * elmo-localnews.el (toplevel): Added Keyword header.
7840 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7842 * elmo-version.el (product-version-as-string): Defined using
7846 * elmo-localdir.el (toplevel): Updated copyright notice.
7847 * elmo-version.el (toplevel): Ditto.
7848 * elmo-msgdb.el (toplevel): Ditto.
7849 * elmo-imap4.el (toplevel): Ditto.
7850 * elmo-nntp.el (toplevel): Ditto.
7851 * elmo-pop3.el (toplevel): Ditto.
7853 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7855 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7858 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7859 parameter value (It sometimes contains raw kanji).
7861 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7863 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7864 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7866 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7868 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7870 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7872 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7873 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7875 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7877 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7878 value if selecting folder succceeded.
7879 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7881 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7883 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7886 * elmo-util.el (elmo-string-matched-member): New function.
7888 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7890 * elmo-util.el (elmo-unintern): New macro.
7891 (elmo-number-set-member): Fixed docstring.
7893 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7896 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7898 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7899 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7901 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7903 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7906 Return non-nil if selecting folder succeeded.
7907 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7909 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7911 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7912 `file-name-completion' returns t.
7913 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7914 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7915 directory if it does not exist.
7916 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7919 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7921 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7922 enclosure (It's harmful in unplugged status).
7924 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7926 * mmelmo-1.el: Removed.
7928 * mmelmo-2.el: Ditto.
7930 * mmelmo-imap4-1.el: Ditto.
7932 * mmelmo-imap4-2.el: Ditto.
7934 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7936 * mmelmo.el: Merged mmelmo-2.el.
7938 * elmo-version.el (elmo-version): Up to 2.3.92.
7940 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7942 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7943 elmo-update-number): Remove last period in "...done." message.
7944 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7946 * elmo-cache.el (elmo-cache-expire-by-size,
7947 elmo-cache-get-sorted-cache-file-list,
7948 elmo-cache-msgdb-create-as-numlist): Ditto.
7949 * elmo-dop.el (elmo-dop-save-pending-messages,
7950 (elmo-dop-flush-pending-append-operations): Ditto.
7951 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7952 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7953 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7954 (elmo-localdir-pack-number): Ditto.
7955 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7956 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7957 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7958 mime-write-entity-content): Ditto.
7959 * pldap.el (ldap-search-basic): Ditto.
7961 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7963 * elmo-version.el (elmo-version): Up to 2.3.91.
7965 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7966 Only when filter is 'last'.
7968 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7969 (elmo-condition-parse-search-value): Use it.
7970 (elmo-read-search-condition-internal): Quote value only when
7973 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7975 * elmo2.el (elmo-generic-folder-diff): Fix.
7977 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7979 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7980 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7981 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7982 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7983 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7984 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7986 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7988 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7991 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7993 * elmo-version.el (elmo-version): Up to 2.3.90.
7995 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7996 (elmo-imap4-list-folder-important): Ditto.
7998 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8000 * elmo-nntp.el (elmo-network-initialize-session): Fix.
8002 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8004 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8006 2000-10-15 Kenichi OKADA <okada@opaopa.org>
8008 * elmo-nntp.el (elmo-network-initialize-session):
8009 Add starttls negotiation.
8011 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8013 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8015 (elmo-network-setup-session): Define.
8016 Call `elmo-nntp-send-mode-reader' when session opened.
8018 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8020 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8022 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
8024 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8025 an invalid SPACE character ahead of `SEARCH' command. Move
8026 a valid SPACE character following `SEARCH' from conditional
8027 `format' arguments to control-strings.
8029 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8031 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8034 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8036 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
8038 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8039 `w32-get-true-file-link-count' as t.
8041 * elmo-imap4.el (elmo-imap4-read): Abolished.
8042 (Renamed to `elmo-read' and moved to elmo-util.el)
8043 All other related portions are changed.
8045 * elmo-util.el (elmo-read): New function.
8046 (elmo-condition-parse-search-value): Use it.
8048 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
8050 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8052 * elmo-nntp.el (elmo-nntp-session): Define.
8053 (elmo-nntp-setting): Abolished.
8054 All other related portions are changed.
8055 (elmo-nntp-get-server-command): Changed argument.
8056 (elmo-nntp-set-server-command): Ditto.
8057 (elmo-nntp-xover-p): Ditto.
8058 (elmo-nntp-set-xover): Ditto.
8059 (elmo-nntp-listgroup-p): Ditto.
8060 (elmo-nntp-set-listgroup): Ditto.
8061 (elmo-nntp-list-active-p): Ditto.
8062 (elmo-nntp-set-list-active): Ditto.
8063 (elmo-nntp-xhdr-p): Ditto.
8064 (elmo-nntp-set-xhdr): Ditto.
8065 (elmo-nntp-flush-connection): Abolished.
8066 (elmo-nntp-get-connection): Abolished.
8067 (elmo-nntp-get-session): New function.
8068 (elmo-network-initialize-session): Defined.
8069 (elmo-network-authenticate-session): Ditto.
8070 (elmo-nntp-send-mode-reader): Changed argument.
8071 (elmo-nntp-send-command): Changed argument.
8072 All other related portions are changed.
8073 (elmo-nntp-read-response): Ditto.
8074 (elmo-nntp-read-raw-response): Ditto.
8075 (elmo-nntp-read-contents): Ditto.
8076 (elmo-nntp-read-body): Ditto.
8077 (elmo-nntp-goto-folder): Abolished.
8078 (elmo-nntp-select-group): New function.
8079 All other related portions are changed.
8080 (This function substitutes `elmo-nntp-goto-folder')
8081 (elmo-nntp-msgdb-create-by-header): Rewrite.
8082 (elmo-nntp-get-overview): Eliminated.
8083 (elmo-nntp-get-message): Ditto.
8084 (elmo-nntp-open-connection) Abolished.
8085 (elmo-nntp-read-msg): Rewrite.
8086 (elmo-nntp-post): Ditto.
8087 (elmo-nntp-send-data): Abolished.
8088 (elmo-nntp-send-buffer): New function.
8089 (elmo-nntp-send-data-line): Define as inline function.
8090 (elmo-nntp-get-folders-info-prepare): Use session as key.
8091 (elmo-nntp-groups-read-response): Changed argument.
8092 (elmo-nntp-retrieve-headers): Ditto.
8093 (elmo-nntp-msgdb-create-message): Ditto.
8095 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8096 when searching by 'since' or 'before'.
8098 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
8100 * elmo-version.el (toplevel): Use product-version-as-string for set
8101 verstion-string, if defined.
8103 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
8105 * elmo-util.el: Doc fixes.
8107 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8109 * elmo-archive.el (toplevel): Use product-provide.
8110 * elmo-cache.el (toplevel): Ditto.
8111 * elmo-database.el (toplevel): Ditto.
8112 * elmo-date.el (toplevel): Ditto.
8113 * elmo-dop.el (toplevel): Ditto.
8114 * elmo-filter.el (toplevel): Ditto.
8115 * elmo-imap4.el (toplevel): Ditto.
8116 * elmo-internal.el (toplevel): Ditto.
8117 * elmo-localdir.el (toplevel): Ditto.
8118 * elmo-localnews.el (toplevel): Ditto.
8119 * elmo-maildir.el (toplevel): Ditto.
8120 * elmo-msgdb.el (toplevel): Ditto.
8121 * elmo-multi.el (toplevel): Ditto.
8122 * elmo-net.el (toplevel): Ditto.
8123 * elmo-nntp.el (toplevel): Ditto.
8124 * elmo-pipe.el (toplevel): Ditto.
8125 * elmo-pop3.el (toplevel): Ditto.
8126 * elmo-util.el (toplevel): Ditto.
8127 * elmo-vars.el (toplevel): Ditto.
8128 * elmo2.el (toplevel): Ditto.
8129 * mmelmo-1.el (toplevel): Ditto.
8130 * mmelmo-2.el (toplevel): Ditto.
8131 * mmelmo-imap4-1.el (toplevel): Ditto.
8132 * mmelmo-imap4-2.el (toplevel): Ditto.
8133 * mmelmo-imap4.el (toplevel): Ditto.
8134 * mmelmo.el (toplevel): Ditto.
8136 2000-10-10 Kenichi OKADA <okada@opaopa.org>
8138 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8139 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8141 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
8143 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8145 (elmo-multi-split-number-alist): Ditto.
8147 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8149 * elmo-version.el: New file. Use product.el.
8150 * elmo2.el: Add (require 'elmo-version).
8151 * elmo-vars.el (elmo-appname, elmo-version): Move to
8154 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
8156 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8157 `elmo-msgdb-expand-path'.
8158 (elmo-msgdb-load): Ditto.
8159 Abolished 2nd argument. If 1st argument is not string, treat as spec.
8160 (elmo-generic-list-folder-unread): Rewrite.
8161 (elmo-generic-list-folder-important): Changed argument.
8162 (elmo-list-folder-unread): Ditto.
8163 (elmo-list-folder-important): Ditto.
8164 (elmo-folder-diff): Rewrite.
8165 (elmo-generic-folder-diff): New function.
8166 (elmo-multi-get-number-alist-list): Abolished
8167 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8168 (elmo-multi-folder-diff): Moved to elmo-multi.el
8169 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8171 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8172 `elmo-msgdb-expand-path'.
8173 (elmo-pop3-msgdb-create-as-numlist): Ditto.
8174 (elmo-pop3-read-msg): Ditto.
8175 (elmo-pop3-delete-msgs): Ditto.
8176 (elmo-pop3-folder-diff): New alias.
8178 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8179 `elmo-msgdb-expand-path'.
8180 (elmo-pipe-list-folder-unread): Changed arguments.
8181 (elmo-pipe-list-folder-important): Ditto.
8182 (elmo-pipe-folder-diff): New alias.
8184 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8185 `elmo-msgdb-expand-path'.
8186 (elmo-nntp-max-of-folder): Ditto.
8187 (elmo-nntp-msgdb-create): Ditto.
8188 (elmo-nntp-delete-msgs): Ditto.
8189 (elmo-nntp-folder-diff): New alias.
8191 * elmo-multi.el (elmo-multi-folder-diff): New function.
8192 (elmo-multi-split-mark-alist): Ditto.
8193 (elmo-multi-split-number-alist): Ditto.
8194 (elmo-multi-mark-alist-list): Abolished (Renamed to
8195 elmo-multi-split-mark-alist).
8196 (elmo-multi-list-folder-unread): Rewrite.
8197 (elmo-multi-list-folder-important): Ditto.
8198 (elmo-multi-list-folder): Set `spec' as 1st argument for
8199 `elmo-msgdb-expand-path'.
8200 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8201 instead of `elmo-multi-get-number-alist-list'.
8203 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8204 If 1st argument is not string, treat as spec.
8205 (elmo-list-folder-by-location): Set `spec' as 1st argument for
8206 `elmo-msgdb-expand-path'.
8207 (elmo-msgdb-flist-load): Ditto.
8208 (elmo-msgdb-flist-save): Ditto.
8209 (elmo-msgdb-delete-path): Ditto.
8210 (elmo-msgdb-rename-path): Ditto.
8212 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8213 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8214 (elmo-maildir-delete-mark-msgs): Ditto.
8215 (elmo-maildir-msgdb-create): Ditto.
8216 (elmo-maildir-read-msg): Ditto.
8217 (elmo-maildir-delete-msgs): Ditto.
8218 (elmo-maildir-list-folder-subr): Ditto.
8219 (elmo-maildir-search): Ditto.
8220 (elmo-maildir-get-msg-filename): Ditto.
8221 (elmo-maildir-pack-number): Ditto.
8222 (elmo-maildir-folder-diff): New alias.
8224 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8226 * elmo-localdir.el (elmo-localdir-list-folder-subr):
8227 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8228 (elmo-localdir-folder-diff): New alias.
8230 * elmo-internal.el (elmo-internal-list-folder-subr):
8231 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8232 (elmo-internal-list-folder-by-location): Ditto.
8233 (elmo-internal-msgdb-create): Ditto.
8234 (elmo-internal-delete-msgs): Ditto.
8235 (elmo-internal-read-msg): Ditto.
8236 (elmo-internal-folder-diff): New alias.
8238 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8239 (elmo-imap4-list-folder): Set `spec' as 1st argument for
8240 `elmo-msgdb-expand-path'.
8241 (elmo-imap4-list-folder-unread): Changed arguments.
8242 (elmo-imap4-list-folder-important): Ditto.
8244 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8245 (elmo-filter-list-folder-important): Ditto.
8246 (elmo-filter-folder-diff): New function.
8248 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8250 * elmo-cache.el (elmo-cache-list-folder):
8251 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8252 (elmo-cache-copy-msgs): Ditto.
8253 (elmo-cache-folder-diff): New alias.
8255 * elmo-archive.el (elmo-archive-list-folder-subr):
8256 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8257 (elmo-archive-get-archive-name): Ditto.
8258 (elmo-archive-create-file): Ditto.
8259 (elmo-archive-append-msg): Ditto.
8260 (elmo-archive-copy-msgs): Ditto.
8261 (elmo-archive-copy-msgs-froms): Ditto.
8262 (elmo-archive-get-msg-filename): Ditto.
8263 (elmo-archive-folder-diff): New alias.
8265 2000-10-06 Daiki Ueno <ueno@unixuser.org>
8267 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8268 (elmo-pop3-stream-type-alist): New variable.
8269 (elmo-nntp-stream-type-alist): New variable.
8271 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8272 (elmo-kill-buffer): Ditto.
8273 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8274 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8275 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8276 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8277 (elmo-imap4-get-spec): Take into account
8278 `elmo-imap4-stream-type-alist'.
8280 2000-10-06 Kenichi OKADA <okada@opaopa.org>
8282 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8283 (elmo-nntp-list-folders-get-cache): Ditto.
8285 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
8287 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8288 character before 'uid'.
8290 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8292 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8294 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8296 * elmo-util.el (elmo-number-set-member): New function.
8297 (elmo-number-set-append-list): Ditto.
8298 (elmo-number-set-append): Ditto.
8300 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8301 Use `elmo-number-set-member'.
8302 (elmo-living-messages): Ditto.
8303 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8304 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8306 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8307 (elmo-imap4-add-to-cont-list): Abolished.
8308 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8309 instead of elmo-imap4-add-to-cont-list.
8311 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8312 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8314 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8316 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8318 * elmo-util.el (elmo-condition-parse-search-value):
8321 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8323 * elmo-util.el (elmo-condition-find-key-internal): New function.
8324 (elmo-condition-find-key): Ditto.
8326 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8327 (elmo-msgdb-search-internal): Ditto.
8328 (elmo-msgdb-search): Ditto.
8330 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8332 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8333 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8335 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8336 (elmo-nntp-search-primitive): Fixed problem when condition is
8339 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8341 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8342 (elmo-nntp-xhdr-p): New macro.
8343 (elmo-nntp-set-xhdr): Ditto.
8344 (elmo-nntp-parse-xhdr-response): New function.
8345 (elmo-nntp-retrieve-field): Ditto.
8346 (elmo-nntp-search-primitive): Ditto.
8347 (elmo-nntp-search): Implemented.
8349 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8351 * elmo-archive.el (elmo-archive-search): Set all number list to
8352 `elmo-archive-field-condition-match'
8354 * elmo-localdir.el (elmo-localdir-search): Likewise.
8356 * elmo-maildir.el (elmo-maildir-search): Likewise.
8358 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8360 * elmo-msgdb.el (elmo-living-messages): New function.
8361 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8362 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8363 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8364 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8365 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8366 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8367 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8368 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8369 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8370 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8371 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8373 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8375 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8377 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8379 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8381 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8382 arguments for `SEARCH' command.
8383 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8384 All other related portions are changed.
8386 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8388 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8389 (elmo-list-folder-unread): Rewrite.
8390 (elmo-list-folder-important): Ditto.
8392 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8393 (elmo-condition-parse-error): New inline function.
8394 (elmo-read-search-condition): New function.
8395 (elmo-read-search-condition-internal): Ditto.
8396 (elmo-parse-search-condition): Rewrite.
8397 (elmo-condition-parse): New function.
8398 (elmo-condition-parse-or-expr): Ditto.
8399 (elmo-condition-parse-and-expr): Ditto.
8400 (elmo-condition-parse-primitive): Ditto.
8401 (elmo-condition-parse-search-value): Ditto.
8402 (elmo-buffer-field-primitive-condition-match): Ditto.
8403 (elmo-buffer-field-condition-match): Rewrite.
8404 (elmo-file-field-condition-match): Ditto.
8406 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8407 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8409 * elmo-internal.el (elmo-internal-search): Set `number' and
8410 `number-list' argument of `elmo-file-field-condition-match'.
8412 * elmo-maildir.el (elmo-maildir-search): Ditto.
8414 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8415 `msgdb' as argument instead of `mark-alist'.
8416 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8419 * elmo-multi.el: Likewise.
8421 * elmo-pipe.el: Likewise.
8423 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8424 (elmo-imap4-search-internal): Rewrite.
8425 (elmo-imap4-search): Ditto.
8427 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8428 (elmo-filter-list-folder-unread): Ditto.
8429 (elmo-filter-list-folder-important): Ditto.
8430 (elmo-filter-search): Rewrite.
8432 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8433 `number-list' argument of `elmo-file-field-condition-match'.
8434 (elmo-cache-search): Ditto.
8436 * elmo-localdir.el: Likewise.
8438 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8439 number-list and pass it to `elmo-buffer-field-condition-match'.
8440 (elmo-archive-field-condition-match): Pass `number-list' to
8441 `elmo-archive-field-condition-match'
8443 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8445 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8448 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8449 (elmo-folder-diff-async-callback-data): Ditto.
8450 (elmo-folder-diff-async): New function.
8452 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8453 (elmo-network-session-cache-key): Use it as a prefix of the session
8455 (elmo-network-open-session): Ditto.
8457 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8458 (elmo-imap4-status-callback-data): Ditto.
8459 (elmo-imap4-server-diff-async-callback): New variable.
8460 (elmo-imap4-server-diff-async-callback-data): Ditto.
8461 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8462 `elmo-imap4-status-callback-data'.
8463 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8464 `elmo-imap4-status-callback-data' as nil.
8465 (elmo-imap4-server-diff): Ditto.
8466 (elmo-imap4-server-diff-async-callback-1): New function.
8467 (elmo-imap4-server-diff-async): Ditto.
8468 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8470 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8472 * elmo-util.el (elmo-list-delete): Doc fix.
8473 (elmo-delete-lists): Abolish.
8474 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8475 instead of `elmo-delete-lists'.
8477 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8479 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8482 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8484 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8485 `elmo-imap4-literal-subr'.
8486 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8487 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8489 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8491 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8492 (elmo-archive-list-folder): Fix.
8493 (elmo-archive-max-of-folder): Fix.
8495 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8497 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8498 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8499 (elmo-localdir-append-msg): Ditto.
8500 (elmo-localdir-list-folder): Fix for `nonsort'.
8501 (elmo-localdir-list-folder-subr): Fix for `killed'.
8502 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8503 (elmo-maildir-list-folder-subr): Ditto.
8504 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8505 (elmo-archive-list-folder-subr): Ditto.
8506 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8507 (elmo-internal-list-folder-subr): Ditto.
8509 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8511 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8513 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8515 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8517 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8519 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8520 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8522 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8524 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8525 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8527 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8529 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8531 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8532 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8533 before STORE command.
8535 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8537 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8539 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8540 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8542 (elmo-imap4-list-folders): Removed unused local variable.
8543 (elmo-network-initialize-session): Ditto.
8544 (elmo-imap4-delete-msg-by-id): Ditto.
8545 (elmo-imap4-parse-fetch): Ditto.
8546 (elmo-imap4-copy-msgs): Ditto.
8547 Use `dst-spec' instead of `dst-folder'.
8548 (elmo-network-authenticate-session): Check authenticate type `plain'.
8550 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8552 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8554 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8555 `elmo-imap4-response-value'.
8556 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8558 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8560 * elmo-imap4.el (elmo-imap4-send-command):
8561 Cause elmo-imap4-bye-error when current response is BYE.
8562 (elmo-imap4-arrival-filter): Changed greeting response value.
8564 * elmo2.el (elmo-imap4-bye-error): Define.
8566 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8567 (elmo-imap4-server-diff): Ditto.
8568 (elmo-imap4-response-bye-p): New macro.
8569 (elmo-imap4-response-error-text): Get text from BYE response.
8570 (elmo-imap4-read-response): Return if BYE response.
8571 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8572 (elmo-imap4-folder-exists-p): Ditto.
8573 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8574 (elmo-imap4-parse-bye): New function.
8575 (elmo-imap4-parse-response): Remove needless let.
8576 Call `elmo-imap4-parse-bye'.
8578 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8580 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8581 the mailbox does not exist.
8582 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8584 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8586 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8588 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8590 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8592 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8593 (elmo-network-initialize-session-buffer): Defined.
8595 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8597 (mmelmo-imap4-get-mime-entity): Rewrite.
8599 * elmo2.el (elmo-error): Capitalize error message.
8601 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8602 (elmo-network-session-buffer): New macro.
8603 (elmo-network-open-session): Use it.
8605 * elmo-imap4.el: Rewrite.
8607 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8609 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8611 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8613 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8614 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8615 (elmo-imap4-create-msgdb-from-overview-string): Use
8616 `elmo-msgdb-create-overview-from-buffer'.
8618 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8620 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8621 (elmo-imap4-default-hierarchy-delimiter): New variable.
8622 (elmo-imap4-list-folders): Use it.
8624 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8626 * elmo-net.el (elmo-network-open-session): Add user and
8627 stream-type for process-buffer name.
8629 * elmo-pop3.el (elmo-network-initialize-session): Call
8630 buffer-disable-undo.
8632 * elmo-imap4.el (elmo-network-initialize-session):
8633 Set current-buffer as an argument for `buffer-disable-undo'.
8635 * elmo-pop3.el (elmo-network-close-session): Don't use
8638 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8639 Set default as 'user.
8641 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8643 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8644 and `elmo-imap4-flush-connection'.
8646 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8647 (elmo-pop3-get-spec): Assume auth as symbol.
8648 (elmo-open-network-stream): Moved to `elmo-net'.
8650 * elmo-pop3.el (toplevel): Require 'elmo-net.
8651 Define `sasl-cram-md5' to silence byte compilier.
8652 (elmo-pop3-connection-cache) Abolished.
8653 (elmo-pop3-authenticator-alist) New variable.
8654 (elmo-pop3-session): Define.
8655 (elmo-pop3-connection-get-process): Abolished.
8656 (elmo-pop3-connection-get-buffer): Ditto.
8657 (elmo-pop3-close-connection): Ditto.
8658 (elmo-pop3-flush-connection): Ditto.
8659 (elmo-pop3-get-connection): Ditto.
8660 (elmo-pop3-get-session): New function.
8661 (Replacement for `elmo-pop3-get-connection').
8662 All other related modules are changed.
8663 (elmo-network-close-session): Define.
8664 (elmo-pop3-send-command): Abolished argument `buffer'.
8665 All other related modules are changed.
8666 (elmo-pop3-read-response): Likewise.
8667 (elmo-pop3-open-connection): Abolished.
8668 (elmo-pop3-auth-user): New function.
8669 (elmo-pop3-auth-apop): Ditto.
8670 (elmo-pop3-auth-cram-md5): Ditto.
8671 (elmo-pop3-auth-scram-md5): Ditto.
8672 (elmo-pop3-auth-digest-md5): Ditto.
8673 (elmo-network-initialize-session): Define.
8674 (elmo-network-authenticate-session): Ditto.
8675 (elmo-network-setup-session): Ditto.
8677 * elmo-imap4.el (toplevel): Require 'elmo-net.
8678 (elmo-imap4-session): Define.
8679 (elmo-imap4-connection-cache): Abolished.
8680 (elmo-imap4-password-key): Ditto.
8681 (elmo-imap4-flush-connection): Ditto.
8682 (elmo-imap4-get-connection): Ditto.
8683 All other related modules are changed.
8684 (elmo-imap4-get-session): New function
8685 (Replacement for `elmo-imap4-get-connection').
8686 (elmo-imap4-read-response): Abolished argument `buffer'.
8687 All other related modules are changed.
8688 (elmo-imap4-send-command): Likewise.
8689 (elmo-imap4-select-folder): Abolished.
8690 All other related modules are changed.
8691 (elmo-imap4-select-mailbox): New function.
8692 (Replacement for `elmo-imap4-select-folder').
8693 (elmo-imap4-auth-login): Simplify.
8694 (Assume current buffer as process buffer)
8695 (elmo-imap4-auth-cram-md5): Ditto.
8696 (elmo-imap4-auth-digest-md5): Ditto.
8697 (elmo-imap4-login): Ditto.
8698 (elmo-imap4-open-connection): Abolished.
8699 (elmo-imap4-open-connection-1): Abolished.
8700 (elmo-network-initialize-sessoin): Define.
8701 (elmo-network-authenticate-session): Ditto.
8702 (elmo-network-setup-session): Ditto.
8704 * elmo-net.el: New module.
8706 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8708 * elmo-util.el (elmo-define-error): New function.
8710 * elmo2.el (elmo-error): Define.
8711 (elmo-open-error): Define.
8712 (elmo-authenticate-error): Define.
8714 * elmo-imap4.el (elmo-imap4-error): Abolish.
8715 (elmo-imap4-error-type): Abolish.
8716 (elmo-imap4-error-process): Abolish.
8717 (elmo-imap4-error-message): Abolish
8718 (elmo-imap4-list-folders): Don't quote lambda.
8719 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8720 (elmo-imap4-parse-namespace): Ditto.
8721 (elmo-imap4-open-connection): Rewrite.
8722 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8723 (elmo-imap4-get-connection): Abolish local variable `result'.
8725 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8727 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8728 wrong-type-argument error when auth is nil.
8730 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8732 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8733 (elmo-default-nntp-stream-type): Ditto.
8734 (elmo-default-pop3-stream-type): Ditto.
8735 (elmo-network-stream-type-alist): Ditto.
8736 (elmo-default-imap4-ssl): Abolished.
8737 (elmo-default-nntp-ssl): Ditto.
8738 (elmo-default-pop3-ssl): Ditto.
8740 * elmo-util.el: (toplevel): Removed needless requires.
8741 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8742 (elmo-open-network-stream): Open network stream according to
8743 the value of `elmo-network-stream-type-alist'.
8744 (elmo-get-network-stream-type): New function.
8745 (elmo-network-stream-type-spec-string): New macro.
8746 (elmo-network-stream-type-symbol): Ditto.
8747 (elmo-network-stream-type-function): Ditto.
8749 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8750 network-stream-type. All other related portions are changed.
8751 (elmo-pop3-open-connection): Ditto.
8753 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8754 network-stream-type. All other related portions are changed.
8756 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8757 network-stream-type.All other related portions are changed.
8758 (elmo-imap4-error): New macro.
8759 (elmo-imap4-error-type): Ditto.
8760 (elmo-imap4-error-process): Ditto.
8761 (elmo-imap4-error-message): Ditto.
8762 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8763 (elmo-imap4-auth-cram-md5): Ditto.
8764 (elmo-imap4-auth-digest-md5): Ditto.
8765 (elmo-imap4-login): Ditto.
8766 (elmo-imap4-open-connection): Remove password entry if authentication
8768 (elmo-imap4-user-at-host): Abolished.
8769 (elmo-imap4-password-key): New buffer local variable.
8770 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8771 using protocol, port, auth and stream-type.
8773 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8775 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8777 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8779 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8781 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8782 (elmo-imap4-authenticator-alist): New variable.
8783 (elmo-imap4-open-connection-1): Rename from
8784 elmo-imap4-open-connection.
8785 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8786 only wraps elmo-imap4-open-connection-1.
8787 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8789 (elmo-imap4-auth-login): New function.
8790 (elmo-imap4-auth-cram-md5): New function.
8791 (elmo-imap4-auth-digest-md5): New function.
8792 (elmo-imap4-login): New function.
8794 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8796 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8799 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8801 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8803 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8805 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8807 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8809 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8810 for server responses, quote `*' regardless of where it appears.
8812 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8814 * elmo-maildir.el (elmo-maildir-commit): New alias.
8816 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8818 * elmo-util.el (elmo-display-progress):
8819 Use `progress-feedback-with-label'.
8821 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8823 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8824 (elmo-imap4-non-atom-char-regex): Ditto.
8825 (elmo-imap4-non-text-char-regex): Ditto.
8826 (elmo-imap4-literal-threshold): Ditto.
8827 (elmo-imap4-atom-p): New function.
8828 (elmo-imap4-quotable-p): Ditto.
8829 (elmo-imap4-nil): Ditto.
8830 (elmo-imap4-atom): Ditto.
8831 (elmo-imap4-quoted): Ditto.
8832 (elmo-imap4-literal-subr): Ditto.
8833 (elmo-imap4-literal): Ditto.
8834 (elmo-imap4-buffer-literal): Ditto.
8835 (elmo-imap4-string-subr): Ditto.
8836 (elmo-imap4-string): Ditto.
8837 (elmo-imap4-buffer-string): Ditto.
8838 (elmo-imap4-astring-subr): Ditto.
8839 (elmo-imap4-astring): Ditto.
8840 (elmo-imap4-buffer-astring): Ditto.
8841 (elmo-imap4-nstring): Ditto.
8842 (elmo-imap4-buffer-nstring): Ditto.
8843 (elmo-imap4-mailbox): New alias.
8844 (elmo-imap4-field-body): Ditto.
8845 (elmo-imap4-userid): Ditto.
8846 (elmo-imap4-password): Ditto.
8847 (elmo-imap4-format-quoted): New function.
8848 (elmo-imap4-send-command): Rewritten. Accept a list of command
8849 arguments and handle "atom", "quoted" and "literal" string here.
8850 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8851 `elmo-imap4-send-command'.
8852 (elmo-imap4-folder-exists-p): Likewise.
8853 (elmo-imap4-create-folder): Likewise.
8854 (elmo-imap4-delete-folder): Likewise.
8855 (elmo-imap4-rename-folder): Likewise.
8856 (elmo-imap4-max-of-folder): Likewise.
8857 (elmo-imap4-check-validity): Likewise.
8858 (elmo-imap4-sync-validity): Likewise.
8859 (elmo-imap4-server-diff): Likewise.
8860 (elmo-imap4-select-folder): Likewise.
8861 (elmo-imap4-copy-msgs): Likewise.
8862 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8863 (elmo-imap4-mark-set-on-msgs): Likewise.
8864 (elmo-imap4-read-part): Likewise.
8865 (elmo-imap4-read-msg): Likewise.
8866 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8867 `elmo-imap4-password' for `elmo-imap4-send-command'.
8868 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8869 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8870 `elmo-imap4-buffer-literal'.
8871 (elmo-imap4-append-msg): Likewise.
8873 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8874 `delete' for removing dead connection from the connection cache.
8875 Move deletion of the process buffer after that.
8876 (elmo-imap4-list): Change `defsubst' to `defun'.
8877 (elmo-imap4-commit): Make error message verbose.
8878 (elmo-imap4-search): Ditto.
8879 (elmo-imap4-list): Ditto.
8880 (elmo-imap4-select-folder): Ditto.
8881 (elmo-imap4-copy-msgs): Ditto.
8882 (elmo-imap4-delete-msg-by-id): Ditto.
8883 (elmo-imap4-append-msg-by-id): Ditto.
8884 (elmo-imap4-append-msg): Ditto.
8886 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8888 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8889 when dired is used on XEmacs.
8891 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8893 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8894 instead of `append'.
8895 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8896 `elmo-plugged-p' directly.
8897 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8898 of `elmo-plugged-p' directly.
8900 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8901 Eliminate unused variable. Use `memq' for checking a process status.
8902 Use `cons' instead of `append' for updating the connection cache.
8903 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8904 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8906 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8908 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8909 `elmo-imap4-read-point' exactly.
8911 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8912 the local variable `folder' to `mailbox'.
8913 Rename the argument `fld' to `folder'.
8915 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8917 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8918 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8920 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8922 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8923 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8924 (elmo-pop3-uidl-number-hash): Ditto.
8925 (elmo-pop3-size-hash): Ditto.
8926 (elmo-pop3-uidl-done): Ditto.
8927 (elmo-pop3-list-done): Ditto.
8928 (elmo-pop3-connection-get-process): New defmacro.
8929 (elmo-pop3-connection-get-buffer): Ditto.
8930 (elmo-pop3-close-connection): Delete buffer and process.
8931 (elmo-pop3-flush-connection): Don't delete buffer and process.
8932 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8933 Setup UIDL and size hash.
8934 (elmo-pop3-send-command-no-erase): Deleted
8935 (elmo-pop3-send-command): Added optional argument `no-erase'.
8936 (elmo-pop3-parse-uidl-response): New function.
8937 (elmo-pop3-parse-list-response): Set size hash.
8938 (elmo-pop3-list-location): New function.
8939 (elmo-pop3-list-by-uidl-subr): Ditto.
8940 (elmo-pop3-list-by-list): Ditto.
8941 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8942 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8943 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8944 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8945 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8947 (elmo-pop3-uidl-to-number): New function.
8948 (elmo-pop3-number-to-uidl): Ditto.
8949 (elmo-pop3-number-to-size): Ditto.
8950 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8951 Set number by use of uidl.
8952 (elmo-pop3-msgdb-create-message): Likewise.
8953 Set size, loc-alist in msgdb.
8954 (elmo-pop3-read-msg): Set number by use of uidl.
8955 Added optional argument `msgdb'.
8956 (elmo-pop3-delete-msg): Ditto.
8957 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8958 (elmo-pop3-commit): Close connection.
8960 * elmo-pipe.el (elmo-pipe-max-of-folder):
8961 Bind `elmo-pop3-use-uidl' as nil.
8962 (elmo-pipe-drain): Ditto.
8965 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8966 (elmo-msgdb-overview-entity-set-size): New defsubst.
8968 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8970 * elmo-vars.el (elmo-use-killed-list): New variable
8971 (Renamed from `elmo-nntp-use-killed-list').
8972 (elmo-nntp-use-killed-list): Eliminated.
8974 * elmo-msgdb.el (elmo-msgdb-expand-path):
8975 Changed expanding msgdb path for elmo-multi.
8977 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8978 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8979 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8980 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8981 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8982 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8983 (toplevel): Deleted time-stamp line.
8985 * elmo2.el (elmo-clear-killed ): Defined as function
8986 (Abolished defining as a backend function).
8987 All other related modules are changed.
8989 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8991 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8993 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8995 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8997 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8999 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9001 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
9003 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9004 asynchronous folder check.
9006 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9008 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9009 `elmo-nntp-use-killed-list'.
9010 (elmo-nntp-list-folder): Use killed list.
9011 (elmo-nntp-max-of-folder): Ditto.
9012 (elmo-nntp-msgdb-create): Set killed list.
9014 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9016 * elmo2.el (elmo-clear-killed): New backend function.
9017 All other related modules are changed.
9019 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
9021 * elmo-util.el (elmo-imap4-spec-folder): Use
9022 `elmo-imap4-spec-mailbox'; Mark as obsolete.
9023 All callers changed.
9025 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
9027 * mmelmo-2.el (initialize-instance):
9028 Use `mime-buffer-entity-buffer-internal' instead of
9029 `mime-entity-buffer'.
9031 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9032 (mime-entity-body): Implemented.
9033 (mime-goto-header-start-point): Deleted.
9034 (mime-goto-body-end-point): Ditto.
9035 (mime-entity-point-min): Ditto.
9036 (mime-entity-point-max): Ditto.
9037 (mime-entity-children): Ditto.
9038 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9039 instead of `mime-entity-buffer'.
9040 (mime-entity-header-buffer): Ditto.
9041 (mime-entity-body-buffer): Ditto.
9042 (mime-write-entity-content): Ditto.
9044 * pldap.el (ldap-static-if): New macro.
9045 (toplevel): Use it instead of `static-if'.
9047 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
9049 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9050 included in `attrs' argument.
9052 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
9054 * elmo-util.el (elmo-get-passwd): Use old backquote style.
9056 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9057 (ldap-ldif-safe-init-char-regexp): Ditto.
9058 (ldap-ldif-safe-string-regexp): Ditto.
9059 (ldap/ldif-safe-string-p): New macro.
9060 (ldap/ldif-insert-field): Ditto.
9061 (ldap-modify): Use it.
9063 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9064 (ldap-decode-attribute): Decode only when `attr' is consp.
9065 (ldap-delete): Bind `ret'.
9066 (toplevel): Require 'cl at compile time.
9067 Removed (require 'poe) and (require 'std11).
9068 (pldap-version): Eliminated.
9069 (ldap-search-basic): Removed auth and dn binding.
9070 (ldap-ldif-field-name-regexp): New constant.
9071 (ldap-ldif-field-head-regexp): Ditto.
9072 (ldap-ldif-next-field-head-regexp): Ditto.
9073 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9074 (ldap/field-end): New function.
9075 (ldap/field-body): Use it.
9076 (ldap/collect-field): Ditto.
9077 (ldap-search-basic): Use `ldap/field-body'.
9079 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
9081 * pldap.el (ldap-default-attribute-encoder): New user option.
9082 (ldap/field-body): Decode base64 string.
9083 (ldap/collect-field): Ditto.
9084 (ldap-encode-attribute): New function.
9085 (ldap-add-entries): Use it.
9086 (ldap-modify-entries): Ditto.
9087 (ldap-search-entries): Enclosed decoding function with
9088 `with-temp-buffer' and set as unibyte.
9089 (ldap-search-basic): Set process buffer as unibyte.
9091 * elmo-util.el (elmo-folder-identical-system-p):
9092 Eliminated name space checking.
9094 * pldap.el: New module.
9095 toplevel: Changed condition to detect built-in ldap feature.
9096 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9097 (ldap-add): Added error handling.
9098 (ldap-modify): Ditto.
9099 (ldap-delete): Ditto.
9101 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
9103 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9104 Initialize local variables with `let'. Inline a temporary
9105 variable for the progress percentage. Sort `setq' to reduce
9106 function call in the while-loop.
9108 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9109 into the conditional branch.
9111 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
9113 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9114 Move a conditional out of the while-loop.
9116 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9118 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9119 elmo-msgdb-overview-get-entity-by-number.
9120 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9123 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
9125 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9126 the local variable for a packed number self descriptively.
9128 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9130 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9131 * elmo-localdir.el (elmo-localdir-pack-number): Use
9132 `elmo-msgdb-overview-get-entity' instead of
9133 `elmo-msgdb-overview-get-entity-by-number'.
9134 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9135 (elmo-msgdb-search-overview-entity): Removed.
9136 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9137 by message-id or number.
9138 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9139 instead of `elmo-msgdb-overview-get-entity-by-number'.
9141 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9143 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9144 non-nil, use hash table for overview.
9145 (elmo-hash-maximum-size): New variable.
9146 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9147 (elmo-msgdb-make-overview-hashtb): New function.
9148 (elmo-msgdb-clear-overview-hashtb): New function.
9149 (elmo-clear-hash-val): New macro.
9150 All other related modules are changed.
9152 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
9154 * elmo2.el (elmo-move-msgs): If there's other message with
9155 same message-id, don't use cache.
9157 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
9159 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9160 number is already packed.
9162 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
9164 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9166 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9168 * elmo-vars.el (elmo-display-progress-threshold): New variable.
9169 All other related modules are changed.
9171 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
9173 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9174 of refiling failure on Maildir.
9176 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9178 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9179 decoded mime-charset with cache.
9180 (elmo-msgdb-overview-entity-get-from): Ditto.
9181 (elmo-msgdb-overview-entity-get-subject): Ditto.
9182 * elmo-vars.el (elmo-use-decoded-cache): New variable.
9184 2000-05-10 Kenichi OKADA <okada@opaopa.org>
9186 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9187 (elmo-remove-passwd): Fill password with 0 before erase.
9188 * elmo-vars.el (elmo-passwd-life-time): New variable.
9191 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
9193 * elmo-cache.el (elmo-buffer-cache-add):
9194 Set message cache buffer as unibyte.
9196 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9198 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9201 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
9203 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9204 when display is finished.
9205 (elmo-nntp-msgdb-create): Ditto.
9206 (elmo-nntp-groups-read-response): Ditto.
9207 (elmo-nntp-retrieve-headers): Ditto.
9208 (elmo-nntp-msgdb-create-message): Ditto.
9209 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9210 (elmo-pop3-msgdb-create-message): Ditto.
9212 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9214 * elmo-maildir.el (elmo-maildir-msgdb-create):
9215 Use `elmo-msgdb-sort-by-date'.
9217 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
9219 * elmo2.el (elmo-read-msg-no-cache):
9220 Eliminated arguments after `outbuf'.
9221 Don't use cache even if it exists.
9222 (elmo-read-msg): Don't pass arguments after `outbuf' to
9223 `elmo-read-msg-no-cache'.
9225 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9227 * elmo-archive.el (elmo-archive-list-folders):
9228 Use `file-name-directory' if base folder does not exist.
9230 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
9232 * elmo-archive.el (elmo-archive-list-folders): Don't use
9233 `file-name-directory'.
9235 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
9237 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9238 If `force' is non-nil, try flushing all operation queues.
9240 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
9242 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9245 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9247 * elmo-util.el (elmo-display-progress): Fixed.
9249 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9251 * elmo-util.el (elmo-display-progress): New function.
9252 All other related modules are changed.