1 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
3 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
4 start-number correctly.
5 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
6 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
8 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
10 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
11 (elmo-folder-initialize): Use it.
12 (elmo-global-flag-replace-referrer): New function.
14 * elmo.el (toplevel): Added autoload setting for
15 `elmo-global-flag-replace-referrer'.
16 (elmo-folder-rename): Rewrite the last change use
17 `elmo-global-flag-replace-referrer'.
19 * elmo-pipe.el (elmo-folder-rename): Call
20 `elmo-global-flag-replace-referrer'.
22 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
24 * elmo.el (elmo-folder-rename): Set meta data for global flags
27 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
29 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
31 (elmo-folder-close): Ditto.
32 (elmo-filter-folder-number-list-loaded-p): New function.
33 (elmo-filter-folder-number-list): Check whether loaded or not.
34 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
35 of `elmo-filter-folder-number-list-internal'.
36 (elmo-folder-delete-messages): Ditto.
37 (elmo-folder-length): Check whether number-list is loaded or not.
39 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
41 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
42 field `real field' into each element of list.
43 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
44 (elmo-msgdb-message-entity-field): Ditto.
45 (modb-entity-ml-info-real-fields): New function.
47 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
49 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
50 `elmo-msgdb-extra-fields'.
52 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
54 * elmo-util.el (elmo-passwd-alist-load): Move point to min
57 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
59 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
60 (elmo-global-flags-initialize): Ditto.
62 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
64 * elmo-archive.el (toplevel): Don't require emu, std11
67 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
70 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
72 * elmo.el (elmo-folder-confirm-appends): Display folder name.
74 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
76 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
79 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
81 * elmo-maildir.el (elmo-maildir-list-location): Reduce
82 `elmo-get-last-modification-time' call.
84 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
86 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
88 (elmo-maildir-set-mark): Ditto.
89 (elmo-maildir-delete-mark): Ditto.
91 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
93 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
94 optional argument `separators'.
96 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
98 * elmo.el (cache-changed): Abolish.
99 (status-changed): New signal.
100 (elmo-message-killed-p): New generic function and define for
102 (elmo-folder-recover-messages): Ditto.
103 (elmo-message-set-cached): Emit signal `status-changed' instead of
105 (elmo-message-status): New macro.
106 (elmo-message-status-folder): Ditto.
107 (elmo-message-status-number): Ditto.
108 (elmo-message-status-set-flags): Ditto.
109 (elmo-message-status-set-killed): Ditto.
110 (elmo-message-status-flags): New function.
111 (elmo-message-status-cached-p): Ditto.
112 (elmo-message-status-killed-p): Ditto.
114 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
115 `status-changed' instead of `cache-changed'.
116 (elmo-folder-recover-messages): Define.
117 (elmo-message-killed-p): Ditto.
119 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
120 `status-changed' instead of `cache-changed'.
122 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
123 (elmo-message-killed-p): Define.
124 (elmo-folder-recover-messages): Ditto.
126 * elmo-version.el (elmo-version): Up to 2.15.3.
128 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
130 * elmo-signal.el (elmo-signal-bindings): Use cons to append
132 (elmo-define-signal-handler): Add docstring.
133 (elmo-define-signal-filter): Ditto.
135 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
137 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
139 * elmo-util.el (elmo-flatten): Don't use recursive call.
141 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
143 (elmo-folder-message-make-temp-files): Use `number-to-string'
144 instead of `int-to-string'.
146 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
148 * elmo-search.el (elmo-folder-delete-messages): Define.
150 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
152 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
154 (elmo-mailing-list-count-spec-list): Ditto.
156 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
159 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
161 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
164 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
166 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
167 (elmo-mailing-list-count-spec-list): Ditto.
169 * elmo-util.el (elmo-map-until-success): New function.
170 (elmo-string-match-substring): Ditto.
171 (elmo-find-list-match-value): Ditto.
173 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
175 (modb-entity-extract-ml-info-from-subject): Ditto.
176 (modb-entity-extract-ml-info-from-return-path): Ditto.
177 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
178 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
179 (modb-entity-extract-ml-info-from-mailman): Ditto.
180 (modb-entity-extract-mailing-list-info-functions): Ditto.
181 (modb-entity-extract-mailing-list-info): Rewrite with
182 `elmo-find-list-match-value'.
184 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
186 * elmo-net.el (elmo-network-session-retry-count): New user option.
187 (elmo-network-session-buffer-name): New internal function.
188 (elmo-network-session-buffer-create): Ditto.
189 (elmo-network-open-session): Retry open network session
190 `elmo-network-session-retry-count' times.
192 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
194 * elmo-util.el (elmo-list-filter): Rewritten.
196 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
198 * elmo-util.el (elmo-string-member): Allow symbol element in list.
200 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
202 * elmo-search.el (elmo-make-search-engine): Use prefix
203 `elmo-search-' for require symbol instead of `else-'.
204 (elmo-search-engine-extprog): New class.
205 (elmo-search-engine-do-search): Remove nil from argument
206 list. Added argument pattern to evaluate element as function.
207 (elmo-search-engine-local-file): Derived from
208 `elmo-search-engine-extprog'.
209 (elmo-search-engine-create-message-entity): Check existance of file.
210 (elmo-search-engine-fetch-message): Ditto.
211 (elmo-search-namazu-index): Follow the API change.
212 (elmo-search-grep-target): Ditto.
214 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
216 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
217 characters of working buffer.
219 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
220 Does not bind `default-mime-charset'.
221 (elmo-msgdb-create-message-entity-from-buffer): Removed
222 unnecessary local bind.
224 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
226 (modb-entity-extract-mailing-list-info-functions): Added it.
228 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
230 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
231 when number and message-id are non-nil.
233 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
235 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
236 conditional steatment.
237 (elmo-pop3-auth-apop): Likewise.
238 (elmo-network-authenticate-session): Likewise.
240 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
242 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
243 symbol `fill-column'.
244 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
247 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
248 (elmo-decoded-field-body): Ditto.
250 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
252 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
253 `tokens' to `params'.
255 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
257 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
260 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
262 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
265 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
267 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
268 Set default value as nil.
269 (toplevel): Register search engines by
270 `elmo-search-register-engine' if there are not defined.
272 * elmo.el (autoload): Added autoload setting for
273 `elmo-search-register-engine'.
275 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
277 * elmo.el (toplevel): `[' is redefined as the prefix of the search
278 folder instead of nmz folder.
279 (elmo-nmz-default-index-path): Added obsolete variable setting.
280 (elmo-nmz-index-alias-alist): Ditto.
281 (elmo-nmz-use-drive-letter): Ditto.
283 * elmo-search.el (elmo-search-register-engine): New function.
285 * elmo-nmz.el: Removed.
287 * elmo-version.el (elmo-version): Up to 2.15.2.
289 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
291 * elmo-search.el: New file.
293 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
295 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
296 condition `larger' and `smaller'.
298 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
300 * elmo-util.el (elmo-safe-filename): Rewrite to replace
301 `"' (double quote) into "_Q_".
303 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
305 * elmo-net.el (elmo-net-quote-chars): Abolish.
306 (elmo-net-format-quoted): Ditto.
308 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
310 * elmo.el (elmo-get-folder-function): New variable.
311 (elmo-get-folder): New function.
312 (elmo-folder-rename): Call `elmo-make-folder' with specified
315 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
317 (elmo-split-subr): Ditto.
319 * elmo-multi.el (elmo-folder-initialize): Ditto.
321 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
323 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
324 (elmo-flag-get-folder): Ditto.
326 * elmo-filter.el (elmo-folder-initialize): Ditto.
328 * elmo-access.el (elmo-folder-initialize): Ditto.
329 (elmo-access-folder-update-children): Ditto.
331 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
332 (elmo-dop-queue-flush): Ditto.
333 (elmo-folder-append-buffer-dop-delayed): Ditto.
334 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
337 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
338 instead of `elmo-make-folder'.
339 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
340 destination folder instead of send `elmo-folder-rename-internal'.
342 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
343 slot of subfolder instead of create it.
345 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
347 * elmo-util.el (elmo-collect-separators): New function.
348 (elmo-collect-separators-internal): Ditto.
349 (elmo-collect-trail-separators): Ditto.
350 (elmo-parse-separated-tokens): Ditto.
351 (elmo-parse-separated-tokens-internal): Ditto.
352 (elmo-quote-syntactical-element): Ditto.
354 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
355 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
357 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
358 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
359 (elmo-nntp-folder-list-subfolders): Quote a user name.
361 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
362 (elmo-net-parse-network): Abolish.
363 (elmo-net-folder-set-parameters): New function.
364 (elmo-folder-initialize): Follow the above change.
366 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
367 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
368 (elmo-folder-list-subfolders): Use
369 `elmo-quote-syntactical-element' instead of
370 `elmo-net-format-quoted' to quote mailbox and user name.
372 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
374 * elmo-util.el (elmo-token-valid-p): New function.
375 (elmo-parse-token): Add optional argument `requirement'.
376 (elmo-parse-prefixed-element): Likewise.
378 * elmo-net.el (elmo-net-quote-chars): Renamed from
379 `elmo-net-quote-chars-regexp'.
380 (elmo-net-format-quoted): Add optional argument `extra-chars'.
382 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
383 by info document. Check token `uidl' is started an alphabet.
385 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
386 by info document. Check token `user' is started an alphabet.
388 * elmo-imap4.el (elmo-folder-initialize): Ditto.
389 (elmo-folder-list-subfolders): Quote user.
391 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
393 * elmo-util.el (elmo-quoted-specials-list): New constant.
394 (elmo-quoted-token): New function.
396 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
397 (elmo-net-format-quoted): New function.
398 (elmo-net-parse-network): Ditto.
399 (elmo-folder-initialize): Use it.
401 * elmo-nntp.el (elmo-folder-initialize): Use
402 `elmo-net-parse-network' to parse network specification instead of
403 `elmo-folder-initialize#elmo-net'.
405 * elmo-pop3.el (elmo-folder-initialize): Ditto.
407 * elmo-imap4.el (elmo-folder-initialize): Ditto.
408 (elmo-folder-list-subfolders): Quote folder name by
409 `elmo-net-format-quoted'.
411 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
413 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
414 (elmo-folder-search): Use it.
416 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
418 * modb-standard.el (modb-standard-loaded-message-id): Use
419 `elmo-msgdb-message-entity-field'.
421 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
423 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
426 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
428 * elmo-util.el (elmo-set-auto-coding): New function.
429 (elmo-object-load): Use it.
431 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
433 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
434 (elmo-time<): Define as alias of `elmo-time-less-p'.
435 (elmo-time-to-datevec): New function.
437 * elmo-date.el (elmo-time-to-days): New function.
439 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
441 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
444 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
446 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
449 * elmo-util.el (elmo-map-recursive): New function.
451 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
452 (modb-entity-encode-string-recursive): Ditto.
454 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
456 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
457 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
458 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
459 compare sequence number when last modified time is nil.
461 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
463 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
465 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
467 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
469 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
470 modification time of the file.
472 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
474 * elmo-util.el (elmo-condition-optimize): Discriminated against
475 preserved fields, extra fields and the other weight.
477 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
479 * modb-entity.el (initialize-instance): Define.
480 (modb-entity-handler-mime-charset): New internal function.
481 (modb-standard-entity-set-field): Use it.
482 (elmo-msgdb-message-entity-field): Ditto.
483 (elmo-msgdb-message-entity-field): Ditto.
485 * modb.el (elmo-msgdb-match-condition): Rewrite with
486 `elmo-condition-match'.
487 (elmo-msgdb-match-condition-primitive): New function.
489 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
490 arguments `flags' and `numbers'.
491 (elmo-msgdb-match-condition-primitive): Abolished (merged to
492 `elmo-msgdb-message-match-condition').
493 (modb-buffer-entity-handler): New class.
495 * elmo.el (elmo-folder-search): Optimize condition to use
496 `elmo-condition-optimize'.
497 (elmo-message-buffer-match-condition): New function.
498 (elmo-message-match-condition): Use
499 `elmo-message-buffer-match-condition' instead of
500 `elmo-buffer-field-condition-match'.
502 * elmo-util.el (elmo-condition-match): New function.
503 (elmo-condition-optimize): Ditto.
504 (elmo-buffer-field-primitive-condition-match): Abolish.
505 (elmo-buffer-field-condition-match): Ditto.
507 * elmo-archive.el (elmo-archive-field-condition-match): Use
508 `elmo-message-buffer-match-condition' instead of
509 `elmo-buffer-field-condition-match'.
511 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
513 * elmo-flag.el (elmo-global-flags-initialize): Check the
514 existence of the flag directory.
516 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
518 * elmo-access.el (elmo-folder-initialize): Call
519 `elmo-multi-connect-signals'.
521 * elmo-pipe.el (elmo-folder-close): Define.
523 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
526 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
529 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
532 * elmo-multi.el (elmo-message-entity): Don't use return value of
533 `elmo-message-entity-set-number'.
535 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
537 * modb.el (modb-generic): Added slot `mime-charset'.
539 * modb-standard.el (modb-standard): Added slot `overview-handler'.
540 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
541 and `modb-entity-handler-dump-parameters'.
542 (modb-standard-default-entity-handler): Abolish.
543 (elmo-msgdb-message-entity-handler): Save created handler by
546 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
547 (modb-entity-handler-list-parameters): New method.
548 (modb-entity-handler-equal-p): New function.
549 (modb-entity-handler-dump-parameters): Ditto.
550 (modb-entity-parse-address-string): Encode return value.
551 (modb-entity-make-address-string): Decode argument value.
552 (modb-entity-decode-string-recursive): New function.
553 (modb-entity-encode-string-recursive): Ditto.
554 (modb-standard-entity-normalizer): Set to encode field value.
555 (modb-standard-entity-specializer): Follow the above change.
556 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
557 mime-charset of handler.
558 (elmo-msgdb-message-entity-field): Ditto.
559 (elmo-msgdb-copy-message-entity): Fixed reference to internal
561 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
563 * elmo.el (elmo-folder): Added slot `mime-charset'.
564 (elmo-make-folder): Added argument `mime-charset'.
565 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
568 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
569 (elmo-make-msgdb): Likewise.
571 * elmo-internal.el (elmo-internal-folder-initialize): Call
572 `luna-make-entity' with :mime-charset parameter.
574 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
576 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
577 encoded words in `from' and `subject' field.
579 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
581 * modb.el (elmo-msgdb-message-field): Add argument `type'.
582 (elmo-msgdb-match-condition): Get handler from entity instead of
585 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
586 (modb-standard-load-entity): Treat new file format.
587 (modb-standard-save-entity-1): Save as new file format.
588 (modb-standard-save-entity): Split messages into section here.
589 (elmo-msgdb-message-field): Follow the API change.
590 (modb-standard-default-entity-handler): New internal variable.
591 (elmo-msgdb-message-entity-handler): Define.
593 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
595 (modb-entity-field-extractor-alist): New user option.
596 (elmo-msgdb-message-entity-field): Removed argument `decode' and
597 added argument `type'.
598 (elmo-msgdb-copy-message-entity): Add optional argument
600 (modb-set-field-converter): New function.
601 (modb-convert-field-value): Ditto.
602 (modb-entity-string-decoder): Ditto.
603 (modb-entity-string-encoder): Ditto.
604 (modb-entity-parse-date-string): Ditto.
605 (modb-entity-make-date-string): Ditto.
606 (modb-entity-mime-decoder): Ditto.
607 (modb-entity-mime-encoder): Ditto.
608 (modb-entity-address-list-decoder): Ditto.
609 (modb-entity-address-list-encoder): Ditto.
610 (modb-entity-parse-address-string): Ditto.
611 (modb-entity-make-address-string): Ditto.
612 (modb-entity-create-field-indices): Ditto.
613 (modb-legacy-entity-field-slots): New constant.
614 (modb-legacy-entity-field-indices): Ditto.
615 (modb-legacy-entity-normalizer): New variable.
616 (modb-legacy-entity-specializer): Ditto.
617 (modb-legacy-entity-field-index): New macro.
618 (modb-legacy-entity-set-field): New function.
619 (modb-legacy-make-message-entity): Rewrite.
620 (elmo-msgdb-create-message-entity-from-buffer): Use
621 `elmo-msgdb-get-references-from-buffer'. Use
622 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
623 Use `modb-legacy-entity-set-field' instead of
624 `elmo-msgdb-message-entity-set-field'.
625 (elmo-msgdb-message-entity-field): Rewrite.
626 (elmo-msgdb-message-entity-set-field): Ditto.
627 (elmo-msgdb-copy-message-entity): Make new entity by
628 `make-handler' if it specified.
629 (elmo-msgdb-message-match-condition): Define a method of
630 `modb-entity-handler' and follow the API change.
631 (modb-standard-entity-handler): New class.
632 (modb-entity-extract-ml-info-from-x-sequence): New function.
633 (modb-entity-extract-ml-info-from-subject): Ditto.
634 (modb-entity-extract-ml-info-from-return-path): Ditto.
635 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
636 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
637 (modb-entity-extract-mailing-list-info): Ditto.
638 (modb-entity-extract-mailing-list-info-functions): New variable.
640 * elmo.el (elmo-message-field): Add optional argument `type'.
642 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
643 from `modb-entity.el'.
645 * elmo-util.el (elmo-object-load): Decode by coding-system from
646 `set-auto-coding-function'.
647 (elmo-object-save): Use `detect-mime-charset-region' and add
648 coding cookie if encode.
649 (elmo-msgdb-get-references-from-buffer): New function.
650 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
652 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
654 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
655 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
656 instead of `shimbun-make-header' and follow the API change.
657 (elmo-shimbun-update-overview): Follow the API change.
658 (elmo-map-folder-list-message-locations): Ditto.
660 * elmo-pipe.el (elmo-message-field): Ditto.
662 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
665 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
667 * elmo-multi.el (elmo-message-field): Ditto.
669 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
670 (elmo-msgdb-sort-by-date): Ditto.
671 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
672 `elmo-message-entity-field'.
673 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
675 (elmo-msgdb-overview-entity-get-from): Ditto.
676 (elmo-msgdb-overview-entity-get-subject): Ditto.
677 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
678 (elmo-msgdb-overview-entity-get-date): Ditto.
679 (elmo-msgdb-overview-entity-get-to): Ditto.
680 (elmo-msgdb-overview-entity-get-cc): Ditto.
682 * elmo-mime.el (elmo-message-mime-entity): Ditto.
683 (elmo-mime-collect-message/partial-pieces): Ditto.
685 * elmo-filter.el (elmo-message-field): Ditto.
687 * elmo-date.el (elmo-datevec-to-time): New function.
688 (elmo-time-parse-date-string): Ditto.
689 (elmo-time-make-date-string): Ditto.
692 * elmo-version.el (elmo-version): Up to 2.15.1.
694 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
696 * elmo-flag.el (elmo-global-flags-initialize): Don't include
697 member of elmo-local-flags.
699 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
701 * elmo-version.el (elmo-version): Up to 2.15.0.
703 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
705 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
706 `ignore-msgdb' is non-nil.
708 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
710 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
711 (elmo-condition-in-msgdb-p): Ditto.
712 (elmo-file-field-primitive-condition-match): Ditto.
713 (elmo-file-field-condition-match): Ditto.
715 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
717 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
719 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
721 (elmo-global-flags-initialize): New function.
723 * elmo.el (toplevel): Added autoload setting for
724 `elmo-global-flags-initialize'.
726 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
728 * elmo.el (message-number-changed): Define new signal.
729 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
730 message-number-changed signal.
731 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
732 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
733 Respect `elmo-pack-number-check-strict'.
735 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
737 * elmo-signal.el (elmo-connect-signal): Document.
738 (elmo-emit-signal): Ditto.
739 (elmo-emit-signal): It should pass source argument to filter and
740 handler, not slot-source.
742 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
744 * modb.el (elmo-msgdb-update-entity): New API and define generic
747 * modb-standard.el (elmo-msgdb-update-entity): Define.
749 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
750 API and define generic implement.
752 * elmo.el (update-overview): New singnal.
754 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
755 `elmo-msgdb-update-entity' and emit signal `update-overview'.
756 (elmo-message-entity-parent): Define.
758 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
761 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
763 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
765 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
767 * elmo.el (elmo-folder-synchronize): Sort the return value of
770 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
773 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
775 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
776 `default-enable-multibyte-characters'.
777 (elmo-object-load): Use `with-temp-buffer' instead of
779 (elmo-object-save): Ditto.
780 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
782 (elmo-decoded-field-body): Ditto.
784 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
786 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
787 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
789 * elmo-version.el (elmo-version): Up to 2.13.3.
791 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
793 * elmo-util.el (elmo-list-diff): Fix the last change.
794 Reverse order of result lists.
796 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
798 * modb-standard.el (elmo-msgdb-set-flag): Use
799 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
800 (elmo-msgdb-unset-flag): Ditto.
802 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
805 * elmo-util.el (elmo-list-diff): Rewrite.
806 (elmo-list-diff-nonsortable): New function.
808 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
810 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
811 `elmo-multibypte-buffer-name'. All referers are updated.
813 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
815 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
816 (elmo-mime-entity-fragment-p): New function.
817 (mime-elmo-buffer-entity): Added slot `reassembled'.
818 (elmo-message-mime-entity): Added 4th argument `reassemble'.
819 (elmo-message-mime-entity-internal): New function (renamed from
820 `elmo-message-mime-entity').
821 (elmo-mime-inherit-field-list-from-enclosed): New constant.
822 (elmo-mime-make-reassembled-mime-entity): New function.
823 (elmo-message-reassembled-mime-entity): Ditto.
824 (elmo-mime-collect-message/partial-pieces): Ditto.
826 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
828 * elmo.el (elmo-message-fetch-string): Disable multibyte.
830 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
831 (elmo-with-enable-multibyte): New macro.
833 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
835 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
837 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
839 (elmo-filter-connect-signals): Follow the above change.
841 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
843 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
845 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
846 that only the first flag is used.
848 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
850 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
853 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
855 * elmo-signal.el: New file.
857 * elmo.el (toplevel): Require elmo-signal.
858 (flag-changing, flag-changed, cache-changed): New signal.
859 (elmo-folder): Remove slog `handlers'.
860 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
861 `elmo-folder-notify-event'.
862 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
863 (elmo-folder-unset-flag): Ditto.
864 (elmo-event-handler): Abolish.
865 (elmo-event-handler-flag-changed): Ditto.
866 (elmo-event-handler-cache-changed): Ditto.
867 (elmo-folder-add-handler): Ditto.
868 (elmo-folder-remove-handler): Ditto.
869 (elmo-folder-notify-event): Ditto.
871 * elmo-pipe.el (toplevel): Require elmo-signal.
872 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
873 (elmo-pipe-connect-signals): New function.
874 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
875 (elmo-folder-set-flag): Ditto.
876 (elmo-folder-unset-flag): Ditto.
877 (elmo-message-set-cached): Ditto.
879 * elmo-multi.el (toplevel): Require elmo-signal.
880 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
881 (elmo-multi-connect-signals): New function.
882 (elmo-multi-map-numbers): Ditto.
883 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
884 (elmo-message-fetch): Ditto.
885 (elmo-folder-set-flag): Ditto.
886 (elmo-folder-unset-flag): Ditto.
888 * elmo-filter.el (toplevel): Require elmo-signal.
889 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
890 (elmo-filter-connect-signals): New function.
891 (elmo-filter-add-flag-count): Ditto.
892 (elmo-message-fetch): Does not call
893 `elmo-filter-folder-countup-message-flags' and
894 `elmo-folder-notify-event'.
895 (elmo-message-set-cached): Ditto.
896 (elmo-folder-set-flag): Ditto.
897 (elmo-folder-unset-flag): Ditto.
899 * elmo-version.el (elmo-version): Up to 2.13.2.
901 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
903 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
906 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
908 * elmo-filter.el (elmo-message-set-cached): Call
909 `elmo-folder-notify-event' with event `cache-changed'.
911 * elmo-multi.el (elmo-message-set-cached): Ditto.
913 * elmo-pipe.el (elmo-message-set-cached): Ditto.
915 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
917 * elmo.el (elmo-folder-encache): Abolish.
919 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
921 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
922 (elmo-folder-next-message-number-dop): Return appropriate negative
925 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
927 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
928 clearing pending operations.
929 (elmo-folder-next-message-number-dop): Return appropriate negative
932 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
934 * elmo.el (toplevel): Added autoload setting for `md5'.
935 (elmo-msgdb-path-encode-threshold): New user option.
936 (elmo-folder-msgdb-path): Encode msgdb path if its length is
937 longer than `elmo-msgdb-path-encode-threshold'.
939 * elmo-flag.el (elmo-global-mark-migrate): Use
940 `elmo-folder-expand-msgdb-path' instead of
941 `elmo-folder-msgdb-path'.
943 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
945 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
946 element of the difference is nil.
948 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
950 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
951 to the check logic of file systems which are weak in colon character.
953 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
955 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
957 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
959 * elmo-maildir.el (elmo-maildir-move-file): New function.
960 (elmo-folder-append-buffer): Use it.
961 (elmo-folder-append-messages): Ditto.
962 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
964 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
965 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
967 * elmo-maildir.el (elmo-maildir-separator): New user option.
968 (elmo-maildir-adjust-separator): New macro.
969 (elmo-maildir-list-location): Use it.
970 (elmo-maildir-update-current): Ditto.
971 (elmo-maildir-set-mark): Ditto.
972 (elmo-maildir-delete-mark): Ditto.
973 (These changes are based on Hiroya Murata's patch [wl: 13437])
975 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
977 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
979 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
981 * elmo-flag.el (elmo-flag-valid-p): Simplify.
982 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
983 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
985 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
987 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
988 Use `with-temp-buffer'.
990 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
992 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
994 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
995 `wl-read-search-condition').
996 (elmo-read-search-condition-internal): Likewise.
998 * elmo-flag.el (elmo-flag-char-regexp): New constant.
999 (elmo-flag-valid-p): New function.
1000 (elmo-folder-initialize): Check flag name is valid.
1002 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1004 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1005 delimiter to obtain root mailbox itself.
1007 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1009 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1012 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1014 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1017 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1019 * elmo-shimbun.el (toplevel): Require cl at compile.
1021 * elmo-nntp.el (toplevel): Ditto.
1023 * elmo-nmz.el (toplevel): Ditto.
1025 * elmo-multi.el (toplevel): Ditto.
1027 * elmo-file.el (toplevel): Ditto.
1029 * elmo-dop.el (toplevel): Ditto.
1031 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1033 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1035 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1038 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1039 size of elmo-message-fetch-internal is 0 byte.
1041 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1043 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1045 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1047 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1050 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1052 * elmo-maildir.el (elmo-map-message-fetch): Call
1053 `elmo-map-folder-set-flag'.
1055 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1056 (elmo-message-fetch): Merge from
1057 `elmo-message-fetch-with-cache-process'.
1059 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1060 (elmo-message-fetch): Define.
1062 * elmo-nntp.el (elmo-message-fetch): Renamed from
1063 `elmo-message-fetch-with-cache-process'.
1065 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1066 (elmo-message-fetch): Define.
1068 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1071 * elmo-shimbun.el (shimbun-mua-search-id): Use
1072 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1073 (elmo-shimbun-folder-shimbun-header): Ditto.
1074 (elmo-shimbun-get-headers): Ditto.
1075 (elmo-shimbun-update-overview): Ditto.
1077 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1079 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1080 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1082 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1084 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1086 (elmo-message-fetch-string): Fixed argument.
1088 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1090 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1091 exchange order of arguments `section' and `unread'.
1092 (elmo-message-encache): Follow the API change.
1093 (elmo-message-match-condition): Ditto.
1094 (elmo-generic-folder-append-messages): Ditto.
1095 (elmo-message-fetch-string): New function.
1097 * elmo-split.el (elmo-split-subr): Ditto.
1099 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1101 * elmo-pipe.el (elmo-message-fetch): Ditto.
1103 * elmo-multi.el (elmo-message-fetch): Ditto.
1105 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1107 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1109 * elmo-filter.el (elmo-message-fetch): Ditto.
1111 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1113 * elmo-imap4.el (mime-imap-location-section-body): Use
1114 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1115 follow the API change.
1117 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1119 * elmo-access.el: New file.
1121 * elmo-null.el: Ditto.
1123 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1125 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1127 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1128 (elmo-network-session): New attribute `last-accessed'.
1129 (elmo-network-get-session): Discard network cache if elapsed time
1130 since last-accessed is larger than elmo-network-session-idle-timeout.
1132 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1134 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1135 and added `number', `require-entireness'.
1136 (elmo-find-fetch-strategy): Rewrite.
1137 (elmo-message-fetch): Unset `unread' flag when argument unread is
1140 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1142 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1143 (elmo-message-fetch): Notify event `flag-changed'.
1145 * elmo-pipe.el: Likewise.
1147 * elmo-mime.el (elmo-mime-entity): New class.
1148 (elmo-mime-entity-display-p): New generic function.
1149 (elmo-mime-entity-display): Ditto.
1150 (elmo-mime-entity-display-as-is): Ditto.
1151 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1153 (elmo-make-mime-message-location): Removed.
1154 (elmo-mime-message-display): Ditto.
1155 (elmo-mime-display-as-is): Ditto.
1156 (elmo-message-mime-entity): New function.
1158 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1160 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1162 (elmo-message-fetch): Re-count flagged message number and notify
1163 event `flag-changed'.
1165 * elmo-version.el (elmo-version): Up to 2.13.1.
1167 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1169 * elmo-filter.el (elmo-message-field): Define.
1170 (elmo-message-set-field): Ditto.
1172 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1174 * elmo.el (elmo-message-set-cached): Call
1175 `elmo-folder-notify-event' with cache-changed.
1176 (elmo-event-handler-cache-changed): New generic function.
1178 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1180 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1181 instead of elmo-add-name-to-file.
1182 (elmo-folder-append-messages): Ditto.
1184 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1186 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1188 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1190 * elmo-version.el (elmo-version): Up to 2.13.0.
1192 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1195 * modb-standard.el (modb-standard-economize-entity-size): Changed
1196 default value to `t'.
1198 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1201 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1202 after parsing greeting string.
1204 2004-11-23 Daishi Kato <daishi@axlight.com>
1206 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1208 (elmo-spam-spamoracle-call): Use it.
1210 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1212 * elmo.el (elmo-message-accessible-p): Message in dop spool
1215 2004-11-23 Daishi Kato <daishi@axlight.com>
1217 * elsp-spamoracle.el: New file.
1219 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1221 * elmo.el (elmo-message-flags-for-append): New function.
1222 (elmo-generic-folder-append-messages): Use it.
1224 * elmo-split.el (elmo-split-subr): Ditto.
1226 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1227 `flags' and use elmo-folder-append-buffer instead of
1228 write-region-as-binary.
1229 (elmo-dop-filter-pending-messages): New function.
1230 (elmo-folder-append-buffer-dop): Call
1231 elmo-dop-spool-folder-append-buffer with `flag'.
1232 (elmo-folder-set-flag-dop): Filter messages by
1233 elmo-dop-filter-pending-messages.
1234 (elmo-folder-unset-flag-dop): Ditto.
1235 (elmo-folder-append-buffer-dop-delayed): Use
1236 elmo-message-flags-for-append to get flags of the message and
1239 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1241 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1243 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1245 * elmo.el (elmo-folder): Added handlers slot.
1246 (elmo-event-handler): New class.
1247 (elmo-event-handler-flag-changed): New API.
1248 (elmo-folder-add-handler): New function.
1249 (elmo-folder-remove-handler): Ditto.
1250 (elmo-folder-notify-event): Ditto.
1251 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1253 (elmo-folder-unset-flag): Ditto.
1255 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1256 (elmo-folder-unset-flag): Ditto.
1258 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1259 (elmo-folder-unset-flag): Ditto.
1261 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1262 (elmo-folder-unset-flag): Ditto.
1264 * elmo-version.el (elmo-version): Up to 2.11.33.
1266 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1268 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1270 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1272 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1274 * elmo-flag.el (elmo-folder-unset-flag): Define.
1275 (elmo-global-flag-detach): Do process when the flag is not target
1278 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1280 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1282 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1284 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1286 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1288 (elmo-folder-delete-messages): Detach messages before delete
1289 messages from target folder.
1290 (elmo-folder-detach-messages): Set updated number-list to slot.
1292 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1294 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1296 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1298 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1300 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1302 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1304 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1306 (elmo-folder-delete-messages): Define.
1307 (elmo-folder-move-messages): Don't call
1308 `elmo-folder-detach-messages'.
1309 (elmo-folder-synchronize): Rewrite.
1310 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1312 * elmo-util.el (elmo-last): New function.
1313 (elmo-set-list): Ditto.
1314 (elmo-number-set-delete-list): Ditto.
1315 (elmo-number-set-delete): Ditto.
1317 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1319 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1320 `elmo-folder-delete-messages' and don't delete location map.
1321 (elmo-folder-detach-messages): Define.
1323 * elmo-imap4.el (elmo-folder-delete): Use
1324 `elmo-folder-delete-messages-internal' instead of
1325 `elmo-folder-delete-messages'.
1327 * elmo-filter.el (elmo-folder-delete-messages): Call
1328 `elmo-folder-detach-messages'.
1329 (elmo-folder-detach-messages): Don't call
1330 `elmo-folder-detach-messages' for target folder.
1332 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1333 message deletion is succeeded.
1335 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1337 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1338 from `elmo-folder-delete-messages'.
1340 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1342 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1344 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1346 * elmo-version.el (elmo-version): Up to 2.11.32.
1348 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1350 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1351 (elmo-global-flag-list): Added obsolete variable setting.
1353 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1355 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1356 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1357 `elmo-mime-display-header-analysis' is nil.
1359 * elmo-flag.el (elmo-global-flags): Renamed from
1360 `elmo-global-flag-list' (All other related portions are changed).
1361 (elmo-local-flags): New variable.
1362 (elmo-local-flag-p): New function.
1363 (elmo-global-flag-set-internal): Cause an error when flag is not
1366 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1368 * elmo-util.el (elmo-concat-path): Treat empty path.
1370 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1372 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1374 (elmo-split-address-match): Ditto.
1375 (elmo-split-equal): Ditto.
1376 (elmo-split-match): Ditto.
1378 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1380 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1381 (elmo-generic-folder-append-messages): If src message exists but
1382 has no flag, pass (read) for the FLAG argument of
1383 `elmo-folder-append-buffer'. Otherwise, pass nil.
1385 * elmo-split.el (elmo-split-subr): Likewise.
1387 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1389 * elmo-multi.el (elmo-message-flags): Ditto.
1391 * elmo-filter.el (elmo-message-flags): Ditto.
1393 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1394 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1395 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1397 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1399 * elmo-split.el (elmo-split-rule): Update comment.
1400 (elmo-split-address-equal): Allow 2nd argument to be a list.
1401 (elmo-split-address-match): Ditto.
1402 (elmo-split-equal): Ditto.
1403 (elmo-split-match): Ditto.
1405 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1407 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1408 (elmo-folder-append-msgdb): Don't treat `read'.
1409 (elmo-message-flags): Don't return `read'.
1411 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1412 (elmo-folder-unset-read-delayed): Ditto.
1414 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1416 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1418 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1421 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1423 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1426 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1428 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1430 (elmo-msgdb-save): Bind inhibit-quit.
1431 (modb-standard-message-entity): Ditto.
1433 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1435 * elmo-database.el: No need to require elmo-msgdb.
1437 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1439 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1440 instead of `elmo-list-subdirectories'.
1442 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1444 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1446 (elmo-folder-exists-p): "[" is empty.
1447 (elmo-folder-list-subfolders): Define.
1448 (elmo-folder-have-subfolder-p): Ditto.
1450 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1452 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1454 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1456 * elmo-filter.el (elmo-folder-local-p): Define.
1458 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1460 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1461 when entity is garbaged.
1462 (modb-standard-save-entity-1): Don't modify the original entity.
1464 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1466 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1468 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1470 * elmo.el (elmo-strict-folder-diff): Use
1471 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1473 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1475 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1476 (elmo-msgdb-message-number): Ditto.
1477 (elmo-msgdb-message-field): Ditto.
1479 * modb-standard.el (modb-standard-economize-entity-size): New user
1481 (modb-standard-loaded-message-id): New inline function.
1482 (modb-standard-load-entity): Use it.
1483 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1484 throw message-id string away.
1485 (elmo-msgdb-flag-available-p): Define.
1486 (elmo-msgdb-message-number): Ditto.
1487 (elmo-msgdb-message-field): Ditto.
1489 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1490 (suppoted -> supported).
1491 (modb-legacy-supported-flag-p): Ditto.
1492 (elmo-msgdb-set-flag): Ditto.
1493 (elmo-msgdb-unset-flag): Ditto.
1494 (elmo-msgdb-flag-available-p): Define.
1496 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1497 is `t', treat it as legacy entity.
1499 * elmo.el (elmo-message-flag-available-p): New generic function.
1500 (elmo-message-number): Ditto.
1501 (elmo-message-field): Use `elmo-msgdb-message-field'.
1503 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1505 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1506 (elmo-message-number): Ditto.
1508 * elmo-multi.el (elmo-message-number): Define.
1509 (elmo-message-flag-available-p): Ditto.
1511 * elmo-filter.el (elmo-message-flag-available-p): Define.
1512 (elmo-message-number): Ditto.
1514 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1515 (elmo-folder-initialize): Load `max-number'.
1516 (elmo-folder-commit): Save it.
1517 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1518 (elmo-global-flag-set-internal): Set up max-number slot.
1520 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1522 * elmo-version.el (elmo-version): Up to 2.11.31.
1524 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1526 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1527 unibyte string of the current buffer for the argument of `md5'
1528 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1530 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1532 * modb-legacy.el (modb-legacy-flag-list): New constant.
1533 (modb-legacy-suppoted-flag-p): New internal function.
1534 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1535 (elmo-msgdb-unset-flag): Ditto.
1537 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1539 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1541 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1544 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1546 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1547 (follow the API change).
1549 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1551 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1553 * modb-standard.el (modb-standard-digest-flags): Abolish.
1554 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1556 * elmo-vars.el (elmo-digest-flags): New variable.
1557 (elmo-preserved-flags): Moved from elmo-flag.el.
1559 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1560 (elmo-imap4-flag-to-imap-criteria): Ditto.
1561 (elmo-imap4-folder-list-flagged): Use it.
1563 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1565 * elmo.el (elmo-folder-count-flags): Changed return value.
1567 * elmo-flag.el (elmo-preserved-flags): New variable.
1568 (elmo-get-global-flags): Use it.
1570 * modb-standard.el (modb-standard-digest-flags): New variable.
1571 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1572 Changed behavior of `any'.
1574 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1575 which are defined the Internet draft
1576 (draft-melnikov-imap-keywords-03.txt).
1577 (elmo-imap4-flags-to-imap): New function.
1578 (elmo-folder-append-buffer): Use it.
1580 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1583 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1584 avoid the bug of Emacs 21.3.
1586 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1588 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1589 function find-coding-system does not exist.
1591 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1593 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1596 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1598 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1601 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1603 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1604 (elmo-network-close-session): Follow the changes in
1605 `elmo-pop3-read-response'.
1606 (elmo-pop3-auth-user): Ditto.
1607 (elmo-pop3-auth-apop): Ditto.
1608 (elmo-network-initialize-session): Ditto.
1609 (elmo-network-authenticate-session): Ditto.
1610 (elmo-network-setup-session): Ditto.
1611 (elmo-folder-status): Ditto.
1612 (elmo-message-fetch-plugged): Ditto.
1613 (elmo-pop3-delete-msg): Ditto.
1615 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1617 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1620 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1622 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1624 (elmo-bind-directory): Ditto.
1626 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1628 * elmo.el (elmo-folder-append-messages): Note on return value.
1629 * elmo-archive.el (elmo-folder-append-messages): Don't return
1630 message numbers which could not be appended.
1632 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1634 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1636 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1638 * elmo-version.el (elmo-version): Up to 2.11.30.
1640 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1642 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1645 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1647 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1648 (elmo-multi-split-numbers): Add elmo-folder object into each
1649 element of return value at first.
1650 (elmo-folder-delete-messages): Follow the above change.
1651 (elmo-folder-detach-messages): Ditto.
1653 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1654 number which is synchronized in target folder.
1656 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1658 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1659 Change default value to symbol `all'.
1660 (elmo-map-message-fetch): Change condition to update overview
1663 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1665 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1666 behavior to update overview.
1667 (elmo-shimbun-update-overview-folder-list): Note it.
1669 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1671 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1674 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1676 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1677 buffer-disable-undo, it is unnecessary.
1678 (elmo-spam-register-good-messages): Ditto.
1680 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1683 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1685 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1687 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1688 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1689 elmo-set-buffer-multibyte.
1690 (elmo-object-load): Ditto.
1691 (elmo-save-buffer): Ditto.
1692 (elmo-delete-char): Ditto.
1693 (elmo-file-field-primitive-condition-match): Ditto.
1694 (elmo-mime-string): Ditto.
1696 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1697 (elmo-archive-field-condition-match): Ditto.
1699 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1701 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1703 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1704 (elmo-nntp-msgdb-create-message): Ditto.
1706 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1708 * elmo.el (elmo-message-match-condition): Ditto.
1709 (elmo-message-match-condition): Ditto.
1711 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1714 * elmo-version.el (elmo-version): Up to 2.11.29.
1716 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1717 (elsp-header): New backend.
1719 * elmo-util.el (elmo-decoded-field-body): New function.
1721 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1723 * elmo-version.el (elmo-version): Up to 2.11.28.
1725 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1727 * elmo-filter.el: Rewrite.
1729 * elmo-version.el (elmo-version): Up to 2.11.27.
1731 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1733 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1734 msgdb path for the localdir folder with absolute path.
1736 * utf7.el: Synch up with latest gnus/utf7.el;
1737 Modified for latest Emacs.
1739 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1741 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1742 shimbun backend couldn't open.
1744 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1746 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1747 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1748 when a destination folder is a filter folder.
1750 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1752 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1753 (elmo-generic-folder-append-messages): Call elmo-message-flags
1754 with argument `msgid'.
1756 * elmo-split.el (elmo-split-subr): Ditto.
1758 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1760 * elmo-multi.el (elmo-message-flags): Ditto.
1762 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1764 * elmo.el (elmo-folder): Add new slot `flag-table'.
1765 (elmo-folder-flag-table): New API.
1766 (elmo-folder-close-flag-table): Ditto.
1767 (elmo-folder-preserve-flags): New function.
1768 (elmo-generic-folder-append-messages): Use
1769 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1770 Flag of a non-registered message, it sets to nil.
1771 Does not set flag to flag-table.
1773 * elmo-maildir.el (elmo-folder-append-buffer): Use
1774 `elmo-folder-preserve-flags'.
1775 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1776 `elmo-folder-close-flag-table'.
1778 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1779 (elmo-archive-folder-append-buffer): Use
1780 `elmo-folder-preserve-flags'.
1782 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1784 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1786 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1787 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1788 `elmo-folder-close-flag-table'.
1790 * elmo-version.el (elmo-version): Up to 2.11.26.
1792 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1794 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1796 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1797 md5's 4th and 5th argument (non-existent in flim one).
1799 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1801 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1802 message, It sets to nil.
1804 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1806 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1809 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1811 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1813 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1815 * elmo-util.el (elmo-uniq-sorted-list): New function.
1816 (elmo-make-number-list): Ditto.
1817 (elmo-number-set-to-number-list): Use elmo-make-number-list
1818 and don't use nreverse.
1820 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1822 * elmo-version.el (elmo-version): Up to 2.11.25.
1824 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1826 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1827 field not exists in message, Use md5 message digest of header.
1829 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1831 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1832 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1833 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1834 * elmo-split.el (elmo-split-subr): Check return value of
1835 elmo-folder-append-buffer.
1837 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1838 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1840 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1843 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1845 * elmo-split.el (elmo-split-subr): Append message with flag.
1847 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1848 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1849 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1851 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1853 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1854 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1855 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1857 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1859 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1860 with a function call of `process-buffer'. All callers are updated.
1861 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1862 Remove redundant `set-buffer' in a while loop.
1864 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1866 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1869 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1871 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1872 elsp-spamfilter-register-buffer-internal with current buffer.
1873 (elmo-spam-register-spam-buffer): Ditto.
1874 (elmo-spam-register-good-buffer): Ditto.
1876 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1878 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1879 if it is not contained in the response(A workaround for courier-imap).
1881 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1883 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1886 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1888 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1891 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1893 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1896 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1898 (elmo-msgdb-message-match-condition): Follow the change above.
1900 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1902 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1905 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1907 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1909 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1911 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1913 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1915 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1918 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1920 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1922 (elmo-file-command-argument): Undo last change for cygwin.
1923 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1925 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1927 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1929 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1930 value returned from elmo-file-find is nil.
1932 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1934 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1937 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1938 instead of insert-file-contents-as-binary.
1939 (elmo-message-set-field): New generic function.
1941 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1942 behavior change on `split-string'.
1944 * elmo-file.el (elmo-file-find): New function.
1945 (elmo-file-command): New user option.
1946 (elmo-file-command-argument): Ditto.
1947 (elmo-file-fetch-max-size): Ditto.
1948 (elmo-file-detect-format): New function.
1949 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1950 Use elmo-file-detect-format.
1951 (elmo-map-folder-list-message-locations): Don't treat directories.
1953 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1955 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1956 (elmo-passwd-alist-clear): Shred password before clear.
1957 (elmo-remove-passwd): Remove all mached pair.
1959 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1961 * elmo.el (elmo-folder-synchronize): Fix description of the return
1964 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1966 * elmo.el (elmo-message-fetch-bodystructure): New method.
1967 (elmo-message-fetch-bodystructure): Define default.
1969 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1970 elmo-message-fetch-bodystructure.
1971 (elmo-message-fetch-bodystructure): Define.
1973 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1975 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1977 * elmo-filter.el (elmo-message-folder): Define.
1979 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1981 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1982 elmo-delete-cr-buffer.
1984 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1986 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1988 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1990 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1991 type seems to be a text.
1993 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1995 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1996 (elmo-spam-register-good-buffer): Ditto.
1997 (elmo-spam-spamassassin-register-messages): Ditto.
1999 * elmo-util.el (elmo-string-member-ignore-case): Define with
2002 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2004 * elmo.el (elmo-folder-type): Undo last change.
2006 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2008 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2011 * elmo-file.el: New file.
2013 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2015 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2017 (elmo-spam-spamassassin-register-messages): New inline function.
2018 (elmo-spam-register-spam-messages): Define.
2019 (elmo-spam-register-good-messages): Ditto.
2021 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2024 * elmo.el (toplevel): Added autoload setting for
2025 `elmo-get-global-flags'.
2026 (elmo-message-has-global-flag-p): New function.
2027 (elmo-message-set-global-flags): Ditto.
2028 (elmo-folder-type): Improvement for name: format.
2030 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2031 availability of keyword flags.
2032 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2033 (elmo-folder-list-flagged-plugged): Renamed from
2034 elmo-folder-list-flagged-unplugged.
2035 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2036 accept any flag as keyword flag.
2037 (elmo-folder-set-flag-plugged): Accept keyword flags.
2038 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2040 * elmo-flag.el (elmo-get-global-flags): New function.
2042 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2045 * elmo-version.el (elmo-version): Up to 2.11.24.
2047 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2049 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2050 elmo-multiple-field-body instead of std11-field-body to check all
2053 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2055 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2058 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2060 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2061 unintern is unbound.
2063 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2065 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2066 Protect from infinite loop.
2068 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2070 * elsp-bogofilter.el
2071 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2072 (elmo-spam-bogofilter-register-messages): New internal function.
2073 (elmo-spam-register-spam-messages): Define.
2074 (elmo-spam-register-good-messages): Ditto.
2076 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2078 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2079 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2080 (elmo-spam-bogofilter-call): Fixed the last change.
2081 (elmo-spam-bogofilter-arguments): Ditto.
2083 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2084 Follow the options change of latest bogofilter.
2086 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2087 (elmo-spam-bogofilter-good-switch): Ditto.
2088 (elmo-spam-bogofilter-arguments-alist): New user option.
2089 (elmo-spam-bogofilter-debug): Ditto.
2090 (elmo-spam-bogofilter-call): Renamed from
2091 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2092 is non-nil, insert output in buffer for debug.
2093 (elmo-spam-bogofilter-arguments): New macro.
2094 (elmo-spam-buffer-spam-p): Use it.
2095 (elsp-bogofilter-register-buffer): Ditto.
2097 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2099 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2102 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2104 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2106 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2107 (elmo-spam-bsfilter-program): Set default value as full path for
2109 (elmo-spam-bsfilter-debug): New user option.
2110 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2111 non-nil, insert output in buffer for debug. Fix treating of
2114 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2116 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2117 `elmo-maildir-flag-specs' element instead of one.
2118 (elmo-map-folder-unset-flag): Ditto.
2119 (Reported by Ken Makimura <macky@astem.or.jp>)
2121 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2122 (elmo-folder-unset-flag-plugged): Ditto.
2124 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2126 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2127 to `reads' slot only if `in-msgdb' is nil.
2129 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2131 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2132 and complement argument list.
2134 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2136 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2137 instead of elmo-folder-list-flagged.
2139 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2141 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2143 * elsp-bsfilter.el: New file.
2145 * elmo-pipe.el (elmo-folder-list-unreads,
2146 elmo-folder-list-answereds,
2147 elmo-folder-list-importants,
2148 elmo-folder-flag-as-important,
2149 elmo-folder-unflag-important,
2150 elmo-folder-flag-as-read,
2151 elmo-folder-unflag-read,
2152 elmo-folder-flag-as-answered,
2153 elmo-folder-unflag-answered): Remove.
2154 (elmo-folder-set-flag): Define.
2155 (elmo-folder-unset-flag): Ditto.
2157 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2158 (elmo-folder-set-flag): Define.
2159 (elmo-folder-unset-flag): Ditto.
2160 (elmo-folder-list-unreads): Remove.
2161 (elmo-folder-list-flagged): Define.
2163 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2164 (elmo-folder-list-unreads,
2165 elmo-folder-list-importants,
2166 elmo-folder-list-answereds,
2167 elmo-folder-list-unreads-plugged,
2168 elmo-folder-list-importants-plugged,
2169 elmo-folder-list-answereds-plugged): Remove.
2170 (elmo-folder-list-flagged-plugged): New method.
2171 (elmo-folder-unflag-important,
2172 elmo-folder-flag-as-important,
2173 elmo-folder-unflag-read,
2174 elmo-folder-flag-as-read,
2175 elmo-folder-unflag-answered,
2176 elmo-folder-flag-as-answered,
2177 elmo-folder-flag-as-read-unplugged,
2178 elmo-folder-unflag-read-unplugged,
2179 elmo-folder-flag-as-important-unplugged,
2180 elmo-folder-unflag-important-unplugged,
2181 elmo-folder-flag-as-answered-unplugged,
2182 elmo-folder-unflag-answered-unplugged): Remove.
2183 (elmo-folder-set-flag): Define.
2184 (elmo-folder-unset-flag): Ditto.
2185 (elmo-folder-set-flag-unplugged): Ditto.
2186 (elmo-folder-unset-flag-unplugged): Ditto.
2188 * elmo-multi.el (elmo-folder-list-unreads,
2189 elmo-folder-list-answereds,
2190 elmo-folder-list-importants,
2191 elmo-folder-flag-as-important,
2192 elmo-folder-unflag-important,
2193 elmo-folder-flag-as-read,
2194 elmo-folder-unflag-read,
2195 elmo-folder-flag-as-answered,
2196 elmo-folder-unflag-answered): Remove.
2197 (elmo-folder-set-flag): Define.
2198 (elmo-folder-unset-flag): Ditto.
2200 * elmo-map.el (elmo-map-folder-unflag-important,
2201 elmo-map-folder-flag-as-important,
2202 elmo-map-folder-unflag-read,
2203 elmo-map-folder-flag-as-read,
2204 elmo-map-folder-unflag-answered,
2205 elmo-map-folder-flag-as-answered): Remove.
2206 (elmo-map-folder-set-flag): New method.
2207 (elmo-map-folder-unset-flag): Ditto.
2208 (elmo-map-folder-list-unreads,
2209 elmo-map-folder-list-importants,
2210 elmo-map-folder-list-answereds): Remove.
2211 (elmo-folder-list-flagged-internal): Define.
2212 (elmo-map-folder-list-flagged): New method.
2214 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2215 (elmo-map-folder-list-unreads,
2216 elmo-map-folder-list-importants,
2217 elmo-map-folder-list-flagged): Remove.
2218 (elmo-map-folder-list-flagged): Define.
2219 (elmo-map-folder-flag-as-important,
2220 elmo-map-folder-unflag-important,
2221 elmo-map-folder-flag-as-read,
2222 elmo-map-folder-unflag-read,
2223 elmo-map-folder-flag-as-answered,
2224 elmo-map-folder-unflag-answered): Remove.
2225 (elmo-maildir-set-mark-messages): New internal function.
2226 (elmo-map-folder-set-flag): Define.
2227 (elmo-map-folder-unset-flag): Ditto.
2229 * elmo.el (toplevel): Added autoload setting for
2230 `elmo-folder-list-global-flag-messages'.
2231 (elmo-folder-list-unreads,
2232 elmo-folder-list-importants,
2233 elmo-folder-list-answereds): Remove.
2234 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2235 Return a list whitch merged with messages have global flag.
2236 (elmo-folder-list-flagged-internal): New method.
2237 (elmo-folder-unflag-important,
2238 elmo-folder-flag-as-important,
2239 elmo-folder-unflag-read,
2240 elmo-folder-flag-as-read,
2241 elmo-folder-unflag-answered,
2242 elmo-folder-flag-as-answered): Remove.
2243 (elmo-folder-set-flag): New method.
2244 (elmo-folder-unset-flag): Ditto.
2245 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2246 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2248 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2249 (elmo-folder-list-unreads-plugged,
2250 elmo-folder-list-importants-plugged,
2251 elmo-folder-list-answereds-plugged,
2252 elmo-folder-list-flagged-unplugged,
2253 elmo-folder-unflag-important-plugged,
2254 elmo-folder-flag-as-important-plugged,
2255 elmo-folder-unflag-read-plugged,
2256 elmo-folder-flag-as-read-plugged,
2257 elmo-folder-unflag-answered-plugged,
2258 elmo-folder-flag-as-answered-plugged): Remove.
2259 (elmo-folder-set-flag-plugged,
2260 elmo-folder-unset-flag-plugged): Define.
2262 * elmo-flag.el (elmo-folder-initialize): Register to
2263 `elmo-global-flag-list' if flag is not global.
2264 (elmo-folder-append-messages): Set flag to source messages.
2266 * elmo-filter.el (elmo-filter-folder-list-unreads,
2267 elmo-folder-list-unreads,
2268 elmo-filter-folder-list-importants,
2269 elmo-folder-list-importants,
2270 elmo-folder-flag-as-read,
2271 elmo-folder-unflag-read,
2272 elmo-folder-flag-as-important,
2273 elmo-folder-unflag-important,
2274 elmo-folder-flag-as-answered,
2275 elmo-folder-unflag-answered): Remove.
2276 (elmo-folder-set-flag): Define.
2277 (elmo-folder-unset-flag): Ditto.
2279 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2280 elmo-folder-unflag-read-dop,
2281 elmo-folder-flag-as-important-dop,
2282 elmo-folder-unflag-important-dop,
2283 elmo-folder-flag-as-answered-dop,
2284 elmo-folder-unflag-answered-dop): Remove.
2285 (elmo-folder-set-flag-dop,
2286 elmo-folder-unset-flag-dop,
2287 elmo-folder-set-important-delayed,
2288 elmo-folder-unset-important-delayed,
2289 elmo-folder-set-read-delayed,
2290 elmo-folder-unset-read-delayed,
2291 elmo-folder-set-answered-delayed,
2292 elmo-folder-unset-answered-delayed): New function.
2293 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2294 (elmo-dop-queue-method-name-alist): Ditto.
2296 * elmo-version.el (elmo-version): Up to 2.11.23.
2298 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2300 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2302 * elsp-sa.el: New file.
2304 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2306 * modb-standard.el (modb-standard-message-entity): New function.
2307 (elmo-msgdb-message-entity): Use it.
2309 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2311 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2312 behavior when one-level is nil.
2314 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2316 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2318 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2320 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2322 (elmo-generic-folder-diff): Ditto.
2324 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2325 (elmo-folder-update-number): Ditto.
2327 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2328 (elmo-folder-next-message-number-dop): Ditto.
2330 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2332 * elmo-filter.el (elmo-folder-msgdb-create): Use
2333 `elmo-message-entity' and `elmo-message-flags' instead of
2334 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2336 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2338 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2341 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2343 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2345 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2347 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2349 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2351 * elmo-version.el (elmo-version): Up to 2.11.22.
2353 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2355 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2357 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2359 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2360 if the message dose not exist.
2362 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2364 * elmo-version.el (elmo-version): Up to 2.11.21.
2366 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2368 * modb-standard.el (toplevel): Don't require mime.
2370 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2372 * elsp-bogofilter.el (toplevel): Don't require path-util.
2373 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2374 (elmo-spam-bogofilter-header): Abolish.
2375 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2376 (elmo-spam-bogofilter-args): New user option.
2377 (elsp-bogofilter-call-bogofilter): New internal function.
2378 (elmo-spam-buffer-spam-p): Use it.
2379 (elsp-bogofilter-register-buffer): Renamed from
2380 `elmo-spam-bogofilter-register-buffer';
2381 Use `elsp-bogofilter-call-bogofilter'.
2382 (elmo-spam-register-spam-buffer): Follow the change above.
2383 (elmo-spam-register-good-buffer): Ditto.
2385 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2387 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2388 message-id is nil do nothing.
2390 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2392 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2394 (elmo-imap4-session): Removed use-flag slot.
2395 (elmo-imap4-session-select-mailbox): Undo last change.
2396 (elmo-folder-use-flag-p): Use
2397 elmo-imap4-disuse-server-flag-mailbox-regexp.
2399 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2401 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2402 (elmo-imap4-session-select-mailbox): Set it up.
2403 (elmo-folder-use-flag-p): Return value of use-flag slot.
2405 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2407 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2409 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2411 * modb-entity.el (elmo-message-entity-handler): Likewise.
2413 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2415 * elmo.el (toplevel): Remove setting of autoloding for
2416 elmo-global-flag-initialize.
2417 (elmo-init): Don't call elmo-global-flag-initialize.
2418 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2420 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2421 (elmo-global-mark-migrate): Don't call it.
2422 (elmo-global-mark-upgrade): Ditto.
2424 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2426 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2427 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2429 * elmo-vars.el (elmo-init-hook): New user option.
2431 * elmo.el (elmo-init): Run the elmo-init-hook.
2433 * elmo-flag.el (elmo-global-mark-migrate): New function.
2435 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2437 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2438 Undo last change (move to elmo-msgdb-unset-flag).
2439 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2442 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2444 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2446 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2447 (elmo-msgdb-unset-flag): Ditto.
2449 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2451 * elmo-split.el (elmo-split): Return split message count.
2453 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2455 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2458 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2460 * elmo.el (elmo-folder-unflag-important): Call
2461 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2464 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2466 (elmo-global-flag-detach): Delete the message from flag folder, if
2467 `delete-if-none' is a symbol `always'.
2469 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2471 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2472 `elmo-spam-spamfilter-decode-buffer'.
2473 (elsp-spamfilter-register-buffer-internal): New internal function.
2474 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2475 (elmo-spam-register-spam-buffer): Ditto.
2476 (elmo-spam-register-good-buffer): Ditto.
2478 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2480 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2481 (elmo-spam-register-spam-buffer): Follow the API change.
2482 (elmo-spam-register-good-buffer): Ditto.
2484 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2485 (elmo-split-spam-p): Added argument plist; Call
2486 `elmo-spam-buffer-spam-p' with new argument register.
2488 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2490 (elmo-spam-message-spam-p): Ditto.
2491 (elmo-spam-register-spam-buffer): Added optional argument
2493 (elmo-spam-register-good-buffer): Ditto.
2494 (elmo-spam-register-spam-messages): Ditto.
2495 (elmo-spam-register-good-messages): Ditto.
2497 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2499 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2500 register into good corpus.
2501 (elmo-spam-register-good-buffer): Fixed to register into bad
2504 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2506 * elmo-version.el (elmo-version): Up to 2.11.20.
2508 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2511 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2512 flag without depending on \Recent flag.
2514 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2516 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2517 (elmo-spam-modified-p): Defined.
2518 (elmo-spam-save-status): Set `modified' slot to nil.
2519 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2520 (elmo-spam-register-good-buffer): Ditto.
2522 * elmo-spam.el (elmo-spam-modified-p): New API.
2524 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2526 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2527 duplicate definition.
2529 * elmo-util.el (elmo-unfold-field-body): New function.
2530 (elmo-msgdb-get-message-id-from-buffer): Use it.
2532 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2533 Fixed the last change; Use elmo-unfold-field-body.
2535 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2537 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2540 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2542 * elmo-spam.el (elmo-spam-save-status): New API.
2544 * elsp-spamfilter.el: New file.
2546 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2548 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2550 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2552 * elmo-split.el (elmo-split-spam-p): New function.
2554 * elmo-spam.el: New file.
2556 * elsp-bogofilter.el: Ditto.
2558 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2560 * elmo.el (elmo-folder-next-message-number): New API.
2561 (elmo-folder-next-message-number): Define.
2562 (elmo-message-field): Don't check folder length.
2564 * elmo-net.el (elmo-folder-next-message-number): Define.
2565 (elmo-folder-next-message-number-unplugged): Define.
2567 * elmo-map.el (elmo-folder-next-message-number): Define.
2568 (elmo-folder-delete-messages): Clear hash value.
2570 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2572 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2573 (elmo-folder-delete-messages-dop-delayed): Always return t.
2575 * elmo-version.el (elmo-version): Up to 2.11.19.
2577 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2579 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2582 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2583 identical cons cell into the mark-alist and the hash table.
2585 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2587 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2588 elmo-folder-list-messages with argument `visible-only' as t.
2590 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2591 (elmo-folder-msgdb-create): Check the target folder.
2593 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2595 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2596 `permanentflag' instead of `flags'.
2597 (elmo-folder-open): Ditto.
2598 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2599 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2600 (elmo-folder-use-flag-p): Always return t.
2601 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2602 `permanentflags' does not exist.
2603 (elmo-folder-open): Ditto.
2605 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2607 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2609 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2611 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2612 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2614 (elmo-folder-open): Ditto.
2615 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2616 slot of the session includes the flag.
2617 (elmo-imap4-session-flag-available-p): New function.
2618 (elmo-imap4-folder-list-flagged): Ditto.
2619 (elmo-folder-list-unreads-plugged): Use it.
2620 (elmo-folder-list-importants-plugged): Ditto.
2621 (elmo-folder-list-answereds-plugged): Ditto.
2622 (elmo-imap4-search-internal-primitive): Ditto.
2623 (elmo-imap4-folder-list-any-plugged,
2624 elmo-imap4-folder-list-digest-plugged): Abolish.
2626 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2629 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2631 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2633 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2635 * elmo-util.el (elmo-get-hash-val): Simplify.
2636 (elmo-set-hash-val): Rewrite.
2638 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2640 * elmo.el (elmo-folder-list-messages): Append killed messages into
2641 result if `visible-only' is nil and `in-msgdb' is non-nil.
2643 * elmo-util.el (elmo-uniq-list): Added optional argument
2646 * modb.el (elmo-msgdb-flag-count): New API.
2648 * modb-standard.el (modb-standard): Added slot flag-count.
2649 (modb-standard-countup-flags): New function.
2650 (modb-standard-load-flag): Call it.
2651 (elmo-msgdb-append): Ditto.
2652 (elmo-msgdb-clear): Clear slot flag-count.
2653 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2654 (elmo-msgdb-unset-flag): Treat `all' flag and call
2655 modb-standard-countup-flags.
2656 (elmo-msgdb-flag-count): Define.
2657 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2658 (elmo-msgdb-delete-messages): Ditto.
2660 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2661 (elmo-msgdb-flag-count): Define.
2663 * elmo.el (elmo-folder-list-messages): Undo last change.
2664 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2665 (elmo-folder-kill-messages): Unset all flags to numbers.
2667 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2668 elmo-folder-kill-messages.
2670 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2671 (elmo-nntp-folder-delete-messages): Abolish.
2673 * elmo-version.el (elmo-version): Up to 2.11.18.
2675 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2677 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2678 (elmo-folder-kill-messages-range): New function.
2679 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2680 instead of elmo-folder-kill-messages-before.
2682 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2684 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2685 elmo-imap4-current-msgdb to decide entity handler.
2687 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2689 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2691 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2693 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2694 (elmo-msgdb-overview-entity-set-number,
2695 elmo-msgdb-overview-entity-get-references,
2696 elmo-msgdb-overview-entity-set-references,
2697 elmo-msgdb-overview-entity-get-from-no-decode,
2698 elmo-msgdb-overview-entity-get-from,
2699 elmo-msgdb-overview-entity-set-from,
2700 elmo-msgdb-overview-entity-get-subject,
2701 elmo-msgdb-overview-entity-get-subject-no-decode,
2702 elmo-msgdb-overview-entity-set-subject,
2703 elmo-msgdb-overview-entity-get-date,
2704 elmo-msgdb-overview-entity-set-date,
2705 elmo-msgdb-overview-entity-get-to,
2706 elmo-msgdb-overview-entity-get-cc,
2707 elmo-msgdb-overview-entity-get-size,
2708 elmo-msgdb-overview-entity-set-size,
2709 elmo-msgdb-overview-entity-get-extra,
2710 elmo-msgdb-overview-entity-set-extra,
2711 elmo-msgdb-overview-entity-get-extra-field,
2712 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2713 (elmo-msgdb-make-index): Use
2714 `elmo-msgdb-overview-entity-get-number-internal'.
2715 (elmo-msgdb-clear-index): Ditto.
2716 (elmo-msgdb-append-entity): Ditto;
2717 Use `elmo-msgdb-overview-entity-get-id-internal'.
2719 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2720 elmo-msgdb-overview-entity-set-number,
2721 elmo-msgdb-overview-entity-get-references,
2722 elmo-msgdb-overview-entity-set-references,
2723 elmo-msgdb-overview-entity-get-from-no-decode,
2724 elmo-msgdb-overview-entity-get-from,
2725 elmo-msgdb-overview-entity-set-from,
2726 elmo-msgdb-overview-entity-get-subject,
2727 elmo-msgdb-overview-entity-get-subject-no-decode,
2728 elmo-msgdb-overview-entity-set-subject,
2729 elmo-msgdb-overview-entity-get-date,
2730 elmo-msgdb-overview-entity-set-date,
2731 elmo-msgdb-overview-entity-get-to,
2732 elmo-msgdb-overview-entity-get-cc,
2733 elmo-msgdb-overview-entity-get-size,
2734 elmo-msgdb-overview-entity-set-size,
2735 elmo-msgdb-overview-entity-get-extra,
2736 elmo-msgdb-overview-entity-set-extra,
2737 elmo-msgdb-overview-entity-get-extra-field,
2738 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2739 and rewrote for backward compatibility.
2741 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2743 * elmo.el (elmo-message-entity-number,
2744 elmo-message-entity-set-number,
2745 elmo-message-entity-field,
2746 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2748 * elmo-msgdb.el (elmo-message-entity-number,
2749 elmo-message-entity-set-number,
2750 elmo-message-entity-field,
2751 elmo-message-entity-set-field): Moved from elmo.el.
2753 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2755 * elmo.el (toplevel): Changed definition orders.
2757 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2759 * modb.el (elmo-msgdb-search): New API .
2760 (elmo-msgdb-match-condition): Ditto.
2762 * modb-standard.el (elmo-msgdb-search): Define.
2764 * modb-legacy.el (elmo-msgdb-search): Ditto.
2766 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2767 from elmo-msgdb-match-condition-internal.
2769 * elmo.el (elmo-folder-search-fast): Abolish.
2770 (elmo-folder-search): Use elmo-msgdb-search and
2771 elmo-with-progress-display.
2773 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2776 * elmo.el (elmo-folder): Remove slot message-modified and
2778 (elmo-folder-set-message-modified): Abolish.
2779 (elmo-generic-folder-commit): Follow the change above.
2780 (elmo-folder-synchronize): Ditto.
2782 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2784 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2786 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2788 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2790 * modb-standard.el (modb-standard-make-message-entity,
2791 elmo-msgdb-make-message-entity,
2792 elmo-msgdb-create-message-entity-from-buffer,
2793 elmo-msgdb-message-entity-number,
2794 elmo-msgdb-message-entity-set-number,
2795 elmo-msgdb-message-entity-field,
2796 elmo-msgdb-message-entity-set-field,
2797 elmo-msgdb-copy-message-entity,
2798 elmo-msgdb-match-condition-internal): Remove.
2800 * modb-entity.el: New file (again).
2802 * modb.el (toplevel): Require modb-entity.
2803 (elmo-msgdb-message-entity-handler): New method.
2805 * modb-standard.el (modb-standard-entity-id): Use
2806 elmo-message-entity-handler.
2807 (modb-standard-load-entity): Ditto.
2808 (elmo-msgdb-append-entity): Ditto.
2809 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2811 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2812 elmo-msgdb-decoded-cache-hashtb,
2813 (modb-legacy-make-message-entity,
2814 elmo-msgdb-make-message-entity,
2815 elmo-msgdb-create-message-entity-from-buffer,
2816 elmo-msgdb-message-entity-number,
2817 elmo-msgdb-message-entity-set-number,
2818 elmo-msgdb-message-entity-field,
2819 elmo-msgdb-message-entity-set-field,
2820 elmo-msgdb-copy-message-entity,
2821 elmo-msgdb-match-condition-internal,
2822 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2824 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2825 (elmo-message-entity-set-number): Ditto.
2826 (elmo-message-entity-field): Ditto.
2827 (elmo-message-entity-set-field): Ditto.
2829 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2831 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2833 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2835 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2836 (elmo-nntp-msgdb-create-message): Ditto.
2838 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2839 (elmo-folder-msgdb-create): Add unread flag.
2841 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2843 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2845 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2847 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2849 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2850 elmo-msgdb-messge-entity-handler.
2851 * elmo-version.el (elmo-version): Up to 2.11.17.
2853 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2855 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2858 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2860 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2862 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2863 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2864 (elmo-msgdb-flag-table): Ditto.
2865 (elmo-msgdb-sort-by-date): Ditto.
2867 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2869 * modb-standard.el (toplevel): Require mime.
2870 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2871 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2872 elmo-msgdb-message-entity-number.
2873 (elmo-msgdb-append-entity): Ditto.
2874 (elmo-msgdb-create-message-entity-from-file): Remove.
2875 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2876 corresponds to the entity.
2877 (elmo-msgdb-message-entity-number): Do nothing currently.
2878 (elmo-msgdb-message-entity-field): Ditto.
2879 (elmo-msgdb-message-entity-set-field): Ditto.
2880 (elmo-msgdb-copy-message-entity): Ditto.
2881 (elmo-msgdb-match-condition-internal): Ditto.
2883 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2885 (elmo-msgdb-create-message-entity-from-file): Remove.
2887 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2889 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2891 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2893 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2895 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2896 (elmo-msgdb-message-entity-field): Ditto.
2897 (elmo-msgdb-message-entity-number): Ditto.
2899 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2901 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2902 Fixed how to set extra field into entity.
2903 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2906 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2907 Fixed how to set extra field into entity.
2908 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2911 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2913 * modb.el (elmo-message-entity-db): New function.
2914 (elmo-msgdb-make-message-entity): New API.
2915 (elmo-msgdb-message-entity-number): Ditto.
2916 (elmo-msgdb-message-entity-set-number): Ditto.
2917 (elmo-msgdb-message-entity-field): Ditto.
2918 (elmo-msgdb-message-entity-set-field): Ditto.
2919 (elmo-msgdb-copy-message-entity): Ditto.
2920 (elmo-msgdb-create-message-entity-from-file): Ditto.
2921 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2922 (elmo-msgdb-match-condition-internal): Ditto.
2924 * modb-standard.el (modb-legacy): Require modb-legacy.
2925 (modb-standard-make-message-entity): New inline function.
2926 (elmo-msgdb-make-message-entity): Define.
2927 (elmo-msgdb-create-message-entity-from-file): Ditto.
2928 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2929 (elmo-msgdb-message-entity-field): Ditto.
2930 (elmo-msgdb-message-entity-set-field): Ditto.
2931 (elmo-msgdb-copy-message-entity): Ditto.
2932 (elmo-msgdb-match-condition-internal): Ditto.
2934 * modb-legacy.el: Don't require modb-entity.
2935 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2936 (elmo-msgdb-match-condition-primitive): Ditto.
2937 (elmo-msgdb-get-decoded-cache): Ditto.
2938 (elmo-msgdb-overview-entity-get-id): Ditto.
2939 (elmo-msgdb-overview-entity-get-number): Ditto.
2940 (elmo-msgdb-overview-entity-set-number): Ditto.
2941 (elmo-msgdb-overview-entity-get-references): Ditto.
2942 (elmo-msgdb-overview-entity-set-references): Ditto.
2943 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2944 (elmo-msgdb-overview-entity-get-from): Ditto.
2945 (elmo-msgdb-overview-entity-set-from): Ditto.
2946 (elmo-msgdb-overview-entity-get-subject): Ditto.
2947 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2948 (elmo-msgdb-overview-entity-set-subject): Ditto.
2949 (elmo-msgdb-overview-entity-get-date): Ditto.
2950 (elmo-msgdb-overview-entity-set-date): Ditto.
2951 (elmo-msgdb-overview-entity-get-to): Ditto.
2952 (elmo-msgdb-overview-entity-get-cc): Ditto.
2953 (elmo-msgdb-overview-entity-get-size): Ditto.
2954 (elmo-msgdb-overview-entity-set-size): Ditto.
2955 (elmo-msgdb-overview-entity-get-extra): Ditto.
2956 (elmo-msgdb-overview-entity-set-extra): Ditto.
2957 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2958 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2959 (elmo-msgdb-number-load): Ditto.
2960 (elmo-msgdb-overview-load): Ditto.
2961 (elmo-msgdb-mark-load): Ditto.
2962 (elmo-msgdb-number-save): Ditto.
2963 (elmo-msgdb-mark-save): Ditto.
2964 (elmo-msgdb-overview-save): Ditto.
2965 (modb-legacy-make-message-entity): New inline function.
2966 (elmo-msgdb-insert-file-header): Ditto.
2967 (elmo-msgdb-make-message-entity): Define.
2968 (elmo-msgdb-create-message-entity-from-file): Ditto.
2969 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2970 (elmo-msgdb-message-entity-number): Ditto.
2971 (elmo-msgdb-message-entity-set-number): Ditto.
2972 (elmo-msgdb-message-entity-field): Ditto.
2973 (elmo-msgdb-message-entity-set-field): Ditto.
2974 (elmo-msgdb-copy-message-entity): Ditto.
2975 (elmo-msgdb-match-condition-internal): Ditto.
2977 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2978 (elmo-message-copy-entity): Rewrite.
2979 (elmo-message-entity-number): Ditto.
2980 (elmo-message-entity-set-number): Ditto.
2981 (elmo-message-entity-field): Use elmo-message-entity-db.
2982 (elmo-message-entity-set-field): Ditto.
2983 (elmo-message-field): Rewrite.
2985 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2987 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2989 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2990 elmo-message-entity-field.
2991 (elmo-shimbun-folder-shimbun-header): Ditto.
2992 (elmo-shimbun-entity-to-header): Ditto.
2993 (elmo-folder-msgdb-create): Ditto.
2994 (elmo-shimbun-msgdb-create-entity): Ditto;
2995 Use elmo-msgdb-create-message-entity-from-buffer.
2996 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2997 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2999 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3000 elmo-msgdb-create-message-entity-from-file and
3001 elmo-message-entity-field.
3003 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3004 elmo-message-entity-number.
3005 (elmo-pop3-msgdb-create-message): Use
3006 elmo-msgdb-create-message-entity-from-buffer,
3007 elmo-message-entity-set-field, elmo-message-entity-number and
3008 elmo-message-entity-set-number.
3010 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3011 the API change in elmo-msgdb-make-message-entity.
3012 (elmo-nntp-msgdb-create-message): Use
3013 elmo-msgdb-create-message-entity-from-buffer.
3015 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3016 elmo-message-entity-field and
3017 elmo-msgdb-create-message-entity-from-file.
3019 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3020 (elmo-msgdb-get-field): Abolish.
3021 (elmo-msgdb-get-number): Rewrite.
3022 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3023 (elmo-msgdb-flag-table): Ditto.
3024 (elmo-msgdb-get-last-message-id,
3025 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3026 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3027 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3028 (elmo-msgdb-create-overview-from-buffer,
3029 elmo-msgdb-overview-get-parent-entity): Abolish.
3031 * elmo-mime.el (elmo-mime-display-as-is): Use
3032 elmo-message-entity-field.
3034 * elmo-map.el (elmo-folder-pack-numbers): Use
3035 elmo-message-entity-set-number.
3037 * elmo-maildir.el (elmo-folder-msgdb-create):
3038 elmo-msgdb-create-message-entity-from-file instead of
3039 elmo-msgdb-create-overview-entity-from-file.
3041 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3043 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3044 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3046 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3047 elmo-messge-entity-field and elmo-message-entity-number.
3048 (elmo-imap4-fetch-callback-1): Call
3049 elmo-msgdb-create-message-entity-from-buffer instead of
3050 elmo-msgdb-create-overview-from-buffer.
3051 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3052 (elmo-find-fetch-strategy): Likewise.
3054 * elmo-flag.el (elmo-folder-msgdb-create): Call
3055 elmo-localdir-msgdb-create-entity with argument msgdb.
3057 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3058 and elmo-message-entity-set-number.
3060 * elmo-cache.el (elmo-folder-msgdb-create): Use
3061 elmo-message-entity-field.
3062 (elmo-folder-msgdb-create): Call
3063 elmo-msgdb-create-message-entity-from-file instead of
3064 elmo-msgdb-create-overview-entity-from-file.
3066 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3067 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3068 instead of elmo-msgdb-create-overview-from-buffer.
3069 (elmo-archive-msgdb-create-entity): Ditto.
3070 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3071 elmo-message-entity-field.
3072 (elmo-archive-parse-mmdf): Ditto.
3074 * modb-entity.el: Removed.
3076 * elmo-version.el (elmo-version): Up to 2.11.16.
3078 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3080 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3082 (elmo-folder-flag-as-answered): Ditto.
3084 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3086 * modb-standard.el: New file.
3088 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3089 elmo-msgdb-convert-type is `sync'.
3091 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3092 (elmo-msgdb-convert-type): New user option.
3094 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3095 (elmo-load-msgdb): Auto detect saved type.
3097 * elmo-version.el (elmo-version): Up to 2.11.15.
3099 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3101 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3103 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3104 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3105 with argument `delete-if-none' when dst-folder is 'null.
3107 * elmo-flag.el (elmo-folder-append-messages): Defined.
3108 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3110 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3112 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3114 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3116 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3117 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3118 (elmo-folder-commit): Ditto.
3120 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3122 * elmo-flag.el: New file.
3124 * elmo-mark.el: Removed.
3126 * modb-legacy.el (modb-legacy-new-mark,
3127 modb-legacy-unread-uncached-mark,
3128 modb-legacy-unread-cached-mark,
3129 modb-legacy-read-uncached-mark,
3130 modb-legacy-answered-cached-mark,
3131 modb-legacy-answered-uncached-mark,
3132 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3133 All other related portions are changed.
3135 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3136 (elmo-folder-list-messages-with-global-mark): Abolish.
3137 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3138 (elmo-folder-flag-as-important): Ditto.
3139 (elmo-folder-unflag-read): Ditto.
3140 (elmo-folder-flag-as-read): Ditto.
3141 (elmo-folder-unflag-answered): Ditto.
3142 (elmo-folder-flag-as-answered): Ditto.
3143 (elmo-message-encache): Return the cache path.
3144 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3145 (elmo-message-set-flag): Transitional implementation.
3146 (elmo-message-unset-flag): Ditto.
3147 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3148 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3149 (elmo-init): Call elmo-global-flag-initialize.
3150 (toplevel): Added autoload settings for elmo-flag.
3152 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3154 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3155 (elmo-file-cache-delete): Don't treat global-mark.
3157 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3159 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3161 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3162 `elmo-global-flags-set'.
3164 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3166 (elmo-folder-unflag-read): Ditto.
3167 (elmo-folder-unflag-important): Ditto.
3168 (elmo-folder-flag-as-important): Ditto.
3169 (elmo-folder-unflag-answered): Ditto.
3170 (elmo-folder-flag-as-answered): Ditto.
3172 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3173 `elmo-global-flags-set'.
3174 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3176 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3178 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3180 (elmo-folder-flag-as-important): Ditto.
3181 (elmo-folder-unflag-important): Ditto.
3182 (elmo-folder-flag-as-important): Ditto.
3183 (elmo-folder-unflag-read): Ditto.
3184 (elmo-folder-flag-as-read): Ditto.
3185 (elmo-folder-unflag-answered): Ditto.
3186 (elmo-folder-flag-as-answered): Ditto.
3188 * elmo-multi.el (elmo-folder-list-importants): Don't call
3189 elmo-folder-list-messages-with-global-mark.
3190 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3191 (elmo-folder-unflag-important): Ditto.
3192 (elmo-folder-flag-as-read): Ditto.
3193 (elmo-folder-unflag-read): Ditto.
3194 (elmo-folder-flag-as-answered): Ditto.
3195 (elmo-folder-unflag-answered): Ditto.
3197 * elmo-msgdb.el (elmo-msgdb-new-mark,
3198 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3199 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3200 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3201 (Moved to modb-legacy.el).
3202 (elmo-flag-table-get): Treat important flag too.
3204 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3206 (elmo-map-folder-flag-as-important): Ditto.
3207 (elmo-map-folder-unflag-read): Ditto.
3208 (elmo-map-folder-flag-as-read): Ditto.
3209 (elmo-map-folder-unflag-answered): Ditto.
3210 (elmo-map-folder-flag-as-answered): Ditto.
3211 (elmo-folder-unflag-important): Ditto.
3212 (elmo-folder-flag-as-important): Ditto.
3213 (elmo-folder-unflag-read): Ditto.
3214 (elmo-folder-flag-as-read): Ditto.
3215 (elmo-folder-unflag-answered): Ditto.
3216 (elmo-folder-flag-as-answered): Ditto.
3218 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3219 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3221 (elmo-map-folder-unflag-important): Ditto.
3222 (elmo-map-folder-flag-as-read): Ditto.
3223 (elmo-map-folder-unflag-read): Ditto.
3224 (elmo-map-folder-flag-as-answered): Ditto.
3225 (elmo-map-folder-unflag-answered): Ditto.
3227 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3228 `elmo-global-flags-set'.
3229 (elmo-global-flags-set): Added autoload setting.
3231 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3234 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3235 `elmo-msgdb-global-mark-set'.
3236 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3237 Call `elmo-global-flags-set'.
3238 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3240 (elmo-folder-flag-as-important-plugged): Ditto.
3241 (elmo-folder-unflag-read-plugged): Ditto.
3242 (elmo-folder-flag-as-read-plugged): Ditto.
3243 (elmo-folder-unflag-answered-plugged): Ditto.
3244 (elmo-folder-flag-as-answered-plugged): Ditto.
3245 (elmo-global-flags-set): Added autoload setting.
3247 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3249 (elmo-folder-unflag-read): Ditto.
3250 (elmo-folder-flag-as-important): Ditto.
3251 (elmo-folder-unflag-important): Ditto.
3252 (elmo-folder-flag-as-answered): Ditto.
3253 (elmo-folder-unflag-answered): Ditto.
3255 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3256 change of `mark'->`flag'.
3257 (elmo-dop-queue-method-name-alist): Ditto.
3258 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3259 (elmo-folder-unflag-read-dop): Ditto.
3260 (elmo-folder-flag-as-important-dop): Ditto.
3261 (elmo-folder-unflag-important-dop): Ditto.
3262 (elmo-folder-flag-as-answered-dop): Ditto.
3263 (elmo-folder-unflag-answered-dop): Ditto.
3265 * elmo-cache.el (elmo-folder-msgdb-create): Call
3266 `elmo-global-flags-set'.
3268 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3269 Call `elmo-global-flags-set'.
3270 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3271 elmo-archive-parse-mmdf with argument `folder'.
3272 (elmo-archive-parse-mmdf): Added argument `folder';
3273 Call `elmo-global-flags-set'.
3275 * elmo-version.el (elmo-version): Up to 2.11.14.
3277 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3279 * modb.el (elmo-msgdb-length): Define.
3281 * elmo.el (elmo-make-folder): Fixed.
3282 (elmo-generic-folder-append-messages): Follow the API change.
3284 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3287 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3289 * modb.el: New file.
3291 * modb-entity.el: Ditto.
3293 * modb-legacy.el: Ditto.
3295 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3296 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3297 of `elmo-msgdb-overview-get-entity'.
3298 (elmo-msgdb-get-field): Ditto.
3299 (elmo-msgdb-merge): Moved to `elmo.el'.
3300 (elmo-msgdb-length): Removed; redefine as modb method.
3301 (elmo-msgdb-change-mark): Abolish.
3302 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3303 (elmo-msgdb-match-condition): Don't use mark.
3304 (elmo-msgdb-overview-get-entity): Abolish.
3305 Split modb part into `modb*.el'.
3307 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3309 * elmo-shimbun.el (shimbun-mua-search-id): Use
3310 `elmo-msgdb-message-entity' instead of
3311 `elmo-msgdb-overview-get-entity'.
3312 (elmo-shimbun-folder-shimbun-header): Ditto.
3313 (elmo-shimbun-get-headers): Ditto.
3314 (elmo-shimbun-update-overview): Ditto.
3316 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3318 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3320 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3321 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3323 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3324 `elmo-msgdb-mark-to-flags'.
3326 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3327 `elmo-msgdb-set-path'.
3329 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3331 * elmo-version.el (elmo-version): Up to 2.11.13.
3333 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3335 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3338 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3340 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3343 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3345 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3346 instead of `elmo-msgdb-get-cached'.
3347 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3349 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3350 (elmo-msgdb-set-cached): Ditto.
3351 (elmo-msgdb-set-flag): Rewrite.
3352 (elmo-msgdb-unset-flag): Ditto.
3354 * elmo-msgdb.el: Rewrite with luna.
3356 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3357 (elmo-folder-msgdb): Follow the change above.
3358 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3359 (elmo-folder-unmark-important): Follow the API change.
3360 (elmo-folder-mark-as-important): Ditto.
3361 (elmo-folder-unmark-read): Ditto.
3362 (elmo-folder-mark-as-read): Ditto.
3363 (elmo-folder-unmark-answered): Ditto.
3364 (elmo-folder-mark-as-answered): Ditto.
3365 (elmo-folder-clear): Likewise.
3367 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3368 instead of `elmo-msgdb-load' (renamed).
3370 * elmo-version.el (elmo-version): Up to 2.11.12.
3372 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3374 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3376 (elmo-message-mark): Abolish.
3377 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3378 instead of `elmo-msgdb-change-mark'.
3380 * elmo-pipe.el (elmo-message-mark): Abolish.
3382 * elmo-multi.el (elmo-message-mark): Ditto.
3384 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3385 (elmo-msgdb-unread-uncached-mark): Ditto.
3386 (elmo-msgdb-unread-cached-mark): Ditto.
3387 (elmo-msgdb-read-uncached-mark): Ditto.
3388 (elmo-msgdb-answered-cached-mark): Ditto.
3389 (elmo-msgdb-answered-uncached-mark): Ditto.
3390 (elmo-msgdb-important-mark): Ditto.
3391 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3393 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3395 (elmo-flag-table-load): Changed flag to list of flag.
3396 (elmo-flag-table-set): If flags is nil, set read flag.
3397 (elmo-flag-table-get): Return derived flags from global mark,
3398 cache status and saved flags.
3399 (elmo-msgdb-flag-table): Follow the change above.
3400 (elmo-msgdb-out-of-date-messages): New function.
3402 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3404 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3406 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3408 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3409 (elmo-nntp-msgdb-create-message): Ditto.
3411 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3413 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3415 (elmo-folder-msgdb-create): Follow the API change.
3417 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3418 (elmo-folder-append-messages): Ditto.
3420 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3421 (elmo-folder-append-buffer): Ditto.
3423 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3425 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3427 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3428 (elmo-archive-parse-mmdf): Ditto.
3430 * elmo-version.el (elmo-version): Up to 2.11.11.
3432 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3434 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3437 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3439 * elmo-pipe.el (elmo-message-flags): Defined.
3441 * elmo-multi.el (elmo-message-flags): Ditto.
3443 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3445 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3446 `elmo-msgdb-delete-msgs'.
3448 * elmo.el (elmo-folder-count-flags): Don't use
3449 `elmo-msgdb-get-mark-alist'.
3450 (elmo-folder-detach-messages): Follow the API change.
3452 * elmo.el (elmo-folder-list-messages): Append killed messages into
3453 result if `visible-only' is nil.
3455 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3457 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3458 (elmo-folder-update-number): Likewise.
3460 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3461 (elmo-pop3-sort-msgdb-by-original-number): Use
3462 `elmo-msgdb-sort-entities'.
3464 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3465 (elmo-msgdb-sort-by-date): Use it.
3466 (elmo-msgdb-overview-sort-by-date): Abolish.
3468 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3470 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3471 (elmo-msgdb-flags): New function.
3472 (elmo-msgdb-merge): Use elmo-msgdb-append.
3474 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3477 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3479 * elmo-dop.el (elmo-folder-status-dop): Use
3480 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3482 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3484 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3486 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3488 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3490 * elmo-util.el (elmo-with-progress-display): New macro.
3492 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3494 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3496 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3497 `elmo-folder-list-message-entities' instead of
3498 `elmo-msgdb-get-overview'.
3499 (elmo-map-folder-list-message-locations): Ditto.
3501 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3502 methods instead of treat directly).
3503 (elmo-msgdb-clear): Ditto.
3504 (elmo-msgdb-delete-msgs): Ditto.
3505 (elmo-msgdb-sort-by-date): Ditto.
3507 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3509 (elmo-nntp-folder-msgdb-create): Follow the API change.
3511 * elmo-version.el (elmo-version): Up to 2.11.10.
3513 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3515 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3516 (elmo-msgdb-flags-to-mark): Ditto.
3517 (elmo-msgdb-append-entity): Ditto.
3519 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3520 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3521 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3522 (elmo-archive-parse-mmdf): Ditto.
3524 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3526 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3528 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3530 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3532 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3534 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3536 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3538 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3540 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3541 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3544 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3545 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3546 instead of directly construction.
3547 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3548 instead of construct msgdb.
3550 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3551 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3552 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3553 instead of construct msgdb.
3555 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3557 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3558 when field is from or subject.
3560 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3562 * elmo-multi.el (elmo-message-entity-parent): Define.
3563 (elmo-folder-search): Rewrite.
3565 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3567 * elmo-multi.el (elmo-message-cached-p): Define.
3569 * elmo.el (elmo-message-cached-p): New method.
3570 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3571 (elmo-message-flags): New method.
3572 (elmo-message-flagged-p): New function.
3574 * elmo-version.el (elmo-version): Up to 2.11.9.
3576 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3578 * elmo-version.el (elmo-version): Up to 2.11.8.
3580 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3582 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3584 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3586 * elmo.el (elmo-folder-detach-messages): Undo last change.
3588 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3590 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3592 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3593 only when src folder type is pop3.
3595 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3597 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3598 elmo-msgdb-overview-entity-get-number instead of
3599 elmo-message-entity-number.
3601 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3603 * elmo-version.el (elmo-version): Up to 2.11.7.
3605 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3607 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3610 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3611 (elmo-msgdb-merge): New function.
3612 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3613 (elmo-msgdb-make-index): Rewrite.
3615 * elmo-version.el (elmo-version): Up to 2.11.6.
3617 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3618 use it as a the path for loading message entities.
3620 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3622 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3624 * elmo-filter.el (elmo-folder-set-message-modified): Set
3625 message-modified slot of itself if it does not require target msgdb.
3627 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3628 if folder length is zero.
3629 (elmo-mime-display-as-is): Ditto.
3631 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3633 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3635 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3637 * elmo.el (elmo-folder-set-message-modified): New method.
3638 (elmo-generic-folder-commit): Use it.
3639 (elmo-folder-synchronize): Ditto.
3641 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3642 (elmo-folder-commit): Remove duplicate definition.
3644 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3646 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3648 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3650 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3651 (elmo-strict-folder-diff): Ditto.
3652 (elmo-folder-set-info-max-by-numdb): Simplify.
3654 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3655 elmo-msgdb-list-messages.
3657 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3658 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3660 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3662 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3663 visible-only is non-nil.
3664 (elmo-folder-confirm-appends): Changed message.
3665 (elmo-folder-synchronize): Added argument disable-killed.
3667 * elmo-multi.el (elmo-folder-synchronize): Added argument
3670 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3672 * elmo-version.el (elmo-version): Up to 2.11.5.
3674 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3677 * elmo-util.el (elmo-list-filter): Simplify.
3679 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3680 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3681 (elmo-generic-folder-diff): Abolish argument.
3682 (elmo-msgdb-load): Don't use number-alist.
3684 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3686 * elmo-pipe.el (elmo-folder-diff): Ditto.
3688 * elmo-nmz.el (elmo-folder-diff): Ditto.
3690 * elmo-net.el (elmo-folder-diff): Ditto.
3692 * elmo-maildir.el (elmo-folder-diff): Ditto.
3694 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3696 * elmo-multi.el (elmo-folder-diff): Ditto
3697 (elmo-multi-folder-diff): Rewrite.
3699 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3701 * elmo-pipe.el (elmo-folder-msgdb): Define.
3703 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3705 * elmo.el (elmo-message-set-cached): Define as a method.
3707 * elmo-pipe.el (elmo-message-set-cached): Define.
3708 (elmo-find-fetch-strategy): Ditto.
3710 * elmo-multi.el (elmo-message-set-cached): Define.
3711 (elmo-find-fetch-strategy): Rewrite.
3713 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3715 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3717 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3719 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3720 instead of number-alist.
3722 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3723 mark nor message-id when msgdb of source folder is not loaded.
3725 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3727 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3729 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3731 * elmo.el (elmo-folder-length): Don't require msgdb.
3733 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3735 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3736 (elmo-message-field): Ditto.
3738 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3739 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3741 (elmo-map-folder-list-answereds): Define.
3742 (elmo-maildir-list-location): Treat 'R' info.
3743 (elmo-folder-msgdb-create): Treat flag-table.
3744 (elmo-folder-append-messages): Save flag-table.
3746 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3748 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3749 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3751 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3753 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3755 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3756 'read when mark is null.
3758 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3760 * elmo-version.el (elmo-version): Up to 2.11.4.
3762 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3764 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3765 (elmo-folder-mark-as-answered): Ditto.
3767 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3769 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3770 (elmo-pop3-get-session): Make msgdb directory after session.
3771 (elmo-folder-exists-p): Check exactly at the first time even when the
3772 elmo-pop3-exists-exactly is nil.
3774 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3775 (elmo-folder-list-messages): Define instead of
3776 elmo-folder-list-messages-internal.
3777 (elmo-folder-check): Check destination folder.
3778 (elmo-folder-synchronize): Drain the pipe.
3780 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3781 when msgdb is not loaded.
3783 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3785 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3786 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3789 * elmo.el (elmo-folder-kill-messages-before): New function.
3790 (elmo-folder-kill-messages): Ditto.
3791 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3793 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3794 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3795 killed not by synchronize (e.g. scoring).
3797 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3799 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3801 (elmo-folder-search): Follow the change above.
3803 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3804 into the candidates of search field.
3806 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3808 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3809 (elmo-msgdb-unset-flag): Ditto.
3811 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3813 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3815 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3816 (elmo-folder-commit): Define.
3817 (elmo-folder-synchronize): Ditto.
3818 (elmo-folder-list-flagged): Ditto.
3819 (elmo-folder-commit): Ditto.
3820 (elmo-folder-length): Ditto.
3821 (elmo-folder-count-flags): Ditto.
3822 (elmo-message-mark): Ditto.
3823 (elmo-message-field): Ditto.
3824 (elmo-message-entity): Ditto.
3825 (elmo-message-folder): Ditto.
3827 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3829 * elmo.el (elmo-message-field): Define as a method.
3831 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3832 (elmo-message-field): Define.
3834 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3835 (elmo-folder-list-importants): Ditto.
3836 (elmo-folder-list-answereds): Ditto.
3838 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3840 (elmo-folder-mark-as-read): Ditto.
3841 (elmo-folder-unmark-read): Ditto.
3842 (elmo-folder-mark-as-answered): Ditto.
3843 (elmo-folder-unmark-answered): Ditto.
3844 (elmo-folder-list-flagged): Define.
3845 (elmo-folder-commit): Ditto.
3846 (elmo-folder-length): Ditto.
3847 (elmo-folder-count-flags): Ditto.
3849 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3851 * elmo.el (elmo-folder-detach-messages): New method.
3852 (elmo-folder-move-messages): Use it.
3853 (elmo-folder-synchronize): Ditto.
3855 * elmo-multi.el (elmo-folder-detach-messages): Define.
3857 * elmo.el (elmo-message-copy-entity): New function.
3858 (elmo-message-entity-set-number): Ditto.
3859 (elmo-message-mark): Define as method.
3861 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3862 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3863 (elmo-message-entity): Fixed last change.
3864 (elmo-message-mark): Define.
3865 (elmo-folder-msgdb-create): Abolish.
3866 (elmo-multi-folder-append-msgdb): Ditto.
3867 (elmo-multi-folder-diff): Fixed.
3868 (elmo-multi-split-number-alist): Removed.
3869 (elmo-multi-split-mark-alist): Removed.
3870 (elmo-folder-list-messages): Define.
3871 (elmo-folder-list-messages-internal): Removed.
3873 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3874 local file messages.
3875 (elmo-folder-msgdb-create): Fixed read mark.
3877 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3879 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3882 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3884 * elmo.el (elmo-folder-list-message-entities): Define as inline
3886 (elmo-folder-messages): Abolish.
3888 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3890 (elmo-folder-synchronize): Define.
3891 (elmo-message-entity): Define.
3893 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3895 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3896 elmo-imap4-session-select-mailbox.
3898 * elmo.el (elmo-folder-move-messages): Don't display any message.
3900 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3902 (elmo-imap4-session-check): Don't wait CHECK response.
3903 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3905 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3907 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3909 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3911 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3913 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3916 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3917 (elmo-folder-list-message-entities): Added argument in-msgdb and
3919 (elmo-folder-synchronize): Define as a method.
3921 * elmo-nntp.el (elmo-folder-initialize): Don't use
3922 elmo-nntp-default-user if zero-length username is specified
3925 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3927 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3928 server name in case with username.
3929 (XXX: this is ad-hoc fix against username includes "@", it
3930 should be solved fundamentally)
3932 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3934 * elmo-nntp.el (elmo-nntp-debug): New function.
3935 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3936 (elmo-network-authenticate-session): Hide auth-info from the log.
3938 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3939 user name if it is equal to elmo-nntp-default-user.
3941 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3943 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3944 instead of shimbun-server-internal;
3945 Use shimbun-current-group instead of shimbun-current-group-internal.
3946 (elmo-folder-plugged-p): Use shimbun-server instead of
3947 shimbun-server-internal.
3948 (elmo-folder-set-plugged): Ditto.
3949 (elmo-net-port-info): Ditto.
3950 (elmo-folder-check): Ditto.
3951 (elmo-folder-expand-msgdb-path): Ditto.
3952 (elmo-folder-list-subfolders): Ditto.
3954 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3956 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3957 Convert field-name to lower case.
3958 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3960 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3962 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3963 `message' and `error' take format string.
3965 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3967 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3969 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3971 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3972 recursive call (can't byte compile on emacs 20.7).
3974 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3976 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3977 (elmo-folder-list-message-entities): New API.
3978 (elmo-message-entity): Ditto.
3979 (elmo-message-entity-parent): Ditto.
3980 (elmo-folder-do-each-message-entity): Ditto.
3981 (elmo-message-entity-number): Ditto.
3982 (elmo-message-entity-field): Ditto.
3983 (elmo-message-entity-set-field): Ditto.
3984 (elmo-folder-count-flags): Ditto.
3985 (elmo-folder-length): Ditto.
3987 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3990 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3991 (elmo-msgdb-count-marks): Abolish.
3992 (elmo-msgdb-make-entity): Ditto.
3993 (elmo-msgdb-do-each-entity): Ditto.
3994 (elmo-msgdb-message-entity): New inline function.
3995 (elmo-msgdb-message-entity-field): Ditto.
3996 (elmo-msgdb-message-entity-set-field): Ditto.
3997 (elmo-msgdb-make-message-entity): New function.
3999 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4001 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4002 to flag. (All other related portions are changed.)
4003 (elmo-folder-msgdb-create): Likewise.
4004 (elmo-generic-folder-append-messages): Use flag-table instead of
4006 (elmo-folder-move-messages): Removed redundant process.
4007 (elmo-folder-synchronize): Likewise.
4009 * elmo-msgdb.el (elmo-flag-table-get): New function.
4010 (elmo-flag-table-save): Fixed.
4011 (elmo-msgdb-length): New inline function.
4012 (elmo-msgdb-flag-table): New function.
4013 (elmo-msgdb-mark): Add optional argument new.
4014 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4015 (elmo-msgdb-seen-list): Ditto.
4016 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4019 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4021 * elmo.el (elmo-message-set-mark): Abolish.
4022 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4023 (All related portions are changed.)
4025 * elmo-msgdb.el (toplevel): Added comment.
4026 (elmo-load-msgdb): Added 4th element `path'.
4027 (elmo-msgdb-append): Follow the change above.
4028 (elmo-msgdb-clear): Ditto.
4029 (elmo-msgdb-delete-msgs): Ditto.
4030 (elmo-msgdb-get-path): New inline function.
4031 (elmo-msgdb-set-path): Ditto.
4032 (elmo-flag-table-filename): New variable.
4033 (elmo-flag-table-load): New function.
4034 (elmo-flag-table-set): Ditto.
4035 (elmo-flag-table-save): Ditto.
4036 (elmo-msgdb-get-field-value): Abolish.
4037 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4039 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4041 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4042 the folder has been deleted successfully.
4043 * elmo-imap4.el (elmo-folder-delete): Ditto.
4044 * elmo-archive.el (elmo-folder-delete): Ditto.
4045 * elmo-localdir.el (elmo-folder-delete): Ditto.
4046 * elmo-maildir.el (elmo-folder-delete): Ditto.
4048 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4050 * elmo-util.el (elmo-string-member-ignore-case): New function.
4051 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4052 (elmo-imap4-fetch-callback-1-subr): Likewise.
4054 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4056 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4057 the case of the name attribute "\Noselect".
4059 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4061 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4063 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4064 flist, is not always a member of onum-alist.
4066 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4068 * elmo-version.el (elmo-version): Up to 2.11.3.
4070 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4072 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4073 copied from localdir's one.
4075 * elmo-pipe.el (elmo-folder-rename): New method, rename
4076 destination folder with leaving source folder as it is.
4078 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4080 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4083 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4085 * elmo-version.el (elmo-version): Up to 2.11.2.
4087 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4089 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4090 shimbun-open in case of "@".
4091 (elmo-folder-open-internal): Cope with shimbun = nil case.
4092 (elmo-folder-plugged-p): Ditto.
4093 (elmo-folder-list-subfolders): Make list for "@/" group.
4095 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4097 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4098 mailbox (e.g. for %~/something).
4100 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4102 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4103 Replace nested conditional with guard clauses.
4105 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4107 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4110 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4113 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4115 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4116 Replace nested conditional with guard clauses.
4118 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4120 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4121 (elmo-passwd-alist-save): Ditto.
4122 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4124 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4126 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4127 dir-name only if it is absolute path.
4128 (TODO: distinguish +/something and +something)
4130 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4132 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4133 path for "+~/something".
4135 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4137 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4138 as non-directory, cause error before rename-file.
4139 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4140 apropriately, mimic localdir's one.
4141 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4143 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4145 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4147 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4149 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4151 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4153 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4154 is included in the global-mark or not.
4156 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4158 * utf7.el (toplevel): Avoid error when the function
4159 find-coding-system does not exist.
4161 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4163 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4164 cache even if the folder is plugged.
4165 (elmo-nntp-search-primitive): Do nothing when body search is
4166 invoked (although it is not used by the change above).
4167 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4169 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4171 * elmo-version.el (elmo-version): Up to 2.11.1.
4173 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4175 * elmo-archive.el: Specify charset.
4177 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4179 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4180 process buffer lives or not.
4182 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4183 while flushing queues (It causes infinite loop).
4185 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4187 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4189 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4191 * utf7.el (toplevel): Check the ucs features dynamically.
4192 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4194 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4195 folder is creatabe or not if it already exists.
4197 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4199 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4201 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4203 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4204 (elmo-imap4-read-response): Take care of garbage response.
4206 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4208 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4209 just return nil instead of error.
4211 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4213 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4214 search-key is "body".
4216 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4218 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4219 of elmo-string-matched-assoc to use match-data.
4220 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4222 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4224 * elmo-split.el (elmo-split->): New function.
4225 (elmo-split-<): Ditto.
4227 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4229 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4230 workaround for invalid message-id.
4232 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4234 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4235 return normal pop3 session or pop3 biff session.
4237 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4239 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4240 info part to the cur files when the new files already have it.
4241 (Adviced by Jared Rhine <jared@wordzoo.com>)
4243 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4245 * elmo-split.el (elmo-split-default-action): New variable.
4246 (elmo-split-subr): Use it if all other conditions are passed.
4247 Extend `fname' and rename it as `action'. (implemented
4248 Teranishi-san's idea in [wl:10800])
4250 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4252 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4253 * elmo-util.el: Ditto.
4255 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4257 * elmo.el (elmo-message-accessible-p): Renamed from
4258 elmo-message-cached-p and rewritten.
4260 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4262 * elmo.el (elmo-folder-list-flagged): New generic function.
4263 (elmo-folder-list-importants): New implementation.
4264 (elmo-folder-list-answereds): Ditto.
4265 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4267 (elmo-message-cached-p): New function.
4268 (elmo-message-set-flag): Ditto (no content).
4269 (elmo-message-unset-flag): Ditto.
4270 (elmo-folder-list-messages-mark-match): Abolish.
4272 * elmo-util.el (elmo-regexp-opt): New function.
4274 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4275 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4277 (elmo-msgdb-list-flagged): New function.
4279 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4280 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4283 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4285 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4287 * elmo-version.el (elmo-version): Up to 2.11.0.
4289 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4291 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4292 `elmo-file-cache-exists-p'; use proper mark that depends on
4294 (elmo-msgdb-unset-flag): Ditto.
4295 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4297 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4298 with 4th argument `use-cache'.
4300 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4302 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4303 (elmo-folder-mark-as-important): Ditto.
4304 (elmo-folder-unmark-read): Ditto.
4305 (elmo-folder-mark-as-read): Ditto.
4306 (elmo-folder-unmark-answered): Ditto.
4307 (elmo-folder-mark-as-answered): Ditto.
4309 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4311 (elmo-msgdb-mark): Likewise.
4312 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4313 (elmo-msgdb-unset-flag): Likewise.
4315 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4317 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4319 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4322 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4324 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4325 set spool-length to 0.
4327 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4329 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4330 (elmo-dop-queue-flush): Fixed last change.
4332 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4334 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4335 if require-msgdb slot is nil.
4336 (elmo-folder-list-importants): Likewise.
4338 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4340 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4343 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4344 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4347 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4349 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4351 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4353 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4355 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4357 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4359 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4360 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4362 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4364 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4365 the problem reported by Sean Rima [wl-en:180].
4367 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4369 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4371 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4373 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4375 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4377 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4379 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4381 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4383 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4385 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4388 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4390 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4391 (elmo-folder-mark-as-read): Follow the API change.
4392 (elmo-message-set-cached): New function.
4394 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4396 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4398 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4399 (elmo-folder-mark-as-important): Ditto.
4400 (elmo-folder-unmark-read): Ditto.
4401 (elmo-folder-mark-as-read): Ditto.
4402 (elmo-folder-unmark-answered): Ditto.
4403 (elmo-folder-mark-as-answered): Ditto.
4405 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4406 (elmo-folder-unmark-important): Ditto.
4407 (elmo-folder-mark-as-read): Ditto.
4408 (elmo-folder-unmark-read): Ditto.
4409 (elmo-folder-mark-as-answered): Ditto.
4410 (elmo-folder-unmark-answered): Ditto.
4412 * elmo-mark.el (toplevel): Removed some mark method definitions.
4414 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4415 (elmo-map-folder-mark-as-answered): Ditto.
4416 (elmo-folder-unmark-important): Add :before qualifier.
4417 (elmo-folder-mark-as-important): Ditto.
4418 (elmo-folder-unmark-read): Ditto.
4419 (elmo-folder-mark-as-read): Ditto.
4420 (elmo-folder-unmark-answered): Define.
4421 (elmo-folder-mark-as-answered): Ditto.
4423 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4424 (elmo-map-folder-unmark-answered): Ditto.
4426 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4428 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4429 (elmo-folder-mark-as-important): Ditto.
4430 (elmo-folder-unmark-read): Ditto.
4431 (elmo-folder-mark-as-read): Ditto.
4432 (elmo-folder-unmark-answered): Ditto.
4433 (elmo-folder-mark-as-answered): Ditto.
4435 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4436 `mark'; evaluate mark condition.
4437 (elmo-msgdb-match-condition-internal): New function.
4438 (elmo-msgdb-match-condition): Call it; changed argument.
4440 * elmo.el (elmo-folder-search): Follow the API change on
4441 `elmo-msgdb-match-condition'.
4443 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4445 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4446 original mark is non-nil.
4448 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4450 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4451 (elmo-map-folder-list-answereds): New method.
4452 (elmo-folder-list-unreads): Add :around qualifier.
4453 (elmo-folder-list-importants): Ditto.
4454 (elmo-folder-list-answereds): Ditto.
4456 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4458 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4460 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4461 method if msgdb is not required.
4462 (elmo-filter-folder-list-importants): Don't treat global-mark.
4464 * elmo.el (elmo-folder-list-importants): Ditto.
4466 * elmo-net.el (elmo-folder-list-importants): Ditto.
4468 * elmo-map.el (elmo-folder-list-importants): Ditto.
4470 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4472 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4473 (elmo-imap4-folder-list-any-plugged): New function.
4474 (elmo-imap4-search-internal-primitive): Use it.
4476 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4477 only when require-msgdb slot is non-nil.
4478 (elmo-folder-close): Clear target folder's msgdb.
4480 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4482 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4483 (elmo-pop3-msgdb-create-by-header): Ditto.
4484 (elmo-pop3-msgdb-create-message): Ditto.
4486 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4488 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4490 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4492 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4493 (elmo-folder-msgdb-create): Ditto.
4494 (elmo-nntp-folder-msgdb-create): Ditto.
4495 (elmo-nntp-msgdb-create-by-header): Ditto.
4496 (elmo-nntp-msgdb-create-message): Ditto.
4497 (elmo-folder-list-unreads): Define.
4499 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4500 (elmo-folder-append-messages): Ditto.
4501 (elmo-folder-list-unreads): Define.
4502 (elmo-folder-list-importants): Ditto.
4503 (elmo-folder-list-answereds): Ditto.
4505 * elmo-net.el (elmo-folder-list-unreads): Define.
4506 (elmo-folder-list-importants): Ditto.
4507 (elmo-folder-list-answereds): Ditto.
4508 (elmo-folder-list-answereds-plugged): Ditto.
4509 (elmo-folder-msgdb-create): Follow the API change.
4510 (elmo-folder-msgdb-create-unplugged): Ditto.
4511 (elmo-folder-unmark-answered): Define.
4512 (elmo-folder-mark-as-answered-unplugged): Ditto.
4513 (elmo-folder-unmark-answered-unplugged): Ditto.
4515 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4516 (elmo-msgdb-unread-uncached-mark): Ditto.
4517 (elmo-msgdb-unread-cached-mark): Ditto.
4518 (elmo-msgdb-read-uncached-mark): Ditto.
4519 (elmo-msgdb-answered-cached-mark): Ditto.
4520 (elmo-msgdb-answered-uncached-mark): Ditto.
4521 (elmo-msgdb-important-mark): Ditto.
4522 (elmo-msgdb-set-mark): Rewrite.
4523 (elmo-msgdb-count-marks): Rewrite.
4524 (elmo-msgdb-mark-alist-set): Abolish.
4525 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4526 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4528 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4529 (elmo-folder-close): Define.
4530 (elmo-folder-msgdb-create): Follow the API change.
4531 (elmo-folder-list-unreads): Rewrite.
4532 (elmo-folder-mark-as-important): Ditto.
4533 (elmo-folder-unmark-important): Ditto.
4534 (elmo-folder-mark-as-read): Ditto.
4535 (elmo-folder-unmark-read): Ditto.
4536 (elmo-folder-mark-as-answered): Define.
4537 (elmo-folder-unmark-answered): Ditto.
4539 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4540 (elmo-folder-append-messages): Ditto.
4542 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4544 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4545 (elmo-folder-list-importants): Ditto.
4547 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4548 (elmo-folder-append-messages): Ditto.
4550 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4552 (elmo-folder-msgdb-create-plugged): Ditto.
4553 (elmo-folder-append-messages): Ditto.
4554 (elmo-folder-list-answereds-plugged): Define.
4555 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4556 (elmo-folder-unmark-answered-plugged): Define.
4557 (elmo-folder-mark-as-answered-plugged): Ditto.
4558 (elmo-folder-search-requires-msgdb-p): Ditto.
4560 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4561 (elmo-folder-initialize): Set it.
4562 (elmo-folder-msgdb): Define.
4563 (elmo-folder-check): Call elmo-folder-synchronize.
4564 (elmo-folder-close): Define.
4565 (elmo-folder-commit): Ditto.
4566 (elmo-folder-msgdb-create): Rewrite.
4567 (elmo-folder-list-unreads): Ditto.
4568 (elmo-folder-list-importants): Ditto.
4569 (elmo-folder-mark-as-read): Ditto.
4570 (elmo-folder-unmark-read): Ditto.
4571 (elmo-folder-mark-as-important): Ditto.
4572 (elmo-folder-unmark-important): Ditto.
4573 (elmo-folder-mark-as-answered): Define.
4574 (elmo-folder-unmark-answered): Ditto.
4576 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4577 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4578 (elmo-dop-queue-method-name-alist): Likewise.
4579 (elmo-folder-mark-as-answered-dop): New inline function.
4580 (elmo-folder-unmark-answered-dop): Ditto.
4581 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4583 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4584 (elmo-folder-msgdb-create): Ditto.
4585 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4586 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4587 (elmo-archive-parse-mmdf): Ditto.
4589 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4590 (elmo-folder-list-unreads-internal): Ditto.
4592 * elmo.el (elmo-folder-msgdb): Define as generic function.
4593 (elmo-folder-list-messages): Added argument `in-msgdb'.
4594 (elmo-folder-list-unreads): Define as generic function.
4595 (elmo-folder-list-importants): Ditto.
4596 (elmo-folder-list-answereds): Ditto.
4597 (elmo-folder-list-messages-with-global-mark): New function.
4598 (elmo-folder-msgdb-create): Removed mark arguments.
4599 (elmo-folder-unmark-answered): New generic function.
4600 (elmo-folder-mark-as-answered): Ditto.
4601 (elmo-folder-append-messages): Removed argunment `unread-marks'
4602 (elmo-folder-list-unreads-internal): Abolish.
4603 (elmo-folder-list-importants-internal): Ditto.
4604 (elmo-folder-search-requires-msgdb-p): New generic function.
4605 (elmo-folder-search-requires-msgdb-p-internal): New function.
4606 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4608 (elmo-folder-search-fast): Added key 'mark'.
4609 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4610 instead of unread-marks argument.
4611 (elmo-folder-move-messages): Removed argunment `unread-marks'
4612 (elmo-folder-unmark-important): Define.
4613 (elmo-folder-mark-as-important): Ditto.
4614 (elmo-folder-unmark-read): Ditto.
4615 (elmo-folder-mark-as-read): Ditto.
4616 (elmo-folder-unmark-answered): Ditto.
4617 (elmo-folder-mark-as-answered): Ditto.
4618 (elmo-folder-replace-marks): Abolish.
4619 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4621 (elmo-folder-synchronize): Removed mark arguments;
4622 return crosspost only number.
4624 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4626 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4627 Remove redundunt connectivity check.
4629 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4631 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4632 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4634 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4636 * pldap.el (ldap-decode-string): Return string as-is if
4637 `ldap-coding-system' is nil.
4638 (ldap-encode-string): Ditto.
4639 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4640 (ldap-default-host): Fixed docstring.
4642 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4644 * elmo-util.el (elmo-warning): Define as a macro which uses
4645 `display-warning' if it is defined as a function.
4647 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4648 (elmo-split-equal): Use it.
4649 (elmo-split-match): Ditto.
4650 (elmo-split-message-entity): New buffer-local variable.
4651 (elmo-split-subr): Set it.
4653 * elmo-version.el (elmo-version): Up to 2.9.15.
4655 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4657 * elmo-imap4.el (elmo-network-initialize-session):
4658 Check capability after starttls.
4660 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4662 * elmo-util.el (elmo-list-delete): Added optional argument
4665 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4667 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4669 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4671 * elmo-imap4.el (elmo-folder-initialize): Don't use
4672 elmo-imap4-default-mailbox.
4674 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4676 * elmo-split.el (toplevel): Use `product-provide'.
4677 (elmo-split): Checkdoc.
4679 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4681 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4682 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4683 the function `elmo-imap4-debug-1'.
4685 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4687 * elmo-split.el (elmo-split): Moved to run hooks and to show
4688 message from elmo-split-subr.
4689 (elmo-split-subr): Follow the change above.
4691 * elmo-split.el (elmo-split-subr): New function (renamed from
4693 (elmo-split): Changed to call elmo-split-subr by element of
4695 (elmo-split-folder): Changed customization type to choice.
4697 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4699 * elmo-split.el (elmo-split-and): Fixed condition.
4701 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4703 * elmo-split.el: New file.
4704 (elmo-split): Fixed logic.
4705 Display "Test:" instead of "Folder:" when reharsal.
4707 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4710 * elmo-version.el (elmo-version): Up to 2.9.14.
4712 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4715 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4717 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4718 message with no message-id field.
4720 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4722 * elmo-version.el (elmo-version): Up to 2.9.13.
4724 * elmo-dop.el (elmo-folder-status-dop): Fix.
4726 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4728 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4730 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4731 changing default value of default-mime-charset.
4732 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4734 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4736 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4737 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4738 instead of elmo-dop-queue-method-name-alist to check merging queue.
4739 (elmo-folder-delete-messages-dop): Delete from queue if negative
4741 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4742 file is already removed.
4744 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4746 * elmo-vars.el: Bind colon keywords for old Emacsen.
4748 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4750 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4751 against non-exsisting charset.
4753 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4755 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4756 Use eword-decode-and-unfold-unstructured-field-body.
4758 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4759 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4760 exists to decode raw subject string.
4761 (toplevel): Require 'mime.
4763 * elmo-version.el (elmo-version): Up to 2.9.12.
4765 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4767 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4768 (elmo-msgdb-set-mark): Ditto.
4770 * elmo-version.el (elmo-version): Up to 2.9.11.
4772 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4774 * elmo-util.el (elmo-delete-match-files): New function.
4776 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4777 instead of elmo-delete-directory.
4779 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4780 elmo-hash-minimun-size as 63.
4782 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4783 elmo-diff-unread is nil.
4785 * elmo-imap4.el (elmo-folder-open): Fix.
4787 * elmo.el (elmo-message-mark): Rewrite.
4788 (elmo-message-field): Ditto.
4789 (elmo-message-set-mark): Ditto.
4790 (elmo-folder-replace-marks): New function.
4791 (elmo-generic-folder-append-msgdb): Removed third argument for
4793 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4794 (elmo-msgdb-load): New implementation.
4796 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4798 * elmo-util.el (elmo-list-insert): New implementation.
4800 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4801 argument for elmo-msgdb-append.
4804 * elmo-msgdb.el (elmo-load-msgdb): New function.
4805 (elmo-make-msgdb): Ditto.
4806 (elmo-msgdb-get-index): New inline function.
4807 (elmo-msgdb-set-index): Ditto.
4808 (elmo-msgdb-get-entity-hashtb): Ditto.
4809 (elmo-msgdb-get-mark-hashtb): Ditto.
4810 (elmo-msgdb-get-mark): Ditto.
4811 (elmo-msgdb-set-mark): Ditto.
4812 (elmo-msgdb-count-marks): Ditto.
4813 (elmo-msgdb-get-number): Ditto.
4814 (elmo-msgdb-get-field): Ditto.
4815 (elmo-msgdb-seen-list): Ditto.
4816 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4817 (elmo-msgdb-delete-msgs): Follow the changes above.
4818 (elmo-msgdb-overview-get-entity): Ditto.
4819 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4820 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4822 (elmo-msgdb-make-index): Likewise.
4823 (elmo-msgdb-append): Removed third argument.
4824 (elmo-msgdb-clear): Clear index as nil.
4825 (elmo-folder-set-info-hashtb): Removed.
4826 (elmo-folder-set-info-max-by-numdb): Ditto.
4827 (elmo-folder-info-make-hashtb): Ditto.
4829 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4831 * elmo-map.el (elmo-folder-pack-number): Ditto.
4833 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4835 * elmo-version.el (elmo-version): Up to 2.9.10.
4837 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4839 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4841 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4843 * elmo-utils.el (elmo-make-directory): Add option.
4844 Default file mode is 700.
4846 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4848 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4850 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4852 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4855 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4858 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4860 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4861 (elmo-shimbun-folder-entity-hash): New function.
4862 (elmo-shimbun-folder-shimbun-header): Ditto.
4863 (elmo-shimbun-entity-to-header): Ditto.
4864 (elmo-shimbun-msgdb-to-headers): Removed.
4865 (elmo-shimbun-folder-setup): Ditto.
4866 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4868 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4869 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4870 Removed useless local bind.
4871 (elmo-folder-open-internal): Don't call
4872 `elmo-shimbun-folder-setup'.
4873 (elmo-folder-close-internal): Clear entity-hash slot.
4874 (elmo-folder-clear): Ditto.
4875 (elmo-shimbun-msgdb-create-entity): Use
4876 `elmo-shimbun-folder-shimbun-header'.
4877 (elmo-map-message-fetch): Ditto.
4878 (elmo-shimbun-update-overview): Use overview entity instead of
4879 shimbun header to lookup id by references.
4880 (elmo-map-folder-list-message-locations): Use not only headers but
4881 also overviews to list locations.
4883 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4885 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4888 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4890 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4892 * elmo-util.el (elmo-read-search-condition-internal): Give default
4895 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4897 * elmo-util.el (elmo-condition-parse-search-value): Accept
4898 YYYY-MM-DD format to search.
4899 * elmo-date.el (elmo-date-get-datevec): Likewise.
4901 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4903 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4906 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4908 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4911 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4913 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4914 case from `elmo-folder-exists-p'.
4915 (elmo-folder-exists-p): Removed.
4916 (elmo-folder-creatable-p) Ditto.
4918 * elmo-net.el (elmo-folder-create): Defined.
4919 (elmo-folder-create-unplugged): New function.
4920 (elmo-folder-exists-p): Changed default value to nil from t.
4922 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4923 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4925 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4926 `elmo-create-folder-dop' and append queue
4927 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4928 (elmo-folder-create-dop-delayed): New function.
4930 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4932 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4934 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4935 (elmo-folder-writable-p) : Ditto.
4937 * elmo-version.el (elmo-version): Up to 2.9.9.
4939 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4941 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4942 `elmo-message-use-cache-p' returns nil.
4943 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4944 (ignore cache file and refer the substance in local folders)
4946 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4948 * elmo-version.el (elmo-version): Up to 2.9.8.
4950 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4952 * elmo-version.el (elmo-version): Up to 2.9.7.
4954 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4956 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4958 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4960 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4962 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4964 (elmo-map-folder-list-message-locations): Reverse location list.
4966 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4968 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4970 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4972 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4974 (elmo-nntp-folder-list-subfolders): Follow the change above.
4976 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4978 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4979 name if authentication type is specified.
4981 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4983 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4985 (elmo-default-nntp-stream-type): Ditto.
4986 (elmo-default-pop3-stream-type): Ditto.
4988 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4990 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4992 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4994 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4996 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4998 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4999 (elmo-maildir-folder-path): Ditto.
5000 (elmo-maildir-list): Ditto (abolished).
5002 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5004 * elmo-version.el (elmo-version): Up to 2.9.6.
5006 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5008 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5009 (elmo-maildir-folder-path): Ditto.
5010 (elmo-msgdb-directory): Ditto.
5011 (elmo-passwd-life-time): Ditto.
5012 (elmo-msgdb-extra-fields): Ditto.
5013 (elmo-enable-disconnected-operation): Ditto.
5015 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5017 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5019 (elmo-pop3-default-authenticate-type): Ditto.
5021 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5023 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5025 (elmo-pop3-default-authenticate-type): Ditto.
5027 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5029 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5030 mailbox to new-folder.
5032 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5034 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5035 less than new, set new as unread.
5037 * elmo-util.el (elmo-string): Don't put text-property if nil.
5039 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5041 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5042 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5044 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5046 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5047 is nil on `completing-read'.
5049 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5051 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5053 (elmo-imap4-parse-namespace-subr): Ditto.
5054 (elmo-folder-list-subfolders): Append a delimiter when the specified
5055 folder path is a root with namespace and does not end with delimiter.
5057 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5059 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5062 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5064 * elmo-util.el (elmo-save-buffer): The first argument of message
5065 is a format control string.
5067 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5069 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5070 `elmo-folder-diff').
5071 (elmo-diff-unread): Likewise.
5073 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5075 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5076 is t on `completing-read'.
5078 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5080 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5081 method of target folder with self mark-alist if MARK-ALIST is nil.
5083 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5085 * elmo-version.el (elmo-version): Up to 2.9.5.
5087 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5089 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5090 (elmo-dop-merge-funcs): Remove.
5092 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5094 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5095 Return t if PATH is directory, too.
5096 Use `dolist' instead of while loop.
5098 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5100 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5103 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5105 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5107 (elmo-folder-list-messages-unplugged): Return t if
5108 elmo-enable-disconnected-operation is nil.
5110 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5111 `elmo-folder-list-messages-internal'.
5113 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5115 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5116 Change to looking-at `[23][0-9]+'.
5117 (elmo-network-initialize-session): Use 'error-msg'
5118 * elmo-net.el (elmo-network-open-session): Set unplugged
5119 if elmo-network-initialize-session returns 'elmo-open-err.
5121 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5123 * elmo-version.el (elmo-version): Up to 2.9.4.
5125 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5127 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5128 `elmo-folder-list-messages-internal'.
5130 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5132 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5133 (elmo-message-match-condition): New method.
5134 (elmo-folder-search-fast): New inline function.
5135 (elmo-msgdb-search): Removed.
5137 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5138 target folder if it is unplugged.
5139 (elmo-folder-list-messages-internal): Return t if target folder is
5140 unplugged and itself is persistent; In this case, use list be
5143 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5144 (elmo-msgdb-search-internal-primitive): Ditto.
5145 (elmo-msgdb-match-condition): New function.
5146 (elmo-msgdb-match-condition-primitive): Ditto.
5148 * elmo-util.el (elmo-filter-condition-p): New macro.
5150 * elmo-cache.el (elmo-folder-search): Removed.
5152 * elmo-localdir.el (elmo-folder-search): Ditto.
5154 * elmo-maildir.el (elmo-folder-search): Ditto.
5156 * elmo-mark.el (elmo-folder-search): Ditto.
5158 * elmo-nmz.el (elmo-folder-search): Ditto.
5160 * elmo-sendlog.el (elmo-folder-search): Ditto.
5162 * elmo-shimbun.el (elmo-folder-search): Ditto.
5164 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5165 if folder is unplugged.
5167 * elmo-nntp.el (elmo-folder-search): Likewise.
5168 (elmo-nntp-search-internal): New function.
5170 * elmo-version.el (elmo-version): Up to 2.9.3.
5172 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5174 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5176 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5178 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5180 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5182 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5184 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5186 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5187 (elmo-map-folder-list-message-locations): Do drive letter conversion
5188 on Windows environment.
5189 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5190 (elmo-map-message-fetch): Ditto.
5192 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5194 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5195 (elmo-network-initialize-session): Ditto.
5197 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5199 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5201 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5203 * elmo-util.el (elmo-progress-clear): Ditto.
5205 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5206 `DD-Mon-YYYY' type date.
5208 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5210 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5211 `elmo-date-make-sortable-string' instead of
5212 `timezone-make-date-sortable'.
5214 * elmo-date.el (elmo-date-make-sortable-string): Use
5215 `timezone-make-time-string'.
5217 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5219 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5221 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5222 `since'; Fix timezone.
5224 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5226 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5228 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5230 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5232 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5234 * elmo.el (elmo-generic-folder-append-messages): Make
5235 fetch-strategy with `use-cache' as 'maybe. Check return value of
5236 `elmo-message-fetch'.
5237 (elmo-message-fetch): Return return value of
5238 `elmo-message-fetch-with-cache-process'.
5239 (elmo-message-fetch-with-cache-process): Return non-nil if
5240 fetching was succeed. Load cache when fetching was failed and
5241 fetch-strategy-use-cache is 'maybe.
5243 * elmo-util.el (elmo-file-cache-load): New function.
5245 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5248 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5249 non-nil if fetching was succeed.
5251 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5253 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5255 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5256 (elmo-message-fetch-with-cache-process): Likwise.
5258 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5260 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5262 * elmo-version.el (elmo-version): Up to 2.9.2.
5264 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5266 * elmo.el (elmo-folder-delete): Delete msgdb path.
5268 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5270 * elmo-maildir.el (elmo-folder-delete): Ditto.
5272 * elmo-localdir.el (elmo-folder-delete): Ditto.
5274 * elmo-imap4.el (elmo-folder-delete): Ditto.
5276 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5278 * elmo.el (luna-define-class): Added `biff' slot.
5280 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5281 (elmo-pop3-debug-inhibit-logging): Abolished.
5282 (elmo-network-close-session): Eliminated needless let.
5283 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5284 (elmo-pop3-send-command): Added `no-log' argument.
5285 (elmo-pop3-process-filter): Use `with-current-buffer'.
5286 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5288 (elmo-pop3-auth-apop): Likewise.
5289 (elmo-network-authenticate-session): Likewise.
5291 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5294 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5295 string to determine protocol.
5296 (elmo-network-session-name-prefix): Abolished.
5297 (elmo-network-session-cache-key): Follow the change above.
5298 (elmo-network-open-session): Ditto.
5300 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5301 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5303 * elmo-version.el (elmo-version): Up to 2.9.1.
5305 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5306 unmatch condition checking.
5308 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5311 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5313 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5315 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5317 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5318 test for while loop to execute at least one SEARCH command.
5320 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5322 * elmo-version.el (elmo-version): Up to 2.9.0.
5324 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5326 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5327 (elmo-archive-folder-path): Define.
5328 (elmo-folder-initialize): Setup `dir-name' slot.
5329 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5330 Use `dir-name' as prefix of each subfolders.
5331 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5333 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5335 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5336 (elmo-pipe-folder-list-target-messages): New internal function.
5337 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5339 (elmo-pipe-folder-copied-list-load): New function.
5340 (elmo-pipe-folder-copied-list-save): Ditto.
5341 (elmo-folder-open-internal): Follow the change above.
5342 (elmo-folder-status): Fixed for copy.
5344 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5346 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5348 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5350 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5351 elmo-copy-file instead of elmo-add-name-to-file.
5353 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5355 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5358 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5359 of accept-process-output as 1.
5360 (elmo-pop3-read-contents): Ditto.
5361 (elmo-pop3-read-body): Ditto.
5363 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5365 * elmo-version.el (product-version-as-string): Remove define.
5367 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5369 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5370 (elmo-imap4-copy-messages): Chop number set using
5371 `elmo-imap4-number-set-chop-length'.
5372 (elmo-imap4-set-flag): Ditto.
5373 (elmo-imap4-search-internal-primitive): Ditto.
5375 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5377 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5378 `elmo-folder-make-temp-dir'
5380 * elmo-vars.el (elmo-cache-directory): New variable.
5381 (elmo-cache-dir): Abolished.
5382 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5384 * elmo-version.el (elmo-version): Up to 2.7.7.
5386 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5388 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5389 defcustom; Set default value as t.
5391 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5393 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5394 (ldap-search-program-arguments): Changed default value.
5395 (ldap-search-basic): Accept exit status 4.
5396 (ldap/field-body): Parse options.
5397 (ldap/collect-field): Ditto.
5398 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5400 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5401 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5402 (elmo-imap4-accept-ok): Ditto.
5403 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5404 'notify-bye, only BYE error is reported.
5405 (elmo-folder-exists-p-plugged): Set no-error argument of
5406 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5408 * elmo.el (elmo-imap4-bye-error): Changed message.
5410 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5411 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5412 queues (It causes infinite loop).
5414 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5416 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5417 (RECENT UNSEEN MESSAGES) extension.
5419 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5421 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5422 Check number of overview fields.
5424 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5426 * elmo.el (elmo-folder-confirm-appends): Changed message.
5427 (elmo-folder-confirm-appends): Ditto.
5429 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5431 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5433 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5435 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5436 of elmo-folder-update-threshold is nil, which can be set by
5437 wl-summary-update-confirm-threshold.
5439 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5441 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5442 (elmo-nmz-index-alias-alist): Ditto.
5443 (elmo-map-folder-list-message-locations): Follow the change above.
5445 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5447 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5449 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5451 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5453 * elmo-util.el (elmo-read): Ditto.
5454 (elmo-display-error): Ditto.
5456 * elmo-vars.el (elmo-date-match): Ditto.
5458 * pldap.el (ldap-coding-system): Ditto.
5460 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5461 `elmo-inhibit-number-mapping' as nil.
5463 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5465 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5466 space delimiter for list response.
5468 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5470 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5472 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5474 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5475 (elmo-map-message-fetch): Fix.
5476 * elmo-map.el (elmo-folder-status): Fix for killed.
5478 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5480 * elmo-sendlog.el: New file.
5481 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5483 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5485 * acap.el (acap-logging-out): New buffer local variable.
5486 (acap-close): Set it.
5487 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5490 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5492 * acap.el (acap-response-bye-p): New function.
5493 (acap-response-bye-message): Ditto.
5494 (acap-wait-for-response): If bye response is received, cause an error.
5495 (acap-parse-response): Make bye response when 'Bye' is received.
5497 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5499 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5501 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5503 * elmo-util.el (elmo-copy-file): Added argument
5504 `ok-if-already-exists'.
5505 (elmo-copy-file): Fixed typo.
5507 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5509 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5511 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5513 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5515 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5517 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5520 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5522 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5523 (elmo-folder-initialize): Fix for `copy'.
5524 (elmo-pipe-drain): Ditto.
5525 (elmo-folder-open-internal): Ditto.
5526 (elmo-folder-newsgroups): Fix.
5528 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5530 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5533 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5534 recent value is returned from imap folder.
5536 * elmo.el (elmo-folder-newsgroups): New generic function.
5538 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5539 (elmo-folder-initialize): Set it.
5540 (elmo-folder-expand-msgdb-path): Use it.
5541 (elmo-folder-newsgroups): Define.
5543 * elmo-filter.el (elmo-folder-newsgroups): Define.
5545 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5547 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5549 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5551 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5553 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5555 (elmo-shimbun-header-extra-field): New inline function.
5556 (elmo-shimbun-header-set-extra-field): Ditto.
5557 (elmo-shimbun-folder-header-hash-setup): Ditto.
5558 (elmo-shimbun-update-overview): Ditto.
5559 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5560 (elmo-shimbun-folder-setup): Use
5561 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5562 (elmo-shimbun-get-headers): Ditto.
5563 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5564 Insert `X-Shimbun-Id:' header if extra field is set.
5565 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5566 field's value instead of `shimbun-header-id'.
5568 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5570 (elmo-msgdb-overview-entity-set-date): Ditto.
5571 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5573 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5575 * mmimap.el (mmimap-entity-section): Changed body node number from
5578 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5580 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5581 `elmo-folder-delete-messages'.
5583 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5584 (elmo-folder-initialize): Changed to expand alias into index path.
5586 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5587 `elmo-mime-insert-header-from-buffer' with 6th arg
5590 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5592 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5594 * elmo.el (elmo-diff-new): New inline function.
5595 (elmo-diff-unread): Ditto.
5596 (elmo-diff-all): Ditto.
5598 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5599 value from responseb.
5600 (elmo-imap4-folder-diff-plugged): Ditto.
5601 (elmo-imap4-server-diff-async): Added recent argument.
5602 (elmo-server-diff-async): Ditto.
5603 (elmo-imap4-folder-diff-plugged): Ditto.
5605 * elmo-version.el (elmo-version): Up to 2.7.6.
5607 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5609 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5612 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5614 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5616 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5618 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5620 * elmo-multi.el (elmo-folder-initialize): Ditto.
5622 * elmo-util.el (elmo-parse-token): New function.
5623 (elmo-parse-prefixed-element): Ditto.
5625 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5627 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5629 (elmo-imap4-accept-ok): Ditto.
5631 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5633 * mmimap.el (mime-imap-entity-header-string): Don't check first
5634 element of node-id is `0' (Follow last change).
5636 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5638 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5639 assigned irregular node-id to nested multipart section.
5640 (initialize-instance): Followed above change.
5642 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5644 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5645 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5646 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5647 `elmo-shimbun-get-headers');
5648 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5649 visible article on summary exists in headers).
5650 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5652 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5654 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5657 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5659 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5661 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5663 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5664 header separator into loop condition.
5666 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5668 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5669 Return duplicate folder if it has subfolder.
5671 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5673 * elmo.el (elmo-make-folder): Add folder name error check.
5675 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5676 (elmo-nntp-encode-group-string): New inline function.
5677 (elmo-nntp-decode-group-string): Ditto.
5678 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5679 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5680 Use `not' instead of `null';
5681 Use elmo-nntp-decode-group-string.
5683 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5685 * elmo-version.el (elmo-version): Up to 2.7.5.
5687 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5689 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5690 Hide progress gauge if `elmo-folder-move-messages' exits
5693 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5695 * elmo-imap4.el (elmo-folder-initialize): Use
5696 `elmo-imap4-encode-folder-string' for folder name.
5698 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5700 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5703 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5705 * elmo-util.el (elmo-progress-counter-alist): New internal
5707 (elmo-progress-counter-value): New macro.
5708 (elmo-progress-counter-all-value): Ditto.
5709 (elmo-progress-counter-format): Ditto.
5710 (elmo-progress-counter-set-value): Ditto.
5711 (elmo-progress-set): New function.
5712 (elmo-progress-clear): Ditto.
5713 (elmo-progress-notify): Ditto.
5715 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5718 * elmo.el (elmo-generic-folder-append-messages): Call
5719 `elmo-progress-notify'.
5720 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5722 * elmo-archive.el (elmo-folder-append-messages): Call
5723 `elmo-progress-notify'.
5725 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5727 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5729 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5731 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5733 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5735 (elmo-message-encache-dop): Added argument `read'.
5737 * elmo-shimbun.el (elmo-message-encache): Ditto.
5739 * elmo-net.el (elmo-message-encache): Ditto.
5741 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5742 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5743 elmo-imap4-seen-messages.
5744 (elmo-folder-msgdb-create-plugged): Initialize
5745 elmo-imap4-seen-messages;
5746 Set seen mark on elmo-imap4-seen-messages.
5748 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5750 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5751 elmo-folder-append-buffer.
5752 (elmo-folder-encache): Added optional argument `read'.
5753 (elmo-message-encache): Ditto.
5755 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5757 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5759 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5760 if append buffer content succeds.
5762 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5764 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5765 elmo-display-progress.
5767 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5768 Set 4th argument of mime-display-message.
5769 (elmo-mime-display-as-is): Ditto.
5771 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5773 * elmo-nmz.el (toplevel): Require 'mime-edit.
5774 (elmo-nmz-content-type-alist): Abolished.
5775 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5776 content is not a message.
5777 (elmo-map-message-fetch): Changed behavior exept for message content;
5778 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5779 content-type, Add From: and Subject: field.
5781 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5783 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5784 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5787 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5789 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5790 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5792 * elmo-archive.el (elmo-folder-writable-p): Defined.
5794 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5796 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5798 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5800 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5802 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5804 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5806 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5808 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5810 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5812 * elmo-util.el (elmo-address-quote-specials): New function;
5813 Renamed from `wl-address-quote-specials'.
5815 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5817 * elmo-version.el (elmo-version): Up to 2.7.4.
5819 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5821 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5823 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5825 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5826 both compile-time and run-time to avoid byte-compile warning.
5828 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5830 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5832 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5834 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5836 (elmo-mime-display-as-is-internal): Use it.
5838 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5839 if `read-passwd' is not defined.
5841 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5843 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5845 (elmo-folder-status): Call `elmo-folder-open-internal';
5846 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5847 (elmo-folder-close-internal): Set location-alist as nil.
5848 (elmo-folder-clear): Define.
5849 (elmo-folder-check): Don't set location-alist as nil.
5851 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5853 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5855 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5856 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5858 * mmimap.el (mime-imap-entity::requested): New slot.
5859 (mime-imap-location-fetch-entity-p): New generic function.
5860 (mime-decode-parameters): Define using `defun-maybe'.
5861 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5862 content-type structure.
5863 (mime-entity-body): Return empty body if
5864 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5866 * elmo.el (elmo-message-displaying): New variable.
5868 * elmo-mime.el (elmo-mime-message-display): Bind
5869 elmo-message-displaying as t.
5871 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5873 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5875 * acap.el (acap-open): erase buffer before starting network process.
5876 (acap-store): Rewrite.
5878 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5880 * elmo-imap4.el (elmo-imap4-default-mailbox,
5881 elmo-imap4-default-server
5882 elmo-imap4-default-authenticate-type,
5883 elmo-imap4-default-user,
5884 elmo-imap4-default-port,
5885 elmo-imap4-default-stream-type,
5886 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5888 * elmo-pop3.el (elmo-pop3-default-user,
5889 elmo-pop3-default-server,
5890 elmo-pop3-default-authenticate-type,
5891 elmo-pop3-default-port,
5892 elmo-pop3-default-stream-type,
5893 elmo-pop3-stream-type-alist): Ditto.
5895 * elmo-nntp.el (elmo-nntp-default-server,
5896 elmo-nntp-default-user,
5897 elmo-nntp-default-port,
5898 elmo-nntp-default-stream-type,
5899 elmo-nntp-stream-type-alist): Ditto.
5901 * elmo-vars.el: Follow changes above.
5902 (elmo-setting): New custom group; added 'elmo-setting group to
5905 * elmo-version.el (elmo-version): Up to 2.7.3.
5907 * acap.el (acap-parse-response): Don't delete process when BYE
5908 response (It causes hang-up on slow network environment).
5909 (toplevel): Added comment.
5911 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5913 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5915 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5917 (acap-parse-return-metadata): Ditto.
5920 (toplevel): Fixed typo.
5922 * acap.el: New file.
5923 (acap-network-stream-open): Show "Connecting..." message.
5924 (acap-parse-response): Fixed problem for BYE untagged response.
5925 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5926 (toplevel): Added tiny comments.
5928 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5930 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5931 space delimiter for uidl response.
5933 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5935 * elmo-vars.el (elmo-use-semi): Eliminated.
5937 * elmo-util.el (elmo-string-assoc-all): New function.
5939 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5941 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5942 property 'mime-preview-situation for `mime-preview-quit'.
5944 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5946 * elmo.el (elmo-message-fetch-with-cache-process): Call
5947 elmo-message-fetch-internal instead of causing an error when fetch
5948 strategy is 'entire but only 'section cache is available.
5950 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5952 * elmo-version.el (elmo-version): Up to 2.7.2.
5954 * elmo.el (elmo-generic-folder-append-messages): Make
5955 fetch-strategy with `use-cache'.
5957 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5958 (elmo-dop-queue-method-name): New macro.
5960 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5962 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5963 unbalanced parenthesis.
5965 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5967 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5969 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5971 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5972 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5974 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5976 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5979 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5981 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5982 (elmo-message-use-cache-p): Define.
5983 (elmo-folder-msgdb-create): Treat cache.
5985 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5987 * elmo-nntp.el (elmo-network-initialize-session): Call
5988 `elmo-nntp-send-mode-reader'.
5989 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5991 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5993 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5995 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5998 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5999 for `elmo-plugged-p'.
6000 (elmo-open-network-stream): Fixed stream-type argument.
6002 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6004 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6005 unknown archive type is specified.
6007 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6009 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6011 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6012 while loading msgdb.
6014 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6015 (elmo-folder-open-internal): Rewrite.
6017 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6019 * elmo-mime.el (elmo-mime-display-as-is-internal):
6020 Adjust buffer-multibyte status.
6022 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6024 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6025 of elmo-condition-find-key.
6027 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6028 (elmo-condition-in-msgdb-p): Ditto.
6029 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6032 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6034 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6036 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6038 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6039 label for elmo-display-progress.
6041 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6043 * elmo.el (elmo-folder-clear): New method.
6044 (elmo-folder-clear): Define.
6045 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6047 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6048 (elmo-folder-clear): Define.
6050 * elmo-map.el (elmo-folder-clear): Define.
6052 * elmo-version.el (elmo-version): Up to 2.7.1.
6054 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6056 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6059 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6061 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6062 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6064 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6066 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6068 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6071 * elmo-imap4.el (elmo-folder-initialize): Use
6072 elmo-get-network-stream-type.
6074 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6076 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6078 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6080 * elmo.el (elmo-message-encache): Set unread argument for
6083 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6085 * elmo.el (elmo-net-port-info): New method.
6087 * elmo-shimbun.el (elmo-net-port-info): Define.
6088 (elmo-message-encache): Ditto.
6090 * elmo-net.el (elmo-net-port-info): Define as method.
6092 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6093 unplugged status when elmo-enable-disconnected-operation is t.
6095 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6096 of spool folder before checking new number.
6098 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6100 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6101 (elmo-network-setup-session): Ditto.
6102 (elmo-message-fetch-plugged): Ditto.
6103 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6104 (elmo-network-initialize-session): Ditto.
6105 (elmo-pop3-read-response): Abolish 3rd argument.
6106 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6107 (elmo-pop3-read-contents): Ditto.
6108 (elmo-pop3-read-body): Ditto.
6109 (elmo-folder-status): Call elmo-folder-close.
6110 (elmo-pop3-lock): Abolish.
6111 (elmo-pop3-unlock): Ditto.
6112 (elmo-pop3-locked-p): Ditto.
6113 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6115 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6117 * elmo-version.el (elmo-version): Up to 2.7.0.
6119 * elmo-pop3.el (elmo-pop3-debug): New variable.
6120 (elmo-pop3-debug-inhibit-logging): Ditto.
6121 (elmo-pop3-debug): New function.
6122 (elmo-pop3-send-command): Call elmo-pop3-debug.
6123 (elmo-pop3-read-response): Added keep-lock optional argument;
6124 Don't unlock if keep-lock is non-nil.
6125 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6126 (elmo-network-authenticate-session): Bind
6127 elmo-pop3-debug-inhibit-logging as t.
6128 (elmo-network-setup-session): Call elmo-pop3-read-response with
6130 (elmo-pop3-read-msg): Ditto.
6131 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6132 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6133 (elmo-network-initialize-session): Call elmo-pop3-lock.
6134 (elmo-folder-close-internal): Don't clear location-alist slot.
6135 (elmo-folder-check): Clear location-alist slot.
6137 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6139 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6140 (elmo-pop3-send-command): Call elmo-pop3-lock.
6141 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6142 (elmo-pop3-read-contents): Ditto.
6143 (elmo-pop3-lock): New function.
6144 (elmo-pop3-unlock): Ditto.
6145 (elmo-pop3-locked-p): Ditto.
6146 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6149 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6151 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6153 * elmo-util.el (elmo-file-field-primitive-condition-match):
6154 New inline function (Don't fetch file content if "first" or "last").
6155 (elmo-file-field-condition-match): Use
6156 elmo-file-field-primitive-condition-match.
6158 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6161 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6162 (elmo-message-fetch-plugged): Fixed.
6164 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6166 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6168 * elmo.el (elmo-folder-move-messages): Bind
6169 elmo-inhibit-display-retrieval-progress as t while moving messages.
6171 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6173 (elmo-inhibit-display-retrieval-progress): Ditto.
6175 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6176 for retrieval progress;
6177 Don't display progress when total buffer size is smaller than
6178 elmo-display-retrieval-progress-threshold.
6179 (elmo-message-fetch-plugged): Don't display progress when
6180 elmo-inhibit-display-retrieval-progress is non-nil.
6182 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6183 for retrieval progress;
6184 Don't display progress when literal size is smaller than
6185 elmo-display-retrieval-progress-threshold.
6186 (elmo-imap4-message-fetch): Don't display progress when
6187 elmo-inhibit-display-retrieval-progress is non-nil.
6189 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6191 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6192 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6193 (elmo-imap4-message-fetch): Likewise.
6195 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6196 (elmo-shimbun-index-range-alist): Ditto.
6197 (elmo-shimbun-use-entire-index): Abolish.
6198 (shimbun-mua-use-entire-index): Ditto.
6199 (elmo-shimbun-folder): Added new slot `range'.
6200 (elmo-folder-initialize): Setup slot `range'.
6202 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6204 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6205 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6206 (elmo-shimbun-get-headers): Use return value of
6207 `shimbun-article-expiration-days'.
6208 (elmo-folder-close-internal): Clean up last-check slot.
6210 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6211 (elmo-pop3-total-size): New variable.
6212 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6214 * elmo.el (elmo-folder-reserve-status-p): New method.
6216 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6217 (elmo-shimbun-use-entire-index): New user option.
6218 (shimbun-elmo-mua): New class.
6219 (shimbun-mua-search-id): Define.
6220 (shimbun-mua-use-entire-index): Ditto.
6221 (elmo-shimbun-folder:last-check): New slot.
6222 (elmo-shimbun-headers-cache-header-list): Abolish.
6223 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6224 (elmo-shimbun-headers-cache-header-hash): Ditto.
6225 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6226 (elmo-shimbun-headers-cache-last-check): Ditto.
6227 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6228 (elmo-shimbun-headers-check-p): Rewrite.
6229 (elmo-shimbun-msgdb-to-headers): New function.
6230 (elmo-shimbun-get-headers): Rewrite.
6231 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6232 (elmo-folder-open-internal): Get headers only if
6233 `elmo-shimbun-headers-check-p' is non-nil.
6234 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6236 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6237 (elmo-quit): Removed.
6239 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6241 (elmo-msgdb-overview-entity-set-extra): Ditto.
6242 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6244 * elmo-map.el (elmo-folder-status): Don't call
6245 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6248 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6250 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6251 of `elmo-msgdb-search-internal-primitive' when condition's car is
6254 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6256 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6258 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6260 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6261 call `elmo-pipe-drain'.
6263 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6265 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6266 typo. (elmo-cache-folder -> elmo-mark-folder)
6268 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6270 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6271 `elmo-message-fetch'.
6273 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6275 * elmo-net.el (elmo-message-encache): Fixed typo.
6276 (elmo-message-fetch-unplugged): Changed call
6277 `elmo-message-fetch-internal' without argument `outbuf'.
6279 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6281 * elmo.el (elmo-message-encache): Define as generic function.
6282 (elmo-message-fetch-field): New generic function.
6283 (elmo-message-fetch-with-cache-process): Cause an error when
6284 fetch strategy is 'entire but only 'section cache is available.
6285 (toplevel): Fixed nmz folder definition.
6287 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6288 (elmo-msgdb-resume-list-filename): Ditto.
6289 (elmo-queue-filename): Ditto.
6290 (elmo-enable-disconnected-operation): Changed default value to t.
6292 * elmo-util.el (elmo-cache-path-section-p): New function.
6293 (elmo-file-cache-get): Use it.
6294 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6295 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6296 (elmo-dop-queue-save): Ditto.
6298 * elmo-net.el (elmo-folder-status-unplugged): Call
6299 elmo-folder-status-dop.
6300 (elmo-folder-list-messages-unplugged): Implemented.
6301 (elmo-folder-delete-messages-unplugged): Define.
6302 (elmo-folder-msgdb-create): Define.
6303 (elmo-folder-msgdb-create-unplugged): Define.
6304 (elmo-folder-mark-as-read-unplugged): Ditto.
6305 (elmo-folder-unmark-read-unplugged): Ditto.
6306 (elmo-folder-mark-as-important-unplugged): Ditto.
6307 (elmo-folder-unmark-important-unplugged): Ditto.
6308 (elmo-message-encache): Ditto.
6310 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6311 (elmo-dop-queue-save): Ditto.
6313 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6314 `elmo-folder-msgdb-create'.
6315 (elmo-folder-append-buffer): Implemented unplugged operation.
6316 (elmo-folder-append-messages): Call parent method in unplugged status.
6317 (elmo-message-fetch-unplugged): Removed definition.
6318 (elmo-message-fetch-field): Implemented.
6320 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6321 (elmo-dop-folder): Removed variable definition.
6322 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6323 (elmo-dop-queue-flush): Implemented.
6324 (elmo-dop-queue-merge): Removed definition (TODO).
6325 (elmo-dop-spool-folder): New function.
6326 (elmo-dop-spool-folder-append-buffer): Ditto.
6327 (elmo-dop-spool-folder-list-messages): Ditto.
6328 (elmo-dop-list-deleting-messages): Ditto.
6329 (elmo-folder-append-buffer-dop): Ditto.
6330 (elmo-folder-delete-messages-dop): Ditto.
6331 (elmo-message-encache-dop): New inline function.
6332 (elmo-create-folder-dop): Ditto.
6333 (elmo-folder-mark-as-read-dop): Ditto.
6334 (elmo-folder-unmark-read-dop): Ditto.
6335 (elmo-folder-mark-as-important-dop): Ditto.
6336 (elmo-folder-unmark-important-dop): Ditto.
6337 (elmo-folder-status-dop): Fixed.
6338 (elmo-folder-append-buffer-dop-delayed): New function.
6339 (elmo-folder-delete-messages-dop-delayed): Ditto.
6340 (elmo-dop-msgdb): Ditto.
6342 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6344 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6346 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6348 * elmo.el (elmo-folder-move-messages): Fixed problem when
6349 `dst-folder' is 'null.
6351 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6353 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6354 instead of current mark.
6356 * elmo-multi.el (elmo-folder-list-importants-internal): No
6357 operation if importants is not list.
6359 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6360 Return t if importants is not list.
6362 * elmo-map.el (elmo-map-folder-list-importants): Define.
6363 (elmo-folder-list-importants-internal): Check return value of
6364 `elmo-map-folder-list-importants-internal'.
6366 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6368 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6370 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6372 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6374 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6376 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6377 (Patch is provided by <kita@coe.nttdata.co.jp>).
6379 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6381 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6384 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6386 * elmo.el (elmo-message-fetch): Define.
6387 (elmo-message-fetch-with-cache-process): New generic method.
6388 (elmo-message-fetch-internal): New generic method.
6389 (elmo-folder-synchronize):
6391 * elmo-archive.el (elmo-message-fetch-internal): Define.
6392 (elmo-message-fetch): Eliminated.
6394 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6395 (elmo-message-fetch): Eliminated.
6397 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6399 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6401 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6402 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6404 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6405 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6407 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6409 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6411 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6413 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6414 (elmo-message-fetch-unplugged): New generic method.
6415 (elmo-message-fetch-internal): Remove cache process (Renamed from
6416 `elmo-message-fetch').
6418 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6419 (elmo-message-fetch): Eliminated.
6420 (elmo-message-fetch-unplugged): Ditto.
6422 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6424 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6426 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6427 of `to-be-deleted' from number-alist to number-list.
6429 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6431 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6432 (elmo-folder-mark-as-important): Ditto.
6434 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6436 * elmo.el (elmo-folder): Added process-duplicates slot.
6438 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6439 (elmo-folder-unmark-read): Ditto.
6440 (elmo-folder-unmark-important): Ditto.
6441 (elmo-folder-mark-as-important): Ditto.
6443 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6444 duplicated message processing.
6446 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6448 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6450 * elmo-util.el (elmo-list-subdirectories-1): New function.
6451 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6452 (elmo-mapcar-list-of-list): New function.
6454 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6455 `elmo-mapcar-list-of-list' instead of `mapcar'.
6457 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6459 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6460 `elmo-have-link-count'. Return the fully qualified folder name.
6462 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6464 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6465 (elmo-shimbun-headers-cache): New internal variable.
6466 (elmo-shimbun-headers-cache-header-list): New inline function.
6467 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6468 (elmo-shimbun-headers-cache-header-hash): Ditto.
6469 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6470 (elmo-shimbun-headers-cache-last-check): Ditto.
6471 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6472 (elmo-shimbun-lapse-seconds): Ditto.
6473 (elmo-shimbun-headers-cache-check-p): Ditto.
6474 (elmo-shimbun-get-headers): New function.
6475 (elmo-folder-open-internal): Call it.
6476 (elmo-quit): Define (Clear headers-cache).
6478 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6480 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6482 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6483 (elmo-msgdb-flist-save): Ditto.
6485 * elmo-shimbun.el (elmo-folder-list-subfolders):
6486 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6487 (elmo-folder-exists-p): Ditto.
6489 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6490 argument for `shimbun-header-insert'.
6492 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6494 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6497 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6498 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6500 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6502 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6503 (elmo-folder-plugged-p): Define.
6504 (elmo-folder-set-plugged): Ditto.
6505 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6506 (elmo-folder-list-messages-internal): Return t if unplugged.
6507 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6509 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6510 when elmo-folder-list-messages-internal method of children returns t.
6512 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6514 (elmo-folder-open-internal): Don't update if unplugged status.
6516 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6518 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6521 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6523 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6525 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6528 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6530 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6532 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6533 (elmo-folder-open-internal): Set up headers slot.
6534 (elmo-folder-check): Call elmo-folder-close-internal and
6535 elmo-folder-open-internal.
6536 (elmo-folder-close-internal): Clean up headers slot.
6538 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6540 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6541 exactly folder list.
6542 (elmo-folder-append-messages): Fixed append archive with prefix.
6544 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6545 make temp files with start-number.
6547 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6549 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6551 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6552 argument `visible-only'.
6553 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6556 * elmo-pop3.el (elmo-folder-open-internal): Check
6557 `elmo-inhibit-number-mapping' is non-nil.
6559 * elmo-pipe.el (elmo-folder-status): Fixed.
6561 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6563 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6565 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6566 (elmo-folder-open-internal): Setup `header-hash' slot.
6567 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6569 (elmo-map-message-fetch): Ditto.
6571 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6573 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6574 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6575 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6576 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6578 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6580 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6582 * sb-airs.el: Added footer.
6584 * shimbun.el (shimbun-article): Define as luna-method.
6586 * sb-tcup.el: New file.
6588 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6589 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6591 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6593 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6594 (shimbun-get-headers): Ditto.
6596 * elmo.el: Moved obsolete variable definitions from
6597 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6599 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6602 * shimbun.el: New file.
6604 * elmo-shimbun.el: New file.
6606 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6607 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6608 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6609 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6611 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6613 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6616 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6618 * elmo.el (elmo-folder-msgdb): Define as macro.
6619 (elmo-folder-open): Added argument `load-msgdb'.
6620 (elmo-generic-folder-open): Ditto.
6621 (elmo-folder-encache): New function.
6623 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6625 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6627 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6628 Eliminated argument FOLDER and added argument MSGDB.
6629 (elmo-dop-queue-load): Moved from elmo-dop.el.
6630 (elmo-dop-queue-save): Ditto.
6632 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6634 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6636 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6637 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6638 (elmo-filter-folder-list-importants-internal): Ditto.
6640 * elmo-map.el (elmo-folder-pack-number): Ditto.
6642 * elmo-mime.el (elmo-mime-message-display): Ditto.
6644 * elmo.el (elmo-generic-folder-commit): Ditto.
6645 (elmo-folder-list-unreads): Ditto.
6646 (elmo-folder-list-importants): Ditto.
6647 (elmo-generic-folder-commit): Ditto.
6648 (elmo-message-set-mark): Ditto.
6649 (elmo-generic-folder-append-msgdb): Ditto.
6650 (elmo-folder-synchronize): Ditto.
6651 (elmo-folder-messages): Ditto.
6652 (elmo-init): Call elmo-dop-queue-load.
6653 (elmo-folder-list-messages): Ditto.
6655 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6656 (elmo-nntp-folder-process-crosspost): Ditto.
6657 (elmo-folder-list-unreads-internal): Ditto.
6659 * elmo-dop.el: Removed old functions.
6661 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6663 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6664 `folder' to `msgdb'.
6666 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6668 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6669 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6671 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6674 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6676 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6679 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6680 (mmimap-parse-parameters-from-list): Define as alias for
6681 `mime-decode-parameter-plist' if it is defined as function.
6682 (mmimap-make-mime-entity): Added argument `number'.
6683 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6685 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6687 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6689 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6691 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6693 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6695 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6697 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6698 when elmo-imap4-default-authenticate-type is nil.
6699 (elmo-folder-list-subfolders): Ditto
6700 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6701 (elmo-imap4-fetch-callback-1-subr): Renamed from
6702 `elmo-imap4-fetch-callback-1' and define as inline function.
6703 (elmo-imap4-fetch-callback-1):
6704 Renamed from `elmo-imap4-fetch-callback'.
6705 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6707 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6708 msgdb path (To keep compatibility with main trunk).
6710 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6712 * elmo-util.el (elmo-make-file-cache): Moved position of
6715 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6716 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6717 instead of `elmo-pop3-inhibit-uidl'.
6718 (elmo-folder-exists-p): Ditto.
6719 (elmo-pop3-folder-list-messages): Ditto.
6721 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6722 instead of `elmo-pop3-inhibit-uidl'.
6723 (elmo-folder-status): Ditto.
6725 * elmo-dop.el (elmo-dop-folder): New variable.
6726 (elmo-dop-lock-message): Eliminated.
6727 (elmo-dop-unlock-message): Ditto.
6728 (elmo-dop-lock-list-load): Ditto.
6729 (elmo-dop-lock-list-save): Ditto.
6730 (elmo-dop-delete-folder): Ditto.
6731 (elmo-dop-rename-folder): Ditto.
6733 * elmo.el: Removed incomplete commentary.
6735 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6737 * elmo.el (toplevel): Require 'elmo-version first;
6738 for little `recursive-load-depth' settings.
6739 Fix "ends here" comment.
6741 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6743 * elmo-util.el (toplevel): Require 'poem;
6744 Some functions are moved from elmo-cache.el.
6746 * elmo-net.el (toplevel): Require 'elmo-cache.
6748 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6750 * elmo.el (toplevel): Ditto.
6752 * elmo-cache.el: Rewrite with luna;
6753 Some functions are moved to elmo-util.el.
6755 * elmo-internal.el (elmo-internal-folder-list): New variable.
6756 (elmo-internal-folder-initialize): Rewrite.
6757 (elmo-folder-list-subfolders): Ditto.
6759 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6760 (elmo-cache-collect-sub-directories): Ditto.
6762 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6764 * elmo-version.el (elmo-version): Up to 2.5.8.
6766 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6768 * elmo-util.el (elmo-list-insert): New function.
6770 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6772 * elmo.el (elmo-init): New function.
6773 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6775 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6776 (Renamed from `elmo-localdir-header-chop-length').
6778 * elmo-pop3.el (elmo-pop3-use-cache,
6779 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6781 * elmo-nntp.el (elmo-message-fetch): Define.
6782 (elmo-message-fetch-unplugged): Ditto.
6783 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6784 (elmo-nntp-use-cache): Ditto.
6785 (elmo-nntp-max-number-precedes-list-active): Ditto.
6787 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6789 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6790 `elmo-msgdb-insert-file-header'.
6791 Use `elmo-msgdb-file-header-chop-length'.
6793 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6796 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6797 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6798 `elmo-msgdb-insert-file-header'.
6800 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6802 Define obsolete variables with `elmo-define-obsolete-variable',
6804 * elmo-util.el (elmo-warning-buffer-name): New constant.
6805 (elmo-warning): New function.
6806 (elmo-obsolete-variable-alist): New variable.
6807 (elmo-obsolete-variable-show-warnings): New variable.
6808 (elmo-define-obsolete-variable): New function.
6809 (elmo-resque-obsolete-variable): Ditto.
6810 (elmo-resque-obsolete-variables): Ditto.
6812 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6814 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6817 * elmo-pop3.el, elmo-nntp.el: Use custom.
6819 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6821 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6822 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6824 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6826 * Luna-fy Kenichi OKADA's following changes.
6827 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6829 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6831 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6833 * elmo-util.el (elmo-display-progress): Prefer
6834 `progress-feedback-with-label' to `lprogress-display'.
6836 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6838 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6840 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6842 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6843 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6844 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6845 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6846 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6847 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6848 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6849 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6850 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6851 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6852 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6853 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6854 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6856 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6858 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6859 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6861 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6863 * elmo.el (elmo-folder-process-crosspost): New generic method.
6864 (elmo-folder-writable-p): Ditto.
6865 (elmo-folder-message-appendable-p): Eliminated.
6866 (elmo-generic-folder-append-msgdb): Rewrite.
6867 (elmo-newsgroups-hashtb): New internal variable.
6868 (elmo-crosspost-message-set): Eliminated.
6869 (elmo-crosspost-message-delete): Ditto.
6870 (elmo-setup-subscribed-newsgroups): New function.
6871 (elmo-crosspost-message-alist-modified): New internal variable.
6872 (elmo-crosspost-message-alist-load): New function (Renamed from
6873 `wl-crosspost-alist-load').
6874 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6875 `wl-crosspost-alist-save').
6877 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6879 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6881 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6882 elmo-newsgroups-hashtb).
6883 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6884 `elmo-nntp-folder-update-crosspost-message-alist'.
6885 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6886 `elmo-nntp-groups-hashtb'.
6887 (elmo-nntp-make-groups-hashtb): Eliminated.
6888 (elmo-nntp-parse-newsgroups): New function (Renamed from
6889 `wl-parse-newsgroups').
6890 (elmo-folder-creatable-p, elmo-folder-writable-p,
6891 elmo-folder-close-internal, elmo-folder-mark-as-read,
6892 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6894 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6896 * elmo-net.el (elmo-message-fetch): Check buffer size.
6898 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6900 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6902 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6903 before `close' command.
6905 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6906 `mark-alist' (All other related portions are changed).
6908 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6910 * elmo-util.el (elmo-create-hash-size): Eliminated.
6911 (elmo-make-hash) Make a hash with `one less than a power of two'
6914 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6915 (elmo-hash-maximum-size): Changed value.
6917 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6919 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6920 (elmo-mime-message-display-as-is): Ditto.
6922 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6924 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6925 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6927 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6929 * elmo-mark.el: New file.
6931 * elmo-internal.el: Rewrite (Almost empty).
6933 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6935 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6936 (mime-imap-entity-header-string): Ditto.
6937 (mmimap-entity-section): Rewrite.
6939 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6941 * elmo-nmz.el: New file.
6943 * elmo-pipe.el: Rewrite with luna.
6945 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6947 * elmo-archive.el: Rewrite with luna.
6949 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6950 (elmo-folder-list-importants-internal): Ditto.
6952 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6954 * elmo-archive.el (elmo-archive-version): Abolish.
6955 (toplevel) Removed `boso' comment.
6957 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6959 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6960 elmo-msgdb-add-msgs-to-seen-list-subr;
6961 Changed argument seen-marks to unread-marks.
6963 * elmo-nntp.el: Rewrite with luna.
6965 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6967 * elmo-filter.el: Rewrite with luna.
6969 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6971 * elmo-pop3.el: Rewrite with luna.
6973 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6975 * elmo-multi.el: Rewrite with luna.
6977 * elmo-vars.el (elmo-use-killed-list): Abolish.
6978 All other related portions are changed.
6979 (elmo-filename-replace-string-alist): Renamed from
6980 elmo-msgid-replace-string-alist.
6982 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6984 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6986 * elmo-map.el: New file.
6987 * elmo-maildir.el: Rewrite with luna.
6989 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6991 * elmo.el: Changed meaning of `elmo-folder-commit'.
6992 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6994 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6996 * elmo.el (elmo-folder-append-buffer): New function.
6997 (Renamed from `elmo-append-msg')
6999 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7001 * elmo-mime.el: New file.
7003 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7005 * elmo-cache.el: Rewrite.
7007 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7009 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7011 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7013 * elmo-vars.el (elmo): New group.
7014 (elmo-strict-diff-folder-regexp): New variable.
7016 * elmo-util.el (elmo-call-func): Abolish.
7017 (elmo-folder-get-type): Ditto.
7018 (elmo-*-get-spec): Ditto.
7019 (elmo-*-spec-*): Ditto.
7020 (elmo-imap4-identical-name-space-p): Ditto.
7021 (elmo-folder-identical-system-p): Ditto.
7022 (elmo-folder-direct-copy-alist): Ditto.
7023 (elmo-folder-direct-copy-p): Ditto.
7025 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7026 (elmo-folder-initialize): Define.
7027 (elmo-folder-get-primitive-list): Ditto.
7029 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7030 (elmo-folder-initialize): Define.
7031 Renamed `elmo-network-session-host-internal' to
7032 `elmo-network-session-server-internal'.
7034 * elmo-multi.el (elmo-multi-folder): New luna class.
7035 (elmo-folder-initialize): Define.
7036 (elmo-folder-get-primitive-list): Ditto.
7037 (elmo-folder-contains-type): Ditto.
7038 (elmo-message-use-cache-p): Ditto.
7040 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7041 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7043 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7044 (elmo-folder-initialize): Define.
7046 * elmo-filter.el (elmo-filter-folder): New luna class.
7047 (elmo-folder-initialize): Define.
7048 (elmo-folder-get-primitive-list): Ditto.
7049 (elmo-folder-contains-type): Ditto.
7051 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7053 * elmo-imap4.el: Rewrite with luna.
7055 * mmimap.el: New file.
7057 * mmelmo.el, mmelmo-imap4.el: Removed.
7059 * elmo-net.el: Ditto.
7061 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7062 (elmo-folder-initialize): Define.
7064 * elmo-archive.el (elmo-archive-folder): New luna class.
7065 (elmo-folder-initialize): Define.
7067 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7068 `elmo-folder-msgdb-path'.
7069 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7072 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7074 * elmo.el: New file.
7076 * elmo2.el: Renamed to elmo.el.
7079 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7081 * elmo-cache.el (elmo-cache-expire-by-size): Count
7082 a disk usage for a cache file entry in KB even when
7083 its kind is a directory.
7085 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7087 * elmo-version.el (elmo-version): Up to 2.5.7.
7089 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7091 * elmo-version.el (elmo-version): Up to 2.5.6.
7093 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7095 * elmo-version.el (elmo-version): Up to 2.5.5.
7097 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7099 * elmo-imap4.el (elmo-network-authenticate-session):
7100 Fixed a logic for response checking.
7102 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7104 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7105 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7106 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7109 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7110 for `starttls-open-stream' and `starttls-negotiate'.
7112 * elmo-nntp.el: Remove autoload settings for
7113 `starttls-open-stream' and `starttls-negotiate'.
7115 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7116 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7117 `luna-define-class' with `eval-and-compile'.
7119 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7121 * elmo-util.el (elmo-read-search-condition-internal):
7122 Require an element of table for searching field.
7124 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7126 * elmo-version.el (elmo-version): Up to 2.5.4.
7128 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7130 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7132 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7134 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7136 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7138 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7141 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7143 * elmo-imap4.el (elmo-imap4-delete-folder):
7144 Send "close" before "delete" (Use commented out line).
7145 (elmo-imap4-rename-folder): Ditto.
7147 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7148 folder string itself.
7149 (elmo-dop-list-deleted): New function.
7150 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7153 * elmo-util.el (elmo-string-rassoc-all): New function.
7155 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7157 * elmo-version.el (elmo-version): Up to 2.5.3.
7159 * elmo-net.el (elmo-network-get-session): Changed logic for
7160 checking process status.
7162 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7164 Changed logic for checking process status.
7166 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7168 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7170 (elmo-network-setup-session): Set UIDL hash size according to
7171 the length of list response.
7172 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7173 according to the length of list response;
7174 Return the length of list response.
7175 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7177 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7179 * elmo-imap4.el (toplevel): Require 'ssl.
7180 Add autoload 'starttls.
7181 * elmo-pop3.el (toplevel): Ditto.
7182 * elmo-nntp.el (toplevel): Ditto.
7184 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7186 * elmo-imap4.el (toplevel): defun at compile time.
7187 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7188 sasl-next-step, sasl-step-data, sasl-step-set-data.
7189 * elmo-pop3.el (toplevel): Ditto.
7191 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7193 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7195 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7197 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7199 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7200 and `elmo-pop-auth-apop'.
7202 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7204 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7206 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7208 * elmo-pop3.el (elmo-network-authenticate-session): Split
7209 encoded response value.
7211 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7213 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7214 `elmo-pop3-force-login'.
7215 Redefine `sasl-mechanisms'.
7216 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7218 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7220 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7221 Delete `elmo-imap4-authenticator-alist'.
7222 (elmo-imap4-auth-cram-md5): Delete.
7223 (elmo-imap4-auth-digest-md5): Delete.
7225 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7227 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7228 (elmo-pop3-auth-scram-md5): Ditto.
7229 (elmo-pop3-auth-cram-md5): Ditto.
7231 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7233 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7234 Delete `elmo-pop3-authenticator-alist'.
7236 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7238 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7240 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7242 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7244 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7246 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7248 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7249 Fixed problem when `elmo-pop3-use-uidl' is nil.
7250 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7252 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7254 * elmo-version.el (elmo-version): Up to 2.5.2.
7256 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7258 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7260 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7261 (elmo-pop3-msgdb-create-as-numlist): Use it.
7263 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7264 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7266 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7267 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7269 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7271 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7272 when elmo-mark-as-read is called with second argument nil.
7274 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7276 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7277 Moved to elmo-util.el.
7279 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7280 Moved from elmo-pipe.el
7282 * elmo-archive.el (elmo-archive-call-process): Enclose with
7285 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7286 "RFC822" (because RFC822.PEEK is obsolete).
7287 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7289 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7291 * elmo-archive.el (elmo-archive-call-process): Don't check for
7292 the exit status when Nemacs is running.
7294 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7296 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7299 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7300 (elmo-pop3-get-spec): Set default of auth to 'user.
7302 * elmo-imap4.el (elmo-imap4-session-check):
7303 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7304 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7305 (elmo-imap4-auth-login): New function; Revival.
7306 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7307 `elmo-imap4-auth-login'.
7309 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7311 * elmo2.el (toplevel): Move `product-provide' declare.
7312 * mmelmo.el (toplevel): Ditto.
7314 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7316 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7318 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7320 * elmo-util.el (elmo-folder-get-store-type): New function.
7321 (elmo-folder-direct-copy-p): Use it.
7323 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7325 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7326 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7327 and result of `elmo-imap4-use-flag-p'.
7328 (elmo-imap4-fetch-callback-1): Set mark according to
7329 the result of `elmo-imap4-use-flag-p'.
7331 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7333 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7334 (elmo-generic-list-folder-unread): Ditto.
7335 (elmo-folder-get-info): Ditto.
7336 (elmo-folder-set-info-max-by-numdb): Ditto.
7337 (elmo-folder-get-info-max): Ditto.
7338 (elmo-folder-get-info-length): Ditto.
7339 (elmo-folder-get-info-unread): Ditto.
7340 (elmo-folder-info-make-hashtb): Ditto.
7342 * elmo2.el: Removed above functions.
7344 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7346 * elmo-imap4.el (toplevel): Require 'ssl.
7347 Add autoload 'starttls.
7348 * elmo-pop3.el (toplevel): Ditto.
7349 * elmo-nntp.el (toplevel): Ditto.
7351 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7353 * elmo-imap4.el (toplevel): defun at compile time.
7354 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7355 sasl-next-step, sasl-step-data, sasl-step-set-data.
7356 * elmo-pop3.el (toplevel): Ditto.
7358 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7360 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7362 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7364 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7366 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7367 and `elmo-pop-auth-apop'.
7369 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7371 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7373 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7375 * elmo-pop3.el (elmo-network-authenticate-session): Split
7376 encoded response value.
7378 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7380 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7381 `elmo-pop3-force-login'.
7382 Redefine `sasl-mechanisms'.
7383 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7385 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7387 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7388 Delete `elmo-imap4-authenticator-alist'.
7389 (elmo-imap4-auth-cram-md5): Delete.
7390 (elmo-imap4-auth-digest-md5): Delete.
7392 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7394 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7395 (elmo-pop3-auth-scram-md5): Ditto.
7396 (elmo-pop3-auth-cram-md5): Ditto.
7398 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7400 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7401 Delete `elmo-pop3-authenticator-alist'.
7403 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7405 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7407 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7410 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7412 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7414 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7416 * elmo-nntp.el (elmo-nntp-get-folders-info):
7417 Fixed problem when '\' character is contained in user-id.
7418 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7421 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7423 * elmo-imap4.el (elmo-imap4-delete-folder):
7424 Send "close" before "delete" (Use commented out line).
7425 (elmo-imap4-rename-folder): Ditto.
7427 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7428 folder string itself.
7429 (elmo-dop-list-deleted): New function.
7430 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7433 * elmo-util.el (elmo-string-rassoc-all): New function.
7435 * elmo-version.el (elmo-version): Up to 2.5.1.
7437 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7439 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7441 * elmo-internal.el (elmo-internal-search): Fix last change.
7443 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7445 * elmo-internal.el (elmo-internal-search): Rewrite.
7446 (Fixed problem which is pointed out by Akihiro MOTOKI
7447 <motoki@da.jp.nec.com>)
7449 * elmo-version.el (elmo-version): Up to 2.5.0.
7451 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7453 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7455 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7457 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7458 non-nil, make hierarchy.
7460 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7462 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7463 `elmo-pop3-use-uidl' must be bound to nil.
7464 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7466 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7468 * elmo-util.el (elmo-copy-file): Don't cause an error after
7469 `add-name-to-file' failed.
7471 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7472 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7474 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7476 * elmo-version.el (elmo-version): Up to 2.3.93.
7478 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7480 * elmo-util.el (elmo-flatten): New function.
7482 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7484 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7486 * elmo-cache.el (toplevel): Ditto.
7487 * elmo-database.el (toplevel): Ditto.
7488 * elmo-date.el (toplevel): Ditto.
7489 * elmo-dop.el (toplevel): Ditto.
7490 * elmo-filter.el (toplevel): Ditto.
7491 * elmo-imap4.el (toplevel): Ditto.
7492 * elmo-internal.el (toplevel): Ditto.
7493 * elmo-localdir.el (toplevel): Ditto.
7494 * elmo-localnews.el (toplevel): Ditto.
7495 * elmo-maildir.el (toplevel): Ditto.
7496 * elmo-msgdb.el (toplevel): Ditto.
7497 * elmo-multi.el (toplevel): Ditto.
7498 * elmo-net.el (toplevel): Ditto.
7499 * elmo-nntp.el (toplevel): Ditto.
7500 * elmo-pipe.el (toplevel): Ditto.
7501 * elmo-pop3.el (toplevel): Ditto.
7502 * elmo-util.el (toplevel): Ditto.
7503 * elmo-vars.el (toplevel): Ditto.
7504 * elmo2.el (toplevel): Ditto.
7505 * mmelmo-imap4.el (toplevel): Ditto.
7506 * mmelmo.el (toplevel): Ditto.
7508 * elmo-version.el (elmo-version): Move to top.
7510 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7511 * elmo-imap4.el (toplevel): Ditto.
7512 * elmo-localdir.el (toplevel): Ditto.
7513 * elmo-msgdb.el (toplevel): Ditto.
7514 * elmo-nntp.el (toplevel): Ditto.
7515 * elmo-pop3.el (toplevel): Ditto.
7516 * elmo-version.el (toplevel): Ditto.
7518 * elmo-localnews.el (toplevel): Added Keyword header.
7520 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7522 * elmo-version.el (product-version-as-string): Defined using
7526 * elmo-localdir.el (toplevel): Updated copyright notice.
7527 * elmo-version.el (toplevel): Ditto.
7528 * elmo-msgdb.el (toplevel): Ditto.
7529 * elmo-imap4.el (toplevel): Ditto.
7530 * elmo-nntp.el (toplevel): Ditto.
7531 * elmo-pop3.el (toplevel): Ditto.
7533 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7535 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7538 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7539 parameter value (It sometimes contains raw kanji).
7541 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7543 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7544 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7546 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7548 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7550 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7552 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7553 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7555 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7557 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7558 value if selecting folder succceeded.
7559 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7561 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7563 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7566 * elmo-util.el (elmo-string-matched-member): New function.
7568 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7570 * elmo-util.el (elmo-unintern): New macro.
7571 (elmo-number-set-member): Fixed docstring.
7573 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7576 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7578 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7579 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7581 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7583 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7586 Return non-nil if selecting folder succeeded.
7587 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7589 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7591 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7592 `file-name-completion' returns t.
7593 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7594 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7595 directory if it does not exist.
7596 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7599 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7601 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7602 enclosure (It's harmful in unplugged status).
7604 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7606 * mmelmo-1.el: Removed.
7608 * mmelmo-2.el: Ditto.
7610 * mmelmo-imap4-1.el: Ditto.
7612 * mmelmo-imap4-2.el: Ditto.
7614 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7616 * mmelmo.el: Merged mmelmo-2.el.
7618 * elmo-version.el (elmo-version): Up to 2.3.92.
7620 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7622 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7623 elmo-update-number): Remove last period in "...done." message.
7624 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7626 * elmo-cache.el (elmo-cache-expire-by-size,
7627 elmo-cache-get-sorted-cache-file-list,
7628 elmo-cache-msgdb-create-as-numlist): Ditto.
7629 * elmo-dop.el (elmo-dop-save-pending-messages,
7630 (elmo-dop-flush-pending-append-operations): Ditto.
7631 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7632 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7633 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7634 (elmo-localdir-pack-number): Ditto.
7635 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7636 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7637 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7638 mime-write-entity-content): Ditto.
7639 * pldap.el (ldap-search-basic): Ditto.
7641 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7643 * elmo-version.el (elmo-version): Up to 2.3.91.
7645 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7646 Only when filter is 'last'.
7648 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7649 (elmo-condition-parse-search-value): Use it.
7650 (elmo-read-search-condition-internal): Quote value only when
7653 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7655 * elmo2.el (elmo-generic-folder-diff): Fix.
7657 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7659 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7660 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7661 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7662 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7663 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7664 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7666 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7668 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7671 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7673 * elmo-version.el (elmo-version): Up to 2.3.90.
7675 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7676 (elmo-imap4-list-folder-important): Ditto.
7678 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7680 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7682 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7684 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7686 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7688 * elmo-nntp.el (elmo-network-initialize-session):
7689 Add starttls negotiation.
7691 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7693 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7695 (elmo-network-setup-session): Define.
7696 Call `elmo-nntp-send-mode-reader' when session opened.
7698 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7700 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7702 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7704 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7705 an invalid SPACE character ahead of `SEARCH' command. Move
7706 a valid SPACE character following `SEARCH' from conditional
7707 `format' arguments to control-strings.
7709 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7711 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7714 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7716 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7718 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7719 `w32-get-true-file-link-count' as t.
7721 * elmo-imap4.el (elmo-imap4-read): Abolished.
7722 (Renamed to `elmo-read' and moved to elmo-util.el)
7723 All other related portions are changed.
7725 * elmo-util.el (elmo-read): New function.
7726 (elmo-condition-parse-search-value): Use it.
7728 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7730 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7732 * elmo-nntp.el (elmo-nntp-session): Define.
7733 (elmo-nntp-setting): Abolished.
7734 All other related portions are changed.
7735 (elmo-nntp-get-server-command): Changed argument.
7736 (elmo-nntp-set-server-command): Ditto.
7737 (elmo-nntp-xover-p): Ditto.
7738 (elmo-nntp-set-xover): Ditto.
7739 (elmo-nntp-listgroup-p): Ditto.
7740 (elmo-nntp-set-listgroup): Ditto.
7741 (elmo-nntp-list-active-p): Ditto.
7742 (elmo-nntp-set-list-active): Ditto.
7743 (elmo-nntp-xhdr-p): Ditto.
7744 (elmo-nntp-set-xhdr): Ditto.
7745 (elmo-nntp-flush-connection): Abolished.
7746 (elmo-nntp-get-connection): Abolished.
7747 (elmo-nntp-get-session): New function.
7748 (elmo-network-initialize-session): Defined.
7749 (elmo-network-authenticate-session): Ditto.
7750 (elmo-nntp-send-mode-reader): Changed argument.
7751 (elmo-nntp-send-command): Changed argument.
7752 All other related portions are changed.
7753 (elmo-nntp-read-response): Ditto.
7754 (elmo-nntp-read-raw-response): Ditto.
7755 (elmo-nntp-read-contents): Ditto.
7756 (elmo-nntp-read-body): Ditto.
7757 (elmo-nntp-goto-folder): Abolished.
7758 (elmo-nntp-select-group): New function.
7759 All other related portions are changed.
7760 (This function substitutes `elmo-nntp-goto-folder')
7761 (elmo-nntp-msgdb-create-by-header): Rewrite.
7762 (elmo-nntp-get-overview): Eliminated.
7763 (elmo-nntp-get-message): Ditto.
7764 (elmo-nntp-open-connection) Abolished.
7765 (elmo-nntp-read-msg): Rewrite.
7766 (elmo-nntp-post): Ditto.
7767 (elmo-nntp-send-data): Abolished.
7768 (elmo-nntp-send-buffer): New function.
7769 (elmo-nntp-send-data-line): Define as inline function.
7770 (elmo-nntp-get-folders-info-prepare): Use session as key.
7771 (elmo-nntp-groups-read-response): Changed argument.
7772 (elmo-nntp-retrieve-headers): Ditto.
7773 (elmo-nntp-msgdb-create-message): Ditto.
7775 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7776 when searching by 'since' or 'before'.
7778 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7780 * elmo-version.el (toplevel): Use product-version-as-string for set
7781 verstion-string, if defined.
7783 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7785 * elmo-util.el: Doc fixes.
7787 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7789 * elmo-archive.el (toplevel): Use product-provide.
7790 * elmo-cache.el (toplevel): Ditto.
7791 * elmo-database.el (toplevel): Ditto.
7792 * elmo-date.el (toplevel): Ditto.
7793 * elmo-dop.el (toplevel): Ditto.
7794 * elmo-filter.el (toplevel): Ditto.
7795 * elmo-imap4.el (toplevel): Ditto.
7796 * elmo-internal.el (toplevel): Ditto.
7797 * elmo-localdir.el (toplevel): Ditto.
7798 * elmo-localnews.el (toplevel): Ditto.
7799 * elmo-maildir.el (toplevel): Ditto.
7800 * elmo-msgdb.el (toplevel): Ditto.
7801 * elmo-multi.el (toplevel): Ditto.
7802 * elmo-net.el (toplevel): Ditto.
7803 * elmo-nntp.el (toplevel): Ditto.
7804 * elmo-pipe.el (toplevel): Ditto.
7805 * elmo-pop3.el (toplevel): Ditto.
7806 * elmo-util.el (toplevel): Ditto.
7807 * elmo-vars.el (toplevel): Ditto.
7808 * elmo2.el (toplevel): Ditto.
7809 * mmelmo-1.el (toplevel): Ditto.
7810 * mmelmo-2.el (toplevel): Ditto.
7811 * mmelmo-imap4-1.el (toplevel): Ditto.
7812 * mmelmo-imap4-2.el (toplevel): Ditto.
7813 * mmelmo-imap4.el (toplevel): Ditto.
7814 * mmelmo.el (toplevel): Ditto.
7816 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7818 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7819 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7821 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7823 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7825 (elmo-multi-split-number-alist): Ditto.
7827 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7829 * elmo-version.el: New file. Use product.el.
7830 * elmo2.el: Add (require 'elmo-version).
7831 * elmo-vars.el (elmo-appname, elmo-version): Move to
7834 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7836 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7837 `elmo-msgdb-expand-path'.
7838 (elmo-msgdb-load): Ditto.
7839 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7840 (elmo-generic-list-folder-unread): Rewrite.
7841 (elmo-generic-list-folder-important): Changed argument.
7842 (elmo-list-folder-unread): Ditto.
7843 (elmo-list-folder-important): Ditto.
7844 (elmo-folder-diff): Rewrite.
7845 (elmo-generic-folder-diff): New function.
7846 (elmo-multi-get-number-alist-list): Abolished
7847 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7848 (elmo-multi-folder-diff): Moved to elmo-multi.el
7849 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7851 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7852 `elmo-msgdb-expand-path'.
7853 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7854 (elmo-pop3-read-msg): Ditto.
7855 (elmo-pop3-delete-msgs): Ditto.
7856 (elmo-pop3-folder-diff): New alias.
7858 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7859 `elmo-msgdb-expand-path'.
7860 (elmo-pipe-list-folder-unread): Changed arguments.
7861 (elmo-pipe-list-folder-important): Ditto.
7862 (elmo-pipe-folder-diff): New alias.
7864 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7865 `elmo-msgdb-expand-path'.
7866 (elmo-nntp-max-of-folder): Ditto.
7867 (elmo-nntp-msgdb-create): Ditto.
7868 (elmo-nntp-delete-msgs): Ditto.
7869 (elmo-nntp-folder-diff): New alias.
7871 * elmo-multi.el (elmo-multi-folder-diff): New function.
7872 (elmo-multi-split-mark-alist): Ditto.
7873 (elmo-multi-split-number-alist): Ditto.
7874 (elmo-multi-mark-alist-list): Abolished (Renamed to
7875 elmo-multi-split-mark-alist).
7876 (elmo-multi-list-folder-unread): Rewrite.
7877 (elmo-multi-list-folder-important): Ditto.
7878 (elmo-multi-list-folder): Set `spec' as 1st argument for
7879 `elmo-msgdb-expand-path'.
7880 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7881 instead of `elmo-multi-get-number-alist-list'.
7883 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7884 If 1st argument is not string, treat as spec.
7885 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7886 `elmo-msgdb-expand-path'.
7887 (elmo-msgdb-flist-load): Ditto.
7888 (elmo-msgdb-flist-save): Ditto.
7889 (elmo-msgdb-delete-path): Ditto.
7890 (elmo-msgdb-rename-path): Ditto.
7892 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7893 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7894 (elmo-maildir-delete-mark-msgs): Ditto.
7895 (elmo-maildir-msgdb-create): Ditto.
7896 (elmo-maildir-read-msg): Ditto.
7897 (elmo-maildir-delete-msgs): Ditto.
7898 (elmo-maildir-list-folder-subr): Ditto.
7899 (elmo-maildir-search): Ditto.
7900 (elmo-maildir-get-msg-filename): Ditto.
7901 (elmo-maildir-pack-number): Ditto.
7902 (elmo-maildir-folder-diff): New alias.
7904 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7906 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7907 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7908 (elmo-localdir-folder-diff): New alias.
7910 * elmo-internal.el (elmo-internal-list-folder-subr):
7911 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7912 (elmo-internal-list-folder-by-location): Ditto.
7913 (elmo-internal-msgdb-create): Ditto.
7914 (elmo-internal-delete-msgs): Ditto.
7915 (elmo-internal-read-msg): Ditto.
7916 (elmo-internal-folder-diff): New alias.
7918 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7919 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7920 `elmo-msgdb-expand-path'.
7921 (elmo-imap4-list-folder-unread): Changed arguments.
7922 (elmo-imap4-list-folder-important): Ditto.
7924 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7925 (elmo-filter-list-folder-important): Ditto.
7926 (elmo-filter-folder-diff): New function.
7928 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7930 * elmo-cache.el (elmo-cache-list-folder):
7931 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7932 (elmo-cache-copy-msgs): Ditto.
7933 (elmo-cache-folder-diff): New alias.
7935 * elmo-archive.el (elmo-archive-list-folder-subr):
7936 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7937 (elmo-archive-get-archive-name): Ditto.
7938 (elmo-archive-create-file): Ditto.
7939 (elmo-archive-append-msg): Ditto.
7940 (elmo-archive-copy-msgs): Ditto.
7941 (elmo-archive-copy-msgs-froms): Ditto.
7942 (elmo-archive-get-msg-filename): Ditto.
7943 (elmo-archive-folder-diff): New alias.
7945 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7947 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7948 (elmo-pop3-stream-type-alist): New variable.
7949 (elmo-nntp-stream-type-alist): New variable.
7951 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7952 (elmo-kill-buffer): Ditto.
7953 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7954 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7955 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7956 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7957 (elmo-imap4-get-spec): Take into account
7958 `elmo-imap4-stream-type-alist'.
7960 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7962 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7963 (elmo-nntp-list-folders-get-cache): Ditto.
7965 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7967 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7968 character before 'uid'.
7970 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7972 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7974 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7976 * elmo-util.el (elmo-number-set-member): New function.
7977 (elmo-number-set-append-list): Ditto.
7978 (elmo-number-set-append): Ditto.
7980 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7981 Use `elmo-number-set-member'.
7982 (elmo-living-messages): Ditto.
7983 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7984 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7986 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7987 (elmo-imap4-add-to-cont-list): Abolished.
7988 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7989 instead of elmo-imap4-add-to-cont-list.
7991 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7992 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7994 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7996 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7998 * elmo-util.el (elmo-condition-parse-search-value):
8001 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8003 * elmo-util.el (elmo-condition-find-key-internal): New function.
8004 (elmo-condition-find-key): Ditto.
8006 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8007 (elmo-msgdb-search-internal): Ditto.
8008 (elmo-msgdb-search): Ditto.
8010 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8012 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8013 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8015 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8016 (elmo-nntp-search-primitive): Fixed problem when condition is
8019 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8021 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8022 (elmo-nntp-xhdr-p): New macro.
8023 (elmo-nntp-set-xhdr): Ditto.
8024 (elmo-nntp-parse-xhdr-response): New function.
8025 (elmo-nntp-retrieve-field): Ditto.
8026 (elmo-nntp-search-primitive): Ditto.
8027 (elmo-nntp-search): Implemented.
8029 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8031 * elmo-archive.el (elmo-archive-search): Set all number list to
8032 `elmo-archive-field-condition-match'
8034 * elmo-localdir.el (elmo-localdir-search): Likewise.
8036 * elmo-maildir.el (elmo-maildir-search): Likewise.
8038 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8040 * elmo-msgdb.el (elmo-living-messages): New function.
8041 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8042 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8043 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8044 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8045 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8046 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8047 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8048 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8049 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8050 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8051 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8053 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8055 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8057 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8059 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8061 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8062 arguments for `SEARCH' command.
8063 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8064 All other related portions are changed.
8066 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8068 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8069 (elmo-list-folder-unread): Rewrite.
8070 (elmo-list-folder-important): Ditto.
8072 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8073 (elmo-condition-parse-error): New inline function.
8074 (elmo-read-search-condition): New function.
8075 (elmo-read-search-condition-internal): Ditto.
8076 (elmo-parse-search-condition): Rewrite.
8077 (elmo-condition-parse): New function.
8078 (elmo-condition-parse-or-expr): Ditto.
8079 (elmo-condition-parse-and-expr): Ditto.
8080 (elmo-condition-parse-primitive): Ditto.
8081 (elmo-condition-parse-search-value): Ditto.
8082 (elmo-buffer-field-primitive-condition-match): Ditto.
8083 (elmo-buffer-field-condition-match): Rewrite.
8084 (elmo-file-field-condition-match): Ditto.
8086 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8087 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8089 * elmo-internal.el (elmo-internal-search): Set `number' and
8090 `number-list' argument of `elmo-file-field-condition-match'.
8092 * elmo-maildir.el (elmo-maildir-search): Ditto.
8094 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8095 `msgdb' as argument instead of `mark-alist'.
8096 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8099 * elmo-multi.el: Likewise.
8101 * elmo-pipe.el: Likewise.
8103 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8104 (elmo-imap4-search-internal): Rewrite.
8105 (elmo-imap4-search): Ditto.
8107 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8108 (elmo-filter-list-folder-unread): Ditto.
8109 (elmo-filter-list-folder-important): Ditto.
8110 (elmo-filter-search): Rewrite.
8112 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8113 `number-list' argument of `elmo-file-field-condition-match'.
8114 (elmo-cache-search): Ditto.
8116 * elmo-localdir.el: Likewise.
8118 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8119 number-list and pass it to `elmo-buffer-field-condition-match'.
8120 (elmo-archive-field-condition-match): Pass `number-list' to
8121 `elmo-archive-field-condition-match'
8123 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8125 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8128 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8129 (elmo-folder-diff-async-callback-data): Ditto.
8130 (elmo-folder-diff-async): New function.
8132 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8133 (elmo-network-session-cache-key): Use it as a prefix of the session
8135 (elmo-network-open-session): Ditto.
8137 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8138 (elmo-imap4-status-callback-data): Ditto.
8139 (elmo-imap4-server-diff-async-callback): New variable.
8140 (elmo-imap4-server-diff-async-callback-data): Ditto.
8141 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8142 `elmo-imap4-status-callback-data'.
8143 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8144 `elmo-imap4-status-callback-data' as nil.
8145 (elmo-imap4-server-diff): Ditto.
8146 (elmo-imap4-server-diff-async-callback-1): New function.
8147 (elmo-imap4-server-diff-async): Ditto.
8148 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8150 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8152 * elmo-util.el (elmo-list-delete): Doc fix.
8153 (elmo-delete-lists): Abolish.
8154 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8155 instead of `elmo-delete-lists'.
8157 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8159 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8162 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8164 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8165 `elmo-imap4-literal-subr'.
8166 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8167 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8169 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8171 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8172 (elmo-archive-list-folder): Fix.
8173 (elmo-archive-max-of-folder): Fix.
8175 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8177 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8178 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8179 (elmo-localdir-append-msg): Ditto.
8180 (elmo-localdir-list-folder): Fix for `nonsort'.
8181 (elmo-localdir-list-folder-subr): Fix for `killed'.
8182 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8183 (elmo-maildir-list-folder-subr): Ditto.
8184 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8185 (elmo-archive-list-folder-subr): Ditto.
8186 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8187 (elmo-internal-list-folder-subr): Ditto.
8189 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8191 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8193 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8195 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8197 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8199 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8200 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8202 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8204 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8205 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8207 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8209 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8211 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8212 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8213 before STORE command.
8215 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8217 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8219 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8220 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8222 (elmo-imap4-list-folders): Removed unused local variable.
8223 (elmo-network-initialize-session): Ditto.
8224 (elmo-imap4-delete-msg-by-id): Ditto.
8225 (elmo-imap4-parse-fetch): Ditto.
8226 (elmo-imap4-copy-msgs): Ditto.
8227 Use `dst-spec' instead of `dst-folder'.
8228 (elmo-network-authenticate-session): Check authenticate type `plain'.
8230 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8232 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8234 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8235 `elmo-imap4-response-value'.
8236 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8238 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8240 * elmo-imap4.el (elmo-imap4-send-command):
8241 Cause elmo-imap4-bye-error when current response is BYE.
8242 (elmo-imap4-arrival-filter): Changed greeting response value.
8244 * elmo2.el (elmo-imap4-bye-error): Define.
8246 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8247 (elmo-imap4-server-diff): Ditto.
8248 (elmo-imap4-response-bye-p): New macro.
8249 (elmo-imap4-response-error-text): Get text from BYE response.
8250 (elmo-imap4-read-response): Return if BYE response.
8251 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8252 (elmo-imap4-folder-exists-p): Ditto.
8253 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8254 (elmo-imap4-parse-bye): New function.
8255 (elmo-imap4-parse-response): Remove needless let.
8256 Call `elmo-imap4-parse-bye'.
8258 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8260 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8261 the mailbox does not exist.
8262 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8264 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8266 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8268 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8270 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8272 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8273 (elmo-network-initialize-session-buffer): Defined.
8275 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8277 (mmelmo-imap4-get-mime-entity): Rewrite.
8279 * elmo2.el (elmo-error): Capitalize error message.
8281 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8282 (elmo-network-session-buffer): New macro.
8283 (elmo-network-open-session): Use it.
8285 * elmo-imap4.el: Rewrite.
8287 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8289 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8291 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8293 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8294 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8295 (elmo-imap4-create-msgdb-from-overview-string): Use
8296 `elmo-msgdb-create-overview-from-buffer'.
8298 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8300 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8301 (elmo-imap4-default-hierarchy-delimiter): New variable.
8302 (elmo-imap4-list-folders): Use it.
8304 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8306 * elmo-net.el (elmo-network-open-session): Add user and
8307 stream-type for process-buffer name.
8309 * elmo-pop3.el (elmo-network-initialize-session): Call
8310 buffer-disable-undo.
8312 * elmo-imap4.el (elmo-network-initialize-session):
8313 Set current-buffer as an argument for `buffer-disable-undo'.
8315 * elmo-pop3.el (elmo-network-close-session): Don't use
8318 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8319 Set default as 'user.
8321 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8323 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8324 and `elmo-imap4-flush-connection'.
8326 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8327 (elmo-pop3-get-spec): Assume auth as symbol.
8328 (elmo-open-network-stream): Moved to `elmo-net'.
8330 * elmo-pop3.el (toplevel): Require 'elmo-net.
8331 Define `sasl-cram-md5' to silence byte compilier.
8332 (elmo-pop3-connection-cache) Abolished.
8333 (elmo-pop3-authenticator-alist) New variable.
8334 (elmo-pop3-session): Define.
8335 (elmo-pop3-connection-get-process): Abolished.
8336 (elmo-pop3-connection-get-buffer): Ditto.
8337 (elmo-pop3-close-connection): Ditto.
8338 (elmo-pop3-flush-connection): Ditto.
8339 (elmo-pop3-get-connection): Ditto.
8340 (elmo-pop3-get-session): New function.
8341 (Replacement for `elmo-pop3-get-connection').
8342 All other related modules are changed.
8343 (elmo-network-close-session): Define.
8344 (elmo-pop3-send-command): Abolished argument `buffer'.
8345 All other related modules are changed.
8346 (elmo-pop3-read-response): Likewise.
8347 (elmo-pop3-open-connection): Abolished.
8348 (elmo-pop3-auth-user): New function.
8349 (elmo-pop3-auth-apop): Ditto.
8350 (elmo-pop3-auth-cram-md5): Ditto.
8351 (elmo-pop3-auth-scram-md5): Ditto.
8352 (elmo-pop3-auth-digest-md5): Ditto.
8353 (elmo-network-initialize-session): Define.
8354 (elmo-network-authenticate-session): Ditto.
8355 (elmo-network-setup-session): Ditto.
8357 * elmo-imap4.el (toplevel): Require 'elmo-net.
8358 (elmo-imap4-session): Define.
8359 (elmo-imap4-connection-cache): Abolished.
8360 (elmo-imap4-password-key): Ditto.
8361 (elmo-imap4-flush-connection): Ditto.
8362 (elmo-imap4-get-connection): Ditto.
8363 All other related modules are changed.
8364 (elmo-imap4-get-session): New function
8365 (Replacement for `elmo-imap4-get-connection').
8366 (elmo-imap4-read-response): Abolished argument `buffer'.
8367 All other related modules are changed.
8368 (elmo-imap4-send-command): Likewise.
8369 (elmo-imap4-select-folder): Abolished.
8370 All other related modules are changed.
8371 (elmo-imap4-select-mailbox): New function.
8372 (Replacement for `elmo-imap4-select-folder').
8373 (elmo-imap4-auth-login): Simplify.
8374 (Assume current buffer as process buffer)
8375 (elmo-imap4-auth-cram-md5): Ditto.
8376 (elmo-imap4-auth-digest-md5): Ditto.
8377 (elmo-imap4-login): Ditto.
8378 (elmo-imap4-open-connection): Abolished.
8379 (elmo-imap4-open-connection-1): Abolished.
8380 (elmo-network-initialize-sessoin): Define.
8381 (elmo-network-authenticate-session): Ditto.
8382 (elmo-network-setup-session): Ditto.
8384 * elmo-net.el: New module.
8386 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8388 * elmo-util.el (elmo-define-error): New function.
8390 * elmo2.el (elmo-error): Define.
8391 (elmo-open-error): Define.
8392 (elmo-authenticate-error): Define.
8394 * elmo-imap4.el (elmo-imap4-error): Abolish.
8395 (elmo-imap4-error-type): Abolish.
8396 (elmo-imap4-error-process): Abolish.
8397 (elmo-imap4-error-message): Abolish
8398 (elmo-imap4-list-folders): Don't quote lambda.
8399 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8400 (elmo-imap4-parse-namespace): Ditto.
8401 (elmo-imap4-open-connection): Rewrite.
8402 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8403 (elmo-imap4-get-connection): Abolish local variable `result'.
8405 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8407 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8408 wrong-type-argument error when auth is nil.
8410 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8412 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8413 (elmo-default-nntp-stream-type): Ditto.
8414 (elmo-default-pop3-stream-type): Ditto.
8415 (elmo-network-stream-type-alist): Ditto.
8416 (elmo-default-imap4-ssl): Abolished.
8417 (elmo-default-nntp-ssl): Ditto.
8418 (elmo-default-pop3-ssl): Ditto.
8420 * elmo-util.el: (toplevel): Removed needless requires.
8421 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8422 (elmo-open-network-stream): Open network stream according to
8423 the value of `elmo-network-stream-type-alist'.
8424 (elmo-get-network-stream-type): New function.
8425 (elmo-network-stream-type-spec-string): New macro.
8426 (elmo-network-stream-type-symbol): Ditto.
8427 (elmo-network-stream-type-function): Ditto.
8429 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8430 network-stream-type. All other related portions are changed.
8431 (elmo-pop3-open-connection): Ditto.
8433 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8434 network-stream-type. All other related portions are changed.
8436 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8437 network-stream-type.All other related portions are changed.
8438 (elmo-imap4-error): New macro.
8439 (elmo-imap4-error-type): Ditto.
8440 (elmo-imap4-error-process): Ditto.
8441 (elmo-imap4-error-message): Ditto.
8442 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8443 (elmo-imap4-auth-cram-md5): Ditto.
8444 (elmo-imap4-auth-digest-md5): Ditto.
8445 (elmo-imap4-login): Ditto.
8446 (elmo-imap4-open-connection): Remove password entry if authentication
8448 (elmo-imap4-user-at-host): Abolished.
8449 (elmo-imap4-password-key): New buffer local variable.
8450 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8451 using protocol, port, auth and stream-type.
8453 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8455 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8457 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8459 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8461 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8462 (elmo-imap4-authenticator-alist): New variable.
8463 (elmo-imap4-open-connection-1): Rename from
8464 elmo-imap4-open-connection.
8465 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8466 only wraps elmo-imap4-open-connection-1.
8467 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8469 (elmo-imap4-auth-login): New function.
8470 (elmo-imap4-auth-cram-md5): New function.
8471 (elmo-imap4-auth-digest-md5): New function.
8472 (elmo-imap4-login): New function.
8474 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8476 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8479 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8481 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8483 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8485 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8487 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8489 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8490 for server responses, quote `*' regardless of where it appears.
8492 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8494 * elmo-maildir.el (elmo-maildir-commit): New alias.
8496 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8498 * elmo-util.el (elmo-display-progress):
8499 Use `progress-feedback-with-label'.
8501 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8503 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8504 (elmo-imap4-non-atom-char-regex): Ditto.
8505 (elmo-imap4-non-text-char-regex): Ditto.
8506 (elmo-imap4-literal-threshold): Ditto.
8507 (elmo-imap4-atom-p): New function.
8508 (elmo-imap4-quotable-p): Ditto.
8509 (elmo-imap4-nil): Ditto.
8510 (elmo-imap4-atom): Ditto.
8511 (elmo-imap4-quoted): Ditto.
8512 (elmo-imap4-literal-subr): Ditto.
8513 (elmo-imap4-literal): Ditto.
8514 (elmo-imap4-buffer-literal): Ditto.
8515 (elmo-imap4-string-subr): Ditto.
8516 (elmo-imap4-string): Ditto.
8517 (elmo-imap4-buffer-string): Ditto.
8518 (elmo-imap4-astring-subr): Ditto.
8519 (elmo-imap4-astring): Ditto.
8520 (elmo-imap4-buffer-astring): Ditto.
8521 (elmo-imap4-nstring): Ditto.
8522 (elmo-imap4-buffer-nstring): Ditto.
8523 (elmo-imap4-mailbox): New alias.
8524 (elmo-imap4-field-body): Ditto.
8525 (elmo-imap4-userid): Ditto.
8526 (elmo-imap4-password): Ditto.
8527 (elmo-imap4-format-quoted): New function.
8528 (elmo-imap4-send-command): Rewritten. Accept a list of command
8529 arguments and handle "atom", "quoted" and "literal" string here.
8530 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8531 `elmo-imap4-send-command'.
8532 (elmo-imap4-folder-exists-p): Likewise.
8533 (elmo-imap4-create-folder): Likewise.
8534 (elmo-imap4-delete-folder): Likewise.
8535 (elmo-imap4-rename-folder): Likewise.
8536 (elmo-imap4-max-of-folder): Likewise.
8537 (elmo-imap4-check-validity): Likewise.
8538 (elmo-imap4-sync-validity): Likewise.
8539 (elmo-imap4-server-diff): Likewise.
8540 (elmo-imap4-select-folder): Likewise.
8541 (elmo-imap4-copy-msgs): Likewise.
8542 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8543 (elmo-imap4-mark-set-on-msgs): Likewise.
8544 (elmo-imap4-read-part): Likewise.
8545 (elmo-imap4-read-msg): Likewise.
8546 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8547 `elmo-imap4-password' for `elmo-imap4-send-command'.
8548 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8549 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8550 `elmo-imap4-buffer-literal'.
8551 (elmo-imap4-append-msg): Likewise.
8553 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8554 `delete' for removing dead connection from the connection cache.
8555 Move deletion of the process buffer after that.
8556 (elmo-imap4-list): Change `defsubst' to `defun'.
8557 (elmo-imap4-commit): Make error message verbose.
8558 (elmo-imap4-search): Ditto.
8559 (elmo-imap4-list): Ditto.
8560 (elmo-imap4-select-folder): Ditto.
8561 (elmo-imap4-copy-msgs): Ditto.
8562 (elmo-imap4-delete-msg-by-id): Ditto.
8563 (elmo-imap4-append-msg-by-id): Ditto.
8564 (elmo-imap4-append-msg): Ditto.
8566 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8568 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8569 when dired is used on XEmacs.
8571 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8573 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8574 instead of `append'.
8575 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8576 `elmo-plugged-p' directly.
8577 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8578 of `elmo-plugged-p' directly.
8580 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8581 Eliminate unused variable. Use `memq' for checking a process status.
8582 Use `cons' instead of `append' for updating the connection cache.
8583 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8584 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8586 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8588 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8589 `elmo-imap4-read-point' exactly.
8591 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8592 the local variable `folder' to `mailbox'.
8593 Rename the argument `fld' to `folder'.
8595 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8597 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8598 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8600 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8602 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8603 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8604 (elmo-pop3-uidl-number-hash): Ditto.
8605 (elmo-pop3-size-hash): Ditto.
8606 (elmo-pop3-uidl-done): Ditto.
8607 (elmo-pop3-list-done): Ditto.
8608 (elmo-pop3-connection-get-process): New defmacro.
8609 (elmo-pop3-connection-get-buffer): Ditto.
8610 (elmo-pop3-close-connection): Delete buffer and process.
8611 (elmo-pop3-flush-connection): Don't delete buffer and process.
8612 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8613 Setup UIDL and size hash.
8614 (elmo-pop3-send-command-no-erase): Deleted
8615 (elmo-pop3-send-command): Added optional argument `no-erase'.
8616 (elmo-pop3-parse-uidl-response): New function.
8617 (elmo-pop3-parse-list-response): Set size hash.
8618 (elmo-pop3-list-location): New function.
8619 (elmo-pop3-list-by-uidl-subr): Ditto.
8620 (elmo-pop3-list-by-list): Ditto.
8621 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8622 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8623 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8624 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8625 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8627 (elmo-pop3-uidl-to-number): New function.
8628 (elmo-pop3-number-to-uidl): Ditto.
8629 (elmo-pop3-number-to-size): Ditto.
8630 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8631 Set number by use of uidl.
8632 (elmo-pop3-msgdb-create-message): Likewise.
8633 Set size, loc-alist in msgdb.
8634 (elmo-pop3-read-msg): Set number by use of uidl.
8635 Added optional argument `msgdb'.
8636 (elmo-pop3-delete-msg): Ditto.
8637 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8638 (elmo-pop3-commit): Close connection.
8640 * elmo-pipe.el (elmo-pipe-max-of-folder):
8641 Bind `elmo-pop3-use-uidl' as nil.
8642 (elmo-pipe-drain): Ditto.
8645 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8646 (elmo-msgdb-overview-entity-set-size): New defsubst.
8648 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8650 * elmo-vars.el (elmo-use-killed-list): New variable
8651 (Renamed from `elmo-nntp-use-killed-list').
8652 (elmo-nntp-use-killed-list): Eliminated.
8654 * elmo-msgdb.el (elmo-msgdb-expand-path):
8655 Changed expanding msgdb path for elmo-multi.
8657 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8658 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8659 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8660 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8661 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8662 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8663 (toplevel): Deleted time-stamp line.
8665 * elmo2.el (elmo-clear-killed ): Defined as function
8666 (Abolished defining as a backend function).
8667 All other related modules are changed.
8669 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8671 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8673 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8675 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8677 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8679 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8681 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8683 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8684 asynchronous folder check.
8686 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8688 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8689 `elmo-nntp-use-killed-list'.
8690 (elmo-nntp-list-folder): Use killed list.
8691 (elmo-nntp-max-of-folder): Ditto.
8692 (elmo-nntp-msgdb-create): Set killed list.
8694 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8696 * elmo2.el (elmo-clear-killed): New backend function.
8697 All other related modules are changed.
8699 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8701 * elmo-util.el (elmo-imap4-spec-folder): Use
8702 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8703 All callers changed.
8705 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8707 * mmelmo-2.el (initialize-instance):
8708 Use `mime-buffer-entity-buffer-internal' instead of
8709 `mime-entity-buffer'.
8711 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8712 (mime-entity-body): Implemented.
8713 (mime-goto-header-start-point): Deleted.
8714 (mime-goto-body-end-point): Ditto.
8715 (mime-entity-point-min): Ditto.
8716 (mime-entity-point-max): Ditto.
8717 (mime-entity-children): Ditto.
8718 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8719 instead of `mime-entity-buffer'.
8720 (mime-entity-header-buffer): Ditto.
8721 (mime-entity-body-buffer): Ditto.
8722 (mime-write-entity-content): Ditto.
8724 * pldap.el (ldap-static-if): New macro.
8725 (toplevel): Use it instead of `static-if'.
8727 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8729 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8730 included in `attrs' argument.
8732 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8734 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8736 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8737 (ldap-ldif-safe-init-char-regexp): Ditto.
8738 (ldap-ldif-safe-string-regexp): Ditto.
8739 (ldap/ldif-safe-string-p): New macro.
8740 (ldap/ldif-insert-field): Ditto.
8741 (ldap-modify): Use it.
8743 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8744 (ldap-decode-attribute): Decode only when `attr' is consp.
8745 (ldap-delete): Bind `ret'.
8746 (toplevel): Require 'cl at compile time.
8747 Removed (require 'poe) and (require 'std11).
8748 (pldap-version): Eliminated.
8749 (ldap-search-basic): Removed auth and dn binding.
8750 (ldap-ldif-field-name-regexp): New constant.
8751 (ldap-ldif-field-head-regexp): Ditto.
8752 (ldap-ldif-next-field-head-regexp): Ditto.
8753 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8754 (ldap/field-end): New function.
8755 (ldap/field-body): Use it.
8756 (ldap/collect-field): Ditto.
8757 (ldap-search-basic): Use `ldap/field-body'.
8759 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8761 * pldap.el (ldap-default-attribute-encoder): New user option.
8762 (ldap/field-body): Decode base64 string.
8763 (ldap/collect-field): Ditto.
8764 (ldap-encode-attribute): New function.
8765 (ldap-add-entries): Use it.
8766 (ldap-modify-entries): Ditto.
8767 (ldap-search-entries): Enclosed decoding function with
8768 `with-temp-buffer' and set as unibyte.
8769 (ldap-search-basic): Set process buffer as unibyte.
8771 * elmo-util.el (elmo-folder-identical-system-p):
8772 Eliminated name space checking.
8774 * pldap.el: New module.
8775 toplevel: Changed condition to detect built-in ldap feature.
8776 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8777 (ldap-add): Added error handling.
8778 (ldap-modify): Ditto.
8779 (ldap-delete): Ditto.
8781 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8783 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8784 Initialize local variables with `let'. Inline a temporary
8785 variable for the progress percentage. Sort `setq' to reduce
8786 function call in the while-loop.
8788 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8789 into the conditional branch.
8791 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8793 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8794 Move a conditional out of the while-loop.
8796 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8798 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8799 elmo-msgdb-overview-get-entity-by-number.
8800 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8803 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8805 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8806 the local variable for a packed number self descriptively.
8808 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8810 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8811 * elmo-localdir.el (elmo-localdir-pack-number): Use
8812 `elmo-msgdb-overview-get-entity' instead of
8813 `elmo-msgdb-overview-get-entity-by-number'.
8814 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8815 (elmo-msgdb-search-overview-entity): Removed.
8816 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8817 by message-id or number.
8818 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8819 instead of `elmo-msgdb-overview-get-entity-by-number'.
8821 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8823 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8824 non-nil, use hash table for overview.
8825 (elmo-hash-maximum-size): New variable.
8826 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8827 (elmo-msgdb-make-overview-hashtb): New function.
8828 (elmo-msgdb-clear-overview-hashtb): New function.
8829 (elmo-clear-hash-val): New macro.
8830 All other related modules are changed.
8832 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8834 * elmo2.el (elmo-move-msgs): If there's other message with
8835 same message-id, don't use cache.
8837 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8839 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8840 number is already packed.
8842 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8844 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8846 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8848 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8849 All other related modules are changed.
8851 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8853 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8854 of refiling failure on Maildir.
8856 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8858 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8859 decoded mime-charset with cache.
8860 (elmo-msgdb-overview-entity-get-from): Ditto.
8861 (elmo-msgdb-overview-entity-get-subject): Ditto.
8862 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8864 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8866 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8867 (elmo-remove-passwd): Fill password with 0 before erase.
8868 * elmo-vars.el (elmo-passwd-life-time): New variable.
8871 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8873 * elmo-cache.el (elmo-buffer-cache-add):
8874 Set message cache buffer as unibyte.
8876 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8878 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8881 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8883 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8884 when display is finished.
8885 (elmo-nntp-msgdb-create): Ditto.
8886 (elmo-nntp-groups-read-response): Ditto.
8887 (elmo-nntp-retrieve-headers): Ditto.
8888 (elmo-nntp-msgdb-create-message): Ditto.
8889 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8890 (elmo-pop3-msgdb-create-message): Ditto.
8892 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8894 * elmo-maildir.el (elmo-maildir-msgdb-create):
8895 Use `elmo-msgdb-sort-by-date'.
8897 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8899 * elmo2.el (elmo-read-msg-no-cache):
8900 Eliminated arguments after `outbuf'.
8901 Don't use cache even if it exists.
8902 (elmo-read-msg): Don't pass arguments after `outbuf' to
8903 `elmo-read-msg-no-cache'.
8905 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8907 * elmo-archive.el (elmo-archive-list-folders):
8908 Use `file-name-directory' if base folder does not exist.
8910 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8912 * elmo-archive.el (elmo-archive-list-folders): Don't use
8913 `file-name-directory'.
8915 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8917 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8918 If `force' is non-nil, try flushing all operation queues.
8920 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8922 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8925 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8927 * elmo-util.el (elmo-display-progress): Fixed.
8929 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8931 * elmo-util.el (elmo-display-progress): New function.
8932 All other related modules are changed.