1 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
6 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
9 hash table to test whether a location is exists.
11 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
13 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
14 even if some error occurred.
16 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
17 meaningless unwind-protect.
19 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
20 start-number correctly.
21 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
22 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
24 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
26 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
27 (elmo-folder-initialize): Use it.
28 (elmo-global-flag-replace-referrer): New function.
30 * elmo.el (toplevel): Added autoload setting for
31 `elmo-global-flag-replace-referrer'.
32 (elmo-folder-rename): Rewrite the last change use
33 `elmo-global-flag-replace-referrer'.
35 * elmo-pipe.el (elmo-folder-rename): Call
36 `elmo-global-flag-replace-referrer'.
38 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
40 * elmo.el (elmo-folder-rename): Set meta data for global flags
43 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
45 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
47 (elmo-folder-close): Ditto.
48 (elmo-filter-folder-number-list-loaded-p): New function.
49 (elmo-filter-folder-number-list): Check whether loaded or not.
50 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
51 of `elmo-filter-folder-number-list-internal'.
52 (elmo-folder-delete-messages): Ditto.
53 (elmo-folder-length): Check whether number-list is loaded or not.
55 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
57 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
58 field `real field' into each element of list.
59 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
60 (elmo-msgdb-message-entity-field): Ditto.
61 (modb-entity-ml-info-real-fields): New function.
63 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
65 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
66 `elmo-msgdb-extra-fields'.
68 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
70 * elmo-util.el (elmo-passwd-alist-load): Move point to min
73 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
75 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
76 (elmo-global-flags-initialize): Ditto.
78 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
80 * elmo-archive.el (toplevel): Don't require emu, std11
83 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
86 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
88 * elmo.el (elmo-folder-confirm-appends): Display folder name.
90 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
92 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
95 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
97 * elmo-maildir.el (elmo-maildir-list-location): Reduce
98 `elmo-get-last-modification-time' call.
100 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
102 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
104 (elmo-maildir-set-mark): Ditto.
105 (elmo-maildir-delete-mark): Ditto.
107 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
109 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
110 optional argument `separators'.
112 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
114 * elmo.el (cache-changed): Abolish.
115 (status-changed): New signal.
116 (elmo-message-killed-p): New generic function and define for
118 (elmo-folder-recover-messages): Ditto.
119 (elmo-message-set-cached): Emit signal `status-changed' instead of
121 (elmo-message-status): New macro.
122 (elmo-message-status-folder): Ditto.
123 (elmo-message-status-number): Ditto.
124 (elmo-message-status-set-flags): Ditto.
125 (elmo-message-status-set-killed): Ditto.
126 (elmo-message-status-flags): New function.
127 (elmo-message-status-cached-p): Ditto.
128 (elmo-message-status-killed-p): Ditto.
130 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
131 `status-changed' instead of `cache-changed'.
132 (elmo-folder-recover-messages): Define.
133 (elmo-message-killed-p): Ditto.
135 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
136 `status-changed' instead of `cache-changed'.
138 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
139 (elmo-message-killed-p): Define.
140 (elmo-folder-recover-messages): Ditto.
142 * elmo-version.el (elmo-version): Up to 2.15.3.
144 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
146 * elmo-signal.el (elmo-signal-bindings): Use cons to append
148 (elmo-define-signal-handler): Add docstring.
149 (elmo-define-signal-filter): Ditto.
151 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
153 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
155 * elmo-util.el (elmo-flatten): Don't use recursive call.
157 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
159 (elmo-folder-message-make-temp-files): Use `number-to-string'
160 instead of `int-to-string'.
162 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
164 * elmo-search.el (elmo-folder-delete-messages): Define.
166 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
168 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
170 (elmo-mailing-list-count-spec-list): Ditto.
172 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
175 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
177 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
180 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
182 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
183 (elmo-mailing-list-count-spec-list): Ditto.
185 * elmo-util.el (elmo-map-until-success): New function.
186 (elmo-string-match-substring): Ditto.
187 (elmo-find-list-match-value): Ditto.
189 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
191 (modb-entity-extract-ml-info-from-subject): Ditto.
192 (modb-entity-extract-ml-info-from-return-path): Ditto.
193 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
194 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
195 (modb-entity-extract-ml-info-from-mailman): Ditto.
196 (modb-entity-extract-mailing-list-info-functions): Ditto.
197 (modb-entity-extract-mailing-list-info): Rewrite with
198 `elmo-find-list-match-value'.
200 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
202 * elmo-net.el (elmo-network-session-retry-count): New user option.
203 (elmo-network-session-buffer-name): New internal function.
204 (elmo-network-session-buffer-create): Ditto.
205 (elmo-network-open-session): Retry open network session
206 `elmo-network-session-retry-count' times.
208 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
210 * elmo-util.el (elmo-list-filter): Rewritten.
212 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
214 * elmo-util.el (elmo-string-member): Allow symbol element in list.
216 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
218 * elmo-search.el (elmo-make-search-engine): Use prefix
219 `elmo-search-' for require symbol instead of `else-'.
220 (elmo-search-engine-extprog): New class.
221 (elmo-search-engine-do-search): Remove nil from argument
222 list. Added argument pattern to evaluate element as function.
223 (elmo-search-engine-local-file): Derived from
224 `elmo-search-engine-extprog'.
225 (elmo-search-engine-create-message-entity): Check existance of file.
226 (elmo-search-engine-fetch-message): Ditto.
227 (elmo-search-namazu-index): Follow the API change.
228 (elmo-search-grep-target): Ditto.
230 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
232 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
233 characters of working buffer.
235 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
236 Does not bind `default-mime-charset'.
237 (elmo-msgdb-create-message-entity-from-buffer): Removed
238 unnecessary local bind.
240 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
242 (modb-entity-extract-mailing-list-info-functions): Added it.
244 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
246 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
247 when number and message-id are non-nil.
249 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
251 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
252 conditional steatment.
253 (elmo-pop3-auth-apop): Likewise.
254 (elmo-network-authenticate-session): Likewise.
256 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
258 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
259 symbol `fill-column'.
260 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
263 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
264 (elmo-decoded-field-body): Ditto.
266 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
268 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
269 `tokens' to `params'.
271 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
273 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
276 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
278 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
281 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
283 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
284 Set default value as nil.
285 (toplevel): Register search engines by
286 `elmo-search-register-engine' if there are not defined.
288 * elmo.el (autoload): Added autoload setting for
289 `elmo-search-register-engine'.
291 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
293 * elmo.el (toplevel): `[' is redefined as the prefix of the search
294 folder instead of nmz folder.
295 (elmo-nmz-default-index-path): Added obsolete variable setting.
296 (elmo-nmz-index-alias-alist): Ditto.
297 (elmo-nmz-use-drive-letter): Ditto.
299 * elmo-search.el (elmo-search-register-engine): New function.
301 * elmo-nmz.el: Removed.
303 * elmo-version.el (elmo-version): Up to 2.15.2.
305 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
307 * elmo-search.el: New file.
309 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
311 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
312 condition `larger' and `smaller'.
314 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
316 * elmo-util.el (elmo-safe-filename): Rewrite to replace
317 `"' (double quote) into "_Q_".
319 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
321 * elmo-net.el (elmo-net-quote-chars): Abolish.
322 (elmo-net-format-quoted): Ditto.
324 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
326 * elmo.el (elmo-get-folder-function): New variable.
327 (elmo-get-folder): New function.
328 (elmo-folder-rename): Call `elmo-make-folder' with specified
331 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
333 (elmo-split-subr): Ditto.
335 * elmo-multi.el (elmo-folder-initialize): Ditto.
337 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
339 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
340 (elmo-flag-get-folder): Ditto.
342 * elmo-filter.el (elmo-folder-initialize): Ditto.
344 * elmo-access.el (elmo-folder-initialize): Ditto.
345 (elmo-access-folder-update-children): Ditto.
347 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
348 (elmo-dop-queue-flush): Ditto.
349 (elmo-folder-append-buffer-dop-delayed): Ditto.
350 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
353 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
354 instead of `elmo-make-folder'.
355 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
356 destination folder instead of send `elmo-folder-rename-internal'.
358 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
359 slot of subfolder instead of create it.
361 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
363 * elmo-util.el (elmo-collect-separators): New function.
364 (elmo-collect-separators-internal): Ditto.
365 (elmo-collect-trail-separators): Ditto.
366 (elmo-parse-separated-tokens): Ditto.
367 (elmo-parse-separated-tokens-internal): Ditto.
368 (elmo-quote-syntactical-element): Ditto.
370 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
371 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
373 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
374 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
375 (elmo-nntp-folder-list-subfolders): Quote a user name.
377 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
378 (elmo-net-parse-network): Abolish.
379 (elmo-net-folder-set-parameters): New function.
380 (elmo-folder-initialize): Follow the above change.
382 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
383 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
384 (elmo-folder-list-subfolders): Use
385 `elmo-quote-syntactical-element' instead of
386 `elmo-net-format-quoted' to quote mailbox and user name.
388 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
390 * elmo-util.el (elmo-token-valid-p): New function.
391 (elmo-parse-token): Add optional argument `requirement'.
392 (elmo-parse-prefixed-element): Likewise.
394 * elmo-net.el (elmo-net-quote-chars): Renamed from
395 `elmo-net-quote-chars-regexp'.
396 (elmo-net-format-quoted): Add optional argument `extra-chars'.
398 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
399 by info document. Check token `uidl' is started an alphabet.
401 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
402 by info document. Check token `user' is started an alphabet.
404 * elmo-imap4.el (elmo-folder-initialize): Ditto.
405 (elmo-folder-list-subfolders): Quote user.
407 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
409 * elmo-util.el (elmo-quoted-specials-list): New constant.
410 (elmo-quoted-token): New function.
412 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
413 (elmo-net-format-quoted): New function.
414 (elmo-net-parse-network): Ditto.
415 (elmo-folder-initialize): Use it.
417 * elmo-nntp.el (elmo-folder-initialize): Use
418 `elmo-net-parse-network' to parse network specification instead of
419 `elmo-folder-initialize#elmo-net'.
421 * elmo-pop3.el (elmo-folder-initialize): Ditto.
423 * elmo-imap4.el (elmo-folder-initialize): Ditto.
424 (elmo-folder-list-subfolders): Quote folder name by
425 `elmo-net-format-quoted'.
427 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
429 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
430 (elmo-folder-search): Use it.
432 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
434 * modb-standard.el (modb-standard-loaded-message-id): Use
435 `elmo-msgdb-message-entity-field'.
437 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
439 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
442 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
444 * elmo-util.el (elmo-set-auto-coding): New function.
445 (elmo-object-load): Use it.
447 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
449 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
450 (elmo-time<): Define as alias of `elmo-time-less-p'.
451 (elmo-time-to-datevec): New function.
453 * elmo-date.el (elmo-time-to-days): New function.
455 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
457 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
460 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
462 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
465 * elmo-util.el (elmo-map-recursive): New function.
467 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
468 (modb-entity-encode-string-recursive): Ditto.
470 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
472 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
473 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
474 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
475 compare sequence number when last modified time is nil.
477 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
479 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
481 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
483 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
485 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
486 modification time of the file.
488 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
490 * elmo-util.el (elmo-condition-optimize): Discriminated against
491 preserved fields, extra fields and the other weight.
493 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
495 * modb-entity.el (initialize-instance): Define.
496 (modb-entity-handler-mime-charset): New internal function.
497 (modb-standard-entity-set-field): Use it.
498 (elmo-msgdb-message-entity-field): Ditto.
499 (elmo-msgdb-message-entity-field): Ditto.
501 * modb.el (elmo-msgdb-match-condition): Rewrite with
502 `elmo-condition-match'.
503 (elmo-msgdb-match-condition-primitive): New function.
505 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
506 arguments `flags' and `numbers'.
507 (elmo-msgdb-match-condition-primitive): Abolished (merged to
508 `elmo-msgdb-message-match-condition').
509 (modb-buffer-entity-handler): New class.
511 * elmo.el (elmo-folder-search): Optimize condition to use
512 `elmo-condition-optimize'.
513 (elmo-message-buffer-match-condition): New function.
514 (elmo-message-match-condition): Use
515 `elmo-message-buffer-match-condition' instead of
516 `elmo-buffer-field-condition-match'.
518 * elmo-util.el (elmo-condition-match): New function.
519 (elmo-condition-optimize): Ditto.
520 (elmo-buffer-field-primitive-condition-match): Abolish.
521 (elmo-buffer-field-condition-match): Ditto.
523 * elmo-archive.el (elmo-archive-field-condition-match): Use
524 `elmo-message-buffer-match-condition' instead of
525 `elmo-buffer-field-condition-match'.
527 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
529 * elmo-flag.el (elmo-global-flags-initialize): Check the
530 existence of the flag directory.
532 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
534 * elmo-access.el (elmo-folder-initialize): Call
535 `elmo-multi-connect-signals'.
537 * elmo-pipe.el (elmo-folder-close): Define.
539 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
542 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
545 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
548 * elmo-multi.el (elmo-message-entity): Don't use return value of
549 `elmo-message-entity-set-number'.
551 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
553 * modb.el (modb-generic): Added slot `mime-charset'.
555 * modb-standard.el (modb-standard): Added slot `overview-handler'.
556 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
557 and `modb-entity-handler-dump-parameters'.
558 (modb-standard-default-entity-handler): Abolish.
559 (elmo-msgdb-message-entity-handler): Save created handler by
562 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
563 (modb-entity-handler-list-parameters): New method.
564 (modb-entity-handler-equal-p): New function.
565 (modb-entity-handler-dump-parameters): Ditto.
566 (modb-entity-parse-address-string): Encode return value.
567 (modb-entity-make-address-string): Decode argument value.
568 (modb-entity-decode-string-recursive): New function.
569 (modb-entity-encode-string-recursive): Ditto.
570 (modb-standard-entity-normalizer): Set to encode field value.
571 (modb-standard-entity-specializer): Follow the above change.
572 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
573 mime-charset of handler.
574 (elmo-msgdb-message-entity-field): Ditto.
575 (elmo-msgdb-copy-message-entity): Fixed reference to internal
577 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
579 * elmo.el (elmo-folder): Added slot `mime-charset'.
580 (elmo-make-folder): Added argument `mime-charset'.
581 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
584 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
585 (elmo-make-msgdb): Likewise.
587 * elmo-internal.el (elmo-internal-folder-initialize): Call
588 `luna-make-entity' with :mime-charset parameter.
590 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
592 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
593 encoded words in `from' and `subject' field.
595 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
597 * modb.el (elmo-msgdb-message-field): Add argument `type'.
598 (elmo-msgdb-match-condition): Get handler from entity instead of
601 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
602 (modb-standard-load-entity): Treat new file format.
603 (modb-standard-save-entity-1): Save as new file format.
604 (modb-standard-save-entity): Split messages into section here.
605 (elmo-msgdb-message-field): Follow the API change.
606 (modb-standard-default-entity-handler): New internal variable.
607 (elmo-msgdb-message-entity-handler): Define.
609 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
611 (modb-entity-field-extractor-alist): New user option.
612 (elmo-msgdb-message-entity-field): Removed argument `decode' and
613 added argument `type'.
614 (elmo-msgdb-copy-message-entity): Add optional argument
616 (modb-set-field-converter): New function.
617 (modb-convert-field-value): Ditto.
618 (modb-entity-string-decoder): Ditto.
619 (modb-entity-string-encoder): Ditto.
620 (modb-entity-parse-date-string): Ditto.
621 (modb-entity-make-date-string): Ditto.
622 (modb-entity-mime-decoder): Ditto.
623 (modb-entity-mime-encoder): Ditto.
624 (modb-entity-address-list-decoder): Ditto.
625 (modb-entity-address-list-encoder): Ditto.
626 (modb-entity-parse-address-string): Ditto.
627 (modb-entity-make-address-string): Ditto.
628 (modb-entity-create-field-indices): Ditto.
629 (modb-legacy-entity-field-slots): New constant.
630 (modb-legacy-entity-field-indices): Ditto.
631 (modb-legacy-entity-normalizer): New variable.
632 (modb-legacy-entity-specializer): Ditto.
633 (modb-legacy-entity-field-index): New macro.
634 (modb-legacy-entity-set-field): New function.
635 (modb-legacy-make-message-entity): Rewrite.
636 (elmo-msgdb-create-message-entity-from-buffer): Use
637 `elmo-msgdb-get-references-from-buffer'. Use
638 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
639 Use `modb-legacy-entity-set-field' instead of
640 `elmo-msgdb-message-entity-set-field'.
641 (elmo-msgdb-message-entity-field): Rewrite.
642 (elmo-msgdb-message-entity-set-field): Ditto.
643 (elmo-msgdb-copy-message-entity): Make new entity by
644 `make-handler' if it specified.
645 (elmo-msgdb-message-match-condition): Define a method of
646 `modb-entity-handler' and follow the API change.
647 (modb-standard-entity-handler): New class.
648 (modb-entity-extract-ml-info-from-x-sequence): New function.
649 (modb-entity-extract-ml-info-from-subject): Ditto.
650 (modb-entity-extract-ml-info-from-return-path): Ditto.
651 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
652 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
653 (modb-entity-extract-mailing-list-info): Ditto.
654 (modb-entity-extract-mailing-list-info-functions): New variable.
656 * elmo.el (elmo-message-field): Add optional argument `type'.
658 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
659 from `modb-entity.el'.
661 * elmo-util.el (elmo-object-load): Decode by coding-system from
662 `set-auto-coding-function'.
663 (elmo-object-save): Use `detect-mime-charset-region' and add
664 coding cookie if encode.
665 (elmo-msgdb-get-references-from-buffer): New function.
666 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
668 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
670 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
671 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
672 instead of `shimbun-make-header' and follow the API change.
673 (elmo-shimbun-update-overview): Follow the API change.
674 (elmo-map-folder-list-message-locations): Ditto.
676 * elmo-pipe.el (elmo-message-field): Ditto.
678 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
681 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
683 * elmo-multi.el (elmo-message-field): Ditto.
685 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
686 (elmo-msgdb-sort-by-date): Ditto.
687 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
688 `elmo-message-entity-field'.
689 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
691 (elmo-msgdb-overview-entity-get-from): Ditto.
692 (elmo-msgdb-overview-entity-get-subject): Ditto.
693 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
694 (elmo-msgdb-overview-entity-get-date): Ditto.
695 (elmo-msgdb-overview-entity-get-to): Ditto.
696 (elmo-msgdb-overview-entity-get-cc): Ditto.
698 * elmo-mime.el (elmo-message-mime-entity): Ditto.
699 (elmo-mime-collect-message/partial-pieces): Ditto.
701 * elmo-filter.el (elmo-message-field): Ditto.
703 * elmo-date.el (elmo-datevec-to-time): New function.
704 (elmo-time-parse-date-string): Ditto.
705 (elmo-time-make-date-string): Ditto.
708 * elmo-version.el (elmo-version): Up to 2.15.1.
710 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
712 * elmo-flag.el (elmo-global-flags-initialize): Don't include
713 member of elmo-local-flags.
715 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
717 * elmo-version.el (elmo-version): Up to 2.15.0.
719 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
721 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
722 `ignore-msgdb' is non-nil.
724 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
726 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
727 (elmo-condition-in-msgdb-p): Ditto.
728 (elmo-file-field-primitive-condition-match): Ditto.
729 (elmo-file-field-condition-match): Ditto.
731 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
733 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
735 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
737 (elmo-global-flags-initialize): New function.
739 * elmo.el (toplevel): Added autoload setting for
740 `elmo-global-flags-initialize'.
742 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
744 * elmo.el (message-number-changed): Define new signal.
745 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
746 message-number-changed signal.
747 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
748 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
749 Respect `elmo-pack-number-check-strict'.
751 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
753 * elmo-signal.el (elmo-connect-signal): Document.
754 (elmo-emit-signal): Ditto.
755 (elmo-emit-signal): It should pass source argument to filter and
756 handler, not slot-source.
758 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
760 * modb.el (elmo-msgdb-update-entity): New API and define generic
763 * modb-standard.el (elmo-msgdb-update-entity): Define.
765 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
766 API and define generic implement.
768 * elmo.el (update-overview): New singnal.
770 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
771 `elmo-msgdb-update-entity' and emit signal `update-overview'.
772 (elmo-message-entity-parent): Define.
774 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
777 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
779 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
781 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
783 * elmo.el (elmo-folder-synchronize): Sort the return value of
786 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
789 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
791 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
792 `default-enable-multibyte-characters'.
793 (elmo-object-load): Use `with-temp-buffer' instead of
795 (elmo-object-save): Ditto.
796 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
798 (elmo-decoded-field-body): Ditto.
800 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
802 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
803 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
805 * elmo-version.el (elmo-version): Up to 2.13.3.
807 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
809 * elmo-util.el (elmo-list-diff): Fix the last change.
810 Reverse order of result lists.
812 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
814 * modb-standard.el (elmo-msgdb-set-flag): Use
815 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
816 (elmo-msgdb-unset-flag): Ditto.
818 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
821 * elmo-util.el (elmo-list-diff): Rewrite.
822 (elmo-list-diff-nonsortable): New function.
824 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
826 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
827 `elmo-multibypte-buffer-name'. All referers are updated.
829 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
831 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
832 (elmo-mime-entity-fragment-p): New function.
833 (mime-elmo-buffer-entity): Added slot `reassembled'.
834 (elmo-message-mime-entity): Added 4th argument `reassemble'.
835 (elmo-message-mime-entity-internal): New function (renamed from
836 `elmo-message-mime-entity').
837 (elmo-mime-inherit-field-list-from-enclosed): New constant.
838 (elmo-mime-make-reassembled-mime-entity): New function.
839 (elmo-message-reassembled-mime-entity): Ditto.
840 (elmo-mime-collect-message/partial-pieces): Ditto.
842 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
844 * elmo.el (elmo-message-fetch-string): Disable multibyte.
846 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
847 (elmo-with-enable-multibyte): New macro.
849 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
851 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
853 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
855 (elmo-filter-connect-signals): Follow the above change.
857 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
859 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
861 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
862 that only the first flag is used.
864 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
866 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
869 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
871 * elmo-signal.el: New file.
873 * elmo.el (toplevel): Require elmo-signal.
874 (flag-changing, flag-changed, cache-changed): New signal.
875 (elmo-folder): Remove slog `handlers'.
876 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
877 `elmo-folder-notify-event'.
878 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
879 (elmo-folder-unset-flag): Ditto.
880 (elmo-event-handler): Abolish.
881 (elmo-event-handler-flag-changed): Ditto.
882 (elmo-event-handler-cache-changed): Ditto.
883 (elmo-folder-add-handler): Ditto.
884 (elmo-folder-remove-handler): Ditto.
885 (elmo-folder-notify-event): Ditto.
887 * elmo-pipe.el (toplevel): Require elmo-signal.
888 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
889 (elmo-pipe-connect-signals): New function.
890 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
891 (elmo-folder-set-flag): Ditto.
892 (elmo-folder-unset-flag): Ditto.
893 (elmo-message-set-cached): Ditto.
895 * elmo-multi.el (toplevel): Require elmo-signal.
896 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
897 (elmo-multi-connect-signals): New function.
898 (elmo-multi-map-numbers): Ditto.
899 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
900 (elmo-message-fetch): Ditto.
901 (elmo-folder-set-flag): Ditto.
902 (elmo-folder-unset-flag): Ditto.
904 * elmo-filter.el (toplevel): Require elmo-signal.
905 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
906 (elmo-filter-connect-signals): New function.
907 (elmo-filter-add-flag-count): Ditto.
908 (elmo-message-fetch): Does not call
909 `elmo-filter-folder-countup-message-flags' and
910 `elmo-folder-notify-event'.
911 (elmo-message-set-cached): Ditto.
912 (elmo-folder-set-flag): Ditto.
913 (elmo-folder-unset-flag): Ditto.
915 * elmo-version.el (elmo-version): Up to 2.13.2.
917 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
919 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
922 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
924 * elmo-filter.el (elmo-message-set-cached): Call
925 `elmo-folder-notify-event' with event `cache-changed'.
927 * elmo-multi.el (elmo-message-set-cached): Ditto.
929 * elmo-pipe.el (elmo-message-set-cached): Ditto.
931 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
933 * elmo.el (elmo-folder-encache): Abolish.
935 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
937 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
938 (elmo-folder-next-message-number-dop): Return appropriate negative
941 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
943 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
944 clearing pending operations.
945 (elmo-folder-next-message-number-dop): Return appropriate negative
948 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
950 * elmo.el (toplevel): Added autoload setting for `md5'.
951 (elmo-msgdb-path-encode-threshold): New user option.
952 (elmo-folder-msgdb-path): Encode msgdb path if its length is
953 longer than `elmo-msgdb-path-encode-threshold'.
955 * elmo-flag.el (elmo-global-mark-migrate): Use
956 `elmo-folder-expand-msgdb-path' instead of
957 `elmo-folder-msgdb-path'.
959 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
961 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
962 element of the difference is nil.
964 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
966 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
967 to the check logic of file systems which are weak in colon character.
969 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
971 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
973 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
975 * elmo-maildir.el (elmo-maildir-move-file): New function.
976 (elmo-folder-append-buffer): Use it.
977 (elmo-folder-append-messages): Ditto.
978 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
980 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
981 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
983 * elmo-maildir.el (elmo-maildir-separator): New user option.
984 (elmo-maildir-adjust-separator): New macro.
985 (elmo-maildir-list-location): Use it.
986 (elmo-maildir-update-current): Ditto.
987 (elmo-maildir-set-mark): Ditto.
988 (elmo-maildir-delete-mark): Ditto.
989 (These changes are based on Hiroya Murata's patch [wl: 13437])
991 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
993 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
995 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
997 * elmo-flag.el (elmo-flag-valid-p): Simplify.
998 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
999 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1001 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1003 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1004 Use `with-temp-buffer'.
1006 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1008 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1010 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1011 `wl-read-search-condition').
1012 (elmo-read-search-condition-internal): Likewise.
1014 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1015 (elmo-flag-valid-p): New function.
1016 (elmo-folder-initialize): Check flag name is valid.
1018 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1020 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1021 delimiter to obtain root mailbox itself.
1023 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1025 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1028 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1030 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1033 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1035 * elmo-shimbun.el (toplevel): Require cl at compile.
1037 * elmo-nntp.el (toplevel): Ditto.
1039 * elmo-nmz.el (toplevel): Ditto.
1041 * elmo-multi.el (toplevel): Ditto.
1043 * elmo-file.el (toplevel): Ditto.
1045 * elmo-dop.el (toplevel): Ditto.
1047 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1049 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1051 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1054 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1055 size of elmo-message-fetch-internal is 0 byte.
1057 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1059 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1061 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1063 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1066 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1068 * elmo-maildir.el (elmo-map-message-fetch): Call
1069 `elmo-map-folder-set-flag'.
1071 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1072 (elmo-message-fetch): Merge from
1073 `elmo-message-fetch-with-cache-process'.
1075 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1076 (elmo-message-fetch): Define.
1078 * elmo-nntp.el (elmo-message-fetch): Renamed from
1079 `elmo-message-fetch-with-cache-process'.
1081 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1082 (elmo-message-fetch): Define.
1084 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1087 * elmo-shimbun.el (shimbun-mua-search-id): Use
1088 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1089 (elmo-shimbun-folder-shimbun-header): Ditto.
1090 (elmo-shimbun-get-headers): Ditto.
1091 (elmo-shimbun-update-overview): Ditto.
1093 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1095 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1096 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1098 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1100 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1102 (elmo-message-fetch-string): Fixed argument.
1104 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1106 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1107 exchange order of arguments `section' and `unread'.
1108 (elmo-message-encache): Follow the API change.
1109 (elmo-message-match-condition): Ditto.
1110 (elmo-generic-folder-append-messages): Ditto.
1111 (elmo-message-fetch-string): New function.
1113 * elmo-split.el (elmo-split-subr): Ditto.
1115 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1117 * elmo-pipe.el (elmo-message-fetch): Ditto.
1119 * elmo-multi.el (elmo-message-fetch): Ditto.
1121 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1123 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1125 * elmo-filter.el (elmo-message-fetch): Ditto.
1127 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1129 * elmo-imap4.el (mime-imap-location-section-body): Use
1130 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1131 follow the API change.
1133 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1135 * elmo-access.el: New file.
1137 * elmo-null.el: Ditto.
1139 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1141 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1143 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1144 (elmo-network-session): New attribute `last-accessed'.
1145 (elmo-network-get-session): Discard network cache if elapsed time
1146 since last-accessed is larger than elmo-network-session-idle-timeout.
1148 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1150 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1151 and added `number', `require-entireness'.
1152 (elmo-find-fetch-strategy): Rewrite.
1153 (elmo-message-fetch): Unset `unread' flag when argument unread is
1156 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1158 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1159 (elmo-message-fetch): Notify event `flag-changed'.
1161 * elmo-pipe.el: Likewise.
1163 * elmo-mime.el (elmo-mime-entity): New class.
1164 (elmo-mime-entity-display-p): New generic function.
1165 (elmo-mime-entity-display): Ditto.
1166 (elmo-mime-entity-display-as-is): Ditto.
1167 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1169 (elmo-make-mime-message-location): Removed.
1170 (elmo-mime-message-display): Ditto.
1171 (elmo-mime-display-as-is): Ditto.
1172 (elmo-message-mime-entity): New function.
1174 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1176 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1178 (elmo-message-fetch): Re-count flagged message number and notify
1179 event `flag-changed'.
1181 * elmo-version.el (elmo-version): Up to 2.13.1.
1183 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1185 * elmo-filter.el (elmo-message-field): Define.
1186 (elmo-message-set-field): Ditto.
1188 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1190 * elmo.el (elmo-message-set-cached): Call
1191 `elmo-folder-notify-event' with cache-changed.
1192 (elmo-event-handler-cache-changed): New generic function.
1194 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1196 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1197 instead of elmo-add-name-to-file.
1198 (elmo-folder-append-messages): Ditto.
1200 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1202 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1204 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1206 * elmo-version.el (elmo-version): Up to 2.13.0.
1208 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1211 * modb-standard.el (modb-standard-economize-entity-size): Changed
1212 default value to `t'.
1214 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1217 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1218 after parsing greeting string.
1220 2004-11-23 Daishi Kato <daishi@axlight.com>
1222 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1224 (elmo-spam-spamoracle-call): Use it.
1226 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1228 * elmo.el (elmo-message-accessible-p): Message in dop spool
1231 2004-11-23 Daishi Kato <daishi@axlight.com>
1233 * elsp-spamoracle.el: New file.
1235 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1237 * elmo.el (elmo-message-flags-for-append): New function.
1238 (elmo-generic-folder-append-messages): Use it.
1240 * elmo-split.el (elmo-split-subr): Ditto.
1242 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1243 `flags' and use elmo-folder-append-buffer instead of
1244 write-region-as-binary.
1245 (elmo-dop-filter-pending-messages): New function.
1246 (elmo-folder-append-buffer-dop): Call
1247 elmo-dop-spool-folder-append-buffer with `flag'.
1248 (elmo-folder-set-flag-dop): Filter messages by
1249 elmo-dop-filter-pending-messages.
1250 (elmo-folder-unset-flag-dop): Ditto.
1251 (elmo-folder-append-buffer-dop-delayed): Use
1252 elmo-message-flags-for-append to get flags of the message and
1255 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1257 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1259 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1261 * elmo.el (elmo-folder): Added handlers slot.
1262 (elmo-event-handler): New class.
1263 (elmo-event-handler-flag-changed): New API.
1264 (elmo-folder-add-handler): New function.
1265 (elmo-folder-remove-handler): Ditto.
1266 (elmo-folder-notify-event): Ditto.
1267 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1269 (elmo-folder-unset-flag): Ditto.
1271 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1272 (elmo-folder-unset-flag): Ditto.
1274 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1275 (elmo-folder-unset-flag): Ditto.
1277 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1278 (elmo-folder-unset-flag): Ditto.
1280 * elmo-version.el (elmo-version): Up to 2.11.33.
1282 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1284 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1286 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1288 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1290 * elmo-flag.el (elmo-folder-unset-flag): Define.
1291 (elmo-global-flag-detach): Do process when the flag is not target
1294 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1296 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1298 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1300 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1302 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1304 (elmo-folder-delete-messages): Detach messages before delete
1305 messages from target folder.
1306 (elmo-folder-detach-messages): Set updated number-list to slot.
1308 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1310 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1312 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1314 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1316 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1318 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1320 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1322 (elmo-folder-delete-messages): Define.
1323 (elmo-folder-move-messages): Don't call
1324 `elmo-folder-detach-messages'.
1325 (elmo-folder-synchronize): Rewrite.
1326 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1328 * elmo-util.el (elmo-last): New function.
1329 (elmo-set-list): Ditto.
1330 (elmo-number-set-delete-list): Ditto.
1331 (elmo-number-set-delete): Ditto.
1333 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1335 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1336 `elmo-folder-delete-messages' and don't delete location map.
1337 (elmo-folder-detach-messages): Define.
1339 * elmo-imap4.el (elmo-folder-delete): Use
1340 `elmo-folder-delete-messages-internal' instead of
1341 `elmo-folder-delete-messages'.
1343 * elmo-filter.el (elmo-folder-delete-messages): Call
1344 `elmo-folder-detach-messages'.
1345 (elmo-folder-detach-messages): Don't call
1346 `elmo-folder-detach-messages' for target folder.
1348 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1349 message deletion is succeeded.
1351 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1353 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1354 from `elmo-folder-delete-messages'.
1356 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1358 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1360 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1362 * elmo-version.el (elmo-version): Up to 2.11.32.
1364 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1366 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1367 (elmo-global-flag-list): Added obsolete variable setting.
1369 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1371 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1372 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1373 `elmo-mime-display-header-analysis' is nil.
1375 * elmo-flag.el (elmo-global-flags): Renamed from
1376 `elmo-global-flag-list' (All other related portions are changed).
1377 (elmo-local-flags): New variable.
1378 (elmo-local-flag-p): New function.
1379 (elmo-global-flag-set-internal): Cause an error when flag is not
1382 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1384 * elmo-util.el (elmo-concat-path): Treat empty path.
1386 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1388 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1390 (elmo-split-address-match): Ditto.
1391 (elmo-split-equal): Ditto.
1392 (elmo-split-match): Ditto.
1394 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1396 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1397 (elmo-generic-folder-append-messages): If src message exists but
1398 has no flag, pass (read) for the FLAG argument of
1399 `elmo-folder-append-buffer'. Otherwise, pass nil.
1401 * elmo-split.el (elmo-split-subr): Likewise.
1403 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1405 * elmo-multi.el (elmo-message-flags): Ditto.
1407 * elmo-filter.el (elmo-message-flags): Ditto.
1409 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1410 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1411 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1413 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1415 * elmo-split.el (elmo-split-rule): Update comment.
1416 (elmo-split-address-equal): Allow 2nd argument to be a list.
1417 (elmo-split-address-match): Ditto.
1418 (elmo-split-equal): Ditto.
1419 (elmo-split-match): Ditto.
1421 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1423 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1424 (elmo-folder-append-msgdb): Don't treat `read'.
1425 (elmo-message-flags): Don't return `read'.
1427 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1428 (elmo-folder-unset-read-delayed): Ditto.
1430 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1432 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1434 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1437 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1439 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1442 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1444 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1446 (elmo-msgdb-save): Bind inhibit-quit.
1447 (modb-standard-message-entity): Ditto.
1449 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1451 * elmo-database.el: No need to require elmo-msgdb.
1453 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1455 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1456 instead of `elmo-list-subdirectories'.
1458 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1460 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1462 (elmo-folder-exists-p): "[" is empty.
1463 (elmo-folder-list-subfolders): Define.
1464 (elmo-folder-have-subfolder-p): Ditto.
1466 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1468 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1470 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1472 * elmo-filter.el (elmo-folder-local-p): Define.
1474 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1476 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1477 when entity is garbaged.
1478 (modb-standard-save-entity-1): Don't modify the original entity.
1480 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1482 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1484 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1486 * elmo.el (elmo-strict-folder-diff): Use
1487 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1489 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1491 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1492 (elmo-msgdb-message-number): Ditto.
1493 (elmo-msgdb-message-field): Ditto.
1495 * modb-standard.el (modb-standard-economize-entity-size): New user
1497 (modb-standard-loaded-message-id): New inline function.
1498 (modb-standard-load-entity): Use it.
1499 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1500 throw message-id string away.
1501 (elmo-msgdb-flag-available-p): Define.
1502 (elmo-msgdb-message-number): Ditto.
1503 (elmo-msgdb-message-field): Ditto.
1505 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1506 (suppoted -> supported).
1507 (modb-legacy-supported-flag-p): Ditto.
1508 (elmo-msgdb-set-flag): Ditto.
1509 (elmo-msgdb-unset-flag): Ditto.
1510 (elmo-msgdb-flag-available-p): Define.
1512 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1513 is `t', treat it as legacy entity.
1515 * elmo.el (elmo-message-flag-available-p): New generic function.
1516 (elmo-message-number): Ditto.
1517 (elmo-message-field): Use `elmo-msgdb-message-field'.
1519 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1521 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1522 (elmo-message-number): Ditto.
1524 * elmo-multi.el (elmo-message-number): Define.
1525 (elmo-message-flag-available-p): Ditto.
1527 * elmo-filter.el (elmo-message-flag-available-p): Define.
1528 (elmo-message-number): Ditto.
1530 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1531 (elmo-folder-initialize): Load `max-number'.
1532 (elmo-folder-commit): Save it.
1533 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1534 (elmo-global-flag-set-internal): Set up max-number slot.
1536 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1538 * elmo-version.el (elmo-version): Up to 2.11.31.
1540 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1542 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1543 unibyte string of the current buffer for the argument of `md5'
1544 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1546 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1548 * modb-legacy.el (modb-legacy-flag-list): New constant.
1549 (modb-legacy-suppoted-flag-p): New internal function.
1550 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1551 (elmo-msgdb-unset-flag): Ditto.
1553 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1555 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1557 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1560 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1562 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1563 (follow the API change).
1565 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1567 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1569 * modb-standard.el (modb-standard-digest-flags): Abolish.
1570 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1572 * elmo-vars.el (elmo-digest-flags): New variable.
1573 (elmo-preserved-flags): Moved from elmo-flag.el.
1575 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1576 (elmo-imap4-flag-to-imap-criteria): Ditto.
1577 (elmo-imap4-folder-list-flagged): Use it.
1579 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1581 * elmo.el (elmo-folder-count-flags): Changed return value.
1583 * elmo-flag.el (elmo-preserved-flags): New variable.
1584 (elmo-get-global-flags): Use it.
1586 * modb-standard.el (modb-standard-digest-flags): New variable.
1587 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1588 Changed behavior of `any'.
1590 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1591 which are defined the Internet draft
1592 (draft-melnikov-imap-keywords-03.txt).
1593 (elmo-imap4-flags-to-imap): New function.
1594 (elmo-folder-append-buffer): Use it.
1596 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1599 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1600 avoid the bug of Emacs 21.3.
1602 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1604 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1605 function find-coding-system does not exist.
1607 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1609 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1612 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1614 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1617 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1619 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1620 (elmo-network-close-session): Follow the changes in
1621 `elmo-pop3-read-response'.
1622 (elmo-pop3-auth-user): Ditto.
1623 (elmo-pop3-auth-apop): Ditto.
1624 (elmo-network-initialize-session): Ditto.
1625 (elmo-network-authenticate-session): Ditto.
1626 (elmo-network-setup-session): Ditto.
1627 (elmo-folder-status): Ditto.
1628 (elmo-message-fetch-plugged): Ditto.
1629 (elmo-pop3-delete-msg): Ditto.
1631 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1633 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1636 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1638 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1640 (elmo-bind-directory): Ditto.
1642 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1644 * elmo.el (elmo-folder-append-messages): Note on return value.
1645 * elmo-archive.el (elmo-folder-append-messages): Don't return
1646 message numbers which could not be appended.
1648 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1650 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1652 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1654 * elmo-version.el (elmo-version): Up to 2.11.30.
1656 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1658 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1661 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1663 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1664 (elmo-multi-split-numbers): Add elmo-folder object into each
1665 element of return value at first.
1666 (elmo-folder-delete-messages): Follow the above change.
1667 (elmo-folder-detach-messages): Ditto.
1669 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1670 number which is synchronized in target folder.
1672 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1674 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1675 Change default value to symbol `all'.
1676 (elmo-map-message-fetch): Change condition to update overview
1679 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1681 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1682 behavior to update overview.
1683 (elmo-shimbun-update-overview-folder-list): Note it.
1685 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1687 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1690 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1692 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1693 buffer-disable-undo, it is unnecessary.
1694 (elmo-spam-register-good-messages): Ditto.
1696 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1699 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1701 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1703 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1704 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1705 elmo-set-buffer-multibyte.
1706 (elmo-object-load): Ditto.
1707 (elmo-save-buffer): Ditto.
1708 (elmo-delete-char): Ditto.
1709 (elmo-file-field-primitive-condition-match): Ditto.
1710 (elmo-mime-string): Ditto.
1712 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1713 (elmo-archive-field-condition-match): Ditto.
1715 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1717 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1719 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1720 (elmo-nntp-msgdb-create-message): Ditto.
1722 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1724 * elmo.el (elmo-message-match-condition): Ditto.
1725 (elmo-message-match-condition): Ditto.
1727 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1730 * elmo-version.el (elmo-version): Up to 2.11.29.
1732 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1733 (elsp-header): New backend.
1735 * elmo-util.el (elmo-decoded-field-body): New function.
1737 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1739 * elmo-version.el (elmo-version): Up to 2.11.28.
1741 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1743 * elmo-filter.el: Rewrite.
1745 * elmo-version.el (elmo-version): Up to 2.11.27.
1747 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1749 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1750 msgdb path for the localdir folder with absolute path.
1752 * utf7.el: Synch up with latest gnus/utf7.el;
1753 Modified for latest Emacs.
1755 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1757 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1758 shimbun backend couldn't open.
1760 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1762 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1763 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1764 when a destination folder is a filter folder.
1766 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1768 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1769 (elmo-generic-folder-append-messages): Call elmo-message-flags
1770 with argument `msgid'.
1772 * elmo-split.el (elmo-split-subr): Ditto.
1774 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1776 * elmo-multi.el (elmo-message-flags): Ditto.
1778 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1780 * elmo.el (elmo-folder): Add new slot `flag-table'.
1781 (elmo-folder-flag-table): New API.
1782 (elmo-folder-close-flag-table): Ditto.
1783 (elmo-folder-preserve-flags): New function.
1784 (elmo-generic-folder-append-messages): Use
1785 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1786 Flag of a non-registered message, it sets to nil.
1787 Does not set flag to flag-table.
1789 * elmo-maildir.el (elmo-folder-append-buffer): Use
1790 `elmo-folder-preserve-flags'.
1791 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1792 `elmo-folder-close-flag-table'.
1794 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1795 (elmo-archive-folder-append-buffer): Use
1796 `elmo-folder-preserve-flags'.
1798 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1800 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1802 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1803 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1804 `elmo-folder-close-flag-table'.
1806 * elmo-version.el (elmo-version): Up to 2.11.26.
1808 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1810 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1812 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1813 md5's 4th and 5th argument (non-existent in flim one).
1815 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1817 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1818 message, It sets to nil.
1820 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1822 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1825 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1827 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1829 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1831 * elmo-util.el (elmo-uniq-sorted-list): New function.
1832 (elmo-make-number-list): Ditto.
1833 (elmo-number-set-to-number-list): Use elmo-make-number-list
1834 and don't use nreverse.
1836 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1838 * elmo-version.el (elmo-version): Up to 2.11.25.
1840 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1842 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1843 field not exists in message, Use md5 message digest of header.
1845 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1847 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1848 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1849 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1850 * elmo-split.el (elmo-split-subr): Check return value of
1851 elmo-folder-append-buffer.
1853 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1854 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1856 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1859 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1861 * elmo-split.el (elmo-split-subr): Append message with flag.
1863 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1864 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1865 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1867 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1869 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1870 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1871 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1873 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1875 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1876 with a function call of `process-buffer'. All callers are updated.
1877 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1878 Remove redundant `set-buffer' in a while loop.
1880 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1882 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1885 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1887 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1888 elsp-spamfilter-register-buffer-internal with current buffer.
1889 (elmo-spam-register-spam-buffer): Ditto.
1890 (elmo-spam-register-good-buffer): Ditto.
1892 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1894 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1895 if it is not contained in the response(A workaround for courier-imap).
1897 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1899 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1902 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1904 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1907 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1909 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1912 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1914 (elmo-msgdb-message-match-condition): Follow the change above.
1916 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1918 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1921 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1923 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1925 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1927 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1929 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1931 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1934 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1936 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1938 (elmo-file-command-argument): Undo last change for cygwin.
1939 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1941 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1943 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1945 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1946 value returned from elmo-file-find is nil.
1948 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1950 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1953 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1954 instead of insert-file-contents-as-binary.
1955 (elmo-message-set-field): New generic function.
1957 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1958 behavior change on `split-string'.
1960 * elmo-file.el (elmo-file-find): New function.
1961 (elmo-file-command): New user option.
1962 (elmo-file-command-argument): Ditto.
1963 (elmo-file-fetch-max-size): Ditto.
1964 (elmo-file-detect-format): New function.
1965 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1966 Use elmo-file-detect-format.
1967 (elmo-map-folder-list-message-locations): Don't treat directories.
1969 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1971 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1972 (elmo-passwd-alist-clear): Shred password before clear.
1973 (elmo-remove-passwd): Remove all mached pair.
1975 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1977 * elmo.el (elmo-folder-synchronize): Fix description of the return
1980 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1982 * elmo.el (elmo-message-fetch-bodystructure): New method.
1983 (elmo-message-fetch-bodystructure): Define default.
1985 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1986 elmo-message-fetch-bodystructure.
1987 (elmo-message-fetch-bodystructure): Define.
1989 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1991 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1993 * elmo-filter.el (elmo-message-folder): Define.
1995 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1997 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1998 elmo-delete-cr-buffer.
2000 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2002 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2004 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2006 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2007 type seems to be a text.
2009 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2011 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2012 (elmo-spam-register-good-buffer): Ditto.
2013 (elmo-spam-spamassassin-register-messages): Ditto.
2015 * elmo-util.el (elmo-string-member-ignore-case): Define with
2018 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2020 * elmo.el (elmo-folder-type): Undo last change.
2022 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2024 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2027 * elmo-file.el: New file.
2029 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2031 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2033 (elmo-spam-spamassassin-register-messages): New inline function.
2034 (elmo-spam-register-spam-messages): Define.
2035 (elmo-spam-register-good-messages): Ditto.
2037 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2040 * elmo.el (toplevel): Added autoload setting for
2041 `elmo-get-global-flags'.
2042 (elmo-message-has-global-flag-p): New function.
2043 (elmo-message-set-global-flags): Ditto.
2044 (elmo-folder-type): Improvement for name: format.
2046 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2047 availability of keyword flags.
2048 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2049 (elmo-folder-list-flagged-plugged): Renamed from
2050 elmo-folder-list-flagged-unplugged.
2051 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2052 accept any flag as keyword flag.
2053 (elmo-folder-set-flag-plugged): Accept keyword flags.
2054 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2056 * elmo-flag.el (elmo-get-global-flags): New function.
2058 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2061 * elmo-version.el (elmo-version): Up to 2.11.24.
2063 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2065 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2066 elmo-multiple-field-body instead of std11-field-body to check all
2069 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2071 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2074 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2076 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2077 unintern is unbound.
2079 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2081 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2082 Protect from infinite loop.
2084 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2086 * elsp-bogofilter.el
2087 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2088 (elmo-spam-bogofilter-register-messages): New internal function.
2089 (elmo-spam-register-spam-messages): Define.
2090 (elmo-spam-register-good-messages): Ditto.
2092 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2094 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2095 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2096 (elmo-spam-bogofilter-call): Fixed the last change.
2097 (elmo-spam-bogofilter-arguments): Ditto.
2099 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2100 Follow the options change of latest bogofilter.
2102 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2103 (elmo-spam-bogofilter-good-switch): Ditto.
2104 (elmo-spam-bogofilter-arguments-alist): New user option.
2105 (elmo-spam-bogofilter-debug): Ditto.
2106 (elmo-spam-bogofilter-call): Renamed from
2107 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2108 is non-nil, insert output in buffer for debug.
2109 (elmo-spam-bogofilter-arguments): New macro.
2110 (elmo-spam-buffer-spam-p): Use it.
2111 (elsp-bogofilter-register-buffer): Ditto.
2113 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2115 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2118 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2120 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2122 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2123 (elmo-spam-bsfilter-program): Set default value as full path for
2125 (elmo-spam-bsfilter-debug): New user option.
2126 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2127 non-nil, insert output in buffer for debug. Fix treating of
2130 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2132 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2133 `elmo-maildir-flag-specs' element instead of one.
2134 (elmo-map-folder-unset-flag): Ditto.
2135 (Reported by Ken Makimura <macky@astem.or.jp>)
2137 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2138 (elmo-folder-unset-flag-plugged): Ditto.
2140 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2142 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2143 to `reads' slot only if `in-msgdb' is nil.
2145 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2147 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2148 and complement argument list.
2150 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2152 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2153 instead of elmo-folder-list-flagged.
2155 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2157 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2159 * elsp-bsfilter.el: New file.
2161 * elmo-pipe.el (elmo-folder-list-unreads,
2162 elmo-folder-list-answereds,
2163 elmo-folder-list-importants,
2164 elmo-folder-flag-as-important,
2165 elmo-folder-unflag-important,
2166 elmo-folder-flag-as-read,
2167 elmo-folder-unflag-read,
2168 elmo-folder-flag-as-answered,
2169 elmo-folder-unflag-answered): Remove.
2170 (elmo-folder-set-flag): Define.
2171 (elmo-folder-unset-flag): Ditto.
2173 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2174 (elmo-folder-set-flag): Define.
2175 (elmo-folder-unset-flag): Ditto.
2176 (elmo-folder-list-unreads): Remove.
2177 (elmo-folder-list-flagged): Define.
2179 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2180 (elmo-folder-list-unreads,
2181 elmo-folder-list-importants,
2182 elmo-folder-list-answereds,
2183 elmo-folder-list-unreads-plugged,
2184 elmo-folder-list-importants-plugged,
2185 elmo-folder-list-answereds-plugged): Remove.
2186 (elmo-folder-list-flagged-plugged): New method.
2187 (elmo-folder-unflag-important,
2188 elmo-folder-flag-as-important,
2189 elmo-folder-unflag-read,
2190 elmo-folder-flag-as-read,
2191 elmo-folder-unflag-answered,
2192 elmo-folder-flag-as-answered,
2193 elmo-folder-flag-as-read-unplugged,
2194 elmo-folder-unflag-read-unplugged,
2195 elmo-folder-flag-as-important-unplugged,
2196 elmo-folder-unflag-important-unplugged,
2197 elmo-folder-flag-as-answered-unplugged,
2198 elmo-folder-unflag-answered-unplugged): Remove.
2199 (elmo-folder-set-flag): Define.
2200 (elmo-folder-unset-flag): Ditto.
2201 (elmo-folder-set-flag-unplugged): Ditto.
2202 (elmo-folder-unset-flag-unplugged): Ditto.
2204 * elmo-multi.el (elmo-folder-list-unreads,
2205 elmo-folder-list-answereds,
2206 elmo-folder-list-importants,
2207 elmo-folder-flag-as-important,
2208 elmo-folder-unflag-important,
2209 elmo-folder-flag-as-read,
2210 elmo-folder-unflag-read,
2211 elmo-folder-flag-as-answered,
2212 elmo-folder-unflag-answered): Remove.
2213 (elmo-folder-set-flag): Define.
2214 (elmo-folder-unset-flag): Ditto.
2216 * elmo-map.el (elmo-map-folder-unflag-important,
2217 elmo-map-folder-flag-as-important,
2218 elmo-map-folder-unflag-read,
2219 elmo-map-folder-flag-as-read,
2220 elmo-map-folder-unflag-answered,
2221 elmo-map-folder-flag-as-answered): Remove.
2222 (elmo-map-folder-set-flag): New method.
2223 (elmo-map-folder-unset-flag): Ditto.
2224 (elmo-map-folder-list-unreads,
2225 elmo-map-folder-list-importants,
2226 elmo-map-folder-list-answereds): Remove.
2227 (elmo-folder-list-flagged-internal): Define.
2228 (elmo-map-folder-list-flagged): New method.
2230 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2231 (elmo-map-folder-list-unreads,
2232 elmo-map-folder-list-importants,
2233 elmo-map-folder-list-flagged): Remove.
2234 (elmo-map-folder-list-flagged): Define.
2235 (elmo-map-folder-flag-as-important,
2236 elmo-map-folder-unflag-important,
2237 elmo-map-folder-flag-as-read,
2238 elmo-map-folder-unflag-read,
2239 elmo-map-folder-flag-as-answered,
2240 elmo-map-folder-unflag-answered): Remove.
2241 (elmo-maildir-set-mark-messages): New internal function.
2242 (elmo-map-folder-set-flag): Define.
2243 (elmo-map-folder-unset-flag): Ditto.
2245 * elmo.el (toplevel): Added autoload setting for
2246 `elmo-folder-list-global-flag-messages'.
2247 (elmo-folder-list-unreads,
2248 elmo-folder-list-importants,
2249 elmo-folder-list-answereds): Remove.
2250 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2251 Return a list whitch merged with messages have global flag.
2252 (elmo-folder-list-flagged-internal): New method.
2253 (elmo-folder-unflag-important,
2254 elmo-folder-flag-as-important,
2255 elmo-folder-unflag-read,
2256 elmo-folder-flag-as-read,
2257 elmo-folder-unflag-answered,
2258 elmo-folder-flag-as-answered): Remove.
2259 (elmo-folder-set-flag): New method.
2260 (elmo-folder-unset-flag): Ditto.
2261 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2262 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2264 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2265 (elmo-folder-list-unreads-plugged,
2266 elmo-folder-list-importants-plugged,
2267 elmo-folder-list-answereds-plugged,
2268 elmo-folder-list-flagged-unplugged,
2269 elmo-folder-unflag-important-plugged,
2270 elmo-folder-flag-as-important-plugged,
2271 elmo-folder-unflag-read-plugged,
2272 elmo-folder-flag-as-read-plugged,
2273 elmo-folder-unflag-answered-plugged,
2274 elmo-folder-flag-as-answered-plugged): Remove.
2275 (elmo-folder-set-flag-plugged,
2276 elmo-folder-unset-flag-plugged): Define.
2278 * elmo-flag.el (elmo-folder-initialize): Register to
2279 `elmo-global-flag-list' if flag is not global.
2280 (elmo-folder-append-messages): Set flag to source messages.
2282 * elmo-filter.el (elmo-filter-folder-list-unreads,
2283 elmo-folder-list-unreads,
2284 elmo-filter-folder-list-importants,
2285 elmo-folder-list-importants,
2286 elmo-folder-flag-as-read,
2287 elmo-folder-unflag-read,
2288 elmo-folder-flag-as-important,
2289 elmo-folder-unflag-important,
2290 elmo-folder-flag-as-answered,
2291 elmo-folder-unflag-answered): Remove.
2292 (elmo-folder-set-flag): Define.
2293 (elmo-folder-unset-flag): Ditto.
2295 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2296 elmo-folder-unflag-read-dop,
2297 elmo-folder-flag-as-important-dop,
2298 elmo-folder-unflag-important-dop,
2299 elmo-folder-flag-as-answered-dop,
2300 elmo-folder-unflag-answered-dop): Remove.
2301 (elmo-folder-set-flag-dop,
2302 elmo-folder-unset-flag-dop,
2303 elmo-folder-set-important-delayed,
2304 elmo-folder-unset-important-delayed,
2305 elmo-folder-set-read-delayed,
2306 elmo-folder-unset-read-delayed,
2307 elmo-folder-set-answered-delayed,
2308 elmo-folder-unset-answered-delayed): New function.
2309 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2310 (elmo-dop-queue-method-name-alist): Ditto.
2312 * elmo-version.el (elmo-version): Up to 2.11.23.
2314 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2316 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2318 * elsp-sa.el: New file.
2320 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2322 * modb-standard.el (modb-standard-message-entity): New function.
2323 (elmo-msgdb-message-entity): Use it.
2325 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2327 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2328 behavior when one-level is nil.
2330 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2332 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2334 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2336 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2338 (elmo-generic-folder-diff): Ditto.
2340 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2341 (elmo-folder-update-number): Ditto.
2343 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2344 (elmo-folder-next-message-number-dop): Ditto.
2346 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2348 * elmo-filter.el (elmo-folder-msgdb-create): Use
2349 `elmo-message-entity' and `elmo-message-flags' instead of
2350 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2352 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2354 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2357 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2359 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2361 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2363 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2365 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2367 * elmo-version.el (elmo-version): Up to 2.11.22.
2369 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2371 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2373 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2375 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2376 if the message dose not exist.
2378 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2380 * elmo-version.el (elmo-version): Up to 2.11.21.
2382 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2384 * modb-standard.el (toplevel): Don't require mime.
2386 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2388 * elsp-bogofilter.el (toplevel): Don't require path-util.
2389 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2390 (elmo-spam-bogofilter-header): Abolish.
2391 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2392 (elmo-spam-bogofilter-args): New user option.
2393 (elsp-bogofilter-call-bogofilter): New internal function.
2394 (elmo-spam-buffer-spam-p): Use it.
2395 (elsp-bogofilter-register-buffer): Renamed from
2396 `elmo-spam-bogofilter-register-buffer';
2397 Use `elsp-bogofilter-call-bogofilter'.
2398 (elmo-spam-register-spam-buffer): Follow the change above.
2399 (elmo-spam-register-good-buffer): Ditto.
2401 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2403 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2404 message-id is nil do nothing.
2406 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2408 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2410 (elmo-imap4-session): Removed use-flag slot.
2411 (elmo-imap4-session-select-mailbox): Undo last change.
2412 (elmo-folder-use-flag-p): Use
2413 elmo-imap4-disuse-server-flag-mailbox-regexp.
2415 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2417 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2418 (elmo-imap4-session-select-mailbox): Set it up.
2419 (elmo-folder-use-flag-p): Return value of use-flag slot.
2421 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2423 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2425 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2427 * modb-entity.el (elmo-message-entity-handler): Likewise.
2429 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2431 * elmo.el (toplevel): Remove setting of autoloding for
2432 elmo-global-flag-initialize.
2433 (elmo-init): Don't call elmo-global-flag-initialize.
2434 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2436 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2437 (elmo-global-mark-migrate): Don't call it.
2438 (elmo-global-mark-upgrade): Ditto.
2440 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2442 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2443 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2445 * elmo-vars.el (elmo-init-hook): New user option.
2447 * elmo.el (elmo-init): Run the elmo-init-hook.
2449 * elmo-flag.el (elmo-global-mark-migrate): New function.
2451 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2453 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2454 Undo last change (move to elmo-msgdb-unset-flag).
2455 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2458 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2460 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2462 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2463 (elmo-msgdb-unset-flag): Ditto.
2465 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2467 * elmo-split.el (elmo-split): Return split message count.
2469 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2471 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2474 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2476 * elmo.el (elmo-folder-unflag-important): Call
2477 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2480 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2482 (elmo-global-flag-detach): Delete the message from flag folder, if
2483 `delete-if-none' is a symbol `always'.
2485 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2487 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2488 `elmo-spam-spamfilter-decode-buffer'.
2489 (elsp-spamfilter-register-buffer-internal): New internal function.
2490 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2491 (elmo-spam-register-spam-buffer): Ditto.
2492 (elmo-spam-register-good-buffer): Ditto.
2494 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2496 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2497 (elmo-spam-register-spam-buffer): Follow the API change.
2498 (elmo-spam-register-good-buffer): Ditto.
2500 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2501 (elmo-split-spam-p): Added argument plist; Call
2502 `elmo-spam-buffer-spam-p' with new argument register.
2504 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2506 (elmo-spam-message-spam-p): Ditto.
2507 (elmo-spam-register-spam-buffer): Added optional argument
2509 (elmo-spam-register-good-buffer): Ditto.
2510 (elmo-spam-register-spam-messages): Ditto.
2511 (elmo-spam-register-good-messages): Ditto.
2513 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2515 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2516 register into good corpus.
2517 (elmo-spam-register-good-buffer): Fixed to register into bad
2520 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2522 * elmo-version.el (elmo-version): Up to 2.11.20.
2524 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2527 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2528 flag without depending on \Recent flag.
2530 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2532 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2533 (elmo-spam-modified-p): Defined.
2534 (elmo-spam-save-status): Set `modified' slot to nil.
2535 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2536 (elmo-spam-register-good-buffer): Ditto.
2538 * elmo-spam.el (elmo-spam-modified-p): New API.
2540 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2542 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2543 duplicate definition.
2545 * elmo-util.el (elmo-unfold-field-body): New function.
2546 (elmo-msgdb-get-message-id-from-buffer): Use it.
2548 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2549 Fixed the last change; Use elmo-unfold-field-body.
2551 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2553 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2556 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2558 * elmo-spam.el (elmo-spam-save-status): New API.
2560 * elsp-spamfilter.el: New file.
2562 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2564 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2566 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2568 * elmo-split.el (elmo-split-spam-p): New function.
2570 * elmo-spam.el: New file.
2572 * elsp-bogofilter.el: Ditto.
2574 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2576 * elmo.el (elmo-folder-next-message-number): New API.
2577 (elmo-folder-next-message-number): Define.
2578 (elmo-message-field): Don't check folder length.
2580 * elmo-net.el (elmo-folder-next-message-number): Define.
2581 (elmo-folder-next-message-number-unplugged): Define.
2583 * elmo-map.el (elmo-folder-next-message-number): Define.
2584 (elmo-folder-delete-messages): Clear hash value.
2586 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2588 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2589 (elmo-folder-delete-messages-dop-delayed): Always return t.
2591 * elmo-version.el (elmo-version): Up to 2.11.19.
2593 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2595 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2598 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2599 identical cons cell into the mark-alist and the hash table.
2601 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2603 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2604 elmo-folder-list-messages with argument `visible-only' as t.
2606 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2607 (elmo-folder-msgdb-create): Check the target folder.
2609 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2611 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2612 `permanentflag' instead of `flags'.
2613 (elmo-folder-open): Ditto.
2614 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2615 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2616 (elmo-folder-use-flag-p): Always return t.
2617 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2618 `permanentflags' does not exist.
2619 (elmo-folder-open): Ditto.
2621 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2623 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2625 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2627 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2628 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2630 (elmo-folder-open): Ditto.
2631 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2632 slot of the session includes the flag.
2633 (elmo-imap4-session-flag-available-p): New function.
2634 (elmo-imap4-folder-list-flagged): Ditto.
2635 (elmo-folder-list-unreads-plugged): Use it.
2636 (elmo-folder-list-importants-plugged): Ditto.
2637 (elmo-folder-list-answereds-plugged): Ditto.
2638 (elmo-imap4-search-internal-primitive): Ditto.
2639 (elmo-imap4-folder-list-any-plugged,
2640 elmo-imap4-folder-list-digest-plugged): Abolish.
2642 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2645 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2647 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2649 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2651 * elmo-util.el (elmo-get-hash-val): Simplify.
2652 (elmo-set-hash-val): Rewrite.
2654 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2656 * elmo.el (elmo-folder-list-messages): Append killed messages into
2657 result if `visible-only' is nil and `in-msgdb' is non-nil.
2659 * elmo-util.el (elmo-uniq-list): Added optional argument
2662 * modb.el (elmo-msgdb-flag-count): New API.
2664 * modb-standard.el (modb-standard): Added slot flag-count.
2665 (modb-standard-countup-flags): New function.
2666 (modb-standard-load-flag): Call it.
2667 (elmo-msgdb-append): Ditto.
2668 (elmo-msgdb-clear): Clear slot flag-count.
2669 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2670 (elmo-msgdb-unset-flag): Treat `all' flag and call
2671 modb-standard-countup-flags.
2672 (elmo-msgdb-flag-count): Define.
2673 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2674 (elmo-msgdb-delete-messages): Ditto.
2676 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2677 (elmo-msgdb-flag-count): Define.
2679 * elmo.el (elmo-folder-list-messages): Undo last change.
2680 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2681 (elmo-folder-kill-messages): Unset all flags to numbers.
2683 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2684 elmo-folder-kill-messages.
2686 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2687 (elmo-nntp-folder-delete-messages): Abolish.
2689 * elmo-version.el (elmo-version): Up to 2.11.18.
2691 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2693 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2694 (elmo-folder-kill-messages-range): New function.
2695 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2696 instead of elmo-folder-kill-messages-before.
2698 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2700 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2701 elmo-imap4-current-msgdb to decide entity handler.
2703 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2705 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2707 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2709 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2710 (elmo-msgdb-overview-entity-set-number,
2711 elmo-msgdb-overview-entity-get-references,
2712 elmo-msgdb-overview-entity-set-references,
2713 elmo-msgdb-overview-entity-get-from-no-decode,
2714 elmo-msgdb-overview-entity-get-from,
2715 elmo-msgdb-overview-entity-set-from,
2716 elmo-msgdb-overview-entity-get-subject,
2717 elmo-msgdb-overview-entity-get-subject-no-decode,
2718 elmo-msgdb-overview-entity-set-subject,
2719 elmo-msgdb-overview-entity-get-date,
2720 elmo-msgdb-overview-entity-set-date,
2721 elmo-msgdb-overview-entity-get-to,
2722 elmo-msgdb-overview-entity-get-cc,
2723 elmo-msgdb-overview-entity-get-size,
2724 elmo-msgdb-overview-entity-set-size,
2725 elmo-msgdb-overview-entity-get-extra,
2726 elmo-msgdb-overview-entity-set-extra,
2727 elmo-msgdb-overview-entity-get-extra-field,
2728 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2729 (elmo-msgdb-make-index): Use
2730 `elmo-msgdb-overview-entity-get-number-internal'.
2731 (elmo-msgdb-clear-index): Ditto.
2732 (elmo-msgdb-append-entity): Ditto;
2733 Use `elmo-msgdb-overview-entity-get-id-internal'.
2735 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2736 elmo-msgdb-overview-entity-set-number,
2737 elmo-msgdb-overview-entity-get-references,
2738 elmo-msgdb-overview-entity-set-references,
2739 elmo-msgdb-overview-entity-get-from-no-decode,
2740 elmo-msgdb-overview-entity-get-from,
2741 elmo-msgdb-overview-entity-set-from,
2742 elmo-msgdb-overview-entity-get-subject,
2743 elmo-msgdb-overview-entity-get-subject-no-decode,
2744 elmo-msgdb-overview-entity-set-subject,
2745 elmo-msgdb-overview-entity-get-date,
2746 elmo-msgdb-overview-entity-set-date,
2747 elmo-msgdb-overview-entity-get-to,
2748 elmo-msgdb-overview-entity-get-cc,
2749 elmo-msgdb-overview-entity-get-size,
2750 elmo-msgdb-overview-entity-set-size,
2751 elmo-msgdb-overview-entity-get-extra,
2752 elmo-msgdb-overview-entity-set-extra,
2753 elmo-msgdb-overview-entity-get-extra-field,
2754 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2755 and rewrote for backward compatibility.
2757 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2759 * elmo.el (elmo-message-entity-number,
2760 elmo-message-entity-set-number,
2761 elmo-message-entity-field,
2762 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2764 * elmo-msgdb.el (elmo-message-entity-number,
2765 elmo-message-entity-set-number,
2766 elmo-message-entity-field,
2767 elmo-message-entity-set-field): Moved from elmo.el.
2769 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2771 * elmo.el (toplevel): Changed definition orders.
2773 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2775 * modb.el (elmo-msgdb-search): New API .
2776 (elmo-msgdb-match-condition): Ditto.
2778 * modb-standard.el (elmo-msgdb-search): Define.
2780 * modb-legacy.el (elmo-msgdb-search): Ditto.
2782 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2783 from elmo-msgdb-match-condition-internal.
2785 * elmo.el (elmo-folder-search-fast): Abolish.
2786 (elmo-folder-search): Use elmo-msgdb-search and
2787 elmo-with-progress-display.
2789 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2792 * elmo.el (elmo-folder): Remove slot message-modified and
2794 (elmo-folder-set-message-modified): Abolish.
2795 (elmo-generic-folder-commit): Follow the change above.
2796 (elmo-folder-synchronize): Ditto.
2798 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2800 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2802 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2804 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2806 * modb-standard.el (modb-standard-make-message-entity,
2807 elmo-msgdb-make-message-entity,
2808 elmo-msgdb-create-message-entity-from-buffer,
2809 elmo-msgdb-message-entity-number,
2810 elmo-msgdb-message-entity-set-number,
2811 elmo-msgdb-message-entity-field,
2812 elmo-msgdb-message-entity-set-field,
2813 elmo-msgdb-copy-message-entity,
2814 elmo-msgdb-match-condition-internal): Remove.
2816 * modb-entity.el: New file (again).
2818 * modb.el (toplevel): Require modb-entity.
2819 (elmo-msgdb-message-entity-handler): New method.
2821 * modb-standard.el (modb-standard-entity-id): Use
2822 elmo-message-entity-handler.
2823 (modb-standard-load-entity): Ditto.
2824 (elmo-msgdb-append-entity): Ditto.
2825 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2827 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2828 elmo-msgdb-decoded-cache-hashtb,
2829 (modb-legacy-make-message-entity,
2830 elmo-msgdb-make-message-entity,
2831 elmo-msgdb-create-message-entity-from-buffer,
2832 elmo-msgdb-message-entity-number,
2833 elmo-msgdb-message-entity-set-number,
2834 elmo-msgdb-message-entity-field,
2835 elmo-msgdb-message-entity-set-field,
2836 elmo-msgdb-copy-message-entity,
2837 elmo-msgdb-match-condition-internal,
2838 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2840 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2841 (elmo-message-entity-set-number): Ditto.
2842 (elmo-message-entity-field): Ditto.
2843 (elmo-message-entity-set-field): Ditto.
2845 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2847 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2849 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2851 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2852 (elmo-nntp-msgdb-create-message): Ditto.
2854 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2855 (elmo-folder-msgdb-create): Add unread flag.
2857 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2859 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2861 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2863 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2865 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2866 elmo-msgdb-messge-entity-handler.
2867 * elmo-version.el (elmo-version): Up to 2.11.17.
2869 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2871 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2874 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2876 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2878 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2879 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2880 (elmo-msgdb-flag-table): Ditto.
2881 (elmo-msgdb-sort-by-date): Ditto.
2883 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2885 * modb-standard.el (toplevel): Require mime.
2886 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2887 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2888 elmo-msgdb-message-entity-number.
2889 (elmo-msgdb-append-entity): Ditto.
2890 (elmo-msgdb-create-message-entity-from-file): Remove.
2891 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2892 corresponds to the entity.
2893 (elmo-msgdb-message-entity-number): Do nothing currently.
2894 (elmo-msgdb-message-entity-field): Ditto.
2895 (elmo-msgdb-message-entity-set-field): Ditto.
2896 (elmo-msgdb-copy-message-entity): Ditto.
2897 (elmo-msgdb-match-condition-internal): Ditto.
2899 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2901 (elmo-msgdb-create-message-entity-from-file): Remove.
2903 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2905 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2907 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2909 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2911 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2912 (elmo-msgdb-message-entity-field): Ditto.
2913 (elmo-msgdb-message-entity-number): Ditto.
2915 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2917 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2918 Fixed how to set extra field into entity.
2919 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2922 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2923 Fixed how to set extra field into entity.
2924 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2927 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2929 * modb.el (elmo-message-entity-db): New function.
2930 (elmo-msgdb-make-message-entity): New API.
2931 (elmo-msgdb-message-entity-number): Ditto.
2932 (elmo-msgdb-message-entity-set-number): Ditto.
2933 (elmo-msgdb-message-entity-field): Ditto.
2934 (elmo-msgdb-message-entity-set-field): Ditto.
2935 (elmo-msgdb-copy-message-entity): Ditto.
2936 (elmo-msgdb-create-message-entity-from-file): Ditto.
2937 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2938 (elmo-msgdb-match-condition-internal): Ditto.
2940 * modb-standard.el (modb-legacy): Require modb-legacy.
2941 (modb-standard-make-message-entity): New inline function.
2942 (elmo-msgdb-make-message-entity): Define.
2943 (elmo-msgdb-create-message-entity-from-file): Ditto.
2944 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2945 (elmo-msgdb-message-entity-field): Ditto.
2946 (elmo-msgdb-message-entity-set-field): Ditto.
2947 (elmo-msgdb-copy-message-entity): Ditto.
2948 (elmo-msgdb-match-condition-internal): Ditto.
2950 * modb-legacy.el: Don't require modb-entity.
2951 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2952 (elmo-msgdb-match-condition-primitive): Ditto.
2953 (elmo-msgdb-get-decoded-cache): Ditto.
2954 (elmo-msgdb-overview-entity-get-id): Ditto.
2955 (elmo-msgdb-overview-entity-get-number): Ditto.
2956 (elmo-msgdb-overview-entity-set-number): Ditto.
2957 (elmo-msgdb-overview-entity-get-references): Ditto.
2958 (elmo-msgdb-overview-entity-set-references): Ditto.
2959 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2960 (elmo-msgdb-overview-entity-get-from): Ditto.
2961 (elmo-msgdb-overview-entity-set-from): Ditto.
2962 (elmo-msgdb-overview-entity-get-subject): Ditto.
2963 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2964 (elmo-msgdb-overview-entity-set-subject): Ditto.
2965 (elmo-msgdb-overview-entity-get-date): Ditto.
2966 (elmo-msgdb-overview-entity-set-date): Ditto.
2967 (elmo-msgdb-overview-entity-get-to): Ditto.
2968 (elmo-msgdb-overview-entity-get-cc): Ditto.
2969 (elmo-msgdb-overview-entity-get-size): Ditto.
2970 (elmo-msgdb-overview-entity-set-size): Ditto.
2971 (elmo-msgdb-overview-entity-get-extra): Ditto.
2972 (elmo-msgdb-overview-entity-set-extra): Ditto.
2973 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2974 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2975 (elmo-msgdb-number-load): Ditto.
2976 (elmo-msgdb-overview-load): Ditto.
2977 (elmo-msgdb-mark-load): Ditto.
2978 (elmo-msgdb-number-save): Ditto.
2979 (elmo-msgdb-mark-save): Ditto.
2980 (elmo-msgdb-overview-save): Ditto.
2981 (modb-legacy-make-message-entity): New inline function.
2982 (elmo-msgdb-insert-file-header): Ditto.
2983 (elmo-msgdb-make-message-entity): Define.
2984 (elmo-msgdb-create-message-entity-from-file): Ditto.
2985 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2986 (elmo-msgdb-message-entity-number): Ditto.
2987 (elmo-msgdb-message-entity-set-number): Ditto.
2988 (elmo-msgdb-message-entity-field): Ditto.
2989 (elmo-msgdb-message-entity-set-field): Ditto.
2990 (elmo-msgdb-copy-message-entity): Ditto.
2991 (elmo-msgdb-match-condition-internal): Ditto.
2993 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2994 (elmo-message-copy-entity): Rewrite.
2995 (elmo-message-entity-number): Ditto.
2996 (elmo-message-entity-set-number): Ditto.
2997 (elmo-message-entity-field): Use elmo-message-entity-db.
2998 (elmo-message-entity-set-field): Ditto.
2999 (elmo-message-field): Rewrite.
3001 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3003 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3005 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3006 elmo-message-entity-field.
3007 (elmo-shimbun-folder-shimbun-header): Ditto.
3008 (elmo-shimbun-entity-to-header): Ditto.
3009 (elmo-folder-msgdb-create): Ditto.
3010 (elmo-shimbun-msgdb-create-entity): Ditto;
3011 Use elmo-msgdb-create-message-entity-from-buffer.
3012 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3013 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3015 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3016 elmo-msgdb-create-message-entity-from-file and
3017 elmo-message-entity-field.
3019 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3020 elmo-message-entity-number.
3021 (elmo-pop3-msgdb-create-message): Use
3022 elmo-msgdb-create-message-entity-from-buffer,
3023 elmo-message-entity-set-field, elmo-message-entity-number and
3024 elmo-message-entity-set-number.
3026 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3027 the API change in elmo-msgdb-make-message-entity.
3028 (elmo-nntp-msgdb-create-message): Use
3029 elmo-msgdb-create-message-entity-from-buffer.
3031 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3032 elmo-message-entity-field and
3033 elmo-msgdb-create-message-entity-from-file.
3035 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3036 (elmo-msgdb-get-field): Abolish.
3037 (elmo-msgdb-get-number): Rewrite.
3038 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3039 (elmo-msgdb-flag-table): Ditto.
3040 (elmo-msgdb-get-last-message-id,
3041 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3042 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3043 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3044 (elmo-msgdb-create-overview-from-buffer,
3045 elmo-msgdb-overview-get-parent-entity): Abolish.
3047 * elmo-mime.el (elmo-mime-display-as-is): Use
3048 elmo-message-entity-field.
3050 * elmo-map.el (elmo-folder-pack-numbers): Use
3051 elmo-message-entity-set-number.
3053 * elmo-maildir.el (elmo-folder-msgdb-create):
3054 elmo-msgdb-create-message-entity-from-file instead of
3055 elmo-msgdb-create-overview-entity-from-file.
3057 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3059 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3060 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3062 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3063 elmo-messge-entity-field and elmo-message-entity-number.
3064 (elmo-imap4-fetch-callback-1): Call
3065 elmo-msgdb-create-message-entity-from-buffer instead of
3066 elmo-msgdb-create-overview-from-buffer.
3067 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3068 (elmo-find-fetch-strategy): Likewise.
3070 * elmo-flag.el (elmo-folder-msgdb-create): Call
3071 elmo-localdir-msgdb-create-entity with argument msgdb.
3073 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3074 and elmo-message-entity-set-number.
3076 * elmo-cache.el (elmo-folder-msgdb-create): Use
3077 elmo-message-entity-field.
3078 (elmo-folder-msgdb-create): Call
3079 elmo-msgdb-create-message-entity-from-file instead of
3080 elmo-msgdb-create-overview-entity-from-file.
3082 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3083 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3084 instead of elmo-msgdb-create-overview-from-buffer.
3085 (elmo-archive-msgdb-create-entity): Ditto.
3086 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3087 elmo-message-entity-field.
3088 (elmo-archive-parse-mmdf): Ditto.
3090 * modb-entity.el: Removed.
3092 * elmo-version.el (elmo-version): Up to 2.11.16.
3094 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3096 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3098 (elmo-folder-flag-as-answered): Ditto.
3100 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3102 * modb-standard.el: New file.
3104 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3105 elmo-msgdb-convert-type is `sync'.
3107 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3108 (elmo-msgdb-convert-type): New user option.
3110 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3111 (elmo-load-msgdb): Auto detect saved type.
3113 * elmo-version.el (elmo-version): Up to 2.11.15.
3115 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3117 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3119 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3120 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3121 with argument `delete-if-none' when dst-folder is 'null.
3123 * elmo-flag.el (elmo-folder-append-messages): Defined.
3124 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3126 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3128 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3130 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3132 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3133 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3134 (elmo-folder-commit): Ditto.
3136 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3138 * elmo-flag.el: New file.
3140 * elmo-mark.el: Removed.
3142 * modb-legacy.el (modb-legacy-new-mark,
3143 modb-legacy-unread-uncached-mark,
3144 modb-legacy-unread-cached-mark,
3145 modb-legacy-read-uncached-mark,
3146 modb-legacy-answered-cached-mark,
3147 modb-legacy-answered-uncached-mark,
3148 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3149 All other related portions are changed.
3151 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3152 (elmo-folder-list-messages-with-global-mark): Abolish.
3153 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3154 (elmo-folder-flag-as-important): Ditto.
3155 (elmo-folder-unflag-read): Ditto.
3156 (elmo-folder-flag-as-read): Ditto.
3157 (elmo-folder-unflag-answered): Ditto.
3158 (elmo-folder-flag-as-answered): Ditto.
3159 (elmo-message-encache): Return the cache path.
3160 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3161 (elmo-message-set-flag): Transitional implementation.
3162 (elmo-message-unset-flag): Ditto.
3163 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3164 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3165 (elmo-init): Call elmo-global-flag-initialize.
3166 (toplevel): Added autoload settings for elmo-flag.
3168 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3170 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3171 (elmo-file-cache-delete): Don't treat global-mark.
3173 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3175 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3177 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3178 `elmo-global-flags-set'.
3180 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3182 (elmo-folder-unflag-read): Ditto.
3183 (elmo-folder-unflag-important): Ditto.
3184 (elmo-folder-flag-as-important): Ditto.
3185 (elmo-folder-unflag-answered): Ditto.
3186 (elmo-folder-flag-as-answered): Ditto.
3188 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3189 `elmo-global-flags-set'.
3190 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3192 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3194 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3196 (elmo-folder-flag-as-important): Ditto.
3197 (elmo-folder-unflag-important): Ditto.
3198 (elmo-folder-flag-as-important): Ditto.
3199 (elmo-folder-unflag-read): Ditto.
3200 (elmo-folder-flag-as-read): Ditto.
3201 (elmo-folder-unflag-answered): Ditto.
3202 (elmo-folder-flag-as-answered): Ditto.
3204 * elmo-multi.el (elmo-folder-list-importants): Don't call
3205 elmo-folder-list-messages-with-global-mark.
3206 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3207 (elmo-folder-unflag-important): Ditto.
3208 (elmo-folder-flag-as-read): Ditto.
3209 (elmo-folder-unflag-read): Ditto.
3210 (elmo-folder-flag-as-answered): Ditto.
3211 (elmo-folder-unflag-answered): Ditto.
3213 * elmo-msgdb.el (elmo-msgdb-new-mark,
3214 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3215 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3216 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3217 (Moved to modb-legacy.el).
3218 (elmo-flag-table-get): Treat important flag too.
3220 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3222 (elmo-map-folder-flag-as-important): Ditto.
3223 (elmo-map-folder-unflag-read): Ditto.
3224 (elmo-map-folder-flag-as-read): Ditto.
3225 (elmo-map-folder-unflag-answered): Ditto.
3226 (elmo-map-folder-flag-as-answered): Ditto.
3227 (elmo-folder-unflag-important): Ditto.
3228 (elmo-folder-flag-as-important): Ditto.
3229 (elmo-folder-unflag-read): Ditto.
3230 (elmo-folder-flag-as-read): Ditto.
3231 (elmo-folder-unflag-answered): Ditto.
3232 (elmo-folder-flag-as-answered): Ditto.
3234 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3235 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3237 (elmo-map-folder-unflag-important): Ditto.
3238 (elmo-map-folder-flag-as-read): Ditto.
3239 (elmo-map-folder-unflag-read): Ditto.
3240 (elmo-map-folder-flag-as-answered): Ditto.
3241 (elmo-map-folder-unflag-answered): Ditto.
3243 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3244 `elmo-global-flags-set'.
3245 (elmo-global-flags-set): Added autoload setting.
3247 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3250 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3251 `elmo-msgdb-global-mark-set'.
3252 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3253 Call `elmo-global-flags-set'.
3254 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3256 (elmo-folder-flag-as-important-plugged): Ditto.
3257 (elmo-folder-unflag-read-plugged): Ditto.
3258 (elmo-folder-flag-as-read-plugged): Ditto.
3259 (elmo-folder-unflag-answered-plugged): Ditto.
3260 (elmo-folder-flag-as-answered-plugged): Ditto.
3261 (elmo-global-flags-set): Added autoload setting.
3263 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3265 (elmo-folder-unflag-read): Ditto.
3266 (elmo-folder-flag-as-important): Ditto.
3267 (elmo-folder-unflag-important): Ditto.
3268 (elmo-folder-flag-as-answered): Ditto.
3269 (elmo-folder-unflag-answered): Ditto.
3271 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3272 change of `mark'->`flag'.
3273 (elmo-dop-queue-method-name-alist): Ditto.
3274 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3275 (elmo-folder-unflag-read-dop): Ditto.
3276 (elmo-folder-flag-as-important-dop): Ditto.
3277 (elmo-folder-unflag-important-dop): Ditto.
3278 (elmo-folder-flag-as-answered-dop): Ditto.
3279 (elmo-folder-unflag-answered-dop): Ditto.
3281 * elmo-cache.el (elmo-folder-msgdb-create): Call
3282 `elmo-global-flags-set'.
3284 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3285 Call `elmo-global-flags-set'.
3286 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3287 elmo-archive-parse-mmdf with argument `folder'.
3288 (elmo-archive-parse-mmdf): Added argument `folder';
3289 Call `elmo-global-flags-set'.
3291 * elmo-version.el (elmo-version): Up to 2.11.14.
3293 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3295 * modb.el (elmo-msgdb-length): Define.
3297 * elmo.el (elmo-make-folder): Fixed.
3298 (elmo-generic-folder-append-messages): Follow the API change.
3300 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3303 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3305 * modb.el: New file.
3307 * modb-entity.el: Ditto.
3309 * modb-legacy.el: Ditto.
3311 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3312 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3313 of `elmo-msgdb-overview-get-entity'.
3314 (elmo-msgdb-get-field): Ditto.
3315 (elmo-msgdb-merge): Moved to `elmo.el'.
3316 (elmo-msgdb-length): Removed; redefine as modb method.
3317 (elmo-msgdb-change-mark): Abolish.
3318 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3319 (elmo-msgdb-match-condition): Don't use mark.
3320 (elmo-msgdb-overview-get-entity): Abolish.
3321 Split modb part into `modb*.el'.
3323 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3325 * elmo-shimbun.el (shimbun-mua-search-id): Use
3326 `elmo-msgdb-message-entity' instead of
3327 `elmo-msgdb-overview-get-entity'.
3328 (elmo-shimbun-folder-shimbun-header): Ditto.
3329 (elmo-shimbun-get-headers): Ditto.
3330 (elmo-shimbun-update-overview): Ditto.
3332 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3334 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3336 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3337 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3339 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3340 `elmo-msgdb-mark-to-flags'.
3342 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3343 `elmo-msgdb-set-path'.
3345 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3347 * elmo-version.el (elmo-version): Up to 2.11.13.
3349 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3351 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3354 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3356 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3359 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3361 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3362 instead of `elmo-msgdb-get-cached'.
3363 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3365 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3366 (elmo-msgdb-set-cached): Ditto.
3367 (elmo-msgdb-set-flag): Rewrite.
3368 (elmo-msgdb-unset-flag): Ditto.
3370 * elmo-msgdb.el: Rewrite with luna.
3372 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3373 (elmo-folder-msgdb): Follow the change above.
3374 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3375 (elmo-folder-unmark-important): Follow the API change.
3376 (elmo-folder-mark-as-important): Ditto.
3377 (elmo-folder-unmark-read): Ditto.
3378 (elmo-folder-mark-as-read): Ditto.
3379 (elmo-folder-unmark-answered): Ditto.
3380 (elmo-folder-mark-as-answered): Ditto.
3381 (elmo-folder-clear): Likewise.
3383 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3384 instead of `elmo-msgdb-load' (renamed).
3386 * elmo-version.el (elmo-version): Up to 2.11.12.
3388 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3390 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3392 (elmo-message-mark): Abolish.
3393 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3394 instead of `elmo-msgdb-change-mark'.
3396 * elmo-pipe.el (elmo-message-mark): Abolish.
3398 * elmo-multi.el (elmo-message-mark): Ditto.
3400 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3401 (elmo-msgdb-unread-uncached-mark): Ditto.
3402 (elmo-msgdb-unread-cached-mark): Ditto.
3403 (elmo-msgdb-read-uncached-mark): Ditto.
3404 (elmo-msgdb-answered-cached-mark): Ditto.
3405 (elmo-msgdb-answered-uncached-mark): Ditto.
3406 (elmo-msgdb-important-mark): Ditto.
3407 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3409 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3411 (elmo-flag-table-load): Changed flag to list of flag.
3412 (elmo-flag-table-set): If flags is nil, set read flag.
3413 (elmo-flag-table-get): Return derived flags from global mark,
3414 cache status and saved flags.
3415 (elmo-msgdb-flag-table): Follow the change above.
3416 (elmo-msgdb-out-of-date-messages): New function.
3418 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3420 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3422 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3424 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3425 (elmo-nntp-msgdb-create-message): Ditto.
3427 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3429 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3431 (elmo-folder-msgdb-create): Follow the API change.
3433 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3434 (elmo-folder-append-messages): Ditto.
3436 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3437 (elmo-folder-append-buffer): Ditto.
3439 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3441 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3443 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3444 (elmo-archive-parse-mmdf): Ditto.
3446 * elmo-version.el (elmo-version): Up to 2.11.11.
3448 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3450 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3453 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3455 * elmo-pipe.el (elmo-message-flags): Defined.
3457 * elmo-multi.el (elmo-message-flags): Ditto.
3459 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3461 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3462 `elmo-msgdb-delete-msgs'.
3464 * elmo.el (elmo-folder-count-flags): Don't use
3465 `elmo-msgdb-get-mark-alist'.
3466 (elmo-folder-detach-messages): Follow the API change.
3468 * elmo.el (elmo-folder-list-messages): Append killed messages into
3469 result if `visible-only' is nil.
3471 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3473 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3474 (elmo-folder-update-number): Likewise.
3476 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3477 (elmo-pop3-sort-msgdb-by-original-number): Use
3478 `elmo-msgdb-sort-entities'.
3480 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3481 (elmo-msgdb-sort-by-date): Use it.
3482 (elmo-msgdb-overview-sort-by-date): Abolish.
3484 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3486 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3487 (elmo-msgdb-flags): New function.
3488 (elmo-msgdb-merge): Use elmo-msgdb-append.
3490 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3493 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3495 * elmo-dop.el (elmo-folder-status-dop): Use
3496 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3498 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3500 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3502 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3504 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3506 * elmo-util.el (elmo-with-progress-display): New macro.
3508 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3510 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3512 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3513 `elmo-folder-list-message-entities' instead of
3514 `elmo-msgdb-get-overview'.
3515 (elmo-map-folder-list-message-locations): Ditto.
3517 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3518 methods instead of treat directly).
3519 (elmo-msgdb-clear): Ditto.
3520 (elmo-msgdb-delete-msgs): Ditto.
3521 (elmo-msgdb-sort-by-date): Ditto.
3523 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3525 (elmo-nntp-folder-msgdb-create): Follow the API change.
3527 * elmo-version.el (elmo-version): Up to 2.11.10.
3529 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3531 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3532 (elmo-msgdb-flags-to-mark): Ditto.
3533 (elmo-msgdb-append-entity): Ditto.
3535 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3536 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3537 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3538 (elmo-archive-parse-mmdf): Ditto.
3540 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3542 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3544 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3546 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3548 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3550 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3552 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3554 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3556 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3557 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3560 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3561 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3562 instead of directly construction.
3563 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3564 instead of construct msgdb.
3566 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3567 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3568 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3569 instead of construct msgdb.
3571 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3573 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3574 when field is from or subject.
3576 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3578 * elmo-multi.el (elmo-message-entity-parent): Define.
3579 (elmo-folder-search): Rewrite.
3581 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3583 * elmo-multi.el (elmo-message-cached-p): Define.
3585 * elmo.el (elmo-message-cached-p): New method.
3586 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3587 (elmo-message-flags): New method.
3588 (elmo-message-flagged-p): New function.
3590 * elmo-version.el (elmo-version): Up to 2.11.9.
3592 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3594 * elmo-version.el (elmo-version): Up to 2.11.8.
3596 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3598 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3600 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3602 * elmo.el (elmo-folder-detach-messages): Undo last change.
3604 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3606 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3608 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3609 only when src folder type is pop3.
3611 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3613 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3614 elmo-msgdb-overview-entity-get-number instead of
3615 elmo-message-entity-number.
3617 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3619 * elmo-version.el (elmo-version): Up to 2.11.7.
3621 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3623 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3626 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3627 (elmo-msgdb-merge): New function.
3628 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3629 (elmo-msgdb-make-index): Rewrite.
3631 * elmo-version.el (elmo-version): Up to 2.11.6.
3633 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3634 use it as a the path for loading message entities.
3636 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3638 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3640 * elmo-filter.el (elmo-folder-set-message-modified): Set
3641 message-modified slot of itself if it does not require target msgdb.
3643 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3644 if folder length is zero.
3645 (elmo-mime-display-as-is): Ditto.
3647 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3649 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3651 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3653 * elmo.el (elmo-folder-set-message-modified): New method.
3654 (elmo-generic-folder-commit): Use it.
3655 (elmo-folder-synchronize): Ditto.
3657 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3658 (elmo-folder-commit): Remove duplicate definition.
3660 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3662 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3664 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3666 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3667 (elmo-strict-folder-diff): Ditto.
3668 (elmo-folder-set-info-max-by-numdb): Simplify.
3670 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3671 elmo-msgdb-list-messages.
3673 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3674 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3676 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3678 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3679 visible-only is non-nil.
3680 (elmo-folder-confirm-appends): Changed message.
3681 (elmo-folder-synchronize): Added argument disable-killed.
3683 * elmo-multi.el (elmo-folder-synchronize): Added argument
3686 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3688 * elmo-version.el (elmo-version): Up to 2.11.5.
3690 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3693 * elmo-util.el (elmo-list-filter): Simplify.
3695 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3696 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3697 (elmo-generic-folder-diff): Abolish argument.
3698 (elmo-msgdb-load): Don't use number-alist.
3700 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3702 * elmo-pipe.el (elmo-folder-diff): Ditto.
3704 * elmo-nmz.el (elmo-folder-diff): Ditto.
3706 * elmo-net.el (elmo-folder-diff): Ditto.
3708 * elmo-maildir.el (elmo-folder-diff): Ditto.
3710 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3712 * elmo-multi.el (elmo-folder-diff): Ditto
3713 (elmo-multi-folder-diff): Rewrite.
3715 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3717 * elmo-pipe.el (elmo-folder-msgdb): Define.
3719 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3721 * elmo.el (elmo-message-set-cached): Define as a method.
3723 * elmo-pipe.el (elmo-message-set-cached): Define.
3724 (elmo-find-fetch-strategy): Ditto.
3726 * elmo-multi.el (elmo-message-set-cached): Define.
3727 (elmo-find-fetch-strategy): Rewrite.
3729 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3731 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3733 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3735 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3736 instead of number-alist.
3738 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3739 mark nor message-id when msgdb of source folder is not loaded.
3741 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3743 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3745 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3747 * elmo.el (elmo-folder-length): Don't require msgdb.
3749 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3751 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3752 (elmo-message-field): Ditto.
3754 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3755 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3757 (elmo-map-folder-list-answereds): Define.
3758 (elmo-maildir-list-location): Treat 'R' info.
3759 (elmo-folder-msgdb-create): Treat flag-table.
3760 (elmo-folder-append-messages): Save flag-table.
3762 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3764 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3765 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3767 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3769 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3771 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3772 'read when mark is null.
3774 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3776 * elmo-version.el (elmo-version): Up to 2.11.4.
3778 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3780 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3781 (elmo-folder-mark-as-answered): Ditto.
3783 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3785 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3786 (elmo-pop3-get-session): Make msgdb directory after session.
3787 (elmo-folder-exists-p): Check exactly at the first time even when the
3788 elmo-pop3-exists-exactly is nil.
3790 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3791 (elmo-folder-list-messages): Define instead of
3792 elmo-folder-list-messages-internal.
3793 (elmo-folder-check): Check destination folder.
3794 (elmo-folder-synchronize): Drain the pipe.
3796 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3797 when msgdb is not loaded.
3799 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3801 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3802 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3805 * elmo.el (elmo-folder-kill-messages-before): New function.
3806 (elmo-folder-kill-messages): Ditto.
3807 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3809 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3810 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3811 killed not by synchronize (e.g. scoring).
3813 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3815 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3817 (elmo-folder-search): Follow the change above.
3819 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3820 into the candidates of search field.
3822 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3824 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3825 (elmo-msgdb-unset-flag): Ditto.
3827 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3829 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3831 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3832 (elmo-folder-commit): Define.
3833 (elmo-folder-synchronize): Ditto.
3834 (elmo-folder-list-flagged): Ditto.
3835 (elmo-folder-commit): Ditto.
3836 (elmo-folder-length): Ditto.
3837 (elmo-folder-count-flags): Ditto.
3838 (elmo-message-mark): Ditto.
3839 (elmo-message-field): Ditto.
3840 (elmo-message-entity): Ditto.
3841 (elmo-message-folder): Ditto.
3843 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3845 * elmo.el (elmo-message-field): Define as a method.
3847 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3848 (elmo-message-field): Define.
3850 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3851 (elmo-folder-list-importants): Ditto.
3852 (elmo-folder-list-answereds): Ditto.
3854 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3856 (elmo-folder-mark-as-read): Ditto.
3857 (elmo-folder-unmark-read): Ditto.
3858 (elmo-folder-mark-as-answered): Ditto.
3859 (elmo-folder-unmark-answered): Ditto.
3860 (elmo-folder-list-flagged): Define.
3861 (elmo-folder-commit): Ditto.
3862 (elmo-folder-length): Ditto.
3863 (elmo-folder-count-flags): Ditto.
3865 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3867 * elmo.el (elmo-folder-detach-messages): New method.
3868 (elmo-folder-move-messages): Use it.
3869 (elmo-folder-synchronize): Ditto.
3871 * elmo-multi.el (elmo-folder-detach-messages): Define.
3873 * elmo.el (elmo-message-copy-entity): New function.
3874 (elmo-message-entity-set-number): Ditto.
3875 (elmo-message-mark): Define as method.
3877 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3878 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3879 (elmo-message-entity): Fixed last change.
3880 (elmo-message-mark): Define.
3881 (elmo-folder-msgdb-create): Abolish.
3882 (elmo-multi-folder-append-msgdb): Ditto.
3883 (elmo-multi-folder-diff): Fixed.
3884 (elmo-multi-split-number-alist): Removed.
3885 (elmo-multi-split-mark-alist): Removed.
3886 (elmo-folder-list-messages): Define.
3887 (elmo-folder-list-messages-internal): Removed.
3889 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3890 local file messages.
3891 (elmo-folder-msgdb-create): Fixed read mark.
3893 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3895 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3898 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3900 * elmo.el (elmo-folder-list-message-entities): Define as inline
3902 (elmo-folder-messages): Abolish.
3904 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3906 (elmo-folder-synchronize): Define.
3907 (elmo-message-entity): Define.
3909 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3911 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3912 elmo-imap4-session-select-mailbox.
3914 * elmo.el (elmo-folder-move-messages): Don't display any message.
3916 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3918 (elmo-imap4-session-check): Don't wait CHECK response.
3919 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3921 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3923 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3925 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3927 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3929 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3932 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3933 (elmo-folder-list-message-entities): Added argument in-msgdb and
3935 (elmo-folder-synchronize): Define as a method.
3937 * elmo-nntp.el (elmo-folder-initialize): Don't use
3938 elmo-nntp-default-user if zero-length username is specified
3941 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3943 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3944 server name in case with username.
3945 (XXX: this is ad-hoc fix against username includes "@", it
3946 should be solved fundamentally)
3948 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3950 * elmo-nntp.el (elmo-nntp-debug): New function.
3951 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3952 (elmo-network-authenticate-session): Hide auth-info from the log.
3954 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3955 user name if it is equal to elmo-nntp-default-user.
3957 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3959 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3960 instead of shimbun-server-internal;
3961 Use shimbun-current-group instead of shimbun-current-group-internal.
3962 (elmo-folder-plugged-p): Use shimbun-server instead of
3963 shimbun-server-internal.
3964 (elmo-folder-set-plugged): Ditto.
3965 (elmo-net-port-info): Ditto.
3966 (elmo-folder-check): Ditto.
3967 (elmo-folder-expand-msgdb-path): Ditto.
3968 (elmo-folder-list-subfolders): Ditto.
3970 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3972 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3973 Convert field-name to lower case.
3974 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3976 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3978 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3979 `message' and `error' take format string.
3981 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3983 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3985 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3987 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3988 recursive call (can't byte compile on emacs 20.7).
3990 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3992 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3993 (elmo-folder-list-message-entities): New API.
3994 (elmo-message-entity): Ditto.
3995 (elmo-message-entity-parent): Ditto.
3996 (elmo-folder-do-each-message-entity): Ditto.
3997 (elmo-message-entity-number): Ditto.
3998 (elmo-message-entity-field): Ditto.
3999 (elmo-message-entity-set-field): Ditto.
4000 (elmo-folder-count-flags): Ditto.
4001 (elmo-folder-length): Ditto.
4003 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4006 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4007 (elmo-msgdb-count-marks): Abolish.
4008 (elmo-msgdb-make-entity): Ditto.
4009 (elmo-msgdb-do-each-entity): Ditto.
4010 (elmo-msgdb-message-entity): New inline function.
4011 (elmo-msgdb-message-entity-field): Ditto.
4012 (elmo-msgdb-message-entity-set-field): Ditto.
4013 (elmo-msgdb-make-message-entity): New function.
4015 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4017 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4018 to flag. (All other related portions are changed.)
4019 (elmo-folder-msgdb-create): Likewise.
4020 (elmo-generic-folder-append-messages): Use flag-table instead of
4022 (elmo-folder-move-messages): Removed redundant process.
4023 (elmo-folder-synchronize): Likewise.
4025 * elmo-msgdb.el (elmo-flag-table-get): New function.
4026 (elmo-flag-table-save): Fixed.
4027 (elmo-msgdb-length): New inline function.
4028 (elmo-msgdb-flag-table): New function.
4029 (elmo-msgdb-mark): Add optional argument new.
4030 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4031 (elmo-msgdb-seen-list): Ditto.
4032 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4035 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4037 * elmo.el (elmo-message-set-mark): Abolish.
4038 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4039 (All related portions are changed.)
4041 * elmo-msgdb.el (toplevel): Added comment.
4042 (elmo-load-msgdb): Added 4th element `path'.
4043 (elmo-msgdb-append): Follow the change above.
4044 (elmo-msgdb-clear): Ditto.
4045 (elmo-msgdb-delete-msgs): Ditto.
4046 (elmo-msgdb-get-path): New inline function.
4047 (elmo-msgdb-set-path): Ditto.
4048 (elmo-flag-table-filename): New variable.
4049 (elmo-flag-table-load): New function.
4050 (elmo-flag-table-set): Ditto.
4051 (elmo-flag-table-save): Ditto.
4052 (elmo-msgdb-get-field-value): Abolish.
4053 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4055 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4057 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4058 the folder has been deleted successfully.
4059 * elmo-imap4.el (elmo-folder-delete): Ditto.
4060 * elmo-archive.el (elmo-folder-delete): Ditto.
4061 * elmo-localdir.el (elmo-folder-delete): Ditto.
4062 * elmo-maildir.el (elmo-folder-delete): Ditto.
4064 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4066 * elmo-util.el (elmo-string-member-ignore-case): New function.
4067 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4068 (elmo-imap4-fetch-callback-1-subr): Likewise.
4070 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4072 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4073 the case of the name attribute "\Noselect".
4075 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4077 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4079 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4080 flist, is not always a member of onum-alist.
4082 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4084 * elmo-version.el (elmo-version): Up to 2.11.3.
4086 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4088 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4089 copied from localdir's one.
4091 * elmo-pipe.el (elmo-folder-rename): New method, rename
4092 destination folder with leaving source folder as it is.
4094 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4096 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4099 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4101 * elmo-version.el (elmo-version): Up to 2.11.2.
4103 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4105 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4106 shimbun-open in case of "@".
4107 (elmo-folder-open-internal): Cope with shimbun = nil case.
4108 (elmo-folder-plugged-p): Ditto.
4109 (elmo-folder-list-subfolders): Make list for "@/" group.
4111 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4113 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4114 mailbox (e.g. for %~/something).
4116 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4118 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4119 Replace nested conditional with guard clauses.
4121 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4123 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4126 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4129 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4131 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4132 Replace nested conditional with guard clauses.
4134 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4136 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4137 (elmo-passwd-alist-save): Ditto.
4138 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4140 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4142 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4143 dir-name only if it is absolute path.
4144 (TODO: distinguish +/something and +something)
4146 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4148 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4149 path for "+~/something".
4151 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4153 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4154 as non-directory, cause error before rename-file.
4155 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4156 apropriately, mimic localdir's one.
4157 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4159 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4161 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4163 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4165 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4167 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4169 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4170 is included in the global-mark or not.
4172 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4174 * utf7.el (toplevel): Avoid error when the function
4175 find-coding-system does not exist.
4177 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4179 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4180 cache even if the folder is plugged.
4181 (elmo-nntp-search-primitive): Do nothing when body search is
4182 invoked (although it is not used by the change above).
4183 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4185 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4187 * elmo-version.el (elmo-version): Up to 2.11.1.
4189 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4191 * elmo-archive.el: Specify charset.
4193 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4195 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4196 process buffer lives or not.
4198 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4199 while flushing queues (It causes infinite loop).
4201 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4203 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4205 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4207 * utf7.el (toplevel): Check the ucs features dynamically.
4208 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4210 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4211 folder is creatabe or not if it already exists.
4213 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4215 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4217 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4219 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4220 (elmo-imap4-read-response): Take care of garbage response.
4222 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4224 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4225 just return nil instead of error.
4227 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4229 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4230 search-key is "body".
4232 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4234 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4235 of elmo-string-matched-assoc to use match-data.
4236 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4238 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4240 * elmo-split.el (elmo-split->): New function.
4241 (elmo-split-<): Ditto.
4243 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4245 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4246 workaround for invalid message-id.
4248 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4250 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4251 return normal pop3 session or pop3 biff session.
4253 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4255 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4256 info part to the cur files when the new files already have it.
4257 (Adviced by Jared Rhine <jared@wordzoo.com>)
4259 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4261 * elmo-split.el (elmo-split-default-action): New variable.
4262 (elmo-split-subr): Use it if all other conditions are passed.
4263 Extend `fname' and rename it as `action'. (implemented
4264 Teranishi-san's idea in [wl:10800])
4266 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4268 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4269 * elmo-util.el: Ditto.
4271 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4273 * elmo.el (elmo-message-accessible-p): Renamed from
4274 elmo-message-cached-p and rewritten.
4276 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4278 * elmo.el (elmo-folder-list-flagged): New generic function.
4279 (elmo-folder-list-importants): New implementation.
4280 (elmo-folder-list-answereds): Ditto.
4281 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4283 (elmo-message-cached-p): New function.
4284 (elmo-message-set-flag): Ditto (no content).
4285 (elmo-message-unset-flag): Ditto.
4286 (elmo-folder-list-messages-mark-match): Abolish.
4288 * elmo-util.el (elmo-regexp-opt): New function.
4290 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4291 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4293 (elmo-msgdb-list-flagged): New function.
4295 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4296 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4299 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4301 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4303 * elmo-version.el (elmo-version): Up to 2.11.0.
4305 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4307 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4308 `elmo-file-cache-exists-p'; use proper mark that depends on
4310 (elmo-msgdb-unset-flag): Ditto.
4311 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4313 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4314 with 4th argument `use-cache'.
4316 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4318 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4319 (elmo-folder-mark-as-important): Ditto.
4320 (elmo-folder-unmark-read): Ditto.
4321 (elmo-folder-mark-as-read): Ditto.
4322 (elmo-folder-unmark-answered): Ditto.
4323 (elmo-folder-mark-as-answered): Ditto.
4325 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4327 (elmo-msgdb-mark): Likewise.
4328 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4329 (elmo-msgdb-unset-flag): Likewise.
4331 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4333 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4335 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4338 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4340 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4341 set spool-length to 0.
4343 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4345 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4346 (elmo-dop-queue-flush): Fixed last change.
4348 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4350 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4351 if require-msgdb slot is nil.
4352 (elmo-folder-list-importants): Likewise.
4354 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4356 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4359 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4360 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4363 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4365 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4367 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4369 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4371 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4373 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4375 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4376 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4378 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4380 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4381 the problem reported by Sean Rima [wl-en:180].
4383 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4385 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4387 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4389 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4391 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4393 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4395 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4397 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4399 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4401 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4404 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4406 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4407 (elmo-folder-mark-as-read): Follow the API change.
4408 (elmo-message-set-cached): New function.
4410 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4412 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4414 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4415 (elmo-folder-mark-as-important): Ditto.
4416 (elmo-folder-unmark-read): Ditto.
4417 (elmo-folder-mark-as-read): Ditto.
4418 (elmo-folder-unmark-answered): Ditto.
4419 (elmo-folder-mark-as-answered): Ditto.
4421 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4422 (elmo-folder-unmark-important): Ditto.
4423 (elmo-folder-mark-as-read): Ditto.
4424 (elmo-folder-unmark-read): Ditto.
4425 (elmo-folder-mark-as-answered): Ditto.
4426 (elmo-folder-unmark-answered): Ditto.
4428 * elmo-mark.el (toplevel): Removed some mark method definitions.
4430 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4431 (elmo-map-folder-mark-as-answered): Ditto.
4432 (elmo-folder-unmark-important): Add :before qualifier.
4433 (elmo-folder-mark-as-important): Ditto.
4434 (elmo-folder-unmark-read): Ditto.
4435 (elmo-folder-mark-as-read): Ditto.
4436 (elmo-folder-unmark-answered): Define.
4437 (elmo-folder-mark-as-answered): Ditto.
4439 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4440 (elmo-map-folder-unmark-answered): Ditto.
4442 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4444 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4445 (elmo-folder-mark-as-important): Ditto.
4446 (elmo-folder-unmark-read): Ditto.
4447 (elmo-folder-mark-as-read): Ditto.
4448 (elmo-folder-unmark-answered): Ditto.
4449 (elmo-folder-mark-as-answered): Ditto.
4451 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4452 `mark'; evaluate mark condition.
4453 (elmo-msgdb-match-condition-internal): New function.
4454 (elmo-msgdb-match-condition): Call it; changed argument.
4456 * elmo.el (elmo-folder-search): Follow the API change on
4457 `elmo-msgdb-match-condition'.
4459 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4461 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4462 original mark is non-nil.
4464 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4466 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4467 (elmo-map-folder-list-answereds): New method.
4468 (elmo-folder-list-unreads): Add :around qualifier.
4469 (elmo-folder-list-importants): Ditto.
4470 (elmo-folder-list-answereds): Ditto.
4472 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4474 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4476 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4477 method if msgdb is not required.
4478 (elmo-filter-folder-list-importants): Don't treat global-mark.
4480 * elmo.el (elmo-folder-list-importants): Ditto.
4482 * elmo-net.el (elmo-folder-list-importants): Ditto.
4484 * elmo-map.el (elmo-folder-list-importants): Ditto.
4486 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4488 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4489 (elmo-imap4-folder-list-any-plugged): New function.
4490 (elmo-imap4-search-internal-primitive): Use it.
4492 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4493 only when require-msgdb slot is non-nil.
4494 (elmo-folder-close): Clear target folder's msgdb.
4496 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4498 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4499 (elmo-pop3-msgdb-create-by-header): Ditto.
4500 (elmo-pop3-msgdb-create-message): Ditto.
4502 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4504 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4506 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4508 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4509 (elmo-folder-msgdb-create): Ditto.
4510 (elmo-nntp-folder-msgdb-create): Ditto.
4511 (elmo-nntp-msgdb-create-by-header): Ditto.
4512 (elmo-nntp-msgdb-create-message): Ditto.
4513 (elmo-folder-list-unreads): Define.
4515 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4516 (elmo-folder-append-messages): Ditto.
4517 (elmo-folder-list-unreads): Define.
4518 (elmo-folder-list-importants): Ditto.
4519 (elmo-folder-list-answereds): Ditto.
4521 * elmo-net.el (elmo-folder-list-unreads): Define.
4522 (elmo-folder-list-importants): Ditto.
4523 (elmo-folder-list-answereds): Ditto.
4524 (elmo-folder-list-answereds-plugged): Ditto.
4525 (elmo-folder-msgdb-create): Follow the API change.
4526 (elmo-folder-msgdb-create-unplugged): Ditto.
4527 (elmo-folder-unmark-answered): Define.
4528 (elmo-folder-mark-as-answered-unplugged): Ditto.
4529 (elmo-folder-unmark-answered-unplugged): Ditto.
4531 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4532 (elmo-msgdb-unread-uncached-mark): Ditto.
4533 (elmo-msgdb-unread-cached-mark): Ditto.
4534 (elmo-msgdb-read-uncached-mark): Ditto.
4535 (elmo-msgdb-answered-cached-mark): Ditto.
4536 (elmo-msgdb-answered-uncached-mark): Ditto.
4537 (elmo-msgdb-important-mark): Ditto.
4538 (elmo-msgdb-set-mark): Rewrite.
4539 (elmo-msgdb-count-marks): Rewrite.
4540 (elmo-msgdb-mark-alist-set): Abolish.
4541 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4542 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4544 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4545 (elmo-folder-close): Define.
4546 (elmo-folder-msgdb-create): Follow the API change.
4547 (elmo-folder-list-unreads): Rewrite.
4548 (elmo-folder-mark-as-important): Ditto.
4549 (elmo-folder-unmark-important): Ditto.
4550 (elmo-folder-mark-as-read): Ditto.
4551 (elmo-folder-unmark-read): Ditto.
4552 (elmo-folder-mark-as-answered): Define.
4553 (elmo-folder-unmark-answered): Ditto.
4555 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4556 (elmo-folder-append-messages): Ditto.
4558 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4560 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4561 (elmo-folder-list-importants): Ditto.
4563 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4564 (elmo-folder-append-messages): Ditto.
4566 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4568 (elmo-folder-msgdb-create-plugged): Ditto.
4569 (elmo-folder-append-messages): Ditto.
4570 (elmo-folder-list-answereds-plugged): Define.
4571 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4572 (elmo-folder-unmark-answered-plugged): Define.
4573 (elmo-folder-mark-as-answered-plugged): Ditto.
4574 (elmo-folder-search-requires-msgdb-p): Ditto.
4576 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4577 (elmo-folder-initialize): Set it.
4578 (elmo-folder-msgdb): Define.
4579 (elmo-folder-check): Call elmo-folder-synchronize.
4580 (elmo-folder-close): Define.
4581 (elmo-folder-commit): Ditto.
4582 (elmo-folder-msgdb-create): Rewrite.
4583 (elmo-folder-list-unreads): Ditto.
4584 (elmo-folder-list-importants): Ditto.
4585 (elmo-folder-mark-as-read): Ditto.
4586 (elmo-folder-unmark-read): Ditto.
4587 (elmo-folder-mark-as-important): Ditto.
4588 (elmo-folder-unmark-important): Ditto.
4589 (elmo-folder-mark-as-answered): Define.
4590 (elmo-folder-unmark-answered): Ditto.
4592 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4593 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4594 (elmo-dop-queue-method-name-alist): Likewise.
4595 (elmo-folder-mark-as-answered-dop): New inline function.
4596 (elmo-folder-unmark-answered-dop): Ditto.
4597 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4599 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4600 (elmo-folder-msgdb-create): Ditto.
4601 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4602 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4603 (elmo-archive-parse-mmdf): Ditto.
4605 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4606 (elmo-folder-list-unreads-internal): Ditto.
4608 * elmo.el (elmo-folder-msgdb): Define as generic function.
4609 (elmo-folder-list-messages): Added argument `in-msgdb'.
4610 (elmo-folder-list-unreads): Define as generic function.
4611 (elmo-folder-list-importants): Ditto.
4612 (elmo-folder-list-answereds): Ditto.
4613 (elmo-folder-list-messages-with-global-mark): New function.
4614 (elmo-folder-msgdb-create): Removed mark arguments.
4615 (elmo-folder-unmark-answered): New generic function.
4616 (elmo-folder-mark-as-answered): Ditto.
4617 (elmo-folder-append-messages): Removed argunment `unread-marks'
4618 (elmo-folder-list-unreads-internal): Abolish.
4619 (elmo-folder-list-importants-internal): Ditto.
4620 (elmo-folder-search-requires-msgdb-p): New generic function.
4621 (elmo-folder-search-requires-msgdb-p-internal): New function.
4622 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4624 (elmo-folder-search-fast): Added key 'mark'.
4625 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4626 instead of unread-marks argument.
4627 (elmo-folder-move-messages): Removed argunment `unread-marks'
4628 (elmo-folder-unmark-important): Define.
4629 (elmo-folder-mark-as-important): Ditto.
4630 (elmo-folder-unmark-read): Ditto.
4631 (elmo-folder-mark-as-read): Ditto.
4632 (elmo-folder-unmark-answered): Ditto.
4633 (elmo-folder-mark-as-answered): Ditto.
4634 (elmo-folder-replace-marks): Abolish.
4635 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4637 (elmo-folder-synchronize): Removed mark arguments;
4638 return crosspost only number.
4640 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4642 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4643 Remove redundunt connectivity check.
4645 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4647 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4648 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4650 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4652 * pldap.el (ldap-decode-string): Return string as-is if
4653 `ldap-coding-system' is nil.
4654 (ldap-encode-string): Ditto.
4655 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4656 (ldap-default-host): Fixed docstring.
4658 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4660 * elmo-util.el (elmo-warning): Define as a macro which uses
4661 `display-warning' if it is defined as a function.
4663 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4664 (elmo-split-equal): Use it.
4665 (elmo-split-match): Ditto.
4666 (elmo-split-message-entity): New buffer-local variable.
4667 (elmo-split-subr): Set it.
4669 * elmo-version.el (elmo-version): Up to 2.9.15.
4671 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4673 * elmo-imap4.el (elmo-network-initialize-session):
4674 Check capability after starttls.
4676 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4678 * elmo-util.el (elmo-list-delete): Added optional argument
4681 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4683 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4685 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4687 * elmo-imap4.el (elmo-folder-initialize): Don't use
4688 elmo-imap4-default-mailbox.
4690 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4692 * elmo-split.el (toplevel): Use `product-provide'.
4693 (elmo-split): Checkdoc.
4695 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4697 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4698 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4699 the function `elmo-imap4-debug-1'.
4701 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4703 * elmo-split.el (elmo-split): Moved to run hooks and to show
4704 message from elmo-split-subr.
4705 (elmo-split-subr): Follow the change above.
4707 * elmo-split.el (elmo-split-subr): New function (renamed from
4709 (elmo-split): Changed to call elmo-split-subr by element of
4711 (elmo-split-folder): Changed customization type to choice.
4713 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4715 * elmo-split.el (elmo-split-and): Fixed condition.
4717 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4719 * elmo-split.el: New file.
4720 (elmo-split): Fixed logic.
4721 Display "Test:" instead of "Folder:" when reharsal.
4723 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4726 * elmo-version.el (elmo-version): Up to 2.9.14.
4728 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4731 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4733 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4734 message with no message-id field.
4736 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4738 * elmo-version.el (elmo-version): Up to 2.9.13.
4740 * elmo-dop.el (elmo-folder-status-dop): Fix.
4742 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4744 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4746 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4747 changing default value of default-mime-charset.
4748 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4750 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4752 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4753 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4754 instead of elmo-dop-queue-method-name-alist to check merging queue.
4755 (elmo-folder-delete-messages-dop): Delete from queue if negative
4757 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4758 file is already removed.
4760 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4762 * elmo-vars.el: Bind colon keywords for old Emacsen.
4764 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4766 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4767 against non-exsisting charset.
4769 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4771 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4772 Use eword-decode-and-unfold-unstructured-field-body.
4774 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4775 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4776 exists to decode raw subject string.
4777 (toplevel): Require 'mime.
4779 * elmo-version.el (elmo-version): Up to 2.9.12.
4781 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4783 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4784 (elmo-msgdb-set-mark): Ditto.
4786 * elmo-version.el (elmo-version): Up to 2.9.11.
4788 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4790 * elmo-util.el (elmo-delete-match-files): New function.
4792 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4793 instead of elmo-delete-directory.
4795 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4796 elmo-hash-minimun-size as 63.
4798 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4799 elmo-diff-unread is nil.
4801 * elmo-imap4.el (elmo-folder-open): Fix.
4803 * elmo.el (elmo-message-mark): Rewrite.
4804 (elmo-message-field): Ditto.
4805 (elmo-message-set-mark): Ditto.
4806 (elmo-folder-replace-marks): New function.
4807 (elmo-generic-folder-append-msgdb): Removed third argument for
4809 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4810 (elmo-msgdb-load): New implementation.
4812 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4814 * elmo-util.el (elmo-list-insert): New implementation.
4816 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4817 argument for elmo-msgdb-append.
4820 * elmo-msgdb.el (elmo-load-msgdb): New function.
4821 (elmo-make-msgdb): Ditto.
4822 (elmo-msgdb-get-index): New inline function.
4823 (elmo-msgdb-set-index): Ditto.
4824 (elmo-msgdb-get-entity-hashtb): Ditto.
4825 (elmo-msgdb-get-mark-hashtb): Ditto.
4826 (elmo-msgdb-get-mark): Ditto.
4827 (elmo-msgdb-set-mark): Ditto.
4828 (elmo-msgdb-count-marks): Ditto.
4829 (elmo-msgdb-get-number): Ditto.
4830 (elmo-msgdb-get-field): Ditto.
4831 (elmo-msgdb-seen-list): Ditto.
4832 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4833 (elmo-msgdb-delete-msgs): Follow the changes above.
4834 (elmo-msgdb-overview-get-entity): Ditto.
4835 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4836 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4838 (elmo-msgdb-make-index): Likewise.
4839 (elmo-msgdb-append): Removed third argument.
4840 (elmo-msgdb-clear): Clear index as nil.
4841 (elmo-folder-set-info-hashtb): Removed.
4842 (elmo-folder-set-info-max-by-numdb): Ditto.
4843 (elmo-folder-info-make-hashtb): Ditto.
4845 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4847 * elmo-map.el (elmo-folder-pack-number): Ditto.
4849 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4851 * elmo-version.el (elmo-version): Up to 2.9.10.
4853 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4855 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4857 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4859 * elmo-utils.el (elmo-make-directory): Add option.
4860 Default file mode is 700.
4862 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4864 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4866 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4868 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4871 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4874 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4876 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4877 (elmo-shimbun-folder-entity-hash): New function.
4878 (elmo-shimbun-folder-shimbun-header): Ditto.
4879 (elmo-shimbun-entity-to-header): Ditto.
4880 (elmo-shimbun-msgdb-to-headers): Removed.
4881 (elmo-shimbun-folder-setup): Ditto.
4882 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4884 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4885 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4886 Removed useless local bind.
4887 (elmo-folder-open-internal): Don't call
4888 `elmo-shimbun-folder-setup'.
4889 (elmo-folder-close-internal): Clear entity-hash slot.
4890 (elmo-folder-clear): Ditto.
4891 (elmo-shimbun-msgdb-create-entity): Use
4892 `elmo-shimbun-folder-shimbun-header'.
4893 (elmo-map-message-fetch): Ditto.
4894 (elmo-shimbun-update-overview): Use overview entity instead of
4895 shimbun header to lookup id by references.
4896 (elmo-map-folder-list-message-locations): Use not only headers but
4897 also overviews to list locations.
4899 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4901 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4904 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4906 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4908 * elmo-util.el (elmo-read-search-condition-internal): Give default
4911 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4913 * elmo-util.el (elmo-condition-parse-search-value): Accept
4914 YYYY-MM-DD format to search.
4915 * elmo-date.el (elmo-date-get-datevec): Likewise.
4917 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4919 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4922 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4924 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4927 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4929 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4930 case from `elmo-folder-exists-p'.
4931 (elmo-folder-exists-p): Removed.
4932 (elmo-folder-creatable-p) Ditto.
4934 * elmo-net.el (elmo-folder-create): Defined.
4935 (elmo-folder-create-unplugged): New function.
4936 (elmo-folder-exists-p): Changed default value to nil from t.
4938 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4939 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4941 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4942 `elmo-create-folder-dop' and append queue
4943 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4944 (elmo-folder-create-dop-delayed): New function.
4946 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4948 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4950 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4951 (elmo-folder-writable-p) : Ditto.
4953 * elmo-version.el (elmo-version): Up to 2.9.9.
4955 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4957 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4958 `elmo-message-use-cache-p' returns nil.
4959 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4960 (ignore cache file and refer the substance in local folders)
4962 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4964 * elmo-version.el (elmo-version): Up to 2.9.8.
4966 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4968 * elmo-version.el (elmo-version): Up to 2.9.7.
4970 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4972 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4974 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4976 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4978 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4980 (elmo-map-folder-list-message-locations): Reverse location list.
4982 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4984 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4986 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4988 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4990 (elmo-nntp-folder-list-subfolders): Follow the change above.
4992 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4994 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4995 name if authentication type is specified.
4997 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4999 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5001 (elmo-default-nntp-stream-type): Ditto.
5002 (elmo-default-pop3-stream-type): Ditto.
5004 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5006 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5008 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5010 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5012 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5014 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5015 (elmo-maildir-folder-path): Ditto.
5016 (elmo-maildir-list): Ditto (abolished).
5018 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5020 * elmo-version.el (elmo-version): Up to 2.9.6.
5022 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5024 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5025 (elmo-maildir-folder-path): Ditto.
5026 (elmo-msgdb-directory): Ditto.
5027 (elmo-passwd-life-time): Ditto.
5028 (elmo-msgdb-extra-fields): Ditto.
5029 (elmo-enable-disconnected-operation): Ditto.
5031 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5033 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5035 (elmo-pop3-default-authenticate-type): Ditto.
5037 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5039 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5041 (elmo-pop3-default-authenticate-type): Ditto.
5043 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5045 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5046 mailbox to new-folder.
5048 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5050 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5051 less than new, set new as unread.
5053 * elmo-util.el (elmo-string): Don't put text-property if nil.
5055 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5057 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5058 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5060 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5062 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5063 is nil on `completing-read'.
5065 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5067 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5069 (elmo-imap4-parse-namespace-subr): Ditto.
5070 (elmo-folder-list-subfolders): Append a delimiter when the specified
5071 folder path is a root with namespace and does not end with delimiter.
5073 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5075 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5078 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5080 * elmo-util.el (elmo-save-buffer): The first argument of message
5081 is a format control string.
5083 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5085 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5086 `elmo-folder-diff').
5087 (elmo-diff-unread): Likewise.
5089 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5091 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5092 is t on `completing-read'.
5094 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5096 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5097 method of target folder with self mark-alist if MARK-ALIST is nil.
5099 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5101 * elmo-version.el (elmo-version): Up to 2.9.5.
5103 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5105 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5106 (elmo-dop-merge-funcs): Remove.
5108 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5110 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5111 Return t if PATH is directory, too.
5112 Use `dolist' instead of while loop.
5114 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5116 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5119 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5121 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5123 (elmo-folder-list-messages-unplugged): Return t if
5124 elmo-enable-disconnected-operation is nil.
5126 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5127 `elmo-folder-list-messages-internal'.
5129 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5131 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5132 Change to looking-at `[23][0-9]+'.
5133 (elmo-network-initialize-session): Use 'error-msg'
5134 * elmo-net.el (elmo-network-open-session): Set unplugged
5135 if elmo-network-initialize-session returns 'elmo-open-err.
5137 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5139 * elmo-version.el (elmo-version): Up to 2.9.4.
5141 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5143 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5144 `elmo-folder-list-messages-internal'.
5146 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5148 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5149 (elmo-message-match-condition): New method.
5150 (elmo-folder-search-fast): New inline function.
5151 (elmo-msgdb-search): Removed.
5153 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5154 target folder if it is unplugged.
5155 (elmo-folder-list-messages-internal): Return t if target folder is
5156 unplugged and itself is persistent; In this case, use list be
5159 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5160 (elmo-msgdb-search-internal-primitive): Ditto.
5161 (elmo-msgdb-match-condition): New function.
5162 (elmo-msgdb-match-condition-primitive): Ditto.
5164 * elmo-util.el (elmo-filter-condition-p): New macro.
5166 * elmo-cache.el (elmo-folder-search): Removed.
5168 * elmo-localdir.el (elmo-folder-search): Ditto.
5170 * elmo-maildir.el (elmo-folder-search): Ditto.
5172 * elmo-mark.el (elmo-folder-search): Ditto.
5174 * elmo-nmz.el (elmo-folder-search): Ditto.
5176 * elmo-sendlog.el (elmo-folder-search): Ditto.
5178 * elmo-shimbun.el (elmo-folder-search): Ditto.
5180 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5181 if folder is unplugged.
5183 * elmo-nntp.el (elmo-folder-search): Likewise.
5184 (elmo-nntp-search-internal): New function.
5186 * elmo-version.el (elmo-version): Up to 2.9.3.
5188 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5190 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5192 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5194 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5196 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5198 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5200 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5202 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5203 (elmo-map-folder-list-message-locations): Do drive letter conversion
5204 on Windows environment.
5205 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5206 (elmo-map-message-fetch): Ditto.
5208 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5210 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5211 (elmo-network-initialize-session): Ditto.
5213 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5215 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5217 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5219 * elmo-util.el (elmo-progress-clear): Ditto.
5221 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5222 `DD-Mon-YYYY' type date.
5224 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5226 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5227 `elmo-date-make-sortable-string' instead of
5228 `timezone-make-date-sortable'.
5230 * elmo-date.el (elmo-date-make-sortable-string): Use
5231 `timezone-make-time-string'.
5233 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5235 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5237 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5238 `since'; Fix timezone.
5240 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5242 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5244 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5246 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5248 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5250 * elmo.el (elmo-generic-folder-append-messages): Make
5251 fetch-strategy with `use-cache' as 'maybe. Check return value of
5252 `elmo-message-fetch'.
5253 (elmo-message-fetch): Return return value of
5254 `elmo-message-fetch-with-cache-process'.
5255 (elmo-message-fetch-with-cache-process): Return non-nil if
5256 fetching was succeed. Load cache when fetching was failed and
5257 fetch-strategy-use-cache is 'maybe.
5259 * elmo-util.el (elmo-file-cache-load): New function.
5261 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5264 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5265 non-nil if fetching was succeed.
5267 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5269 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5271 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5272 (elmo-message-fetch-with-cache-process): Likwise.
5274 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5276 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5278 * elmo-version.el (elmo-version): Up to 2.9.2.
5280 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5282 * elmo.el (elmo-folder-delete): Delete msgdb path.
5284 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5286 * elmo-maildir.el (elmo-folder-delete): Ditto.
5288 * elmo-localdir.el (elmo-folder-delete): Ditto.
5290 * elmo-imap4.el (elmo-folder-delete): Ditto.
5292 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5294 * elmo.el (luna-define-class): Added `biff' slot.
5296 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5297 (elmo-pop3-debug-inhibit-logging): Abolished.
5298 (elmo-network-close-session): Eliminated needless let.
5299 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5300 (elmo-pop3-send-command): Added `no-log' argument.
5301 (elmo-pop3-process-filter): Use `with-current-buffer'.
5302 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5304 (elmo-pop3-auth-apop): Likewise.
5305 (elmo-network-authenticate-session): Likewise.
5307 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5310 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5311 string to determine protocol.
5312 (elmo-network-session-name-prefix): Abolished.
5313 (elmo-network-session-cache-key): Follow the change above.
5314 (elmo-network-open-session): Ditto.
5316 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5317 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5319 * elmo-version.el (elmo-version): Up to 2.9.1.
5321 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5322 unmatch condition checking.
5324 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5327 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5329 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5331 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5333 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5334 test for while loop to execute at least one SEARCH command.
5336 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5338 * elmo-version.el (elmo-version): Up to 2.9.0.
5340 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5342 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5343 (elmo-archive-folder-path): Define.
5344 (elmo-folder-initialize): Setup `dir-name' slot.
5345 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5346 Use `dir-name' as prefix of each subfolders.
5347 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5349 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5351 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5352 (elmo-pipe-folder-list-target-messages): New internal function.
5353 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5355 (elmo-pipe-folder-copied-list-load): New function.
5356 (elmo-pipe-folder-copied-list-save): Ditto.
5357 (elmo-folder-open-internal): Follow the change above.
5358 (elmo-folder-status): Fixed for copy.
5360 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5362 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5364 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5366 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5367 elmo-copy-file instead of elmo-add-name-to-file.
5369 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5371 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5374 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5375 of accept-process-output as 1.
5376 (elmo-pop3-read-contents): Ditto.
5377 (elmo-pop3-read-body): Ditto.
5379 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5381 * elmo-version.el (product-version-as-string): Remove define.
5383 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5385 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5386 (elmo-imap4-copy-messages): Chop number set using
5387 `elmo-imap4-number-set-chop-length'.
5388 (elmo-imap4-set-flag): Ditto.
5389 (elmo-imap4-search-internal-primitive): Ditto.
5391 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5393 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5394 `elmo-folder-make-temp-dir'
5396 * elmo-vars.el (elmo-cache-directory): New variable.
5397 (elmo-cache-dir): Abolished.
5398 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5400 * elmo-version.el (elmo-version): Up to 2.7.7.
5402 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5404 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5405 defcustom; Set default value as t.
5407 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5409 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5410 (ldap-search-program-arguments): Changed default value.
5411 (ldap-search-basic): Accept exit status 4.
5412 (ldap/field-body): Parse options.
5413 (ldap/collect-field): Ditto.
5414 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5416 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5417 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5418 (elmo-imap4-accept-ok): Ditto.
5419 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5420 'notify-bye, only BYE error is reported.
5421 (elmo-folder-exists-p-plugged): Set no-error argument of
5422 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5424 * elmo.el (elmo-imap4-bye-error): Changed message.
5426 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5427 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5428 queues (It causes infinite loop).
5430 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5432 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5433 (RECENT UNSEEN MESSAGES) extension.
5435 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5437 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5438 Check number of overview fields.
5440 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5442 * elmo.el (elmo-folder-confirm-appends): Changed message.
5443 (elmo-folder-confirm-appends): Ditto.
5445 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5447 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5449 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5451 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5452 of elmo-folder-update-threshold is nil, which can be set by
5453 wl-summary-update-confirm-threshold.
5455 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5457 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5458 (elmo-nmz-index-alias-alist): Ditto.
5459 (elmo-map-folder-list-message-locations): Follow the change above.
5461 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5463 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5465 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5467 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5469 * elmo-util.el (elmo-read): Ditto.
5470 (elmo-display-error): Ditto.
5472 * elmo-vars.el (elmo-date-match): Ditto.
5474 * pldap.el (ldap-coding-system): Ditto.
5476 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5477 `elmo-inhibit-number-mapping' as nil.
5479 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5481 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5482 space delimiter for list response.
5484 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5486 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5488 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5490 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5491 (elmo-map-message-fetch): Fix.
5492 * elmo-map.el (elmo-folder-status): Fix for killed.
5494 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5496 * elmo-sendlog.el: New file.
5497 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5499 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5501 * acap.el (acap-logging-out): New buffer local variable.
5502 (acap-close): Set it.
5503 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5506 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5508 * acap.el (acap-response-bye-p): New function.
5509 (acap-response-bye-message): Ditto.
5510 (acap-wait-for-response): If bye response is received, cause an error.
5511 (acap-parse-response): Make bye response when 'Bye' is received.
5513 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5515 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5517 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5519 * elmo-util.el (elmo-copy-file): Added argument
5520 `ok-if-already-exists'.
5521 (elmo-copy-file): Fixed typo.
5523 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5525 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5527 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5529 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5531 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5533 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5536 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5538 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5539 (elmo-folder-initialize): Fix for `copy'.
5540 (elmo-pipe-drain): Ditto.
5541 (elmo-folder-open-internal): Ditto.
5542 (elmo-folder-newsgroups): Fix.
5544 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5546 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5549 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5550 recent value is returned from imap folder.
5552 * elmo.el (elmo-folder-newsgroups): New generic function.
5554 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5555 (elmo-folder-initialize): Set it.
5556 (elmo-folder-expand-msgdb-path): Use it.
5557 (elmo-folder-newsgroups): Define.
5559 * elmo-filter.el (elmo-folder-newsgroups): Define.
5561 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5563 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5565 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5567 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5569 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5571 (elmo-shimbun-header-extra-field): New inline function.
5572 (elmo-shimbun-header-set-extra-field): Ditto.
5573 (elmo-shimbun-folder-header-hash-setup): Ditto.
5574 (elmo-shimbun-update-overview): Ditto.
5575 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5576 (elmo-shimbun-folder-setup): Use
5577 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5578 (elmo-shimbun-get-headers): Ditto.
5579 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5580 Insert `X-Shimbun-Id:' header if extra field is set.
5581 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5582 field's value instead of `shimbun-header-id'.
5584 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5586 (elmo-msgdb-overview-entity-set-date): Ditto.
5587 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5589 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5591 * mmimap.el (mmimap-entity-section): Changed body node number from
5594 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5596 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5597 `elmo-folder-delete-messages'.
5599 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5600 (elmo-folder-initialize): Changed to expand alias into index path.
5602 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5603 `elmo-mime-insert-header-from-buffer' with 6th arg
5606 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5608 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5610 * elmo.el (elmo-diff-new): New inline function.
5611 (elmo-diff-unread): Ditto.
5612 (elmo-diff-all): Ditto.
5614 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5615 value from responseb.
5616 (elmo-imap4-folder-diff-plugged): Ditto.
5617 (elmo-imap4-server-diff-async): Added recent argument.
5618 (elmo-server-diff-async): Ditto.
5619 (elmo-imap4-folder-diff-plugged): Ditto.
5621 * elmo-version.el (elmo-version): Up to 2.7.6.
5623 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5625 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5628 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5630 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5632 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5634 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5636 * elmo-multi.el (elmo-folder-initialize): Ditto.
5638 * elmo-util.el (elmo-parse-token): New function.
5639 (elmo-parse-prefixed-element): Ditto.
5641 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5643 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5645 (elmo-imap4-accept-ok): Ditto.
5647 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5649 * mmimap.el (mime-imap-entity-header-string): Don't check first
5650 element of node-id is `0' (Follow last change).
5652 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5654 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5655 assigned irregular node-id to nested multipart section.
5656 (initialize-instance): Followed above change.
5658 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5660 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5661 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5662 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5663 `elmo-shimbun-get-headers');
5664 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5665 visible article on summary exists in headers).
5666 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5668 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5670 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5673 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5675 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5677 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5679 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5680 header separator into loop condition.
5682 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5684 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5685 Return duplicate folder if it has subfolder.
5687 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5689 * elmo.el (elmo-make-folder): Add folder name error check.
5691 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5692 (elmo-nntp-encode-group-string): New inline function.
5693 (elmo-nntp-decode-group-string): Ditto.
5694 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5695 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5696 Use `not' instead of `null';
5697 Use elmo-nntp-decode-group-string.
5699 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5701 * elmo-version.el (elmo-version): Up to 2.7.5.
5703 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5705 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5706 Hide progress gauge if `elmo-folder-move-messages' exits
5709 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5711 * elmo-imap4.el (elmo-folder-initialize): Use
5712 `elmo-imap4-encode-folder-string' for folder name.
5714 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5716 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5719 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5721 * elmo-util.el (elmo-progress-counter-alist): New internal
5723 (elmo-progress-counter-value): New macro.
5724 (elmo-progress-counter-all-value): Ditto.
5725 (elmo-progress-counter-format): Ditto.
5726 (elmo-progress-counter-set-value): Ditto.
5727 (elmo-progress-set): New function.
5728 (elmo-progress-clear): Ditto.
5729 (elmo-progress-notify): Ditto.
5731 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5734 * elmo.el (elmo-generic-folder-append-messages): Call
5735 `elmo-progress-notify'.
5736 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5738 * elmo-archive.el (elmo-folder-append-messages): Call
5739 `elmo-progress-notify'.
5741 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5743 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5745 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5747 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5749 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5751 (elmo-message-encache-dop): Added argument `read'.
5753 * elmo-shimbun.el (elmo-message-encache): Ditto.
5755 * elmo-net.el (elmo-message-encache): Ditto.
5757 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5758 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5759 elmo-imap4-seen-messages.
5760 (elmo-folder-msgdb-create-plugged): Initialize
5761 elmo-imap4-seen-messages;
5762 Set seen mark on elmo-imap4-seen-messages.
5764 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5766 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5767 elmo-folder-append-buffer.
5768 (elmo-folder-encache): Added optional argument `read'.
5769 (elmo-message-encache): Ditto.
5771 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5773 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5775 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5776 if append buffer content succeds.
5778 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5780 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5781 elmo-display-progress.
5783 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5784 Set 4th argument of mime-display-message.
5785 (elmo-mime-display-as-is): Ditto.
5787 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5789 * elmo-nmz.el (toplevel): Require 'mime-edit.
5790 (elmo-nmz-content-type-alist): Abolished.
5791 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5792 content is not a message.
5793 (elmo-map-message-fetch): Changed behavior exept for message content;
5794 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5795 content-type, Add From: and Subject: field.
5797 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5799 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5800 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5803 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5805 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5806 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5808 * elmo-archive.el (elmo-folder-writable-p): Defined.
5810 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5812 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5814 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5816 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5818 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5820 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5822 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5824 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5826 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5828 * elmo-util.el (elmo-address-quote-specials): New function;
5829 Renamed from `wl-address-quote-specials'.
5831 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5833 * elmo-version.el (elmo-version): Up to 2.7.4.
5835 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5837 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5839 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5841 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5842 both compile-time and run-time to avoid byte-compile warning.
5844 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5846 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5848 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5850 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5852 (elmo-mime-display-as-is-internal): Use it.
5854 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5855 if `read-passwd' is not defined.
5857 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5859 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5861 (elmo-folder-status): Call `elmo-folder-open-internal';
5862 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5863 (elmo-folder-close-internal): Set location-alist as nil.
5864 (elmo-folder-clear): Define.
5865 (elmo-folder-check): Don't set location-alist as nil.
5867 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5869 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5871 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5872 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5874 * mmimap.el (mime-imap-entity::requested): New slot.
5875 (mime-imap-location-fetch-entity-p): New generic function.
5876 (mime-decode-parameters): Define using `defun-maybe'.
5877 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5878 content-type structure.
5879 (mime-entity-body): Return empty body if
5880 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5882 * elmo.el (elmo-message-displaying): New variable.
5884 * elmo-mime.el (elmo-mime-message-display): Bind
5885 elmo-message-displaying as t.
5887 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5889 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5891 * acap.el (acap-open): erase buffer before starting network process.
5892 (acap-store): Rewrite.
5894 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5896 * elmo-imap4.el (elmo-imap4-default-mailbox,
5897 elmo-imap4-default-server
5898 elmo-imap4-default-authenticate-type,
5899 elmo-imap4-default-user,
5900 elmo-imap4-default-port,
5901 elmo-imap4-default-stream-type,
5902 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5904 * elmo-pop3.el (elmo-pop3-default-user,
5905 elmo-pop3-default-server,
5906 elmo-pop3-default-authenticate-type,
5907 elmo-pop3-default-port,
5908 elmo-pop3-default-stream-type,
5909 elmo-pop3-stream-type-alist): Ditto.
5911 * elmo-nntp.el (elmo-nntp-default-server,
5912 elmo-nntp-default-user,
5913 elmo-nntp-default-port,
5914 elmo-nntp-default-stream-type,
5915 elmo-nntp-stream-type-alist): Ditto.
5917 * elmo-vars.el: Follow changes above.
5918 (elmo-setting): New custom group; added 'elmo-setting group to
5921 * elmo-version.el (elmo-version): Up to 2.7.3.
5923 * acap.el (acap-parse-response): Don't delete process when BYE
5924 response (It causes hang-up on slow network environment).
5925 (toplevel): Added comment.
5927 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5929 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5931 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5933 (acap-parse-return-metadata): Ditto.
5936 (toplevel): Fixed typo.
5938 * acap.el: New file.
5939 (acap-network-stream-open): Show "Connecting..." message.
5940 (acap-parse-response): Fixed problem for BYE untagged response.
5941 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5942 (toplevel): Added tiny comments.
5944 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5946 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5947 space delimiter for uidl response.
5949 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5951 * elmo-vars.el (elmo-use-semi): Eliminated.
5953 * elmo-util.el (elmo-string-assoc-all): New function.
5955 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5957 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5958 property 'mime-preview-situation for `mime-preview-quit'.
5960 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5962 * elmo.el (elmo-message-fetch-with-cache-process): Call
5963 elmo-message-fetch-internal instead of causing an error when fetch
5964 strategy is 'entire but only 'section cache is available.
5966 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5968 * elmo-version.el (elmo-version): Up to 2.7.2.
5970 * elmo.el (elmo-generic-folder-append-messages): Make
5971 fetch-strategy with `use-cache'.
5973 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5974 (elmo-dop-queue-method-name): New macro.
5976 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5978 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5979 unbalanced parenthesis.
5981 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5983 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5985 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5987 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5988 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5990 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5992 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5995 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5997 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5998 (elmo-message-use-cache-p): Define.
5999 (elmo-folder-msgdb-create): Treat cache.
6001 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6003 * elmo-nntp.el (elmo-network-initialize-session): Call
6004 `elmo-nntp-send-mode-reader'.
6005 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6007 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6009 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6011 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6014 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6015 for `elmo-plugged-p'.
6016 (elmo-open-network-stream): Fixed stream-type argument.
6018 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6020 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6021 unknown archive type is specified.
6023 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6025 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6027 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6028 while loading msgdb.
6030 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6031 (elmo-folder-open-internal): Rewrite.
6033 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6035 * elmo-mime.el (elmo-mime-display-as-is-internal):
6036 Adjust buffer-multibyte status.
6038 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6040 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6041 of elmo-condition-find-key.
6043 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6044 (elmo-condition-in-msgdb-p): Ditto.
6045 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6048 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6050 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6052 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6054 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6055 label for elmo-display-progress.
6057 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6059 * elmo.el (elmo-folder-clear): New method.
6060 (elmo-folder-clear): Define.
6061 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6063 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6064 (elmo-folder-clear): Define.
6066 * elmo-map.el (elmo-folder-clear): Define.
6068 * elmo-version.el (elmo-version): Up to 2.7.1.
6070 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6072 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6075 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6077 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6078 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6080 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6082 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6084 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6087 * elmo-imap4.el (elmo-folder-initialize): Use
6088 elmo-get-network-stream-type.
6090 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6092 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6094 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6096 * elmo.el (elmo-message-encache): Set unread argument for
6099 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6101 * elmo.el (elmo-net-port-info): New method.
6103 * elmo-shimbun.el (elmo-net-port-info): Define.
6104 (elmo-message-encache): Ditto.
6106 * elmo-net.el (elmo-net-port-info): Define as method.
6108 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6109 unplugged status when elmo-enable-disconnected-operation is t.
6111 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6112 of spool folder before checking new number.
6114 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6116 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6117 (elmo-network-setup-session): Ditto.
6118 (elmo-message-fetch-plugged): Ditto.
6119 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6120 (elmo-network-initialize-session): Ditto.
6121 (elmo-pop3-read-response): Abolish 3rd argument.
6122 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6123 (elmo-pop3-read-contents): Ditto.
6124 (elmo-pop3-read-body): Ditto.
6125 (elmo-folder-status): Call elmo-folder-close.
6126 (elmo-pop3-lock): Abolish.
6127 (elmo-pop3-unlock): Ditto.
6128 (elmo-pop3-locked-p): Ditto.
6129 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6131 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6133 * elmo-version.el (elmo-version): Up to 2.7.0.
6135 * elmo-pop3.el (elmo-pop3-debug): New variable.
6136 (elmo-pop3-debug-inhibit-logging): Ditto.
6137 (elmo-pop3-debug): New function.
6138 (elmo-pop3-send-command): Call elmo-pop3-debug.
6139 (elmo-pop3-read-response): Added keep-lock optional argument;
6140 Don't unlock if keep-lock is non-nil.
6141 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6142 (elmo-network-authenticate-session): Bind
6143 elmo-pop3-debug-inhibit-logging as t.
6144 (elmo-network-setup-session): Call elmo-pop3-read-response with
6146 (elmo-pop3-read-msg): Ditto.
6147 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6148 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6149 (elmo-network-initialize-session): Call elmo-pop3-lock.
6150 (elmo-folder-close-internal): Don't clear location-alist slot.
6151 (elmo-folder-check): Clear location-alist slot.
6153 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6155 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6156 (elmo-pop3-send-command): Call elmo-pop3-lock.
6157 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6158 (elmo-pop3-read-contents): Ditto.
6159 (elmo-pop3-lock): New function.
6160 (elmo-pop3-unlock): Ditto.
6161 (elmo-pop3-locked-p): Ditto.
6162 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6165 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6167 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6169 * elmo-util.el (elmo-file-field-primitive-condition-match):
6170 New inline function (Don't fetch file content if "first" or "last").
6171 (elmo-file-field-condition-match): Use
6172 elmo-file-field-primitive-condition-match.
6174 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6177 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6178 (elmo-message-fetch-plugged): Fixed.
6180 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6182 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6184 * elmo.el (elmo-folder-move-messages): Bind
6185 elmo-inhibit-display-retrieval-progress as t while moving messages.
6187 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6189 (elmo-inhibit-display-retrieval-progress): Ditto.
6191 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6192 for retrieval progress;
6193 Don't display progress when total buffer size is smaller than
6194 elmo-display-retrieval-progress-threshold.
6195 (elmo-message-fetch-plugged): Don't display progress when
6196 elmo-inhibit-display-retrieval-progress is non-nil.
6198 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6199 for retrieval progress;
6200 Don't display progress when literal size is smaller than
6201 elmo-display-retrieval-progress-threshold.
6202 (elmo-imap4-message-fetch): Don't display progress when
6203 elmo-inhibit-display-retrieval-progress is non-nil.
6205 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6207 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6208 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6209 (elmo-imap4-message-fetch): Likewise.
6211 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6212 (elmo-shimbun-index-range-alist): Ditto.
6213 (elmo-shimbun-use-entire-index): Abolish.
6214 (shimbun-mua-use-entire-index): Ditto.
6215 (elmo-shimbun-folder): Added new slot `range'.
6216 (elmo-folder-initialize): Setup slot `range'.
6218 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6220 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6221 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6222 (elmo-shimbun-get-headers): Use return value of
6223 `shimbun-article-expiration-days'.
6224 (elmo-folder-close-internal): Clean up last-check slot.
6226 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6227 (elmo-pop3-total-size): New variable.
6228 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6230 * elmo.el (elmo-folder-reserve-status-p): New method.
6232 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6233 (elmo-shimbun-use-entire-index): New user option.
6234 (shimbun-elmo-mua): New class.
6235 (shimbun-mua-search-id): Define.
6236 (shimbun-mua-use-entire-index): Ditto.
6237 (elmo-shimbun-folder:last-check): New slot.
6238 (elmo-shimbun-headers-cache-header-list): Abolish.
6239 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6240 (elmo-shimbun-headers-cache-header-hash): Ditto.
6241 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6242 (elmo-shimbun-headers-cache-last-check): Ditto.
6243 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6244 (elmo-shimbun-headers-check-p): Rewrite.
6245 (elmo-shimbun-msgdb-to-headers): New function.
6246 (elmo-shimbun-get-headers): Rewrite.
6247 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6248 (elmo-folder-open-internal): Get headers only if
6249 `elmo-shimbun-headers-check-p' is non-nil.
6250 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6252 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6253 (elmo-quit): Removed.
6255 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6257 (elmo-msgdb-overview-entity-set-extra): Ditto.
6258 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6260 * elmo-map.el (elmo-folder-status): Don't call
6261 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6264 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6266 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6267 of `elmo-msgdb-search-internal-primitive' when condition's car is
6270 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6272 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6274 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6276 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6277 call `elmo-pipe-drain'.
6279 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6281 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6282 typo. (elmo-cache-folder -> elmo-mark-folder)
6284 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6286 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6287 `elmo-message-fetch'.
6289 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6291 * elmo-net.el (elmo-message-encache): Fixed typo.
6292 (elmo-message-fetch-unplugged): Changed call
6293 `elmo-message-fetch-internal' without argument `outbuf'.
6295 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6297 * elmo.el (elmo-message-encache): Define as generic function.
6298 (elmo-message-fetch-field): New generic function.
6299 (elmo-message-fetch-with-cache-process): Cause an error when
6300 fetch strategy is 'entire but only 'section cache is available.
6301 (toplevel): Fixed nmz folder definition.
6303 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6304 (elmo-msgdb-resume-list-filename): Ditto.
6305 (elmo-queue-filename): Ditto.
6306 (elmo-enable-disconnected-operation): Changed default value to t.
6308 * elmo-util.el (elmo-cache-path-section-p): New function.
6309 (elmo-file-cache-get): Use it.
6310 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6311 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6312 (elmo-dop-queue-save): Ditto.
6314 * elmo-net.el (elmo-folder-status-unplugged): Call
6315 elmo-folder-status-dop.
6316 (elmo-folder-list-messages-unplugged): Implemented.
6317 (elmo-folder-delete-messages-unplugged): Define.
6318 (elmo-folder-msgdb-create): Define.
6319 (elmo-folder-msgdb-create-unplugged): Define.
6320 (elmo-folder-mark-as-read-unplugged): Ditto.
6321 (elmo-folder-unmark-read-unplugged): Ditto.
6322 (elmo-folder-mark-as-important-unplugged): Ditto.
6323 (elmo-folder-unmark-important-unplugged): Ditto.
6324 (elmo-message-encache): Ditto.
6326 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6327 (elmo-dop-queue-save): Ditto.
6329 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6330 `elmo-folder-msgdb-create'.
6331 (elmo-folder-append-buffer): Implemented unplugged operation.
6332 (elmo-folder-append-messages): Call parent method in unplugged status.
6333 (elmo-message-fetch-unplugged): Removed definition.
6334 (elmo-message-fetch-field): Implemented.
6336 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6337 (elmo-dop-folder): Removed variable definition.
6338 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6339 (elmo-dop-queue-flush): Implemented.
6340 (elmo-dop-queue-merge): Removed definition (TODO).
6341 (elmo-dop-spool-folder): New function.
6342 (elmo-dop-spool-folder-append-buffer): Ditto.
6343 (elmo-dop-spool-folder-list-messages): Ditto.
6344 (elmo-dop-list-deleting-messages): Ditto.
6345 (elmo-folder-append-buffer-dop): Ditto.
6346 (elmo-folder-delete-messages-dop): Ditto.
6347 (elmo-message-encache-dop): New inline function.
6348 (elmo-create-folder-dop): Ditto.
6349 (elmo-folder-mark-as-read-dop): Ditto.
6350 (elmo-folder-unmark-read-dop): Ditto.
6351 (elmo-folder-mark-as-important-dop): Ditto.
6352 (elmo-folder-unmark-important-dop): Ditto.
6353 (elmo-folder-status-dop): Fixed.
6354 (elmo-folder-append-buffer-dop-delayed): New function.
6355 (elmo-folder-delete-messages-dop-delayed): Ditto.
6356 (elmo-dop-msgdb): Ditto.
6358 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6360 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6362 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6364 * elmo.el (elmo-folder-move-messages): Fixed problem when
6365 `dst-folder' is 'null.
6367 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6369 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6370 instead of current mark.
6372 * elmo-multi.el (elmo-folder-list-importants-internal): No
6373 operation if importants is not list.
6375 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6376 Return t if importants is not list.
6378 * elmo-map.el (elmo-map-folder-list-importants): Define.
6379 (elmo-folder-list-importants-internal): Check return value of
6380 `elmo-map-folder-list-importants-internal'.
6382 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6384 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6386 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6388 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6390 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6392 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6393 (Patch is provided by <kita@coe.nttdata.co.jp>).
6395 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6397 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6400 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6402 * elmo.el (elmo-message-fetch): Define.
6403 (elmo-message-fetch-with-cache-process): New generic method.
6404 (elmo-message-fetch-internal): New generic method.
6405 (elmo-folder-synchronize):
6407 * elmo-archive.el (elmo-message-fetch-internal): Define.
6408 (elmo-message-fetch): Eliminated.
6410 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6411 (elmo-message-fetch): Eliminated.
6413 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6415 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6417 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6418 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6420 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6421 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6423 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6425 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6427 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6429 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6430 (elmo-message-fetch-unplugged): New generic method.
6431 (elmo-message-fetch-internal): Remove cache process (Renamed from
6432 `elmo-message-fetch').
6434 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6435 (elmo-message-fetch): Eliminated.
6436 (elmo-message-fetch-unplugged): Ditto.
6438 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6440 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6442 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6443 of `to-be-deleted' from number-alist to number-list.
6445 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6447 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6448 (elmo-folder-mark-as-important): Ditto.
6450 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6452 * elmo.el (elmo-folder): Added process-duplicates slot.
6454 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6455 (elmo-folder-unmark-read): Ditto.
6456 (elmo-folder-unmark-important): Ditto.
6457 (elmo-folder-mark-as-important): Ditto.
6459 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6460 duplicated message processing.
6462 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6464 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6466 * elmo-util.el (elmo-list-subdirectories-1): New function.
6467 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6468 (elmo-mapcar-list-of-list): New function.
6470 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6471 `elmo-mapcar-list-of-list' instead of `mapcar'.
6473 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6475 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6476 `elmo-have-link-count'. Return the fully qualified folder name.
6478 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6480 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6481 (elmo-shimbun-headers-cache): New internal variable.
6482 (elmo-shimbun-headers-cache-header-list): New inline function.
6483 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6484 (elmo-shimbun-headers-cache-header-hash): Ditto.
6485 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6486 (elmo-shimbun-headers-cache-last-check): Ditto.
6487 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6488 (elmo-shimbun-lapse-seconds): Ditto.
6489 (elmo-shimbun-headers-cache-check-p): Ditto.
6490 (elmo-shimbun-get-headers): New function.
6491 (elmo-folder-open-internal): Call it.
6492 (elmo-quit): Define (Clear headers-cache).
6494 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6496 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6498 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6499 (elmo-msgdb-flist-save): Ditto.
6501 * elmo-shimbun.el (elmo-folder-list-subfolders):
6502 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6503 (elmo-folder-exists-p): Ditto.
6505 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6506 argument for `shimbun-header-insert'.
6508 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6510 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6513 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6514 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6516 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6518 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6519 (elmo-folder-plugged-p): Define.
6520 (elmo-folder-set-plugged): Ditto.
6521 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6522 (elmo-folder-list-messages-internal): Return t if unplugged.
6523 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6525 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6526 when elmo-folder-list-messages-internal method of children returns t.
6528 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6530 (elmo-folder-open-internal): Don't update if unplugged status.
6532 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6534 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6537 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6539 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6541 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6544 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6546 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6548 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6549 (elmo-folder-open-internal): Set up headers slot.
6550 (elmo-folder-check): Call elmo-folder-close-internal and
6551 elmo-folder-open-internal.
6552 (elmo-folder-close-internal): Clean up headers slot.
6554 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6556 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6557 exactly folder list.
6558 (elmo-folder-append-messages): Fixed append archive with prefix.
6560 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6561 make temp files with start-number.
6563 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6565 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6567 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6568 argument `visible-only'.
6569 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6572 * elmo-pop3.el (elmo-folder-open-internal): Check
6573 `elmo-inhibit-number-mapping' is non-nil.
6575 * elmo-pipe.el (elmo-folder-status): Fixed.
6577 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6579 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6581 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6582 (elmo-folder-open-internal): Setup `header-hash' slot.
6583 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6585 (elmo-map-message-fetch): Ditto.
6587 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6589 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6590 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6591 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6592 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6594 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6596 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6598 * sb-airs.el: Added footer.
6600 * shimbun.el (shimbun-article): Define as luna-method.
6602 * sb-tcup.el: New file.
6604 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6605 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6607 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6609 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6610 (shimbun-get-headers): Ditto.
6612 * elmo.el: Moved obsolete variable definitions from
6613 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6615 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6618 * shimbun.el: New file.
6620 * elmo-shimbun.el: New file.
6622 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6623 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6624 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6625 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6627 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6629 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6632 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6634 * elmo.el (elmo-folder-msgdb): Define as macro.
6635 (elmo-folder-open): Added argument `load-msgdb'.
6636 (elmo-generic-folder-open): Ditto.
6637 (elmo-folder-encache): New function.
6639 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6641 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6643 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6644 Eliminated argument FOLDER and added argument MSGDB.
6645 (elmo-dop-queue-load): Moved from elmo-dop.el.
6646 (elmo-dop-queue-save): Ditto.
6648 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6650 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6652 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6653 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6654 (elmo-filter-folder-list-importants-internal): Ditto.
6656 * elmo-map.el (elmo-folder-pack-number): Ditto.
6658 * elmo-mime.el (elmo-mime-message-display): Ditto.
6660 * elmo.el (elmo-generic-folder-commit): Ditto.
6661 (elmo-folder-list-unreads): Ditto.
6662 (elmo-folder-list-importants): Ditto.
6663 (elmo-generic-folder-commit): Ditto.
6664 (elmo-message-set-mark): Ditto.
6665 (elmo-generic-folder-append-msgdb): Ditto.
6666 (elmo-folder-synchronize): Ditto.
6667 (elmo-folder-messages): Ditto.
6668 (elmo-init): Call elmo-dop-queue-load.
6669 (elmo-folder-list-messages): Ditto.
6671 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6672 (elmo-nntp-folder-process-crosspost): Ditto.
6673 (elmo-folder-list-unreads-internal): Ditto.
6675 * elmo-dop.el: Removed old functions.
6677 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6679 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6680 `folder' to `msgdb'.
6682 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6684 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6685 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6687 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6690 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6692 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6695 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6696 (mmimap-parse-parameters-from-list): Define as alias for
6697 `mime-decode-parameter-plist' if it is defined as function.
6698 (mmimap-make-mime-entity): Added argument `number'.
6699 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6701 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6703 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6705 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6707 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6709 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6711 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6713 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6714 when elmo-imap4-default-authenticate-type is nil.
6715 (elmo-folder-list-subfolders): Ditto
6716 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6717 (elmo-imap4-fetch-callback-1-subr): Renamed from
6718 `elmo-imap4-fetch-callback-1' and define as inline function.
6719 (elmo-imap4-fetch-callback-1):
6720 Renamed from `elmo-imap4-fetch-callback'.
6721 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6723 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6724 msgdb path (To keep compatibility with main trunk).
6726 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6728 * elmo-util.el (elmo-make-file-cache): Moved position of
6731 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6732 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6733 instead of `elmo-pop3-inhibit-uidl'.
6734 (elmo-folder-exists-p): Ditto.
6735 (elmo-pop3-folder-list-messages): Ditto.
6737 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6738 instead of `elmo-pop3-inhibit-uidl'.
6739 (elmo-folder-status): Ditto.
6741 * elmo-dop.el (elmo-dop-folder): New variable.
6742 (elmo-dop-lock-message): Eliminated.
6743 (elmo-dop-unlock-message): Ditto.
6744 (elmo-dop-lock-list-load): Ditto.
6745 (elmo-dop-lock-list-save): Ditto.
6746 (elmo-dop-delete-folder): Ditto.
6747 (elmo-dop-rename-folder): Ditto.
6749 * elmo.el: Removed incomplete commentary.
6751 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6753 * elmo.el (toplevel): Require 'elmo-version first;
6754 for little `recursive-load-depth' settings.
6755 Fix "ends here" comment.
6757 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6759 * elmo-util.el (toplevel): Require 'poem;
6760 Some functions are moved from elmo-cache.el.
6762 * elmo-net.el (toplevel): Require 'elmo-cache.
6764 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6766 * elmo.el (toplevel): Ditto.
6768 * elmo-cache.el: Rewrite with luna;
6769 Some functions are moved to elmo-util.el.
6771 * elmo-internal.el (elmo-internal-folder-list): New variable.
6772 (elmo-internal-folder-initialize): Rewrite.
6773 (elmo-folder-list-subfolders): Ditto.
6775 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6776 (elmo-cache-collect-sub-directories): Ditto.
6778 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6780 * elmo-version.el (elmo-version): Up to 2.5.8.
6782 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6784 * elmo-util.el (elmo-list-insert): New function.
6786 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6788 * elmo.el (elmo-init): New function.
6789 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6791 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6792 (Renamed from `elmo-localdir-header-chop-length').
6794 * elmo-pop3.el (elmo-pop3-use-cache,
6795 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6797 * elmo-nntp.el (elmo-message-fetch): Define.
6798 (elmo-message-fetch-unplugged): Ditto.
6799 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6800 (elmo-nntp-use-cache): Ditto.
6801 (elmo-nntp-max-number-precedes-list-active): Ditto.
6803 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6805 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6806 `elmo-msgdb-insert-file-header'.
6807 Use `elmo-msgdb-file-header-chop-length'.
6809 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6812 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6813 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6814 `elmo-msgdb-insert-file-header'.
6816 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6818 Define obsolete variables with `elmo-define-obsolete-variable',
6820 * elmo-util.el (elmo-warning-buffer-name): New constant.
6821 (elmo-warning): New function.
6822 (elmo-obsolete-variable-alist): New variable.
6823 (elmo-obsolete-variable-show-warnings): New variable.
6824 (elmo-define-obsolete-variable): New function.
6825 (elmo-resque-obsolete-variable): Ditto.
6826 (elmo-resque-obsolete-variables): Ditto.
6828 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6830 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6833 * elmo-pop3.el, elmo-nntp.el: Use custom.
6835 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6837 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6838 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6840 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6842 * Luna-fy Kenichi OKADA's following changes.
6843 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6845 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6847 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6849 * elmo-util.el (elmo-display-progress): Prefer
6850 `progress-feedback-with-label' to `lprogress-display'.
6852 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6854 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6856 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6858 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6859 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6860 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6861 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6862 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6863 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6864 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6865 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6866 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6867 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6868 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6869 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6870 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6872 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6874 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6875 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6877 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6879 * elmo.el (elmo-folder-process-crosspost): New generic method.
6880 (elmo-folder-writable-p): Ditto.
6881 (elmo-folder-message-appendable-p): Eliminated.
6882 (elmo-generic-folder-append-msgdb): Rewrite.
6883 (elmo-newsgroups-hashtb): New internal variable.
6884 (elmo-crosspost-message-set): Eliminated.
6885 (elmo-crosspost-message-delete): Ditto.
6886 (elmo-setup-subscribed-newsgroups): New function.
6887 (elmo-crosspost-message-alist-modified): New internal variable.
6888 (elmo-crosspost-message-alist-load): New function (Renamed from
6889 `wl-crosspost-alist-load').
6890 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6891 `wl-crosspost-alist-save').
6893 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6895 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6897 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6898 elmo-newsgroups-hashtb).
6899 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6900 `elmo-nntp-folder-update-crosspost-message-alist'.
6901 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6902 `elmo-nntp-groups-hashtb'.
6903 (elmo-nntp-make-groups-hashtb): Eliminated.
6904 (elmo-nntp-parse-newsgroups): New function (Renamed from
6905 `wl-parse-newsgroups').
6906 (elmo-folder-creatable-p, elmo-folder-writable-p,
6907 elmo-folder-close-internal, elmo-folder-mark-as-read,
6908 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6910 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6912 * elmo-net.el (elmo-message-fetch): Check buffer size.
6914 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6916 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6918 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6919 before `close' command.
6921 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6922 `mark-alist' (All other related portions are changed).
6924 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6926 * elmo-util.el (elmo-create-hash-size): Eliminated.
6927 (elmo-make-hash) Make a hash with `one less than a power of two'
6930 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6931 (elmo-hash-maximum-size): Changed value.
6933 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6935 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6936 (elmo-mime-message-display-as-is): Ditto.
6938 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6940 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6941 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6943 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6945 * elmo-mark.el: New file.
6947 * elmo-internal.el: Rewrite (Almost empty).
6949 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6951 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6952 (mime-imap-entity-header-string): Ditto.
6953 (mmimap-entity-section): Rewrite.
6955 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6957 * elmo-nmz.el: New file.
6959 * elmo-pipe.el: Rewrite with luna.
6961 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6963 * elmo-archive.el: Rewrite with luna.
6965 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6966 (elmo-folder-list-importants-internal): Ditto.
6968 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6970 * elmo-archive.el (elmo-archive-version): Abolish.
6971 (toplevel) Removed `boso' comment.
6973 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6975 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6976 elmo-msgdb-add-msgs-to-seen-list-subr;
6977 Changed argument seen-marks to unread-marks.
6979 * elmo-nntp.el: Rewrite with luna.
6981 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6983 * elmo-filter.el: Rewrite with luna.
6985 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6987 * elmo-pop3.el: Rewrite with luna.
6989 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6991 * elmo-multi.el: Rewrite with luna.
6993 * elmo-vars.el (elmo-use-killed-list): Abolish.
6994 All other related portions are changed.
6995 (elmo-filename-replace-string-alist): Renamed from
6996 elmo-msgid-replace-string-alist.
6998 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7000 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7002 * elmo-map.el: New file.
7003 * elmo-maildir.el: Rewrite with luna.
7005 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7007 * elmo.el: Changed meaning of `elmo-folder-commit'.
7008 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7010 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7012 * elmo.el (elmo-folder-append-buffer): New function.
7013 (Renamed from `elmo-append-msg')
7015 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7017 * elmo-mime.el: New file.
7019 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7021 * elmo-cache.el: Rewrite.
7023 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7025 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7027 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7029 * elmo-vars.el (elmo): New group.
7030 (elmo-strict-diff-folder-regexp): New variable.
7032 * elmo-util.el (elmo-call-func): Abolish.
7033 (elmo-folder-get-type): Ditto.
7034 (elmo-*-get-spec): Ditto.
7035 (elmo-*-spec-*): Ditto.
7036 (elmo-imap4-identical-name-space-p): Ditto.
7037 (elmo-folder-identical-system-p): Ditto.
7038 (elmo-folder-direct-copy-alist): Ditto.
7039 (elmo-folder-direct-copy-p): Ditto.
7041 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7042 (elmo-folder-initialize): Define.
7043 (elmo-folder-get-primitive-list): Ditto.
7045 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7046 (elmo-folder-initialize): Define.
7047 Renamed `elmo-network-session-host-internal' to
7048 `elmo-network-session-server-internal'.
7050 * elmo-multi.el (elmo-multi-folder): New luna class.
7051 (elmo-folder-initialize): Define.
7052 (elmo-folder-get-primitive-list): Ditto.
7053 (elmo-folder-contains-type): Ditto.
7054 (elmo-message-use-cache-p): Ditto.
7056 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7057 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7059 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7060 (elmo-folder-initialize): Define.
7062 * elmo-filter.el (elmo-filter-folder): New luna class.
7063 (elmo-folder-initialize): Define.
7064 (elmo-folder-get-primitive-list): Ditto.
7065 (elmo-folder-contains-type): Ditto.
7067 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7069 * elmo-imap4.el: Rewrite with luna.
7071 * mmimap.el: New file.
7073 * mmelmo.el, mmelmo-imap4.el: Removed.
7075 * elmo-net.el: Ditto.
7077 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7078 (elmo-folder-initialize): Define.
7080 * elmo-archive.el (elmo-archive-folder): New luna class.
7081 (elmo-folder-initialize): Define.
7083 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7084 `elmo-folder-msgdb-path'.
7085 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7088 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7090 * elmo.el: New file.
7092 * elmo2.el: Renamed to elmo.el.
7095 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7097 * elmo-cache.el (elmo-cache-expire-by-size): Count
7098 a disk usage for a cache file entry in KB even when
7099 its kind is a directory.
7101 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7103 * elmo-version.el (elmo-version): Up to 2.5.7.
7105 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7107 * elmo-version.el (elmo-version): Up to 2.5.6.
7109 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7111 * elmo-version.el (elmo-version): Up to 2.5.5.
7113 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7115 * elmo-imap4.el (elmo-network-authenticate-session):
7116 Fixed a logic for response checking.
7118 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7120 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7121 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7122 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7125 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7126 for `starttls-open-stream' and `starttls-negotiate'.
7128 * elmo-nntp.el: Remove autoload settings for
7129 `starttls-open-stream' and `starttls-negotiate'.
7131 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7132 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7133 `luna-define-class' with `eval-and-compile'.
7135 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7137 * elmo-util.el (elmo-read-search-condition-internal):
7138 Require an element of table for searching field.
7140 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7142 * elmo-version.el (elmo-version): Up to 2.5.4.
7144 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7146 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7148 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7150 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7152 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7154 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7157 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7159 * elmo-imap4.el (elmo-imap4-delete-folder):
7160 Send "close" before "delete" (Use commented out line).
7161 (elmo-imap4-rename-folder): Ditto.
7163 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7164 folder string itself.
7165 (elmo-dop-list-deleted): New function.
7166 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7169 * elmo-util.el (elmo-string-rassoc-all): New function.
7171 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7173 * elmo-version.el (elmo-version): Up to 2.5.3.
7175 * elmo-net.el (elmo-network-get-session): Changed logic for
7176 checking process status.
7178 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7180 Changed logic for checking process status.
7182 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7184 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7186 (elmo-network-setup-session): Set UIDL hash size according to
7187 the length of list response.
7188 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7189 according to the length of list response;
7190 Return the length of list response.
7191 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7193 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7195 * elmo-imap4.el (toplevel): Require 'ssl.
7196 Add autoload 'starttls.
7197 * elmo-pop3.el (toplevel): Ditto.
7198 * elmo-nntp.el (toplevel): Ditto.
7200 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7202 * elmo-imap4.el (toplevel): defun at compile time.
7203 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7204 sasl-next-step, sasl-step-data, sasl-step-set-data.
7205 * elmo-pop3.el (toplevel): Ditto.
7207 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7209 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7211 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7213 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7215 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7216 and `elmo-pop-auth-apop'.
7218 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7220 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7222 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7224 * elmo-pop3.el (elmo-network-authenticate-session): Split
7225 encoded response value.
7227 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7229 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7230 `elmo-pop3-force-login'.
7231 Redefine `sasl-mechanisms'.
7232 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7234 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7236 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7237 Delete `elmo-imap4-authenticator-alist'.
7238 (elmo-imap4-auth-cram-md5): Delete.
7239 (elmo-imap4-auth-digest-md5): Delete.
7241 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7243 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7244 (elmo-pop3-auth-scram-md5): Ditto.
7245 (elmo-pop3-auth-cram-md5): Ditto.
7247 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7249 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7250 Delete `elmo-pop3-authenticator-alist'.
7252 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7254 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7256 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7258 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7260 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7262 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7264 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7265 Fixed problem when `elmo-pop3-use-uidl' is nil.
7266 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7268 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7270 * elmo-version.el (elmo-version): Up to 2.5.2.
7272 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7274 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7276 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7277 (elmo-pop3-msgdb-create-as-numlist): Use it.
7279 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7280 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7282 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7283 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7285 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7287 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7288 when elmo-mark-as-read is called with second argument nil.
7290 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7292 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7293 Moved to elmo-util.el.
7295 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7296 Moved from elmo-pipe.el
7298 * elmo-archive.el (elmo-archive-call-process): Enclose with
7301 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7302 "RFC822" (because RFC822.PEEK is obsolete).
7303 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7305 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7307 * elmo-archive.el (elmo-archive-call-process): Don't check for
7308 the exit status when Nemacs is running.
7310 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7312 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7315 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7316 (elmo-pop3-get-spec): Set default of auth to 'user.
7318 * elmo-imap4.el (elmo-imap4-session-check):
7319 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7320 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7321 (elmo-imap4-auth-login): New function; Revival.
7322 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7323 `elmo-imap4-auth-login'.
7325 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7327 * elmo2.el (toplevel): Move `product-provide' declare.
7328 * mmelmo.el (toplevel): Ditto.
7330 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7332 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7334 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7336 * elmo-util.el (elmo-folder-get-store-type): New function.
7337 (elmo-folder-direct-copy-p): Use it.
7339 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7341 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7342 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7343 and result of `elmo-imap4-use-flag-p'.
7344 (elmo-imap4-fetch-callback-1): Set mark according to
7345 the result of `elmo-imap4-use-flag-p'.
7347 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7349 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7350 (elmo-generic-list-folder-unread): Ditto.
7351 (elmo-folder-get-info): Ditto.
7352 (elmo-folder-set-info-max-by-numdb): Ditto.
7353 (elmo-folder-get-info-max): Ditto.
7354 (elmo-folder-get-info-length): Ditto.
7355 (elmo-folder-get-info-unread): Ditto.
7356 (elmo-folder-info-make-hashtb): Ditto.
7358 * elmo2.el: Removed above functions.
7360 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7362 * elmo-imap4.el (toplevel): Require 'ssl.
7363 Add autoload 'starttls.
7364 * elmo-pop3.el (toplevel): Ditto.
7365 * elmo-nntp.el (toplevel): Ditto.
7367 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7369 * elmo-imap4.el (toplevel): defun at compile time.
7370 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7371 sasl-next-step, sasl-step-data, sasl-step-set-data.
7372 * elmo-pop3.el (toplevel): Ditto.
7374 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7376 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7378 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7380 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7382 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7383 and `elmo-pop-auth-apop'.
7385 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7387 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7389 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7391 * elmo-pop3.el (elmo-network-authenticate-session): Split
7392 encoded response value.
7394 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7396 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7397 `elmo-pop3-force-login'.
7398 Redefine `sasl-mechanisms'.
7399 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7401 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7403 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7404 Delete `elmo-imap4-authenticator-alist'.
7405 (elmo-imap4-auth-cram-md5): Delete.
7406 (elmo-imap4-auth-digest-md5): Delete.
7408 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7410 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7411 (elmo-pop3-auth-scram-md5): Ditto.
7412 (elmo-pop3-auth-cram-md5): Ditto.
7414 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7416 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7417 Delete `elmo-pop3-authenticator-alist'.
7419 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7421 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7423 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7426 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7428 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7430 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7432 * elmo-nntp.el (elmo-nntp-get-folders-info):
7433 Fixed problem when '\' character is contained in user-id.
7434 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7437 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7439 * elmo-imap4.el (elmo-imap4-delete-folder):
7440 Send "close" before "delete" (Use commented out line).
7441 (elmo-imap4-rename-folder): Ditto.
7443 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7444 folder string itself.
7445 (elmo-dop-list-deleted): New function.
7446 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7449 * elmo-util.el (elmo-string-rassoc-all): New function.
7451 * elmo-version.el (elmo-version): Up to 2.5.1.
7453 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7455 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7457 * elmo-internal.el (elmo-internal-search): Fix last change.
7459 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7461 * elmo-internal.el (elmo-internal-search): Rewrite.
7462 (Fixed problem which is pointed out by Akihiro MOTOKI
7463 <motoki@da.jp.nec.com>)
7465 * elmo-version.el (elmo-version): Up to 2.5.0.
7467 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7469 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7471 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7473 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7474 non-nil, make hierarchy.
7476 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7478 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7479 `elmo-pop3-use-uidl' must be bound to nil.
7480 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7482 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7484 * elmo-util.el (elmo-copy-file): Don't cause an error after
7485 `add-name-to-file' failed.
7487 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7488 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7490 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7492 * elmo-version.el (elmo-version): Up to 2.3.93.
7494 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7496 * elmo-util.el (elmo-flatten): New function.
7498 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7500 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7502 * elmo-cache.el (toplevel): Ditto.
7503 * elmo-database.el (toplevel): Ditto.
7504 * elmo-date.el (toplevel): Ditto.
7505 * elmo-dop.el (toplevel): Ditto.
7506 * elmo-filter.el (toplevel): Ditto.
7507 * elmo-imap4.el (toplevel): Ditto.
7508 * elmo-internal.el (toplevel): Ditto.
7509 * elmo-localdir.el (toplevel): Ditto.
7510 * elmo-localnews.el (toplevel): Ditto.
7511 * elmo-maildir.el (toplevel): Ditto.
7512 * elmo-msgdb.el (toplevel): Ditto.
7513 * elmo-multi.el (toplevel): Ditto.
7514 * elmo-net.el (toplevel): Ditto.
7515 * elmo-nntp.el (toplevel): Ditto.
7516 * elmo-pipe.el (toplevel): Ditto.
7517 * elmo-pop3.el (toplevel): Ditto.
7518 * elmo-util.el (toplevel): Ditto.
7519 * elmo-vars.el (toplevel): Ditto.
7520 * elmo2.el (toplevel): Ditto.
7521 * mmelmo-imap4.el (toplevel): Ditto.
7522 * mmelmo.el (toplevel): Ditto.
7524 * elmo-version.el (elmo-version): Move to top.
7526 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7527 * elmo-imap4.el (toplevel): Ditto.
7528 * elmo-localdir.el (toplevel): Ditto.
7529 * elmo-msgdb.el (toplevel): Ditto.
7530 * elmo-nntp.el (toplevel): Ditto.
7531 * elmo-pop3.el (toplevel): Ditto.
7532 * elmo-version.el (toplevel): Ditto.
7534 * elmo-localnews.el (toplevel): Added Keyword header.
7536 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7538 * elmo-version.el (product-version-as-string): Defined using
7542 * elmo-localdir.el (toplevel): Updated copyright notice.
7543 * elmo-version.el (toplevel): Ditto.
7544 * elmo-msgdb.el (toplevel): Ditto.
7545 * elmo-imap4.el (toplevel): Ditto.
7546 * elmo-nntp.el (toplevel): Ditto.
7547 * elmo-pop3.el (toplevel): Ditto.
7549 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7551 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7554 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7555 parameter value (It sometimes contains raw kanji).
7557 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7559 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7560 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7562 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7564 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7566 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7568 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7569 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7571 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7573 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7574 value if selecting folder succceeded.
7575 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7577 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7579 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7582 * elmo-util.el (elmo-string-matched-member): New function.
7584 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7586 * elmo-util.el (elmo-unintern): New macro.
7587 (elmo-number-set-member): Fixed docstring.
7589 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7592 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7594 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7595 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7597 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7599 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7602 Return non-nil if selecting folder succeeded.
7603 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7605 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7607 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7608 `file-name-completion' returns t.
7609 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7610 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7611 directory if it does not exist.
7612 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7615 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7617 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7618 enclosure (It's harmful in unplugged status).
7620 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7622 * mmelmo-1.el: Removed.
7624 * mmelmo-2.el: Ditto.
7626 * mmelmo-imap4-1.el: Ditto.
7628 * mmelmo-imap4-2.el: Ditto.
7630 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7632 * mmelmo.el: Merged mmelmo-2.el.
7634 * elmo-version.el (elmo-version): Up to 2.3.92.
7636 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7638 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7639 elmo-update-number): Remove last period in "...done." message.
7640 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7642 * elmo-cache.el (elmo-cache-expire-by-size,
7643 elmo-cache-get-sorted-cache-file-list,
7644 elmo-cache-msgdb-create-as-numlist): Ditto.
7645 * elmo-dop.el (elmo-dop-save-pending-messages,
7646 (elmo-dop-flush-pending-append-operations): Ditto.
7647 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7648 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7649 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7650 (elmo-localdir-pack-number): Ditto.
7651 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7652 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7653 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7654 mime-write-entity-content): Ditto.
7655 * pldap.el (ldap-search-basic): Ditto.
7657 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7659 * elmo-version.el (elmo-version): Up to 2.3.91.
7661 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7662 Only when filter is 'last'.
7664 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7665 (elmo-condition-parse-search-value): Use it.
7666 (elmo-read-search-condition-internal): Quote value only when
7669 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7671 * elmo2.el (elmo-generic-folder-diff): Fix.
7673 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7675 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7676 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7677 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7678 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7679 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7680 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7682 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7684 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7687 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7689 * elmo-version.el (elmo-version): Up to 2.3.90.
7691 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7692 (elmo-imap4-list-folder-important): Ditto.
7694 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7696 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7698 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7700 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7702 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7704 * elmo-nntp.el (elmo-network-initialize-session):
7705 Add starttls negotiation.
7707 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7709 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7711 (elmo-network-setup-session): Define.
7712 Call `elmo-nntp-send-mode-reader' when session opened.
7714 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7716 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7718 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7720 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7721 an invalid SPACE character ahead of `SEARCH' command. Move
7722 a valid SPACE character following `SEARCH' from conditional
7723 `format' arguments to control-strings.
7725 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7727 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7730 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7732 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7734 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7735 `w32-get-true-file-link-count' as t.
7737 * elmo-imap4.el (elmo-imap4-read): Abolished.
7738 (Renamed to `elmo-read' and moved to elmo-util.el)
7739 All other related portions are changed.
7741 * elmo-util.el (elmo-read): New function.
7742 (elmo-condition-parse-search-value): Use it.
7744 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7746 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7748 * elmo-nntp.el (elmo-nntp-session): Define.
7749 (elmo-nntp-setting): Abolished.
7750 All other related portions are changed.
7751 (elmo-nntp-get-server-command): Changed argument.
7752 (elmo-nntp-set-server-command): Ditto.
7753 (elmo-nntp-xover-p): Ditto.
7754 (elmo-nntp-set-xover): Ditto.
7755 (elmo-nntp-listgroup-p): Ditto.
7756 (elmo-nntp-set-listgroup): Ditto.
7757 (elmo-nntp-list-active-p): Ditto.
7758 (elmo-nntp-set-list-active): Ditto.
7759 (elmo-nntp-xhdr-p): Ditto.
7760 (elmo-nntp-set-xhdr): Ditto.
7761 (elmo-nntp-flush-connection): Abolished.
7762 (elmo-nntp-get-connection): Abolished.
7763 (elmo-nntp-get-session): New function.
7764 (elmo-network-initialize-session): Defined.
7765 (elmo-network-authenticate-session): Ditto.
7766 (elmo-nntp-send-mode-reader): Changed argument.
7767 (elmo-nntp-send-command): Changed argument.
7768 All other related portions are changed.
7769 (elmo-nntp-read-response): Ditto.
7770 (elmo-nntp-read-raw-response): Ditto.
7771 (elmo-nntp-read-contents): Ditto.
7772 (elmo-nntp-read-body): Ditto.
7773 (elmo-nntp-goto-folder): Abolished.
7774 (elmo-nntp-select-group): New function.
7775 All other related portions are changed.
7776 (This function substitutes `elmo-nntp-goto-folder')
7777 (elmo-nntp-msgdb-create-by-header): Rewrite.
7778 (elmo-nntp-get-overview): Eliminated.
7779 (elmo-nntp-get-message): Ditto.
7780 (elmo-nntp-open-connection) Abolished.
7781 (elmo-nntp-read-msg): Rewrite.
7782 (elmo-nntp-post): Ditto.
7783 (elmo-nntp-send-data): Abolished.
7784 (elmo-nntp-send-buffer): New function.
7785 (elmo-nntp-send-data-line): Define as inline function.
7786 (elmo-nntp-get-folders-info-prepare): Use session as key.
7787 (elmo-nntp-groups-read-response): Changed argument.
7788 (elmo-nntp-retrieve-headers): Ditto.
7789 (elmo-nntp-msgdb-create-message): Ditto.
7791 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7792 when searching by 'since' or 'before'.
7794 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7796 * elmo-version.el (toplevel): Use product-version-as-string for set
7797 verstion-string, if defined.
7799 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7801 * elmo-util.el: Doc fixes.
7803 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7805 * elmo-archive.el (toplevel): Use product-provide.
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-1.el (toplevel): Ditto.
7826 * mmelmo-2.el (toplevel): Ditto.
7827 * mmelmo-imap4-1.el (toplevel): Ditto.
7828 * mmelmo-imap4-2.el (toplevel): Ditto.
7829 * mmelmo-imap4.el (toplevel): Ditto.
7830 * mmelmo.el (toplevel): Ditto.
7832 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7834 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7835 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7837 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7839 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7841 (elmo-multi-split-number-alist): Ditto.
7843 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7845 * elmo-version.el: New file. Use product.el.
7846 * elmo2.el: Add (require 'elmo-version).
7847 * elmo-vars.el (elmo-appname, elmo-version): Move to
7850 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7852 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7853 `elmo-msgdb-expand-path'.
7854 (elmo-msgdb-load): Ditto.
7855 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7856 (elmo-generic-list-folder-unread): Rewrite.
7857 (elmo-generic-list-folder-important): Changed argument.
7858 (elmo-list-folder-unread): Ditto.
7859 (elmo-list-folder-important): Ditto.
7860 (elmo-folder-diff): Rewrite.
7861 (elmo-generic-folder-diff): New function.
7862 (elmo-multi-get-number-alist-list): Abolished
7863 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7864 (elmo-multi-folder-diff): Moved to elmo-multi.el
7865 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7867 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7868 `elmo-msgdb-expand-path'.
7869 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7870 (elmo-pop3-read-msg): Ditto.
7871 (elmo-pop3-delete-msgs): Ditto.
7872 (elmo-pop3-folder-diff): New alias.
7874 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7875 `elmo-msgdb-expand-path'.
7876 (elmo-pipe-list-folder-unread): Changed arguments.
7877 (elmo-pipe-list-folder-important): Ditto.
7878 (elmo-pipe-folder-diff): New alias.
7880 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7881 `elmo-msgdb-expand-path'.
7882 (elmo-nntp-max-of-folder): Ditto.
7883 (elmo-nntp-msgdb-create): Ditto.
7884 (elmo-nntp-delete-msgs): Ditto.
7885 (elmo-nntp-folder-diff): New alias.
7887 * elmo-multi.el (elmo-multi-folder-diff): New function.
7888 (elmo-multi-split-mark-alist): Ditto.
7889 (elmo-multi-split-number-alist): Ditto.
7890 (elmo-multi-mark-alist-list): Abolished (Renamed to
7891 elmo-multi-split-mark-alist).
7892 (elmo-multi-list-folder-unread): Rewrite.
7893 (elmo-multi-list-folder-important): Ditto.
7894 (elmo-multi-list-folder): Set `spec' as 1st argument for
7895 `elmo-msgdb-expand-path'.
7896 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7897 instead of `elmo-multi-get-number-alist-list'.
7899 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7900 If 1st argument is not string, treat as spec.
7901 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7902 `elmo-msgdb-expand-path'.
7903 (elmo-msgdb-flist-load): Ditto.
7904 (elmo-msgdb-flist-save): Ditto.
7905 (elmo-msgdb-delete-path): Ditto.
7906 (elmo-msgdb-rename-path): Ditto.
7908 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7909 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7910 (elmo-maildir-delete-mark-msgs): Ditto.
7911 (elmo-maildir-msgdb-create): Ditto.
7912 (elmo-maildir-read-msg): Ditto.
7913 (elmo-maildir-delete-msgs): Ditto.
7914 (elmo-maildir-list-folder-subr): Ditto.
7915 (elmo-maildir-search): Ditto.
7916 (elmo-maildir-get-msg-filename): Ditto.
7917 (elmo-maildir-pack-number): Ditto.
7918 (elmo-maildir-folder-diff): New alias.
7920 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7922 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7923 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7924 (elmo-localdir-folder-diff): New alias.
7926 * elmo-internal.el (elmo-internal-list-folder-subr):
7927 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7928 (elmo-internal-list-folder-by-location): Ditto.
7929 (elmo-internal-msgdb-create): Ditto.
7930 (elmo-internal-delete-msgs): Ditto.
7931 (elmo-internal-read-msg): Ditto.
7932 (elmo-internal-folder-diff): New alias.
7934 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7935 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7936 `elmo-msgdb-expand-path'.
7937 (elmo-imap4-list-folder-unread): Changed arguments.
7938 (elmo-imap4-list-folder-important): Ditto.
7940 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7941 (elmo-filter-list-folder-important): Ditto.
7942 (elmo-filter-folder-diff): New function.
7944 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7946 * elmo-cache.el (elmo-cache-list-folder):
7947 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7948 (elmo-cache-copy-msgs): Ditto.
7949 (elmo-cache-folder-diff): New alias.
7951 * elmo-archive.el (elmo-archive-list-folder-subr):
7952 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7953 (elmo-archive-get-archive-name): Ditto.
7954 (elmo-archive-create-file): Ditto.
7955 (elmo-archive-append-msg): Ditto.
7956 (elmo-archive-copy-msgs): Ditto.
7957 (elmo-archive-copy-msgs-froms): Ditto.
7958 (elmo-archive-get-msg-filename): Ditto.
7959 (elmo-archive-folder-diff): New alias.
7961 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7963 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7964 (elmo-pop3-stream-type-alist): New variable.
7965 (elmo-nntp-stream-type-alist): New variable.
7967 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7968 (elmo-kill-buffer): Ditto.
7969 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7970 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7971 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7972 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7973 (elmo-imap4-get-spec): Take into account
7974 `elmo-imap4-stream-type-alist'.
7976 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7978 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7979 (elmo-nntp-list-folders-get-cache): Ditto.
7981 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7983 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7984 character before 'uid'.
7986 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7988 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7990 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7992 * elmo-util.el (elmo-number-set-member): New function.
7993 (elmo-number-set-append-list): Ditto.
7994 (elmo-number-set-append): Ditto.
7996 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7997 Use `elmo-number-set-member'.
7998 (elmo-living-messages): Ditto.
7999 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8000 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8002 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8003 (elmo-imap4-add-to-cont-list): Abolished.
8004 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8005 instead of elmo-imap4-add-to-cont-list.
8007 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8008 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8010 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8012 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8014 * elmo-util.el (elmo-condition-parse-search-value):
8017 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8019 * elmo-util.el (elmo-condition-find-key-internal): New function.
8020 (elmo-condition-find-key): Ditto.
8022 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8023 (elmo-msgdb-search-internal): Ditto.
8024 (elmo-msgdb-search): Ditto.
8026 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8028 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8029 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8031 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8032 (elmo-nntp-search-primitive): Fixed problem when condition is
8035 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8037 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8038 (elmo-nntp-xhdr-p): New macro.
8039 (elmo-nntp-set-xhdr): Ditto.
8040 (elmo-nntp-parse-xhdr-response): New function.
8041 (elmo-nntp-retrieve-field): Ditto.
8042 (elmo-nntp-search-primitive): Ditto.
8043 (elmo-nntp-search): Implemented.
8045 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8047 * elmo-archive.el (elmo-archive-search): Set all number list to
8048 `elmo-archive-field-condition-match'
8050 * elmo-localdir.el (elmo-localdir-search): Likewise.
8052 * elmo-maildir.el (elmo-maildir-search): Likewise.
8054 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8056 * elmo-msgdb.el (elmo-living-messages): New function.
8057 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8058 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8059 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8060 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8061 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8062 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8063 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8064 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8065 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8066 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8067 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8069 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8071 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8073 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8075 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8077 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8078 arguments for `SEARCH' command.
8079 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8080 All other related portions are changed.
8082 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8084 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8085 (elmo-list-folder-unread): Rewrite.
8086 (elmo-list-folder-important): Ditto.
8088 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8089 (elmo-condition-parse-error): New inline function.
8090 (elmo-read-search-condition): New function.
8091 (elmo-read-search-condition-internal): Ditto.
8092 (elmo-parse-search-condition): Rewrite.
8093 (elmo-condition-parse): New function.
8094 (elmo-condition-parse-or-expr): Ditto.
8095 (elmo-condition-parse-and-expr): Ditto.
8096 (elmo-condition-parse-primitive): Ditto.
8097 (elmo-condition-parse-search-value): Ditto.
8098 (elmo-buffer-field-primitive-condition-match): Ditto.
8099 (elmo-buffer-field-condition-match): Rewrite.
8100 (elmo-file-field-condition-match): Ditto.
8102 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8103 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8105 * elmo-internal.el (elmo-internal-search): Set `number' and
8106 `number-list' argument of `elmo-file-field-condition-match'.
8108 * elmo-maildir.el (elmo-maildir-search): Ditto.
8110 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8111 `msgdb' as argument instead of `mark-alist'.
8112 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8115 * elmo-multi.el: Likewise.
8117 * elmo-pipe.el: Likewise.
8119 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8120 (elmo-imap4-search-internal): Rewrite.
8121 (elmo-imap4-search): Ditto.
8123 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8124 (elmo-filter-list-folder-unread): Ditto.
8125 (elmo-filter-list-folder-important): Ditto.
8126 (elmo-filter-search): Rewrite.
8128 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8129 `number-list' argument of `elmo-file-field-condition-match'.
8130 (elmo-cache-search): Ditto.
8132 * elmo-localdir.el: Likewise.
8134 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8135 number-list and pass it to `elmo-buffer-field-condition-match'.
8136 (elmo-archive-field-condition-match): Pass `number-list' to
8137 `elmo-archive-field-condition-match'
8139 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8141 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8144 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8145 (elmo-folder-diff-async-callback-data): Ditto.
8146 (elmo-folder-diff-async): New function.
8148 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8149 (elmo-network-session-cache-key): Use it as a prefix of the session
8151 (elmo-network-open-session): Ditto.
8153 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8154 (elmo-imap4-status-callback-data): Ditto.
8155 (elmo-imap4-server-diff-async-callback): New variable.
8156 (elmo-imap4-server-diff-async-callback-data): Ditto.
8157 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8158 `elmo-imap4-status-callback-data'.
8159 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8160 `elmo-imap4-status-callback-data' as nil.
8161 (elmo-imap4-server-diff): Ditto.
8162 (elmo-imap4-server-diff-async-callback-1): New function.
8163 (elmo-imap4-server-diff-async): Ditto.
8164 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8166 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8168 * elmo-util.el (elmo-list-delete): Doc fix.
8169 (elmo-delete-lists): Abolish.
8170 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8171 instead of `elmo-delete-lists'.
8173 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8175 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8178 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8180 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8181 `elmo-imap4-literal-subr'.
8182 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8183 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8185 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8187 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8188 (elmo-archive-list-folder): Fix.
8189 (elmo-archive-max-of-folder): Fix.
8191 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8193 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8194 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8195 (elmo-localdir-append-msg): Ditto.
8196 (elmo-localdir-list-folder): Fix for `nonsort'.
8197 (elmo-localdir-list-folder-subr): Fix for `killed'.
8198 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8199 (elmo-maildir-list-folder-subr): Ditto.
8200 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8201 (elmo-archive-list-folder-subr): Ditto.
8202 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8203 (elmo-internal-list-folder-subr): Ditto.
8205 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8207 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8209 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8211 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8213 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8215 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8216 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8218 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8220 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8221 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8223 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8225 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8227 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8228 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8229 before STORE command.
8231 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8233 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8235 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8236 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8238 (elmo-imap4-list-folders): Removed unused local variable.
8239 (elmo-network-initialize-session): Ditto.
8240 (elmo-imap4-delete-msg-by-id): Ditto.
8241 (elmo-imap4-parse-fetch): Ditto.
8242 (elmo-imap4-copy-msgs): Ditto.
8243 Use `dst-spec' instead of `dst-folder'.
8244 (elmo-network-authenticate-session): Check authenticate type `plain'.
8246 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8248 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8250 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8251 `elmo-imap4-response-value'.
8252 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8254 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8256 * elmo-imap4.el (elmo-imap4-send-command):
8257 Cause elmo-imap4-bye-error when current response is BYE.
8258 (elmo-imap4-arrival-filter): Changed greeting response value.
8260 * elmo2.el (elmo-imap4-bye-error): Define.
8262 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8263 (elmo-imap4-server-diff): Ditto.
8264 (elmo-imap4-response-bye-p): New macro.
8265 (elmo-imap4-response-error-text): Get text from BYE response.
8266 (elmo-imap4-read-response): Return if BYE response.
8267 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8268 (elmo-imap4-folder-exists-p): Ditto.
8269 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8270 (elmo-imap4-parse-bye): New function.
8271 (elmo-imap4-parse-response): Remove needless let.
8272 Call `elmo-imap4-parse-bye'.
8274 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8276 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8277 the mailbox does not exist.
8278 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8280 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8282 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8284 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8286 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8288 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8289 (elmo-network-initialize-session-buffer): Defined.
8291 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8293 (mmelmo-imap4-get-mime-entity): Rewrite.
8295 * elmo2.el (elmo-error): Capitalize error message.
8297 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8298 (elmo-network-session-buffer): New macro.
8299 (elmo-network-open-session): Use it.
8301 * elmo-imap4.el: Rewrite.
8303 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8305 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8307 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8309 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8310 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8311 (elmo-imap4-create-msgdb-from-overview-string): Use
8312 `elmo-msgdb-create-overview-from-buffer'.
8314 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8316 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8317 (elmo-imap4-default-hierarchy-delimiter): New variable.
8318 (elmo-imap4-list-folders): Use it.
8320 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8322 * elmo-net.el (elmo-network-open-session): Add user and
8323 stream-type for process-buffer name.
8325 * elmo-pop3.el (elmo-network-initialize-session): Call
8326 buffer-disable-undo.
8328 * elmo-imap4.el (elmo-network-initialize-session):
8329 Set current-buffer as an argument for `buffer-disable-undo'.
8331 * elmo-pop3.el (elmo-network-close-session): Don't use
8334 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8335 Set default as 'user.
8337 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8339 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8340 and `elmo-imap4-flush-connection'.
8342 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8343 (elmo-pop3-get-spec): Assume auth as symbol.
8344 (elmo-open-network-stream): Moved to `elmo-net'.
8346 * elmo-pop3.el (toplevel): Require 'elmo-net.
8347 Define `sasl-cram-md5' to silence byte compilier.
8348 (elmo-pop3-connection-cache) Abolished.
8349 (elmo-pop3-authenticator-alist) New variable.
8350 (elmo-pop3-session): Define.
8351 (elmo-pop3-connection-get-process): Abolished.
8352 (elmo-pop3-connection-get-buffer): Ditto.
8353 (elmo-pop3-close-connection): Ditto.
8354 (elmo-pop3-flush-connection): Ditto.
8355 (elmo-pop3-get-connection): Ditto.
8356 (elmo-pop3-get-session): New function.
8357 (Replacement for `elmo-pop3-get-connection').
8358 All other related modules are changed.
8359 (elmo-network-close-session): Define.
8360 (elmo-pop3-send-command): Abolished argument `buffer'.
8361 All other related modules are changed.
8362 (elmo-pop3-read-response): Likewise.
8363 (elmo-pop3-open-connection): Abolished.
8364 (elmo-pop3-auth-user): New function.
8365 (elmo-pop3-auth-apop): Ditto.
8366 (elmo-pop3-auth-cram-md5): Ditto.
8367 (elmo-pop3-auth-scram-md5): Ditto.
8368 (elmo-pop3-auth-digest-md5): Ditto.
8369 (elmo-network-initialize-session): Define.
8370 (elmo-network-authenticate-session): Ditto.
8371 (elmo-network-setup-session): Ditto.
8373 * elmo-imap4.el (toplevel): Require 'elmo-net.
8374 (elmo-imap4-session): Define.
8375 (elmo-imap4-connection-cache): Abolished.
8376 (elmo-imap4-password-key): Ditto.
8377 (elmo-imap4-flush-connection): Ditto.
8378 (elmo-imap4-get-connection): Ditto.
8379 All other related modules are changed.
8380 (elmo-imap4-get-session): New function
8381 (Replacement for `elmo-imap4-get-connection').
8382 (elmo-imap4-read-response): Abolished argument `buffer'.
8383 All other related modules are changed.
8384 (elmo-imap4-send-command): Likewise.
8385 (elmo-imap4-select-folder): Abolished.
8386 All other related modules are changed.
8387 (elmo-imap4-select-mailbox): New function.
8388 (Replacement for `elmo-imap4-select-folder').
8389 (elmo-imap4-auth-login): Simplify.
8390 (Assume current buffer as process buffer)
8391 (elmo-imap4-auth-cram-md5): Ditto.
8392 (elmo-imap4-auth-digest-md5): Ditto.
8393 (elmo-imap4-login): Ditto.
8394 (elmo-imap4-open-connection): Abolished.
8395 (elmo-imap4-open-connection-1): Abolished.
8396 (elmo-network-initialize-sessoin): Define.
8397 (elmo-network-authenticate-session): Ditto.
8398 (elmo-network-setup-session): Ditto.
8400 * elmo-net.el: New module.
8402 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8404 * elmo-util.el (elmo-define-error): New function.
8406 * elmo2.el (elmo-error): Define.
8407 (elmo-open-error): Define.
8408 (elmo-authenticate-error): Define.
8410 * elmo-imap4.el (elmo-imap4-error): Abolish.
8411 (elmo-imap4-error-type): Abolish.
8412 (elmo-imap4-error-process): Abolish.
8413 (elmo-imap4-error-message): Abolish
8414 (elmo-imap4-list-folders): Don't quote lambda.
8415 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8416 (elmo-imap4-parse-namespace): Ditto.
8417 (elmo-imap4-open-connection): Rewrite.
8418 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8419 (elmo-imap4-get-connection): Abolish local variable `result'.
8421 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8423 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8424 wrong-type-argument error when auth is nil.
8426 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8428 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8429 (elmo-default-nntp-stream-type): Ditto.
8430 (elmo-default-pop3-stream-type): Ditto.
8431 (elmo-network-stream-type-alist): Ditto.
8432 (elmo-default-imap4-ssl): Abolished.
8433 (elmo-default-nntp-ssl): Ditto.
8434 (elmo-default-pop3-ssl): Ditto.
8436 * elmo-util.el: (toplevel): Removed needless requires.
8437 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8438 (elmo-open-network-stream): Open network stream according to
8439 the value of `elmo-network-stream-type-alist'.
8440 (elmo-get-network-stream-type): New function.
8441 (elmo-network-stream-type-spec-string): New macro.
8442 (elmo-network-stream-type-symbol): Ditto.
8443 (elmo-network-stream-type-function): Ditto.
8445 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8446 network-stream-type. All other related portions are changed.
8447 (elmo-pop3-open-connection): Ditto.
8449 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8450 network-stream-type. All other related portions are changed.
8452 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8453 network-stream-type.All other related portions are changed.
8454 (elmo-imap4-error): New macro.
8455 (elmo-imap4-error-type): Ditto.
8456 (elmo-imap4-error-process): Ditto.
8457 (elmo-imap4-error-message): Ditto.
8458 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8459 (elmo-imap4-auth-cram-md5): Ditto.
8460 (elmo-imap4-auth-digest-md5): Ditto.
8461 (elmo-imap4-login): Ditto.
8462 (elmo-imap4-open-connection): Remove password entry if authentication
8464 (elmo-imap4-user-at-host): Abolished.
8465 (elmo-imap4-password-key): New buffer local variable.
8466 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8467 using protocol, port, auth and stream-type.
8469 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8471 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8473 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8475 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8477 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8478 (elmo-imap4-authenticator-alist): New variable.
8479 (elmo-imap4-open-connection-1): Rename from
8480 elmo-imap4-open-connection.
8481 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8482 only wraps elmo-imap4-open-connection-1.
8483 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8485 (elmo-imap4-auth-login): New function.
8486 (elmo-imap4-auth-cram-md5): New function.
8487 (elmo-imap4-auth-digest-md5): New function.
8488 (elmo-imap4-login): New function.
8490 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8492 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8495 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8497 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8499 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8501 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8503 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8505 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8506 for server responses, quote `*' regardless of where it appears.
8508 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8510 * elmo-maildir.el (elmo-maildir-commit): New alias.
8512 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8514 * elmo-util.el (elmo-display-progress):
8515 Use `progress-feedback-with-label'.
8517 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8519 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8520 (elmo-imap4-non-atom-char-regex): Ditto.
8521 (elmo-imap4-non-text-char-regex): Ditto.
8522 (elmo-imap4-literal-threshold): Ditto.
8523 (elmo-imap4-atom-p): New function.
8524 (elmo-imap4-quotable-p): Ditto.
8525 (elmo-imap4-nil): Ditto.
8526 (elmo-imap4-atom): Ditto.
8527 (elmo-imap4-quoted): Ditto.
8528 (elmo-imap4-literal-subr): Ditto.
8529 (elmo-imap4-literal): Ditto.
8530 (elmo-imap4-buffer-literal): Ditto.
8531 (elmo-imap4-string-subr): Ditto.
8532 (elmo-imap4-string): Ditto.
8533 (elmo-imap4-buffer-string): Ditto.
8534 (elmo-imap4-astring-subr): Ditto.
8535 (elmo-imap4-astring): Ditto.
8536 (elmo-imap4-buffer-astring): Ditto.
8537 (elmo-imap4-nstring): Ditto.
8538 (elmo-imap4-buffer-nstring): Ditto.
8539 (elmo-imap4-mailbox): New alias.
8540 (elmo-imap4-field-body): Ditto.
8541 (elmo-imap4-userid): Ditto.
8542 (elmo-imap4-password): Ditto.
8543 (elmo-imap4-format-quoted): New function.
8544 (elmo-imap4-send-command): Rewritten. Accept a list of command
8545 arguments and handle "atom", "quoted" and "literal" string here.
8546 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8547 `elmo-imap4-send-command'.
8548 (elmo-imap4-folder-exists-p): Likewise.
8549 (elmo-imap4-create-folder): Likewise.
8550 (elmo-imap4-delete-folder): Likewise.
8551 (elmo-imap4-rename-folder): Likewise.
8552 (elmo-imap4-max-of-folder): Likewise.
8553 (elmo-imap4-check-validity): Likewise.
8554 (elmo-imap4-sync-validity): Likewise.
8555 (elmo-imap4-server-diff): Likewise.
8556 (elmo-imap4-select-folder): Likewise.
8557 (elmo-imap4-copy-msgs): Likewise.
8558 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8559 (elmo-imap4-mark-set-on-msgs): Likewise.
8560 (elmo-imap4-read-part): Likewise.
8561 (elmo-imap4-read-msg): Likewise.
8562 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8563 `elmo-imap4-password' for `elmo-imap4-send-command'.
8564 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8565 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8566 `elmo-imap4-buffer-literal'.
8567 (elmo-imap4-append-msg): Likewise.
8569 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8570 `delete' for removing dead connection from the connection cache.
8571 Move deletion of the process buffer after that.
8572 (elmo-imap4-list): Change `defsubst' to `defun'.
8573 (elmo-imap4-commit): Make error message verbose.
8574 (elmo-imap4-search): Ditto.
8575 (elmo-imap4-list): Ditto.
8576 (elmo-imap4-select-folder): Ditto.
8577 (elmo-imap4-copy-msgs): Ditto.
8578 (elmo-imap4-delete-msg-by-id): Ditto.
8579 (elmo-imap4-append-msg-by-id): Ditto.
8580 (elmo-imap4-append-msg): Ditto.
8582 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8584 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8585 when dired is used on XEmacs.
8587 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8589 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8590 instead of `append'.
8591 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8592 `elmo-plugged-p' directly.
8593 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8594 of `elmo-plugged-p' directly.
8596 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8597 Eliminate unused variable. Use `memq' for checking a process status.
8598 Use `cons' instead of `append' for updating the connection cache.
8599 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8600 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8602 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8604 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8605 `elmo-imap4-read-point' exactly.
8607 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8608 the local variable `folder' to `mailbox'.
8609 Rename the argument `fld' to `folder'.
8611 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8613 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8614 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8616 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8618 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8619 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8620 (elmo-pop3-uidl-number-hash): Ditto.
8621 (elmo-pop3-size-hash): Ditto.
8622 (elmo-pop3-uidl-done): Ditto.
8623 (elmo-pop3-list-done): Ditto.
8624 (elmo-pop3-connection-get-process): New defmacro.
8625 (elmo-pop3-connection-get-buffer): Ditto.
8626 (elmo-pop3-close-connection): Delete buffer and process.
8627 (elmo-pop3-flush-connection): Don't delete buffer and process.
8628 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8629 Setup UIDL and size hash.
8630 (elmo-pop3-send-command-no-erase): Deleted
8631 (elmo-pop3-send-command): Added optional argument `no-erase'.
8632 (elmo-pop3-parse-uidl-response): New function.
8633 (elmo-pop3-parse-list-response): Set size hash.
8634 (elmo-pop3-list-location): New function.
8635 (elmo-pop3-list-by-uidl-subr): Ditto.
8636 (elmo-pop3-list-by-list): Ditto.
8637 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8638 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8639 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8640 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8641 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8643 (elmo-pop3-uidl-to-number): New function.
8644 (elmo-pop3-number-to-uidl): Ditto.
8645 (elmo-pop3-number-to-size): Ditto.
8646 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8647 Set number by use of uidl.
8648 (elmo-pop3-msgdb-create-message): Likewise.
8649 Set size, loc-alist in msgdb.
8650 (elmo-pop3-read-msg): Set number by use of uidl.
8651 Added optional argument `msgdb'.
8652 (elmo-pop3-delete-msg): Ditto.
8653 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8654 (elmo-pop3-commit): Close connection.
8656 * elmo-pipe.el (elmo-pipe-max-of-folder):
8657 Bind `elmo-pop3-use-uidl' as nil.
8658 (elmo-pipe-drain): Ditto.
8661 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8662 (elmo-msgdb-overview-entity-set-size): New defsubst.
8664 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8666 * elmo-vars.el (elmo-use-killed-list): New variable
8667 (Renamed from `elmo-nntp-use-killed-list').
8668 (elmo-nntp-use-killed-list): Eliminated.
8670 * elmo-msgdb.el (elmo-msgdb-expand-path):
8671 Changed expanding msgdb path for elmo-multi.
8673 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8674 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8675 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8676 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8677 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8678 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8679 (toplevel): Deleted time-stamp line.
8681 * elmo2.el (elmo-clear-killed ): Defined as function
8682 (Abolished defining as a backend function).
8683 All other related modules are changed.
8685 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8687 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8689 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8691 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8693 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8695 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8697 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8699 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8700 asynchronous folder check.
8702 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8704 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8705 `elmo-nntp-use-killed-list'.
8706 (elmo-nntp-list-folder): Use killed list.
8707 (elmo-nntp-max-of-folder): Ditto.
8708 (elmo-nntp-msgdb-create): Set killed list.
8710 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8712 * elmo2.el (elmo-clear-killed): New backend function.
8713 All other related modules are changed.
8715 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8717 * elmo-util.el (elmo-imap4-spec-folder): Use
8718 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8719 All callers changed.
8721 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8723 * mmelmo-2.el (initialize-instance):
8724 Use `mime-buffer-entity-buffer-internal' instead of
8725 `mime-entity-buffer'.
8727 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8728 (mime-entity-body): Implemented.
8729 (mime-goto-header-start-point): Deleted.
8730 (mime-goto-body-end-point): Ditto.
8731 (mime-entity-point-min): Ditto.
8732 (mime-entity-point-max): Ditto.
8733 (mime-entity-children): Ditto.
8734 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8735 instead of `mime-entity-buffer'.
8736 (mime-entity-header-buffer): Ditto.
8737 (mime-entity-body-buffer): Ditto.
8738 (mime-write-entity-content): Ditto.
8740 * pldap.el (ldap-static-if): New macro.
8741 (toplevel): Use it instead of `static-if'.
8743 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8745 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8746 included in `attrs' argument.
8748 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8750 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8752 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8753 (ldap-ldif-safe-init-char-regexp): Ditto.
8754 (ldap-ldif-safe-string-regexp): Ditto.
8755 (ldap/ldif-safe-string-p): New macro.
8756 (ldap/ldif-insert-field): Ditto.
8757 (ldap-modify): Use it.
8759 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8760 (ldap-decode-attribute): Decode only when `attr' is consp.
8761 (ldap-delete): Bind `ret'.
8762 (toplevel): Require 'cl at compile time.
8763 Removed (require 'poe) and (require 'std11).
8764 (pldap-version): Eliminated.
8765 (ldap-search-basic): Removed auth and dn binding.
8766 (ldap-ldif-field-name-regexp): New constant.
8767 (ldap-ldif-field-head-regexp): Ditto.
8768 (ldap-ldif-next-field-head-regexp): Ditto.
8769 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8770 (ldap/field-end): New function.
8771 (ldap/field-body): Use it.
8772 (ldap/collect-field): Ditto.
8773 (ldap-search-basic): Use `ldap/field-body'.
8775 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8777 * pldap.el (ldap-default-attribute-encoder): New user option.
8778 (ldap/field-body): Decode base64 string.
8779 (ldap/collect-field): Ditto.
8780 (ldap-encode-attribute): New function.
8781 (ldap-add-entries): Use it.
8782 (ldap-modify-entries): Ditto.
8783 (ldap-search-entries): Enclosed decoding function with
8784 `with-temp-buffer' and set as unibyte.
8785 (ldap-search-basic): Set process buffer as unibyte.
8787 * elmo-util.el (elmo-folder-identical-system-p):
8788 Eliminated name space checking.
8790 * pldap.el: New module.
8791 toplevel: Changed condition to detect built-in ldap feature.
8792 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8793 (ldap-add): Added error handling.
8794 (ldap-modify): Ditto.
8795 (ldap-delete): Ditto.
8797 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8799 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8800 Initialize local variables with `let'. Inline a temporary
8801 variable for the progress percentage. Sort `setq' to reduce
8802 function call in the while-loop.
8804 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8805 into the conditional branch.
8807 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8809 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8810 Move a conditional out of the while-loop.
8812 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8814 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8815 elmo-msgdb-overview-get-entity-by-number.
8816 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8819 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8821 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8822 the local variable for a packed number self descriptively.
8824 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8826 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8827 * elmo-localdir.el (elmo-localdir-pack-number): Use
8828 `elmo-msgdb-overview-get-entity' instead of
8829 `elmo-msgdb-overview-get-entity-by-number'.
8830 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8831 (elmo-msgdb-search-overview-entity): Removed.
8832 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8833 by message-id or number.
8834 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8835 instead of `elmo-msgdb-overview-get-entity-by-number'.
8837 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8839 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8840 non-nil, use hash table for overview.
8841 (elmo-hash-maximum-size): New variable.
8842 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8843 (elmo-msgdb-make-overview-hashtb): New function.
8844 (elmo-msgdb-clear-overview-hashtb): New function.
8845 (elmo-clear-hash-val): New macro.
8846 All other related modules are changed.
8848 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8850 * elmo2.el (elmo-move-msgs): If there's other message with
8851 same message-id, don't use cache.
8853 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8855 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8856 number is already packed.
8858 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8860 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8862 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8864 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8865 All other related modules are changed.
8867 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8869 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8870 of refiling failure on Maildir.
8872 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8874 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8875 decoded mime-charset with cache.
8876 (elmo-msgdb-overview-entity-get-from): Ditto.
8877 (elmo-msgdb-overview-entity-get-subject): Ditto.
8878 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8880 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8882 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8883 (elmo-remove-passwd): Fill password with 0 before erase.
8884 * elmo-vars.el (elmo-passwd-life-time): New variable.
8887 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8889 * elmo-cache.el (elmo-buffer-cache-add):
8890 Set message cache buffer as unibyte.
8892 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8894 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8897 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8899 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8900 when display is finished.
8901 (elmo-nntp-msgdb-create): Ditto.
8902 (elmo-nntp-groups-read-response): Ditto.
8903 (elmo-nntp-retrieve-headers): Ditto.
8904 (elmo-nntp-msgdb-create-message): Ditto.
8905 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8906 (elmo-pop3-msgdb-create-message): Ditto.
8908 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8910 * elmo-maildir.el (elmo-maildir-msgdb-create):
8911 Use `elmo-msgdb-sort-by-date'.
8913 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8915 * elmo2.el (elmo-read-msg-no-cache):
8916 Eliminated arguments after `outbuf'.
8917 Don't use cache even if it exists.
8918 (elmo-read-msg): Don't pass arguments after `outbuf' to
8919 `elmo-read-msg-no-cache'.
8921 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8923 * elmo-archive.el (elmo-archive-list-folders):
8924 Use `file-name-directory' if base folder does not exist.
8926 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8928 * elmo-archive.el (elmo-archive-list-folders): Don't use
8929 `file-name-directory'.
8931 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8933 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8934 If `force' is non-nil, try flushing all operation queues.
8936 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8938 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8941 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8943 * elmo-util.el (elmo-display-progress): Fixed.
8945 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8947 * elmo-util.el (elmo-display-progress): New function.
8948 All other related modules are changed.