1 2006-10-01 Yoichi NAKAYAMA <yoichi@geiin.org>
3 * elmo.el: Fix typo: disptch -> dispatch.
5 2006-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7 * elmo.el (elmo-file-tag): New class.
8 (elmo-append-messages-disptch-table): New constant.
9 (elmo-folder-type-p): New function.
10 (elmo-folder-append-messages): Redefine as function.
12 * elmo-null.el (elmo-folder-append-messages): Renamed from
13 `elmo-folder-append-messages'.
15 * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
16 (elmo-folder-append-messages-*-maildir): Renamed from
17 `elmo-folder-append-messages'.
19 * elmo-localdir.el (elmo-localdir-folder): Inherit
21 (elmo-folder-append-messages-*-localdir): Renamed from
22 `elmo-folder-append-messages'.
24 * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
25 from `elmo-folder-append-messages'.
27 * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
28 `elmo-folder-append-messages'.
30 * elmo-filter.el (elmo-folder-append-messages-filter-*): New
32 (elmo-folder-append-messages-*-filter): Ditto.
34 * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
36 * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
37 (elmo-folder-append-messages-*-pipe): Renamed from
38 `elmo-folder-append-messages'.
40 * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
42 * elmo-file.el (elmo-file-folder): Ditto.
44 * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
46 * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
47 from `elmo-folder-append-messages'
49 2006-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
51 * elmo-map.el (elmo-location-map-setup): Change an argument
52 `locations' to optional.
53 (elmo-location-map-clear): Abolish.
54 (elmo-folder-clear): Follow the API change.
56 * elmo-pop3.el (elmo-folder-clear): Ditto.
58 * elmo-pop3.el (toplevel): Require elmo-map.
59 (elmo-pop3-folder): Inherit elmo-location-map and abolish
60 location-alist slot (All other related portions are changed).
61 (elmo-pop3-folder-use-uidl): New function.
62 (elmo-folder-msgdb-create): Don't sort message entities.
63 (elmo-pop3-sort-msgdb-by-original-number): Abolish.
64 (elmo-pop3-number-to-size): Convert return value to number.
65 (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
68 * elmo-map.el: Use `location-map' as a variable name for instance
70 (elmo-location-map-setup): Return location alist.
71 (elmo-location-map-update): Ditto.
73 2006-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
75 * elmo-map.el (elmo-location-map): New class; split location and
76 number mapping from elmo-map-folder (All other related portions
79 * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
82 * elmo-version.el (elmo-version): Up to 2.15.4.
84 2006-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
86 * elmo-vars.el (elmo-use-hardlink): New user option.
88 * elmo-util.el (elmo-add-name-to-file): Switch implementations by
91 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
93 (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
94 instead of `*-internal'. Use `elmo-with-progress-display'.
96 2006-09-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
98 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
99 `elmo-spam-process-messages-as-mbox'.
101 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
103 2006-08-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
105 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
106 argument BUFFER of `call-process'.
108 2006-08-27 Yoichi NAKAYAMA <yoichi@geiin.org>
110 * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
112 (elsp-bsfilter-list-spam-files): Ditto.
114 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
116 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
117 (elmo-spam-bsfilter-max-messages-per-process): New use option.
118 (elmo-spam-bsfilter-debug): Fix a group.
119 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
121 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
122 (elsp-bsfilter-list-spam-files): New function.
123 (elmo-spam-list-spam-messages): Define.
124 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
125 (elmo-spam-bsfilter-register-messages): New function.
126 (elmo-spam-register-spam-messages): Define.
127 (elmo-spam-register-good-messages): Ditto.
129 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
131 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
134 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
136 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
137 hash table to test whether a location is exists.
139 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
141 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
142 even if some error occurred.
144 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
145 meaningless unwind-protect.
147 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
148 start-number correctly.
149 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
150 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
152 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
154 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
155 (elmo-folder-initialize): Use it.
156 (elmo-global-flag-replace-referrer): New function.
158 * elmo.el (toplevel): Added autoload setting for
159 `elmo-global-flag-replace-referrer'.
160 (elmo-folder-rename): Rewrite the last change use
161 `elmo-global-flag-replace-referrer'.
163 * elmo-pipe.el (elmo-folder-rename): Call
164 `elmo-global-flag-replace-referrer'.
166 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
168 * elmo.el (elmo-folder-rename): Set meta data for global flags
171 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
173 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
175 (elmo-folder-close): Ditto.
176 (elmo-filter-folder-number-list-loaded-p): New function.
177 (elmo-filter-folder-number-list): Check whether loaded or not.
178 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
179 of `elmo-filter-folder-number-list-internal'.
180 (elmo-folder-delete-messages): Ditto.
181 (elmo-folder-length): Check whether number-list is loaded or not.
183 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
185 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
186 field `real field' into each element of list.
187 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
188 (elmo-msgdb-message-entity-field): Ditto.
189 (modb-entity-ml-info-real-fields): New function.
191 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
193 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
194 `elmo-msgdb-extra-fields'.
196 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
198 * elmo-util.el (elmo-passwd-alist-load): Move point to min
199 position before read.
201 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
203 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
204 (elmo-global-flags-initialize): Ditto.
206 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
208 * elmo-archive.el (toplevel): Don't require emu, std11
211 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
214 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
216 * elmo.el (elmo-folder-confirm-appends): Display folder name.
218 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
220 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
223 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
225 * elmo-maildir.el (elmo-maildir-list-location): Reduce
226 `elmo-get-last-modification-time' call.
228 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
230 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
232 (elmo-maildir-set-mark): Ditto.
233 (elmo-maildir-delete-mark): Ditto.
235 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
237 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
238 optional argument `separators'.
240 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
242 * elmo.el (cache-changed): Abolish.
243 (status-changed): New signal.
244 (elmo-message-killed-p): New generic function and define for
246 (elmo-folder-recover-messages): Ditto.
247 (elmo-message-set-cached): Emit signal `status-changed' instead of
249 (elmo-message-status): New macro.
250 (elmo-message-status-folder): Ditto.
251 (elmo-message-status-number): Ditto.
252 (elmo-message-status-set-flags): Ditto.
253 (elmo-message-status-set-killed): Ditto.
254 (elmo-message-status-flags): New function.
255 (elmo-message-status-cached-p): Ditto.
256 (elmo-message-status-killed-p): Ditto.
258 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
259 `status-changed' instead of `cache-changed'.
260 (elmo-folder-recover-messages): Define.
261 (elmo-message-killed-p): Ditto.
263 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
264 `status-changed' instead of `cache-changed'.
266 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
267 (elmo-message-killed-p): Define.
268 (elmo-folder-recover-messages): Ditto.
270 * elmo-version.el (elmo-version): Up to 2.15.3.
272 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
274 * elmo-signal.el (elmo-signal-bindings): Use cons to append
276 (elmo-define-signal-handler): Add docstring.
277 (elmo-define-signal-filter): Ditto.
279 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
281 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
283 * elmo-util.el (elmo-flatten): Don't use recursive call.
285 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
287 (elmo-folder-message-make-temp-files): Use `number-to-string'
288 instead of `int-to-string'.
290 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
292 * elmo-search.el (elmo-folder-delete-messages): Define.
294 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
296 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
298 (elmo-mailing-list-count-spec-list): Ditto.
300 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
303 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
305 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
308 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
310 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
311 (elmo-mailing-list-count-spec-list): Ditto.
313 * elmo-util.el (elmo-map-until-success): New function.
314 (elmo-string-match-substring): Ditto.
315 (elmo-find-list-match-value): Ditto.
317 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
319 (modb-entity-extract-ml-info-from-subject): Ditto.
320 (modb-entity-extract-ml-info-from-return-path): Ditto.
321 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
322 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
323 (modb-entity-extract-ml-info-from-mailman): Ditto.
324 (modb-entity-extract-mailing-list-info-functions): Ditto.
325 (modb-entity-extract-mailing-list-info): Rewrite with
326 `elmo-find-list-match-value'.
328 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
330 * elmo-net.el (elmo-network-session-retry-count): New user option.
331 (elmo-network-session-buffer-name): New internal function.
332 (elmo-network-session-buffer-create): Ditto.
333 (elmo-network-open-session): Retry open network session
334 `elmo-network-session-retry-count' times.
336 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
338 * elmo-util.el (elmo-list-filter): Rewritten.
340 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
342 * elmo-util.el (elmo-string-member): Allow symbol element in list.
344 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
346 * elmo-search.el (elmo-make-search-engine): Use prefix
347 `elmo-search-' for require symbol instead of `else-'.
348 (elmo-search-engine-extprog): New class.
349 (elmo-search-engine-do-search): Remove nil from argument
350 list. Added argument pattern to evaluate element as function.
351 (elmo-search-engine-local-file): Derived from
352 `elmo-search-engine-extprog'.
353 (elmo-search-engine-create-message-entity): Check existance of file.
354 (elmo-search-engine-fetch-message): Ditto.
355 (elmo-search-namazu-index): Follow the API change.
356 (elmo-search-grep-target): Ditto.
358 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
360 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
361 characters of working buffer.
363 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
364 Does not bind `default-mime-charset'.
365 (elmo-msgdb-create-message-entity-from-buffer): Removed
366 unnecessary local bind.
368 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
370 (modb-entity-extract-mailing-list-info-functions): Added it.
372 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
374 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
375 when number and message-id are non-nil.
377 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
379 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
380 conditional steatment.
381 (elmo-pop3-auth-apop): Likewise.
382 (elmo-network-authenticate-session): Likewise.
384 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
386 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
387 symbol `fill-column'.
388 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
391 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
392 (elmo-decoded-field-body): Ditto.
394 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
396 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
397 `tokens' to `params'.
399 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
401 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
404 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
406 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
409 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
411 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
412 Set default value as nil.
413 (toplevel): Register search engines by
414 `elmo-search-register-engine' if there are not defined.
416 * elmo.el (autoload): Added autoload setting for
417 `elmo-search-register-engine'.
419 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
421 * elmo.el (toplevel): `[' is redefined as the prefix of the search
422 folder instead of nmz folder.
423 (elmo-nmz-default-index-path): Added obsolete variable setting.
424 (elmo-nmz-index-alias-alist): Ditto.
425 (elmo-nmz-use-drive-letter): Ditto.
427 * elmo-search.el (elmo-search-register-engine): New function.
429 * elmo-nmz.el: Removed.
431 * elmo-version.el (elmo-version): Up to 2.15.2.
433 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
435 * elmo-search.el: New file.
437 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
439 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
440 condition `larger' and `smaller'.
442 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
444 * elmo-util.el (elmo-safe-filename): Rewrite to replace
445 `"' (double quote) into "_Q_".
447 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
449 * elmo-net.el (elmo-net-quote-chars): Abolish.
450 (elmo-net-format-quoted): Ditto.
452 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
454 * elmo.el (elmo-get-folder-function): New variable.
455 (elmo-get-folder): New function.
456 (elmo-folder-rename): Call `elmo-make-folder' with specified
459 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
461 (elmo-split-subr): Ditto.
463 * elmo-multi.el (elmo-folder-initialize): Ditto.
465 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
467 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
468 (elmo-flag-get-folder): Ditto.
470 * elmo-filter.el (elmo-folder-initialize): Ditto.
472 * elmo-access.el (elmo-folder-initialize): Ditto.
473 (elmo-access-folder-update-children): Ditto.
475 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
476 (elmo-dop-queue-flush): Ditto.
477 (elmo-folder-append-buffer-dop-delayed): Ditto.
478 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
481 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
482 instead of `elmo-make-folder'.
483 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
484 destination folder instead of send `elmo-folder-rename-internal'.
486 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
487 slot of subfolder instead of create it.
489 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
491 * elmo-util.el (elmo-collect-separators): New function.
492 (elmo-collect-separators-internal): Ditto.
493 (elmo-collect-trail-separators): Ditto.
494 (elmo-parse-separated-tokens): Ditto.
495 (elmo-parse-separated-tokens-internal): Ditto.
496 (elmo-quote-syntactical-element): Ditto.
498 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
499 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
501 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
502 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
503 (elmo-nntp-folder-list-subfolders): Quote a user name.
505 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
506 (elmo-net-parse-network): Abolish.
507 (elmo-net-folder-set-parameters): New function.
508 (elmo-folder-initialize): Follow the above change.
510 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
511 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
512 (elmo-folder-list-subfolders): Use
513 `elmo-quote-syntactical-element' instead of
514 `elmo-net-format-quoted' to quote mailbox and user name.
516 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
518 * elmo-util.el (elmo-token-valid-p): New function.
519 (elmo-parse-token): Add optional argument `requirement'.
520 (elmo-parse-prefixed-element): Likewise.
522 * elmo-net.el (elmo-net-quote-chars): Renamed from
523 `elmo-net-quote-chars-regexp'.
524 (elmo-net-format-quoted): Add optional argument `extra-chars'.
526 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
527 by info document. Check token `uidl' is started an alphabet.
529 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
530 by info document. Check token `user' is started an alphabet.
532 * elmo-imap4.el (elmo-folder-initialize): Ditto.
533 (elmo-folder-list-subfolders): Quote user.
535 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
537 * elmo-util.el (elmo-quoted-specials-list): New constant.
538 (elmo-quoted-token): New function.
540 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
541 (elmo-net-format-quoted): New function.
542 (elmo-net-parse-network): Ditto.
543 (elmo-folder-initialize): Use it.
545 * elmo-nntp.el (elmo-folder-initialize): Use
546 `elmo-net-parse-network' to parse network specification instead of
547 `elmo-folder-initialize#elmo-net'.
549 * elmo-pop3.el (elmo-folder-initialize): Ditto.
551 * elmo-imap4.el (elmo-folder-initialize): Ditto.
552 (elmo-folder-list-subfolders): Quote folder name by
553 `elmo-net-format-quoted'.
555 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
557 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
558 (elmo-folder-search): Use it.
560 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
562 * modb-standard.el (modb-standard-loaded-message-id): Use
563 `elmo-msgdb-message-entity-field'.
565 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
567 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
570 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
572 * elmo-util.el (elmo-set-auto-coding): New function.
573 (elmo-object-load): Use it.
575 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
577 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
578 (elmo-time<): Define as alias of `elmo-time-less-p'.
579 (elmo-time-to-datevec): New function.
581 * elmo-date.el (elmo-time-to-days): New function.
583 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
585 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
588 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
590 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
593 * elmo-util.el (elmo-map-recursive): New function.
595 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
596 (modb-entity-encode-string-recursive): Ditto.
598 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
600 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
601 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
602 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
603 compare sequence number when last modified time is nil.
605 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
607 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
609 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
611 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
613 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
614 modification time of the file.
616 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
618 * elmo-util.el (elmo-condition-optimize): Discriminated against
619 preserved fields, extra fields and the other weight.
621 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
623 * modb-entity.el (initialize-instance): Define.
624 (modb-entity-handler-mime-charset): New internal function.
625 (modb-standard-entity-set-field): Use it.
626 (elmo-msgdb-message-entity-field): Ditto.
627 (elmo-msgdb-message-entity-field): Ditto.
629 * modb.el (elmo-msgdb-match-condition): Rewrite with
630 `elmo-condition-match'.
631 (elmo-msgdb-match-condition-primitive): New function.
633 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
634 arguments `flags' and `numbers'.
635 (elmo-msgdb-match-condition-primitive): Abolished (merged to
636 `elmo-msgdb-message-match-condition').
637 (modb-buffer-entity-handler): New class.
639 * elmo.el (elmo-folder-search): Optimize condition to use
640 `elmo-condition-optimize'.
641 (elmo-message-buffer-match-condition): New function.
642 (elmo-message-match-condition): Use
643 `elmo-message-buffer-match-condition' instead of
644 `elmo-buffer-field-condition-match'.
646 * elmo-util.el (elmo-condition-match): New function.
647 (elmo-condition-optimize): Ditto.
648 (elmo-buffer-field-primitive-condition-match): Abolish.
649 (elmo-buffer-field-condition-match): Ditto.
651 * elmo-archive.el (elmo-archive-field-condition-match): Use
652 `elmo-message-buffer-match-condition' instead of
653 `elmo-buffer-field-condition-match'.
655 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
657 * elmo-flag.el (elmo-global-flags-initialize): Check the
658 existence of the flag directory.
660 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
662 * elmo-access.el (elmo-folder-initialize): Call
663 `elmo-multi-connect-signals'.
665 * elmo-pipe.el (elmo-folder-close): Define.
667 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
670 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
673 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
676 * elmo-multi.el (elmo-message-entity): Don't use return value of
677 `elmo-message-entity-set-number'.
679 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
681 * modb.el (modb-generic): Added slot `mime-charset'.
683 * modb-standard.el (modb-standard): Added slot `overview-handler'.
684 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
685 and `modb-entity-handler-dump-parameters'.
686 (modb-standard-default-entity-handler): Abolish.
687 (elmo-msgdb-message-entity-handler): Save created handler by
690 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
691 (modb-entity-handler-list-parameters): New method.
692 (modb-entity-handler-equal-p): New function.
693 (modb-entity-handler-dump-parameters): Ditto.
694 (modb-entity-parse-address-string): Encode return value.
695 (modb-entity-make-address-string): Decode argument value.
696 (modb-entity-decode-string-recursive): New function.
697 (modb-entity-encode-string-recursive): Ditto.
698 (modb-standard-entity-normalizer): Set to encode field value.
699 (modb-standard-entity-specializer): Follow the above change.
700 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
701 mime-charset of handler.
702 (elmo-msgdb-message-entity-field): Ditto.
703 (elmo-msgdb-copy-message-entity): Fixed reference to internal
705 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
707 * elmo.el (elmo-folder): Added slot `mime-charset'.
708 (elmo-make-folder): Added argument `mime-charset'.
709 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
712 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
713 (elmo-make-msgdb): Likewise.
715 * elmo-internal.el (elmo-internal-folder-initialize): Call
716 `luna-make-entity' with :mime-charset parameter.
718 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
720 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
721 encoded words in `from' and `subject' field.
723 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
725 * modb.el (elmo-msgdb-message-field): Add argument `type'.
726 (elmo-msgdb-match-condition): Get handler from entity instead of
729 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
730 (modb-standard-load-entity): Treat new file format.
731 (modb-standard-save-entity-1): Save as new file format.
732 (modb-standard-save-entity): Split messages into section here.
733 (elmo-msgdb-message-field): Follow the API change.
734 (modb-standard-default-entity-handler): New internal variable.
735 (elmo-msgdb-message-entity-handler): Define.
737 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
739 (modb-entity-field-extractor-alist): New user option.
740 (elmo-msgdb-message-entity-field): Removed argument `decode' and
741 added argument `type'.
742 (elmo-msgdb-copy-message-entity): Add optional argument
744 (modb-set-field-converter): New function.
745 (modb-convert-field-value): Ditto.
746 (modb-entity-string-decoder): Ditto.
747 (modb-entity-string-encoder): Ditto.
748 (modb-entity-parse-date-string): Ditto.
749 (modb-entity-make-date-string): Ditto.
750 (modb-entity-mime-decoder): Ditto.
751 (modb-entity-mime-encoder): Ditto.
752 (modb-entity-address-list-decoder): Ditto.
753 (modb-entity-address-list-encoder): Ditto.
754 (modb-entity-parse-address-string): Ditto.
755 (modb-entity-make-address-string): Ditto.
756 (modb-entity-create-field-indices): Ditto.
757 (modb-legacy-entity-field-slots): New constant.
758 (modb-legacy-entity-field-indices): Ditto.
759 (modb-legacy-entity-normalizer): New variable.
760 (modb-legacy-entity-specializer): Ditto.
761 (modb-legacy-entity-field-index): New macro.
762 (modb-legacy-entity-set-field): New function.
763 (modb-legacy-make-message-entity): Rewrite.
764 (elmo-msgdb-create-message-entity-from-buffer): Use
765 `elmo-msgdb-get-references-from-buffer'. Use
766 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
767 Use `modb-legacy-entity-set-field' instead of
768 `elmo-msgdb-message-entity-set-field'.
769 (elmo-msgdb-message-entity-field): Rewrite.
770 (elmo-msgdb-message-entity-set-field): Ditto.
771 (elmo-msgdb-copy-message-entity): Make new entity by
772 `make-handler' if it specified.
773 (elmo-msgdb-message-match-condition): Define a method of
774 `modb-entity-handler' and follow the API change.
775 (modb-standard-entity-handler): New class.
776 (modb-entity-extract-ml-info-from-x-sequence): New function.
777 (modb-entity-extract-ml-info-from-subject): Ditto.
778 (modb-entity-extract-ml-info-from-return-path): Ditto.
779 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
780 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
781 (modb-entity-extract-mailing-list-info): Ditto.
782 (modb-entity-extract-mailing-list-info-functions): New variable.
784 * elmo.el (elmo-message-field): Add optional argument `type'.
786 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
787 from `modb-entity.el'.
789 * elmo-util.el (elmo-object-load): Decode by coding-system from
790 `set-auto-coding-function'.
791 (elmo-object-save): Use `detect-mime-charset-region' and add
792 coding cookie if encode.
793 (elmo-msgdb-get-references-from-buffer): New function.
794 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
796 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
798 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
799 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
800 instead of `shimbun-make-header' and follow the API change.
801 (elmo-shimbun-update-overview): Follow the API change.
802 (elmo-map-folder-list-message-locations): Ditto.
804 * elmo-pipe.el (elmo-message-field): Ditto.
806 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
809 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
811 * elmo-multi.el (elmo-message-field): Ditto.
813 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
814 (elmo-msgdb-sort-by-date): Ditto.
815 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
816 `elmo-message-entity-field'.
817 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
819 (elmo-msgdb-overview-entity-get-from): Ditto.
820 (elmo-msgdb-overview-entity-get-subject): Ditto.
821 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
822 (elmo-msgdb-overview-entity-get-date): Ditto.
823 (elmo-msgdb-overview-entity-get-to): Ditto.
824 (elmo-msgdb-overview-entity-get-cc): Ditto.
826 * elmo-mime.el (elmo-message-mime-entity): Ditto.
827 (elmo-mime-collect-message/partial-pieces): Ditto.
829 * elmo-filter.el (elmo-message-field): Ditto.
831 * elmo-date.el (elmo-datevec-to-time): New function.
832 (elmo-time-parse-date-string): Ditto.
833 (elmo-time-make-date-string): Ditto.
836 * elmo-version.el (elmo-version): Up to 2.15.1.
838 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
840 * elmo-flag.el (elmo-global-flags-initialize): Don't include
841 member of elmo-local-flags.
843 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
845 * elmo-version.el (elmo-version): Up to 2.15.0.
847 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
849 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
850 `ignore-msgdb' is non-nil.
852 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
854 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
855 (elmo-condition-in-msgdb-p): Ditto.
856 (elmo-file-field-primitive-condition-match): Ditto.
857 (elmo-file-field-condition-match): Ditto.
859 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
861 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
863 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
865 (elmo-global-flags-initialize): New function.
867 * elmo.el (toplevel): Added autoload setting for
868 `elmo-global-flags-initialize'.
870 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
872 * elmo.el (message-number-changed): Define new signal.
873 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
874 message-number-changed signal.
875 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
876 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
877 Respect `elmo-pack-number-check-strict'.
879 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
881 * elmo-signal.el (elmo-connect-signal): Document.
882 (elmo-emit-signal): Ditto.
883 (elmo-emit-signal): It should pass source argument to filter and
884 handler, not slot-source.
886 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
888 * modb.el (elmo-msgdb-update-entity): New API and define generic
891 * modb-standard.el (elmo-msgdb-update-entity): Define.
893 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
894 API and define generic implement.
896 * elmo.el (update-overview): New singnal.
898 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
899 `elmo-msgdb-update-entity' and emit signal `update-overview'.
900 (elmo-message-entity-parent): Define.
902 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
905 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
907 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
909 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
911 * elmo.el (elmo-folder-synchronize): Sort the return value of
914 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
917 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
919 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
920 `default-enable-multibyte-characters'.
921 (elmo-object-load): Use `with-temp-buffer' instead of
923 (elmo-object-save): Ditto.
924 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
926 (elmo-decoded-field-body): Ditto.
928 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
930 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
931 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
933 * elmo-version.el (elmo-version): Up to 2.13.3.
935 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
937 * elmo-util.el (elmo-list-diff): Fix the last change.
938 Reverse order of result lists.
940 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
942 * modb-standard.el (elmo-msgdb-set-flag): Use
943 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
944 (elmo-msgdb-unset-flag): Ditto.
946 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
949 * elmo-util.el (elmo-list-diff): Rewrite.
950 (elmo-list-diff-nonsortable): New function.
952 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
954 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
955 `elmo-multibypte-buffer-name'. All referers are updated.
957 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
959 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
960 (elmo-mime-entity-fragment-p): New function.
961 (mime-elmo-buffer-entity): Added slot `reassembled'.
962 (elmo-message-mime-entity): Added 4th argument `reassemble'.
963 (elmo-message-mime-entity-internal): New function (renamed from
964 `elmo-message-mime-entity').
965 (elmo-mime-inherit-field-list-from-enclosed): New constant.
966 (elmo-mime-make-reassembled-mime-entity): New function.
967 (elmo-message-reassembled-mime-entity): Ditto.
968 (elmo-mime-collect-message/partial-pieces): Ditto.
970 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
972 * elmo.el (elmo-message-fetch-string): Disable multibyte.
974 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
975 (elmo-with-enable-multibyte): New macro.
977 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
979 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
981 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
983 (elmo-filter-connect-signals): Follow the above change.
985 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
987 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
989 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
990 that only the first flag is used.
992 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
994 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
997 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
999 * elmo-signal.el: New file.
1001 * elmo.el (toplevel): Require elmo-signal.
1002 (flag-changing, flag-changed, cache-changed): New signal.
1003 (elmo-folder): Remove slog `handlers'.
1004 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1005 `elmo-folder-notify-event'.
1006 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1007 (elmo-folder-unset-flag): Ditto.
1008 (elmo-event-handler): Abolish.
1009 (elmo-event-handler-flag-changed): Ditto.
1010 (elmo-event-handler-cache-changed): Ditto.
1011 (elmo-folder-add-handler): Ditto.
1012 (elmo-folder-remove-handler): Ditto.
1013 (elmo-folder-notify-event): Ditto.
1015 * elmo-pipe.el (toplevel): Require elmo-signal.
1016 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1017 (elmo-pipe-connect-signals): New function.
1018 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1019 (elmo-folder-set-flag): Ditto.
1020 (elmo-folder-unset-flag): Ditto.
1021 (elmo-message-set-cached): Ditto.
1023 * elmo-multi.el (toplevel): Require elmo-signal.
1024 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1025 (elmo-multi-connect-signals): New function.
1026 (elmo-multi-map-numbers): Ditto.
1027 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1028 (elmo-message-fetch): Ditto.
1029 (elmo-folder-set-flag): Ditto.
1030 (elmo-folder-unset-flag): Ditto.
1032 * elmo-filter.el (toplevel): Require elmo-signal.
1033 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1034 (elmo-filter-connect-signals): New function.
1035 (elmo-filter-add-flag-count): Ditto.
1036 (elmo-message-fetch): Does not call
1037 `elmo-filter-folder-countup-message-flags' and
1038 `elmo-folder-notify-event'.
1039 (elmo-message-set-cached): Ditto.
1040 (elmo-folder-set-flag): Ditto.
1041 (elmo-folder-unset-flag): Ditto.
1043 * elmo-version.el (elmo-version): Up to 2.13.2.
1045 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1047 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1050 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1052 * elmo-filter.el (elmo-message-set-cached): Call
1053 `elmo-folder-notify-event' with event `cache-changed'.
1055 * elmo-multi.el (elmo-message-set-cached): Ditto.
1057 * elmo-pipe.el (elmo-message-set-cached): Ditto.
1059 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
1061 * elmo.el (elmo-folder-encache): Abolish.
1063 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1065 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1066 (elmo-folder-next-message-number-dop): Return appropriate negative
1069 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1071 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1072 clearing pending operations.
1073 (elmo-folder-next-message-number-dop): Return appropriate negative
1076 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1078 * elmo.el (toplevel): Added autoload setting for `md5'.
1079 (elmo-msgdb-path-encode-threshold): New user option.
1080 (elmo-folder-msgdb-path): Encode msgdb path if its length is
1081 longer than `elmo-msgdb-path-encode-threshold'.
1083 * elmo-flag.el (elmo-global-mark-migrate): Use
1084 `elmo-folder-expand-msgdb-path' instead of
1085 `elmo-folder-msgdb-path'.
1087 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1089 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1090 element of the difference is nil.
1092 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
1094 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1095 to the check logic of file systems which are weak in colon character.
1097 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1099 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1101 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
1103 * elmo-maildir.el (elmo-maildir-move-file): New function.
1104 (elmo-folder-append-buffer): Use it.
1105 (elmo-folder-append-messages): Ditto.
1106 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1108 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1109 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1111 * elmo-maildir.el (elmo-maildir-separator): New user option.
1112 (elmo-maildir-adjust-separator): New macro.
1113 (elmo-maildir-list-location): Use it.
1114 (elmo-maildir-update-current): Ditto.
1115 (elmo-maildir-set-mark): Ditto.
1116 (elmo-maildir-delete-mark): Ditto.
1117 (These changes are based on Hiroya Murata's patch [wl: 13437])
1119 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1121 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1123 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1125 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1126 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1127 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1129 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1131 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1132 Use `with-temp-buffer'.
1134 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1136 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1138 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1139 `wl-read-search-condition').
1140 (elmo-read-search-condition-internal): Likewise.
1142 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1143 (elmo-flag-valid-p): New function.
1144 (elmo-folder-initialize): Check flag name is valid.
1146 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1148 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1149 delimiter to obtain root mailbox itself.
1151 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1153 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1156 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1158 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1161 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1163 * elmo-shimbun.el (toplevel): Require cl at compile.
1165 * elmo-nntp.el (toplevel): Ditto.
1167 * elmo-nmz.el (toplevel): Ditto.
1169 * elmo-multi.el (toplevel): Ditto.
1171 * elmo-file.el (toplevel): Ditto.
1173 * elmo-dop.el (toplevel): Ditto.
1175 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1177 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1179 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1182 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1183 size of elmo-message-fetch-internal is 0 byte.
1185 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1187 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1189 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1191 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1194 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1196 * elmo-maildir.el (elmo-map-message-fetch): Call
1197 `elmo-map-folder-set-flag'.
1199 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1200 (elmo-message-fetch): Merge from
1201 `elmo-message-fetch-with-cache-process'.
1203 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1204 (elmo-message-fetch): Define.
1206 * elmo-nntp.el (elmo-message-fetch): Renamed from
1207 `elmo-message-fetch-with-cache-process'.
1209 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1210 (elmo-message-fetch): Define.
1212 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1215 * elmo-shimbun.el (shimbun-mua-search-id): Use
1216 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1217 (elmo-shimbun-folder-shimbun-header): Ditto.
1218 (elmo-shimbun-get-headers): Ditto.
1219 (elmo-shimbun-update-overview): Ditto.
1221 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1223 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1224 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1226 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1228 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1230 (elmo-message-fetch-string): Fixed argument.
1232 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1234 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1235 exchange order of arguments `section' and `unread'.
1236 (elmo-message-encache): Follow the API change.
1237 (elmo-message-match-condition): Ditto.
1238 (elmo-generic-folder-append-messages): Ditto.
1239 (elmo-message-fetch-string): New function.
1241 * elmo-split.el (elmo-split-subr): Ditto.
1243 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1245 * elmo-pipe.el (elmo-message-fetch): Ditto.
1247 * elmo-multi.el (elmo-message-fetch): Ditto.
1249 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1251 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1253 * elmo-filter.el (elmo-message-fetch): Ditto.
1255 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1257 * elmo-imap4.el (mime-imap-location-section-body): Use
1258 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1259 follow the API change.
1261 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1263 * elmo-access.el: New file.
1265 * elmo-null.el: Ditto.
1267 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1269 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1271 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1272 (elmo-network-session): New attribute `last-accessed'.
1273 (elmo-network-get-session): Discard network cache if elapsed time
1274 since last-accessed is larger than elmo-network-session-idle-timeout.
1276 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1278 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1279 and added `number', `require-entireness'.
1280 (elmo-find-fetch-strategy): Rewrite.
1281 (elmo-message-fetch): Unset `unread' flag when argument unread is
1284 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1286 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1287 (elmo-message-fetch): Notify event `flag-changed'.
1289 * elmo-pipe.el: Likewise.
1291 * elmo-mime.el (elmo-mime-entity): New class.
1292 (elmo-mime-entity-display-p): New generic function.
1293 (elmo-mime-entity-display): Ditto.
1294 (elmo-mime-entity-display-as-is): Ditto.
1295 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1297 (elmo-make-mime-message-location): Removed.
1298 (elmo-mime-message-display): Ditto.
1299 (elmo-mime-display-as-is): Ditto.
1300 (elmo-message-mime-entity): New function.
1302 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1304 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1306 (elmo-message-fetch): Re-count flagged message number and notify
1307 event `flag-changed'.
1309 * elmo-version.el (elmo-version): Up to 2.13.1.
1311 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1313 * elmo-filter.el (elmo-message-field): Define.
1314 (elmo-message-set-field): Ditto.
1316 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1318 * elmo.el (elmo-message-set-cached): Call
1319 `elmo-folder-notify-event' with cache-changed.
1320 (elmo-event-handler-cache-changed): New generic function.
1322 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1324 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1325 instead of elmo-add-name-to-file.
1326 (elmo-folder-append-messages): Ditto.
1328 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1330 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1332 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1334 * elmo-version.el (elmo-version): Up to 2.13.0.
1336 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1339 * modb-standard.el (modb-standard-economize-entity-size): Changed
1340 default value to `t'.
1342 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1345 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1346 after parsing greeting string.
1348 2004-11-23 Daishi Kato <daishi@axlight.com>
1350 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1352 (elmo-spam-spamoracle-call): Use it.
1354 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1356 * elmo.el (elmo-message-accessible-p): Message in dop spool
1359 2004-11-23 Daishi Kato <daishi@axlight.com>
1361 * elsp-spamoracle.el: New file.
1363 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1365 * elmo.el (elmo-message-flags-for-append): New function.
1366 (elmo-generic-folder-append-messages): Use it.
1368 * elmo-split.el (elmo-split-subr): Ditto.
1370 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1371 `flags' and use elmo-folder-append-buffer instead of
1372 write-region-as-binary.
1373 (elmo-dop-filter-pending-messages): New function.
1374 (elmo-folder-append-buffer-dop): Call
1375 elmo-dop-spool-folder-append-buffer with `flag'.
1376 (elmo-folder-set-flag-dop): Filter messages by
1377 elmo-dop-filter-pending-messages.
1378 (elmo-folder-unset-flag-dop): Ditto.
1379 (elmo-folder-append-buffer-dop-delayed): Use
1380 elmo-message-flags-for-append to get flags of the message and
1383 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1385 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1387 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1389 * elmo.el (elmo-folder): Added handlers slot.
1390 (elmo-event-handler): New class.
1391 (elmo-event-handler-flag-changed): New API.
1392 (elmo-folder-add-handler): New function.
1393 (elmo-folder-remove-handler): Ditto.
1394 (elmo-folder-notify-event): Ditto.
1395 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1397 (elmo-folder-unset-flag): Ditto.
1399 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1400 (elmo-folder-unset-flag): Ditto.
1402 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1403 (elmo-folder-unset-flag): Ditto.
1405 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1406 (elmo-folder-unset-flag): Ditto.
1408 * elmo-version.el (elmo-version): Up to 2.11.33.
1410 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1412 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1414 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1416 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1418 * elmo-flag.el (elmo-folder-unset-flag): Define.
1419 (elmo-global-flag-detach): Do process when the flag is not target
1422 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1424 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1426 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1428 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1430 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1432 (elmo-folder-delete-messages): Detach messages before delete
1433 messages from target folder.
1434 (elmo-folder-detach-messages): Set updated number-list to slot.
1436 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1438 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1440 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1442 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1444 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1446 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1448 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1450 (elmo-folder-delete-messages): Define.
1451 (elmo-folder-move-messages): Don't call
1452 `elmo-folder-detach-messages'.
1453 (elmo-folder-synchronize): Rewrite.
1454 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1456 * elmo-util.el (elmo-last): New function.
1457 (elmo-set-list): Ditto.
1458 (elmo-number-set-delete-list): Ditto.
1459 (elmo-number-set-delete): Ditto.
1461 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1463 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1464 `elmo-folder-delete-messages' and don't delete location map.
1465 (elmo-folder-detach-messages): Define.
1467 * elmo-imap4.el (elmo-folder-delete): Use
1468 `elmo-folder-delete-messages-internal' instead of
1469 `elmo-folder-delete-messages'.
1471 * elmo-filter.el (elmo-folder-delete-messages): Call
1472 `elmo-folder-detach-messages'.
1473 (elmo-folder-detach-messages): Don't call
1474 `elmo-folder-detach-messages' for target folder.
1476 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1477 message deletion is succeeded.
1479 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1481 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1482 from `elmo-folder-delete-messages'.
1484 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1486 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1488 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1490 * elmo-version.el (elmo-version): Up to 2.11.32.
1492 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1494 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1495 (elmo-global-flag-list): Added obsolete variable setting.
1497 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1499 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1500 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1501 `elmo-mime-display-header-analysis' is nil.
1503 * elmo-flag.el (elmo-global-flags): Renamed from
1504 `elmo-global-flag-list' (All other related portions are changed).
1505 (elmo-local-flags): New variable.
1506 (elmo-local-flag-p): New function.
1507 (elmo-global-flag-set-internal): Cause an error when flag is not
1510 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1512 * elmo-util.el (elmo-concat-path): Treat empty path.
1514 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1516 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1518 (elmo-split-address-match): Ditto.
1519 (elmo-split-equal): Ditto.
1520 (elmo-split-match): Ditto.
1522 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1524 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1525 (elmo-generic-folder-append-messages): If src message exists but
1526 has no flag, pass (read) for the FLAG argument of
1527 `elmo-folder-append-buffer'. Otherwise, pass nil.
1529 * elmo-split.el (elmo-split-subr): Likewise.
1531 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1533 * elmo-multi.el (elmo-message-flags): Ditto.
1535 * elmo-filter.el (elmo-message-flags): Ditto.
1537 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1538 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1539 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1541 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1543 * elmo-split.el (elmo-split-rule): Update comment.
1544 (elmo-split-address-equal): Allow 2nd argument to be a list.
1545 (elmo-split-address-match): Ditto.
1546 (elmo-split-equal): Ditto.
1547 (elmo-split-match): Ditto.
1549 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1551 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1552 (elmo-folder-append-msgdb): Don't treat `read'.
1553 (elmo-message-flags): Don't return `read'.
1555 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1556 (elmo-folder-unset-read-delayed): Ditto.
1558 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1560 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1562 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1565 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1567 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1570 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1572 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1574 (elmo-msgdb-save): Bind inhibit-quit.
1575 (modb-standard-message-entity): Ditto.
1577 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1579 * elmo-database.el: No need to require elmo-msgdb.
1581 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1583 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1584 instead of `elmo-list-subdirectories'.
1586 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1588 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1590 (elmo-folder-exists-p): "[" is empty.
1591 (elmo-folder-list-subfolders): Define.
1592 (elmo-folder-have-subfolder-p): Ditto.
1594 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1596 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1598 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1600 * elmo-filter.el (elmo-folder-local-p): Define.
1602 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1604 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1605 when entity is garbaged.
1606 (modb-standard-save-entity-1): Don't modify the original entity.
1608 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1610 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1612 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1614 * elmo.el (elmo-strict-folder-diff): Use
1615 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1617 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1619 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1620 (elmo-msgdb-message-number): Ditto.
1621 (elmo-msgdb-message-field): Ditto.
1623 * modb-standard.el (modb-standard-economize-entity-size): New user
1625 (modb-standard-loaded-message-id): New inline function.
1626 (modb-standard-load-entity): Use it.
1627 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1628 throw message-id string away.
1629 (elmo-msgdb-flag-available-p): Define.
1630 (elmo-msgdb-message-number): Ditto.
1631 (elmo-msgdb-message-field): Ditto.
1633 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1634 (suppoted -> supported).
1635 (modb-legacy-supported-flag-p): Ditto.
1636 (elmo-msgdb-set-flag): Ditto.
1637 (elmo-msgdb-unset-flag): Ditto.
1638 (elmo-msgdb-flag-available-p): Define.
1640 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1641 is `t', treat it as legacy entity.
1643 * elmo.el (elmo-message-flag-available-p): New generic function.
1644 (elmo-message-number): Ditto.
1645 (elmo-message-field): Use `elmo-msgdb-message-field'.
1647 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1649 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1650 (elmo-message-number): Ditto.
1652 * elmo-multi.el (elmo-message-number): Define.
1653 (elmo-message-flag-available-p): Ditto.
1655 * elmo-filter.el (elmo-message-flag-available-p): Define.
1656 (elmo-message-number): Ditto.
1658 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1659 (elmo-folder-initialize): Load `max-number'.
1660 (elmo-folder-commit): Save it.
1661 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1662 (elmo-global-flag-set-internal): Set up max-number slot.
1664 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1666 * elmo-version.el (elmo-version): Up to 2.11.31.
1668 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1670 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1671 unibyte string of the current buffer for the argument of `md5'
1672 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1674 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1676 * modb-legacy.el (modb-legacy-flag-list): New constant.
1677 (modb-legacy-suppoted-flag-p): New internal function.
1678 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1679 (elmo-msgdb-unset-flag): Ditto.
1681 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1683 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1685 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1688 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1690 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1691 (follow the API change).
1693 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1695 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1697 * modb-standard.el (modb-standard-digest-flags): Abolish.
1698 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1700 * elmo-vars.el (elmo-digest-flags): New variable.
1701 (elmo-preserved-flags): Moved from elmo-flag.el.
1703 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1704 (elmo-imap4-flag-to-imap-criteria): Ditto.
1705 (elmo-imap4-folder-list-flagged): Use it.
1707 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1709 * elmo.el (elmo-folder-count-flags): Changed return value.
1711 * elmo-flag.el (elmo-preserved-flags): New variable.
1712 (elmo-get-global-flags): Use it.
1714 * modb-standard.el (modb-standard-digest-flags): New variable.
1715 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1716 Changed behavior of `any'.
1718 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1719 which are defined the Internet draft
1720 (draft-melnikov-imap-keywords-03.txt).
1721 (elmo-imap4-flags-to-imap): New function.
1722 (elmo-folder-append-buffer): Use it.
1724 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1727 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1728 avoid the bug of Emacs 21.3.
1730 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1732 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1733 function find-coding-system does not exist.
1735 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1737 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1740 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1742 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1745 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1747 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1748 (elmo-network-close-session): Follow the changes in
1749 `elmo-pop3-read-response'.
1750 (elmo-pop3-auth-user): Ditto.
1751 (elmo-pop3-auth-apop): Ditto.
1752 (elmo-network-initialize-session): Ditto.
1753 (elmo-network-authenticate-session): Ditto.
1754 (elmo-network-setup-session): Ditto.
1755 (elmo-folder-status): Ditto.
1756 (elmo-message-fetch-plugged): Ditto.
1757 (elmo-pop3-delete-msg): Ditto.
1759 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1761 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1764 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1766 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1768 (elmo-bind-directory): Ditto.
1770 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1772 * elmo.el (elmo-folder-append-messages): Note on return value.
1773 * elmo-archive.el (elmo-folder-append-messages): Don't return
1774 message numbers which could not be appended.
1776 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1778 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1780 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1782 * elmo-version.el (elmo-version): Up to 2.11.30.
1784 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1786 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1789 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1791 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1792 (elmo-multi-split-numbers): Add elmo-folder object into each
1793 element of return value at first.
1794 (elmo-folder-delete-messages): Follow the above change.
1795 (elmo-folder-detach-messages): Ditto.
1797 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1798 number which is synchronized in target folder.
1800 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1802 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1803 Change default value to symbol `all'.
1804 (elmo-map-message-fetch): Change condition to update overview
1807 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1809 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1810 behavior to update overview.
1811 (elmo-shimbun-update-overview-folder-list): Note it.
1813 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1815 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1818 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1820 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1821 buffer-disable-undo, it is unnecessary.
1822 (elmo-spam-register-good-messages): Ditto.
1824 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1827 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1829 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1831 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1832 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1833 elmo-set-buffer-multibyte.
1834 (elmo-object-load): Ditto.
1835 (elmo-save-buffer): Ditto.
1836 (elmo-delete-char): Ditto.
1837 (elmo-file-field-primitive-condition-match): Ditto.
1838 (elmo-mime-string): Ditto.
1840 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1841 (elmo-archive-field-condition-match): Ditto.
1843 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1845 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1847 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1848 (elmo-nntp-msgdb-create-message): Ditto.
1850 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1852 * elmo.el (elmo-message-match-condition): Ditto.
1853 (elmo-message-match-condition): Ditto.
1855 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1858 * elmo-version.el (elmo-version): Up to 2.11.29.
1860 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1861 (elsp-header): New backend.
1863 * elmo-util.el (elmo-decoded-field-body): New function.
1865 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1867 * elmo-version.el (elmo-version): Up to 2.11.28.
1869 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1871 * elmo-filter.el: Rewrite.
1873 * elmo-version.el (elmo-version): Up to 2.11.27.
1875 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1877 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1878 msgdb path for the localdir folder with absolute path.
1880 * utf7.el: Synch up with latest gnus/utf7.el;
1881 Modified for latest Emacs.
1883 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1885 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1886 shimbun backend couldn't open.
1888 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1890 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1891 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1892 when a destination folder is a filter folder.
1894 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1896 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1897 (elmo-generic-folder-append-messages): Call elmo-message-flags
1898 with argument `msgid'.
1900 * elmo-split.el (elmo-split-subr): Ditto.
1902 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1904 * elmo-multi.el (elmo-message-flags): Ditto.
1906 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1908 * elmo.el (elmo-folder): Add new slot `flag-table'.
1909 (elmo-folder-flag-table): New API.
1910 (elmo-folder-close-flag-table): Ditto.
1911 (elmo-folder-preserve-flags): New function.
1912 (elmo-generic-folder-append-messages): Use
1913 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1914 Flag of a non-registered message, it sets to nil.
1915 Does not set flag to flag-table.
1917 * elmo-maildir.el (elmo-folder-append-buffer): Use
1918 `elmo-folder-preserve-flags'.
1919 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1920 `elmo-folder-close-flag-table'.
1922 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1923 (elmo-archive-folder-append-buffer): Use
1924 `elmo-folder-preserve-flags'.
1926 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1928 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1930 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1931 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1932 `elmo-folder-close-flag-table'.
1934 * elmo-version.el (elmo-version): Up to 2.11.26.
1936 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1938 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1940 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1941 md5's 4th and 5th argument (non-existent in flim one).
1943 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1945 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1946 message, It sets to nil.
1948 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1950 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1953 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1955 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1957 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1959 * elmo-util.el (elmo-uniq-sorted-list): New function.
1960 (elmo-make-number-list): Ditto.
1961 (elmo-number-set-to-number-list): Use elmo-make-number-list
1962 and don't use nreverse.
1964 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1966 * elmo-version.el (elmo-version): Up to 2.11.25.
1968 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1970 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1971 field not exists in message, Use md5 message digest of header.
1973 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1975 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1976 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1977 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1978 * elmo-split.el (elmo-split-subr): Check return value of
1979 elmo-folder-append-buffer.
1981 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1982 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1984 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1987 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1989 * elmo-split.el (elmo-split-subr): Append message with flag.
1991 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1992 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1993 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1995 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1997 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1998 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1999 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2001 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
2003 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2004 with a function call of `process-buffer'. All callers are updated.
2005 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
2006 Remove redundant `set-buffer' in a while loop.
2008 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
2010 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2013 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2015 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2016 elsp-spamfilter-register-buffer-internal with current buffer.
2017 (elmo-spam-register-spam-buffer): Ditto.
2018 (elmo-spam-register-good-buffer): Ditto.
2020 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2022 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2023 if it is not contained in the response(A workaround for courier-imap).
2025 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2027 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2030 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2032 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2035 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2037 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2040 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2042 (elmo-msgdb-message-match-condition): Follow the change above.
2044 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2046 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2049 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2051 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2053 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2055 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2057 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2059 * elmo-file.el (elmo-file-find): Fixed the problem when file is
2062 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
2064 * elmo-file.el (elmo-file-find): Use expand-file-name for return
2066 (elmo-file-command-argument): Undo last change for cygwin.
2067 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2069 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2071 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2073 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2074 value returned from elmo-file-find is nil.
2076 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2078 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2081 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2082 instead of insert-file-contents-as-binary.
2083 (elmo-message-set-field): New generic function.
2085 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2086 behavior change on `split-string'.
2088 * elmo-file.el (elmo-file-find): New function.
2089 (elmo-file-command): New user option.
2090 (elmo-file-command-argument): Ditto.
2091 (elmo-file-fetch-max-size): Ditto.
2092 (elmo-file-detect-format): New function.
2093 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2094 Use elmo-file-detect-format.
2095 (elmo-map-folder-list-message-locations): Don't treat directories.
2097 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2099 * elmo-util.el (elmo-string-partial-p): Removed unused function.
2100 (elmo-passwd-alist-clear): Shred password before clear.
2101 (elmo-remove-passwd): Remove all mached pair.
2103 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2105 * elmo.el (elmo-folder-synchronize): Fix description of the return
2108 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
2110 * elmo.el (elmo-message-fetch-bodystructure): New method.
2111 (elmo-message-fetch-bodystructure): Define default.
2113 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2114 elmo-message-fetch-bodystructure.
2115 (elmo-message-fetch-bodystructure): Define.
2117 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2119 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2121 * elmo-filter.el (elmo-message-folder): Define.
2123 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2125 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2126 elmo-delete-cr-buffer.
2128 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2130 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2132 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2134 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2135 type seems to be a text.
2137 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2139 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2140 (elmo-spam-register-good-buffer): Ditto.
2141 (elmo-spam-spamassassin-register-messages): Ditto.
2143 * elmo-util.el (elmo-string-member-ignore-case): Define with
2146 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2148 * elmo.el (elmo-folder-type): Undo last change.
2150 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2152 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2155 * elmo-file.el: New file.
2157 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2159 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2161 (elmo-spam-spamassassin-register-messages): New inline function.
2162 (elmo-spam-register-spam-messages): Define.
2163 (elmo-spam-register-good-messages): Ditto.
2165 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2168 * elmo.el (toplevel): Added autoload setting for
2169 `elmo-get-global-flags'.
2170 (elmo-message-has-global-flag-p): New function.
2171 (elmo-message-set-global-flags): Ditto.
2172 (elmo-folder-type): Improvement for name: format.
2174 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2175 availability of keyword flags.
2176 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2177 (elmo-folder-list-flagged-plugged): Renamed from
2178 elmo-folder-list-flagged-unplugged.
2179 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2180 accept any flag as keyword flag.
2181 (elmo-folder-set-flag-plugged): Accept keyword flags.
2182 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2184 * elmo-flag.el (elmo-get-global-flags): New function.
2186 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2189 * elmo-version.el (elmo-version): Up to 2.11.24.
2191 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2193 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2194 elmo-multiple-field-body instead of std11-field-body to check all
2197 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2199 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2202 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2204 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2205 unintern is unbound.
2207 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2209 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2210 Protect from infinite loop.
2212 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2214 * elsp-bogofilter.el
2215 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2216 (elmo-spam-bogofilter-register-messages): New internal function.
2217 (elmo-spam-register-spam-messages): Define.
2218 (elmo-spam-register-good-messages): Ditto.
2220 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2222 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2223 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2224 (elmo-spam-bogofilter-call): Fixed the last change.
2225 (elmo-spam-bogofilter-arguments): Ditto.
2227 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2228 Follow the options change of latest bogofilter.
2230 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2231 (elmo-spam-bogofilter-good-switch): Ditto.
2232 (elmo-spam-bogofilter-arguments-alist): New user option.
2233 (elmo-spam-bogofilter-debug): Ditto.
2234 (elmo-spam-bogofilter-call): Renamed from
2235 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2236 is non-nil, insert output in buffer for debug.
2237 (elmo-spam-bogofilter-arguments): New macro.
2238 (elmo-spam-buffer-spam-p): Use it.
2239 (elsp-bogofilter-register-buffer): Ditto.
2241 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2243 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2246 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2248 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2250 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2251 (elmo-spam-bsfilter-program): Set default value as full path for
2253 (elmo-spam-bsfilter-debug): New user option.
2254 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2255 non-nil, insert output in buffer for debug. Fix treating of
2258 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2260 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2261 `elmo-maildir-flag-specs' element instead of one.
2262 (elmo-map-folder-unset-flag): Ditto.
2263 (Reported by Ken Makimura <macky@astem.or.jp>)
2265 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2266 (elmo-folder-unset-flag-plugged): Ditto.
2268 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2270 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2271 to `reads' slot only if `in-msgdb' is nil.
2273 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2275 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2276 and complement argument list.
2278 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2280 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2281 instead of elmo-folder-list-flagged.
2283 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2285 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2287 * elsp-bsfilter.el: New file.
2289 * elmo-pipe.el (elmo-folder-list-unreads,
2290 elmo-folder-list-answereds,
2291 elmo-folder-list-importants,
2292 elmo-folder-flag-as-important,
2293 elmo-folder-unflag-important,
2294 elmo-folder-flag-as-read,
2295 elmo-folder-unflag-read,
2296 elmo-folder-flag-as-answered,
2297 elmo-folder-unflag-answered): Remove.
2298 (elmo-folder-set-flag): Define.
2299 (elmo-folder-unset-flag): Ditto.
2301 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2302 (elmo-folder-set-flag): Define.
2303 (elmo-folder-unset-flag): Ditto.
2304 (elmo-folder-list-unreads): Remove.
2305 (elmo-folder-list-flagged): Define.
2307 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2308 (elmo-folder-list-unreads,
2309 elmo-folder-list-importants,
2310 elmo-folder-list-answereds,
2311 elmo-folder-list-unreads-plugged,
2312 elmo-folder-list-importants-plugged,
2313 elmo-folder-list-answereds-plugged): Remove.
2314 (elmo-folder-list-flagged-plugged): New method.
2315 (elmo-folder-unflag-important,
2316 elmo-folder-flag-as-important,
2317 elmo-folder-unflag-read,
2318 elmo-folder-flag-as-read,
2319 elmo-folder-unflag-answered,
2320 elmo-folder-flag-as-answered,
2321 elmo-folder-flag-as-read-unplugged,
2322 elmo-folder-unflag-read-unplugged,
2323 elmo-folder-flag-as-important-unplugged,
2324 elmo-folder-unflag-important-unplugged,
2325 elmo-folder-flag-as-answered-unplugged,
2326 elmo-folder-unflag-answered-unplugged): Remove.
2327 (elmo-folder-set-flag): Define.
2328 (elmo-folder-unset-flag): Ditto.
2329 (elmo-folder-set-flag-unplugged): Ditto.
2330 (elmo-folder-unset-flag-unplugged): Ditto.
2332 * elmo-multi.el (elmo-folder-list-unreads,
2333 elmo-folder-list-answereds,
2334 elmo-folder-list-importants,
2335 elmo-folder-flag-as-important,
2336 elmo-folder-unflag-important,
2337 elmo-folder-flag-as-read,
2338 elmo-folder-unflag-read,
2339 elmo-folder-flag-as-answered,
2340 elmo-folder-unflag-answered): Remove.
2341 (elmo-folder-set-flag): Define.
2342 (elmo-folder-unset-flag): Ditto.
2344 * elmo-map.el (elmo-map-folder-unflag-important,
2345 elmo-map-folder-flag-as-important,
2346 elmo-map-folder-unflag-read,
2347 elmo-map-folder-flag-as-read,
2348 elmo-map-folder-unflag-answered,
2349 elmo-map-folder-flag-as-answered): Remove.
2350 (elmo-map-folder-set-flag): New method.
2351 (elmo-map-folder-unset-flag): Ditto.
2352 (elmo-map-folder-list-unreads,
2353 elmo-map-folder-list-importants,
2354 elmo-map-folder-list-answereds): Remove.
2355 (elmo-folder-list-flagged-internal): Define.
2356 (elmo-map-folder-list-flagged): New method.
2358 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2359 (elmo-map-folder-list-unreads,
2360 elmo-map-folder-list-importants,
2361 elmo-map-folder-list-flagged): Remove.
2362 (elmo-map-folder-list-flagged): Define.
2363 (elmo-map-folder-flag-as-important,
2364 elmo-map-folder-unflag-important,
2365 elmo-map-folder-flag-as-read,
2366 elmo-map-folder-unflag-read,
2367 elmo-map-folder-flag-as-answered,
2368 elmo-map-folder-unflag-answered): Remove.
2369 (elmo-maildir-set-mark-messages): New internal function.
2370 (elmo-map-folder-set-flag): Define.
2371 (elmo-map-folder-unset-flag): Ditto.
2373 * elmo.el (toplevel): Added autoload setting for
2374 `elmo-folder-list-global-flag-messages'.
2375 (elmo-folder-list-unreads,
2376 elmo-folder-list-importants,
2377 elmo-folder-list-answereds): Remove.
2378 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2379 Return a list whitch merged with messages have global flag.
2380 (elmo-folder-list-flagged-internal): New method.
2381 (elmo-folder-unflag-important,
2382 elmo-folder-flag-as-important,
2383 elmo-folder-unflag-read,
2384 elmo-folder-flag-as-read,
2385 elmo-folder-unflag-answered,
2386 elmo-folder-flag-as-answered): Remove.
2387 (elmo-folder-set-flag): New method.
2388 (elmo-folder-unset-flag): Ditto.
2389 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2390 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2392 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2393 (elmo-folder-list-unreads-plugged,
2394 elmo-folder-list-importants-plugged,
2395 elmo-folder-list-answereds-plugged,
2396 elmo-folder-list-flagged-unplugged,
2397 elmo-folder-unflag-important-plugged,
2398 elmo-folder-flag-as-important-plugged,
2399 elmo-folder-unflag-read-plugged,
2400 elmo-folder-flag-as-read-plugged,
2401 elmo-folder-unflag-answered-plugged,
2402 elmo-folder-flag-as-answered-plugged): Remove.
2403 (elmo-folder-set-flag-plugged,
2404 elmo-folder-unset-flag-plugged): Define.
2406 * elmo-flag.el (elmo-folder-initialize): Register to
2407 `elmo-global-flag-list' if flag is not global.
2408 (elmo-folder-append-messages): Set flag to source messages.
2410 * elmo-filter.el (elmo-filter-folder-list-unreads,
2411 elmo-folder-list-unreads,
2412 elmo-filter-folder-list-importants,
2413 elmo-folder-list-importants,
2414 elmo-folder-flag-as-read,
2415 elmo-folder-unflag-read,
2416 elmo-folder-flag-as-important,
2417 elmo-folder-unflag-important,
2418 elmo-folder-flag-as-answered,
2419 elmo-folder-unflag-answered): Remove.
2420 (elmo-folder-set-flag): Define.
2421 (elmo-folder-unset-flag): Ditto.
2423 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2424 elmo-folder-unflag-read-dop,
2425 elmo-folder-flag-as-important-dop,
2426 elmo-folder-unflag-important-dop,
2427 elmo-folder-flag-as-answered-dop,
2428 elmo-folder-unflag-answered-dop): Remove.
2429 (elmo-folder-set-flag-dop,
2430 elmo-folder-unset-flag-dop,
2431 elmo-folder-set-important-delayed,
2432 elmo-folder-unset-important-delayed,
2433 elmo-folder-set-read-delayed,
2434 elmo-folder-unset-read-delayed,
2435 elmo-folder-set-answered-delayed,
2436 elmo-folder-unset-answered-delayed): New function.
2437 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2438 (elmo-dop-queue-method-name-alist): Ditto.
2440 * elmo-version.el (elmo-version): Up to 2.11.23.
2442 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2444 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2446 * elsp-sa.el: New file.
2448 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2450 * modb-standard.el (modb-standard-message-entity): New function.
2451 (elmo-msgdb-message-entity): Use it.
2453 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2455 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2456 behavior when one-level is nil.
2458 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2460 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2462 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2464 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2466 (elmo-generic-folder-diff): Ditto.
2468 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2469 (elmo-folder-update-number): Ditto.
2471 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2472 (elmo-folder-next-message-number-dop): Ditto.
2474 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2476 * elmo-filter.el (elmo-folder-msgdb-create): Use
2477 `elmo-message-entity' and `elmo-message-flags' instead of
2478 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2480 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2482 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2485 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2487 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2489 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2491 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2493 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2495 * elmo-version.el (elmo-version): Up to 2.11.22.
2497 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2499 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2501 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2503 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2504 if the message dose not exist.
2506 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2508 * elmo-version.el (elmo-version): Up to 2.11.21.
2510 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2512 * modb-standard.el (toplevel): Don't require mime.
2514 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2516 * elsp-bogofilter.el (toplevel): Don't require path-util.
2517 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2518 (elmo-spam-bogofilter-header): Abolish.
2519 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2520 (elmo-spam-bogofilter-args): New user option.
2521 (elsp-bogofilter-call-bogofilter): New internal function.
2522 (elmo-spam-buffer-spam-p): Use it.
2523 (elsp-bogofilter-register-buffer): Renamed from
2524 `elmo-spam-bogofilter-register-buffer';
2525 Use `elsp-bogofilter-call-bogofilter'.
2526 (elmo-spam-register-spam-buffer): Follow the change above.
2527 (elmo-spam-register-good-buffer): Ditto.
2529 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2531 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2532 message-id is nil do nothing.
2534 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2536 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2538 (elmo-imap4-session): Removed use-flag slot.
2539 (elmo-imap4-session-select-mailbox): Undo last change.
2540 (elmo-folder-use-flag-p): Use
2541 elmo-imap4-disuse-server-flag-mailbox-regexp.
2543 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2545 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2546 (elmo-imap4-session-select-mailbox): Set it up.
2547 (elmo-folder-use-flag-p): Return value of use-flag slot.
2549 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2551 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2553 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2555 * modb-entity.el (elmo-message-entity-handler): Likewise.
2557 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2559 * elmo.el (toplevel): Remove setting of autoloding for
2560 elmo-global-flag-initialize.
2561 (elmo-init): Don't call elmo-global-flag-initialize.
2562 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2564 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2565 (elmo-global-mark-migrate): Don't call it.
2566 (elmo-global-mark-upgrade): Ditto.
2568 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2570 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2571 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2573 * elmo-vars.el (elmo-init-hook): New user option.
2575 * elmo.el (elmo-init): Run the elmo-init-hook.
2577 * elmo-flag.el (elmo-global-mark-migrate): New function.
2579 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2581 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2582 Undo last change (move to elmo-msgdb-unset-flag).
2583 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2586 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2588 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2590 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2591 (elmo-msgdb-unset-flag): Ditto.
2593 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2595 * elmo-split.el (elmo-split): Return split message count.
2597 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2599 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2602 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2604 * elmo.el (elmo-folder-unflag-important): Call
2605 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2608 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2610 (elmo-global-flag-detach): Delete the message from flag folder, if
2611 `delete-if-none' is a symbol `always'.
2613 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2615 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2616 `elmo-spam-spamfilter-decode-buffer'.
2617 (elsp-spamfilter-register-buffer-internal): New internal function.
2618 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2619 (elmo-spam-register-spam-buffer): Ditto.
2620 (elmo-spam-register-good-buffer): Ditto.
2622 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2624 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2625 (elmo-spam-register-spam-buffer): Follow the API change.
2626 (elmo-spam-register-good-buffer): Ditto.
2628 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2629 (elmo-split-spam-p): Added argument plist; Call
2630 `elmo-spam-buffer-spam-p' with new argument register.
2632 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2634 (elmo-spam-message-spam-p): Ditto.
2635 (elmo-spam-register-spam-buffer): Added optional argument
2637 (elmo-spam-register-good-buffer): Ditto.
2638 (elmo-spam-register-spam-messages): Ditto.
2639 (elmo-spam-register-good-messages): Ditto.
2641 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2643 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2644 register into good corpus.
2645 (elmo-spam-register-good-buffer): Fixed to register into bad
2648 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2650 * elmo-version.el (elmo-version): Up to 2.11.20.
2652 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2655 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2656 flag without depending on \Recent flag.
2658 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2660 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2661 (elmo-spam-modified-p): Defined.
2662 (elmo-spam-save-status): Set `modified' slot to nil.
2663 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2664 (elmo-spam-register-good-buffer): Ditto.
2666 * elmo-spam.el (elmo-spam-modified-p): New API.
2668 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2670 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2671 duplicate definition.
2673 * elmo-util.el (elmo-unfold-field-body): New function.
2674 (elmo-msgdb-get-message-id-from-buffer): Use it.
2676 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2677 Fixed the last change; Use elmo-unfold-field-body.
2679 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2681 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2684 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2686 * elmo-spam.el (elmo-spam-save-status): New API.
2688 * elsp-spamfilter.el: New file.
2690 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2692 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2694 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2696 * elmo-split.el (elmo-split-spam-p): New function.
2698 * elmo-spam.el: New file.
2700 * elsp-bogofilter.el: Ditto.
2702 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2704 * elmo.el (elmo-folder-next-message-number): New API.
2705 (elmo-folder-next-message-number): Define.
2706 (elmo-message-field): Don't check folder length.
2708 * elmo-net.el (elmo-folder-next-message-number): Define.
2709 (elmo-folder-next-message-number-unplugged): Define.
2711 * elmo-map.el (elmo-folder-next-message-number): Define.
2712 (elmo-folder-delete-messages): Clear hash value.
2714 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2716 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2717 (elmo-folder-delete-messages-dop-delayed): Always return t.
2719 * elmo-version.el (elmo-version): Up to 2.11.19.
2721 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2723 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2726 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2727 identical cons cell into the mark-alist and the hash table.
2729 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2731 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2732 elmo-folder-list-messages with argument `visible-only' as t.
2734 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2735 (elmo-folder-msgdb-create): Check the target folder.
2737 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2739 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2740 `permanentflag' instead of `flags'.
2741 (elmo-folder-open): Ditto.
2742 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2743 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2744 (elmo-folder-use-flag-p): Always return t.
2745 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2746 `permanentflags' does not exist.
2747 (elmo-folder-open): Ditto.
2749 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2751 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2753 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2755 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2756 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2758 (elmo-folder-open): Ditto.
2759 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2760 slot of the session includes the flag.
2761 (elmo-imap4-session-flag-available-p): New function.
2762 (elmo-imap4-folder-list-flagged): Ditto.
2763 (elmo-folder-list-unreads-plugged): Use it.
2764 (elmo-folder-list-importants-plugged): Ditto.
2765 (elmo-folder-list-answereds-plugged): Ditto.
2766 (elmo-imap4-search-internal-primitive): Ditto.
2767 (elmo-imap4-folder-list-any-plugged,
2768 elmo-imap4-folder-list-digest-plugged): Abolish.
2770 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2773 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2775 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2777 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2779 * elmo-util.el (elmo-get-hash-val): Simplify.
2780 (elmo-set-hash-val): Rewrite.
2782 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2784 * elmo.el (elmo-folder-list-messages): Append killed messages into
2785 result if `visible-only' is nil and `in-msgdb' is non-nil.
2787 * elmo-util.el (elmo-uniq-list): Added optional argument
2790 * modb.el (elmo-msgdb-flag-count): New API.
2792 * modb-standard.el (modb-standard): Added slot flag-count.
2793 (modb-standard-countup-flags): New function.
2794 (modb-standard-load-flag): Call it.
2795 (elmo-msgdb-append): Ditto.
2796 (elmo-msgdb-clear): Clear slot flag-count.
2797 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2798 (elmo-msgdb-unset-flag): Treat `all' flag and call
2799 modb-standard-countup-flags.
2800 (elmo-msgdb-flag-count): Define.
2801 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2802 (elmo-msgdb-delete-messages): Ditto.
2804 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2805 (elmo-msgdb-flag-count): Define.
2807 * elmo.el (elmo-folder-list-messages): Undo last change.
2808 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2809 (elmo-folder-kill-messages): Unset all flags to numbers.
2811 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2812 elmo-folder-kill-messages.
2814 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2815 (elmo-nntp-folder-delete-messages): Abolish.
2817 * elmo-version.el (elmo-version): Up to 2.11.18.
2819 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2821 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2822 (elmo-folder-kill-messages-range): New function.
2823 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2824 instead of elmo-folder-kill-messages-before.
2826 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2828 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2829 elmo-imap4-current-msgdb to decide entity handler.
2831 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2833 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2835 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2837 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2838 (elmo-msgdb-overview-entity-set-number,
2839 elmo-msgdb-overview-entity-get-references,
2840 elmo-msgdb-overview-entity-set-references,
2841 elmo-msgdb-overview-entity-get-from-no-decode,
2842 elmo-msgdb-overview-entity-get-from,
2843 elmo-msgdb-overview-entity-set-from,
2844 elmo-msgdb-overview-entity-get-subject,
2845 elmo-msgdb-overview-entity-get-subject-no-decode,
2846 elmo-msgdb-overview-entity-set-subject,
2847 elmo-msgdb-overview-entity-get-date,
2848 elmo-msgdb-overview-entity-set-date,
2849 elmo-msgdb-overview-entity-get-to,
2850 elmo-msgdb-overview-entity-get-cc,
2851 elmo-msgdb-overview-entity-get-size,
2852 elmo-msgdb-overview-entity-set-size,
2853 elmo-msgdb-overview-entity-get-extra,
2854 elmo-msgdb-overview-entity-set-extra,
2855 elmo-msgdb-overview-entity-get-extra-field,
2856 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2857 (elmo-msgdb-make-index): Use
2858 `elmo-msgdb-overview-entity-get-number-internal'.
2859 (elmo-msgdb-clear-index): Ditto.
2860 (elmo-msgdb-append-entity): Ditto;
2861 Use `elmo-msgdb-overview-entity-get-id-internal'.
2863 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2864 elmo-msgdb-overview-entity-set-number,
2865 elmo-msgdb-overview-entity-get-references,
2866 elmo-msgdb-overview-entity-set-references,
2867 elmo-msgdb-overview-entity-get-from-no-decode,
2868 elmo-msgdb-overview-entity-get-from,
2869 elmo-msgdb-overview-entity-set-from,
2870 elmo-msgdb-overview-entity-get-subject,
2871 elmo-msgdb-overview-entity-get-subject-no-decode,
2872 elmo-msgdb-overview-entity-set-subject,
2873 elmo-msgdb-overview-entity-get-date,
2874 elmo-msgdb-overview-entity-set-date,
2875 elmo-msgdb-overview-entity-get-to,
2876 elmo-msgdb-overview-entity-get-cc,
2877 elmo-msgdb-overview-entity-get-size,
2878 elmo-msgdb-overview-entity-set-size,
2879 elmo-msgdb-overview-entity-get-extra,
2880 elmo-msgdb-overview-entity-set-extra,
2881 elmo-msgdb-overview-entity-get-extra-field,
2882 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2883 and rewrote for backward compatibility.
2885 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2887 * elmo.el (elmo-message-entity-number,
2888 elmo-message-entity-set-number,
2889 elmo-message-entity-field,
2890 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2892 * elmo-msgdb.el (elmo-message-entity-number,
2893 elmo-message-entity-set-number,
2894 elmo-message-entity-field,
2895 elmo-message-entity-set-field): Moved from elmo.el.
2897 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2899 * elmo.el (toplevel): Changed definition orders.
2901 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2903 * modb.el (elmo-msgdb-search): New API .
2904 (elmo-msgdb-match-condition): Ditto.
2906 * modb-standard.el (elmo-msgdb-search): Define.
2908 * modb-legacy.el (elmo-msgdb-search): Ditto.
2910 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2911 from elmo-msgdb-match-condition-internal.
2913 * elmo.el (elmo-folder-search-fast): Abolish.
2914 (elmo-folder-search): Use elmo-msgdb-search and
2915 elmo-with-progress-display.
2917 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2920 * elmo.el (elmo-folder): Remove slot message-modified and
2922 (elmo-folder-set-message-modified): Abolish.
2923 (elmo-generic-folder-commit): Follow the change above.
2924 (elmo-folder-synchronize): Ditto.
2926 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2928 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2930 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2932 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2934 * modb-standard.el (modb-standard-make-message-entity,
2935 elmo-msgdb-make-message-entity,
2936 elmo-msgdb-create-message-entity-from-buffer,
2937 elmo-msgdb-message-entity-number,
2938 elmo-msgdb-message-entity-set-number,
2939 elmo-msgdb-message-entity-field,
2940 elmo-msgdb-message-entity-set-field,
2941 elmo-msgdb-copy-message-entity,
2942 elmo-msgdb-match-condition-internal): Remove.
2944 * modb-entity.el: New file (again).
2946 * modb.el (toplevel): Require modb-entity.
2947 (elmo-msgdb-message-entity-handler): New method.
2949 * modb-standard.el (modb-standard-entity-id): Use
2950 elmo-message-entity-handler.
2951 (modb-standard-load-entity): Ditto.
2952 (elmo-msgdb-append-entity): Ditto.
2953 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2955 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2956 elmo-msgdb-decoded-cache-hashtb,
2957 (modb-legacy-make-message-entity,
2958 elmo-msgdb-make-message-entity,
2959 elmo-msgdb-create-message-entity-from-buffer,
2960 elmo-msgdb-message-entity-number,
2961 elmo-msgdb-message-entity-set-number,
2962 elmo-msgdb-message-entity-field,
2963 elmo-msgdb-message-entity-set-field,
2964 elmo-msgdb-copy-message-entity,
2965 elmo-msgdb-match-condition-internal,
2966 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2968 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2969 (elmo-message-entity-set-number): Ditto.
2970 (elmo-message-entity-field): Ditto.
2971 (elmo-message-entity-set-field): Ditto.
2973 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2975 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2977 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2979 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2980 (elmo-nntp-msgdb-create-message): Ditto.
2982 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2983 (elmo-folder-msgdb-create): Add unread flag.
2985 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2987 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2989 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2991 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2993 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2994 elmo-msgdb-messge-entity-handler.
2995 * elmo-version.el (elmo-version): Up to 2.11.17.
2997 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2999 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3002 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3004 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3006 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3007 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3008 (elmo-msgdb-flag-table): Ditto.
3009 (elmo-msgdb-sort-by-date): Ditto.
3011 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3013 * modb-standard.el (toplevel): Require mime.
3014 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3015 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3016 elmo-msgdb-message-entity-number.
3017 (elmo-msgdb-append-entity): Ditto.
3018 (elmo-msgdb-create-message-entity-from-file): Remove.
3019 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3020 corresponds to the entity.
3021 (elmo-msgdb-message-entity-number): Do nothing currently.
3022 (elmo-msgdb-message-entity-field): Ditto.
3023 (elmo-msgdb-message-entity-set-field): Ditto.
3024 (elmo-msgdb-copy-message-entity): Ditto.
3025 (elmo-msgdb-match-condition-internal): Ditto.
3027 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3029 (elmo-msgdb-create-message-entity-from-file): Remove.
3031 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3033 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3035 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3037 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3039 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3040 (elmo-msgdb-message-entity-field): Ditto.
3041 (elmo-msgdb-message-entity-number): Ditto.
3043 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3045 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3046 Fixed how to set extra field into entity.
3047 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3050 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3051 Fixed how to set extra field into entity.
3052 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3055 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3057 * modb.el (elmo-message-entity-db): New function.
3058 (elmo-msgdb-make-message-entity): New API.
3059 (elmo-msgdb-message-entity-number): Ditto.
3060 (elmo-msgdb-message-entity-set-number): Ditto.
3061 (elmo-msgdb-message-entity-field): Ditto.
3062 (elmo-msgdb-message-entity-set-field): Ditto.
3063 (elmo-msgdb-copy-message-entity): Ditto.
3064 (elmo-msgdb-create-message-entity-from-file): Ditto.
3065 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3066 (elmo-msgdb-match-condition-internal): Ditto.
3068 * modb-standard.el (modb-legacy): Require modb-legacy.
3069 (modb-standard-make-message-entity): New inline function.
3070 (elmo-msgdb-make-message-entity): Define.
3071 (elmo-msgdb-create-message-entity-from-file): Ditto.
3072 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3073 (elmo-msgdb-message-entity-field): Ditto.
3074 (elmo-msgdb-message-entity-set-field): Ditto.
3075 (elmo-msgdb-copy-message-entity): Ditto.
3076 (elmo-msgdb-match-condition-internal): Ditto.
3078 * modb-legacy.el: Don't require modb-entity.
3079 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3080 (elmo-msgdb-match-condition-primitive): Ditto.
3081 (elmo-msgdb-get-decoded-cache): Ditto.
3082 (elmo-msgdb-overview-entity-get-id): Ditto.
3083 (elmo-msgdb-overview-entity-get-number): Ditto.
3084 (elmo-msgdb-overview-entity-set-number): Ditto.
3085 (elmo-msgdb-overview-entity-get-references): Ditto.
3086 (elmo-msgdb-overview-entity-set-references): Ditto.
3087 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3088 (elmo-msgdb-overview-entity-get-from): Ditto.
3089 (elmo-msgdb-overview-entity-set-from): Ditto.
3090 (elmo-msgdb-overview-entity-get-subject): Ditto.
3091 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3092 (elmo-msgdb-overview-entity-set-subject): Ditto.
3093 (elmo-msgdb-overview-entity-get-date): Ditto.
3094 (elmo-msgdb-overview-entity-set-date): Ditto.
3095 (elmo-msgdb-overview-entity-get-to): Ditto.
3096 (elmo-msgdb-overview-entity-get-cc): Ditto.
3097 (elmo-msgdb-overview-entity-get-size): Ditto.
3098 (elmo-msgdb-overview-entity-set-size): Ditto.
3099 (elmo-msgdb-overview-entity-get-extra): Ditto.
3100 (elmo-msgdb-overview-entity-set-extra): Ditto.
3101 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3102 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3103 (elmo-msgdb-number-load): Ditto.
3104 (elmo-msgdb-overview-load): Ditto.
3105 (elmo-msgdb-mark-load): Ditto.
3106 (elmo-msgdb-number-save): Ditto.
3107 (elmo-msgdb-mark-save): Ditto.
3108 (elmo-msgdb-overview-save): Ditto.
3109 (modb-legacy-make-message-entity): New inline function.
3110 (elmo-msgdb-insert-file-header): Ditto.
3111 (elmo-msgdb-make-message-entity): Define.
3112 (elmo-msgdb-create-message-entity-from-file): Ditto.
3113 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3114 (elmo-msgdb-message-entity-number): Ditto.
3115 (elmo-msgdb-message-entity-set-number): Ditto.
3116 (elmo-msgdb-message-entity-field): Ditto.
3117 (elmo-msgdb-message-entity-set-field): Ditto.
3118 (elmo-msgdb-copy-message-entity): Ditto.
3119 (elmo-msgdb-match-condition-internal): Ditto.
3121 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3122 (elmo-message-copy-entity): Rewrite.
3123 (elmo-message-entity-number): Ditto.
3124 (elmo-message-entity-set-number): Ditto.
3125 (elmo-message-entity-field): Use elmo-message-entity-db.
3126 (elmo-message-entity-set-field): Ditto.
3127 (elmo-message-field): Rewrite.
3129 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3131 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3133 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3134 elmo-message-entity-field.
3135 (elmo-shimbun-folder-shimbun-header): Ditto.
3136 (elmo-shimbun-entity-to-header): Ditto.
3137 (elmo-folder-msgdb-create): Ditto.
3138 (elmo-shimbun-msgdb-create-entity): Ditto;
3139 Use elmo-msgdb-create-message-entity-from-buffer.
3140 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3141 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3143 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3144 elmo-msgdb-create-message-entity-from-file and
3145 elmo-message-entity-field.
3147 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3148 elmo-message-entity-number.
3149 (elmo-pop3-msgdb-create-message): Use
3150 elmo-msgdb-create-message-entity-from-buffer,
3151 elmo-message-entity-set-field, elmo-message-entity-number and
3152 elmo-message-entity-set-number.
3154 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3155 the API change in elmo-msgdb-make-message-entity.
3156 (elmo-nntp-msgdb-create-message): Use
3157 elmo-msgdb-create-message-entity-from-buffer.
3159 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3160 elmo-message-entity-field and
3161 elmo-msgdb-create-message-entity-from-file.
3163 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3164 (elmo-msgdb-get-field): Abolish.
3165 (elmo-msgdb-get-number): Rewrite.
3166 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3167 (elmo-msgdb-flag-table): Ditto.
3168 (elmo-msgdb-get-last-message-id,
3169 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3170 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3171 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3172 (elmo-msgdb-create-overview-from-buffer,
3173 elmo-msgdb-overview-get-parent-entity): Abolish.
3175 * elmo-mime.el (elmo-mime-display-as-is): Use
3176 elmo-message-entity-field.
3178 * elmo-map.el (elmo-folder-pack-numbers): Use
3179 elmo-message-entity-set-number.
3181 * elmo-maildir.el (elmo-folder-msgdb-create):
3182 elmo-msgdb-create-message-entity-from-file instead of
3183 elmo-msgdb-create-overview-entity-from-file.
3185 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3187 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3188 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3190 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3191 elmo-messge-entity-field and elmo-message-entity-number.
3192 (elmo-imap4-fetch-callback-1): Call
3193 elmo-msgdb-create-message-entity-from-buffer instead of
3194 elmo-msgdb-create-overview-from-buffer.
3195 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3196 (elmo-find-fetch-strategy): Likewise.
3198 * elmo-flag.el (elmo-folder-msgdb-create): Call
3199 elmo-localdir-msgdb-create-entity with argument msgdb.
3201 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3202 and elmo-message-entity-set-number.
3204 * elmo-cache.el (elmo-folder-msgdb-create): Use
3205 elmo-message-entity-field.
3206 (elmo-folder-msgdb-create): Call
3207 elmo-msgdb-create-message-entity-from-file instead of
3208 elmo-msgdb-create-overview-entity-from-file.
3210 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3211 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3212 instead of elmo-msgdb-create-overview-from-buffer.
3213 (elmo-archive-msgdb-create-entity): Ditto.
3214 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3215 elmo-message-entity-field.
3216 (elmo-archive-parse-mmdf): Ditto.
3218 * modb-entity.el: Removed.
3220 * elmo-version.el (elmo-version): Up to 2.11.16.
3222 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3224 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3226 (elmo-folder-flag-as-answered): Ditto.
3228 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3230 * modb-standard.el: New file.
3232 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3233 elmo-msgdb-convert-type is `sync'.
3235 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3236 (elmo-msgdb-convert-type): New user option.
3238 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3239 (elmo-load-msgdb): Auto detect saved type.
3241 * elmo-version.el (elmo-version): Up to 2.11.15.
3243 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3245 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3247 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3248 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3249 with argument `delete-if-none' when dst-folder is 'null.
3251 * elmo-flag.el (elmo-folder-append-messages): Defined.
3252 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3254 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3256 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3258 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3260 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3261 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3262 (elmo-folder-commit): Ditto.
3264 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3266 * elmo-flag.el: New file.
3268 * elmo-mark.el: Removed.
3270 * modb-legacy.el (modb-legacy-new-mark,
3271 modb-legacy-unread-uncached-mark,
3272 modb-legacy-unread-cached-mark,
3273 modb-legacy-read-uncached-mark,
3274 modb-legacy-answered-cached-mark,
3275 modb-legacy-answered-uncached-mark,
3276 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3277 All other related portions are changed.
3279 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3280 (elmo-folder-list-messages-with-global-mark): Abolish.
3281 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3282 (elmo-folder-flag-as-important): Ditto.
3283 (elmo-folder-unflag-read): Ditto.
3284 (elmo-folder-flag-as-read): Ditto.
3285 (elmo-folder-unflag-answered): Ditto.
3286 (elmo-folder-flag-as-answered): Ditto.
3287 (elmo-message-encache): Return the cache path.
3288 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3289 (elmo-message-set-flag): Transitional implementation.
3290 (elmo-message-unset-flag): Ditto.
3291 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3292 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3293 (elmo-init): Call elmo-global-flag-initialize.
3294 (toplevel): Added autoload settings for elmo-flag.
3296 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3298 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3299 (elmo-file-cache-delete): Don't treat global-mark.
3301 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3303 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3305 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3306 `elmo-global-flags-set'.
3308 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3310 (elmo-folder-unflag-read): Ditto.
3311 (elmo-folder-unflag-important): Ditto.
3312 (elmo-folder-flag-as-important): Ditto.
3313 (elmo-folder-unflag-answered): Ditto.
3314 (elmo-folder-flag-as-answered): Ditto.
3316 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3317 `elmo-global-flags-set'.
3318 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3320 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3322 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3324 (elmo-folder-flag-as-important): Ditto.
3325 (elmo-folder-unflag-important): Ditto.
3326 (elmo-folder-flag-as-important): Ditto.
3327 (elmo-folder-unflag-read): Ditto.
3328 (elmo-folder-flag-as-read): Ditto.
3329 (elmo-folder-unflag-answered): Ditto.
3330 (elmo-folder-flag-as-answered): Ditto.
3332 * elmo-multi.el (elmo-folder-list-importants): Don't call
3333 elmo-folder-list-messages-with-global-mark.
3334 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3335 (elmo-folder-unflag-important): Ditto.
3336 (elmo-folder-flag-as-read): Ditto.
3337 (elmo-folder-unflag-read): Ditto.
3338 (elmo-folder-flag-as-answered): Ditto.
3339 (elmo-folder-unflag-answered): Ditto.
3341 * elmo-msgdb.el (elmo-msgdb-new-mark,
3342 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3343 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3344 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3345 (Moved to modb-legacy.el).
3346 (elmo-flag-table-get): Treat important flag too.
3348 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3350 (elmo-map-folder-flag-as-important): Ditto.
3351 (elmo-map-folder-unflag-read): Ditto.
3352 (elmo-map-folder-flag-as-read): Ditto.
3353 (elmo-map-folder-unflag-answered): Ditto.
3354 (elmo-map-folder-flag-as-answered): Ditto.
3355 (elmo-folder-unflag-important): Ditto.
3356 (elmo-folder-flag-as-important): Ditto.
3357 (elmo-folder-unflag-read): Ditto.
3358 (elmo-folder-flag-as-read): Ditto.
3359 (elmo-folder-unflag-answered): Ditto.
3360 (elmo-folder-flag-as-answered): Ditto.
3362 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3363 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3365 (elmo-map-folder-unflag-important): Ditto.
3366 (elmo-map-folder-flag-as-read): Ditto.
3367 (elmo-map-folder-unflag-read): Ditto.
3368 (elmo-map-folder-flag-as-answered): Ditto.
3369 (elmo-map-folder-unflag-answered): Ditto.
3371 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3372 `elmo-global-flags-set'.
3373 (elmo-global-flags-set): Added autoload setting.
3375 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3378 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3379 `elmo-msgdb-global-mark-set'.
3380 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3381 Call `elmo-global-flags-set'.
3382 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3384 (elmo-folder-flag-as-important-plugged): Ditto.
3385 (elmo-folder-unflag-read-plugged): Ditto.
3386 (elmo-folder-flag-as-read-plugged): Ditto.
3387 (elmo-folder-unflag-answered-plugged): Ditto.
3388 (elmo-folder-flag-as-answered-plugged): Ditto.
3389 (elmo-global-flags-set): Added autoload setting.
3391 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3393 (elmo-folder-unflag-read): Ditto.
3394 (elmo-folder-flag-as-important): Ditto.
3395 (elmo-folder-unflag-important): Ditto.
3396 (elmo-folder-flag-as-answered): Ditto.
3397 (elmo-folder-unflag-answered): Ditto.
3399 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3400 change of `mark'->`flag'.
3401 (elmo-dop-queue-method-name-alist): Ditto.
3402 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3403 (elmo-folder-unflag-read-dop): Ditto.
3404 (elmo-folder-flag-as-important-dop): Ditto.
3405 (elmo-folder-unflag-important-dop): Ditto.
3406 (elmo-folder-flag-as-answered-dop): Ditto.
3407 (elmo-folder-unflag-answered-dop): Ditto.
3409 * elmo-cache.el (elmo-folder-msgdb-create): Call
3410 `elmo-global-flags-set'.
3412 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3413 Call `elmo-global-flags-set'.
3414 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3415 elmo-archive-parse-mmdf with argument `folder'.
3416 (elmo-archive-parse-mmdf): Added argument `folder';
3417 Call `elmo-global-flags-set'.
3419 * elmo-version.el (elmo-version): Up to 2.11.14.
3421 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3423 * modb.el (elmo-msgdb-length): Define.
3425 * elmo.el (elmo-make-folder): Fixed.
3426 (elmo-generic-folder-append-messages): Follow the API change.
3428 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3431 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3433 * modb.el: New file.
3435 * modb-entity.el: Ditto.
3437 * modb-legacy.el: Ditto.
3439 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3440 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3441 of `elmo-msgdb-overview-get-entity'.
3442 (elmo-msgdb-get-field): Ditto.
3443 (elmo-msgdb-merge): Moved to `elmo.el'.
3444 (elmo-msgdb-length): Removed; redefine as modb method.
3445 (elmo-msgdb-change-mark): Abolish.
3446 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3447 (elmo-msgdb-match-condition): Don't use mark.
3448 (elmo-msgdb-overview-get-entity): Abolish.
3449 Split modb part into `modb*.el'.
3451 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3453 * elmo-shimbun.el (shimbun-mua-search-id): Use
3454 `elmo-msgdb-message-entity' instead of
3455 `elmo-msgdb-overview-get-entity'.
3456 (elmo-shimbun-folder-shimbun-header): Ditto.
3457 (elmo-shimbun-get-headers): Ditto.
3458 (elmo-shimbun-update-overview): Ditto.
3460 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3462 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3464 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3465 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3467 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3468 `elmo-msgdb-mark-to-flags'.
3470 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3471 `elmo-msgdb-set-path'.
3473 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3475 * elmo-version.el (elmo-version): Up to 2.11.13.
3477 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3479 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3482 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3484 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3487 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3489 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3490 instead of `elmo-msgdb-get-cached'.
3491 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3493 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3494 (elmo-msgdb-set-cached): Ditto.
3495 (elmo-msgdb-set-flag): Rewrite.
3496 (elmo-msgdb-unset-flag): Ditto.
3498 * elmo-msgdb.el: Rewrite with luna.
3500 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3501 (elmo-folder-msgdb): Follow the change above.
3502 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3503 (elmo-folder-unmark-important): Follow the API change.
3504 (elmo-folder-mark-as-important): Ditto.
3505 (elmo-folder-unmark-read): Ditto.
3506 (elmo-folder-mark-as-read): Ditto.
3507 (elmo-folder-unmark-answered): Ditto.
3508 (elmo-folder-mark-as-answered): Ditto.
3509 (elmo-folder-clear): Likewise.
3511 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3512 instead of `elmo-msgdb-load' (renamed).
3514 * elmo-version.el (elmo-version): Up to 2.11.12.
3516 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3518 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3520 (elmo-message-mark): Abolish.
3521 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3522 instead of `elmo-msgdb-change-mark'.
3524 * elmo-pipe.el (elmo-message-mark): Abolish.
3526 * elmo-multi.el (elmo-message-mark): Ditto.
3528 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3529 (elmo-msgdb-unread-uncached-mark): Ditto.
3530 (elmo-msgdb-unread-cached-mark): Ditto.
3531 (elmo-msgdb-read-uncached-mark): Ditto.
3532 (elmo-msgdb-answered-cached-mark): Ditto.
3533 (elmo-msgdb-answered-uncached-mark): Ditto.
3534 (elmo-msgdb-important-mark): Ditto.
3535 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3537 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3539 (elmo-flag-table-load): Changed flag to list of flag.
3540 (elmo-flag-table-set): If flags is nil, set read flag.
3541 (elmo-flag-table-get): Return derived flags from global mark,
3542 cache status and saved flags.
3543 (elmo-msgdb-flag-table): Follow the change above.
3544 (elmo-msgdb-out-of-date-messages): New function.
3546 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3548 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3550 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3552 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3553 (elmo-nntp-msgdb-create-message): Ditto.
3555 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3557 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3559 (elmo-folder-msgdb-create): Follow the API change.
3561 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3562 (elmo-folder-append-messages): Ditto.
3564 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3565 (elmo-folder-append-buffer): Ditto.
3567 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3569 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3571 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3572 (elmo-archive-parse-mmdf): Ditto.
3574 * elmo-version.el (elmo-version): Up to 2.11.11.
3576 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3578 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3581 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3583 * elmo-pipe.el (elmo-message-flags): Defined.
3585 * elmo-multi.el (elmo-message-flags): Ditto.
3587 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3589 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3590 `elmo-msgdb-delete-msgs'.
3592 * elmo.el (elmo-folder-count-flags): Don't use
3593 `elmo-msgdb-get-mark-alist'.
3594 (elmo-folder-detach-messages): Follow the API change.
3596 * elmo.el (elmo-folder-list-messages): Append killed messages into
3597 result if `visible-only' is nil.
3599 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3601 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3602 (elmo-folder-update-number): Likewise.
3604 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3605 (elmo-pop3-sort-msgdb-by-original-number): Use
3606 `elmo-msgdb-sort-entities'.
3608 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3609 (elmo-msgdb-sort-by-date): Use it.
3610 (elmo-msgdb-overview-sort-by-date): Abolish.
3612 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3614 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3615 (elmo-msgdb-flags): New function.
3616 (elmo-msgdb-merge): Use elmo-msgdb-append.
3618 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3621 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3623 * elmo-dop.el (elmo-folder-status-dop): Use
3624 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3626 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3628 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3630 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3632 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3634 * elmo-util.el (elmo-with-progress-display): New macro.
3636 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3638 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3640 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3641 `elmo-folder-list-message-entities' instead of
3642 `elmo-msgdb-get-overview'.
3643 (elmo-map-folder-list-message-locations): Ditto.
3645 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3646 methods instead of treat directly).
3647 (elmo-msgdb-clear): Ditto.
3648 (elmo-msgdb-delete-msgs): Ditto.
3649 (elmo-msgdb-sort-by-date): Ditto.
3651 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3653 (elmo-nntp-folder-msgdb-create): Follow the API change.
3655 * elmo-version.el (elmo-version): Up to 2.11.10.
3657 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3659 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3660 (elmo-msgdb-flags-to-mark): Ditto.
3661 (elmo-msgdb-append-entity): Ditto.
3663 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3664 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3665 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3666 (elmo-archive-parse-mmdf): Ditto.
3668 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3670 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3672 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3674 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3676 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3678 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3680 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3682 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3684 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3685 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3688 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3689 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3690 instead of directly construction.
3691 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3692 instead of construct msgdb.
3694 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3695 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3696 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3697 instead of construct msgdb.
3699 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3701 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3702 when field is from or subject.
3704 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3706 * elmo-multi.el (elmo-message-entity-parent): Define.
3707 (elmo-folder-search): Rewrite.
3709 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3711 * elmo-multi.el (elmo-message-cached-p): Define.
3713 * elmo.el (elmo-message-cached-p): New method.
3714 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3715 (elmo-message-flags): New method.
3716 (elmo-message-flagged-p): New function.
3718 * elmo-version.el (elmo-version): Up to 2.11.9.
3720 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3722 * elmo-version.el (elmo-version): Up to 2.11.8.
3724 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3726 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3728 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3730 * elmo.el (elmo-folder-detach-messages): Undo last change.
3732 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3734 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3736 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3737 only when src folder type is pop3.
3739 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3741 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3742 elmo-msgdb-overview-entity-get-number instead of
3743 elmo-message-entity-number.
3745 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3747 * elmo-version.el (elmo-version): Up to 2.11.7.
3749 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3751 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3754 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3755 (elmo-msgdb-merge): New function.
3756 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3757 (elmo-msgdb-make-index): Rewrite.
3759 * elmo-version.el (elmo-version): Up to 2.11.6.
3761 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3762 use it as a the path for loading message entities.
3764 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3766 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3768 * elmo-filter.el (elmo-folder-set-message-modified): Set
3769 message-modified slot of itself if it does not require target msgdb.
3771 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3772 if folder length is zero.
3773 (elmo-mime-display-as-is): Ditto.
3775 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3777 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3779 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3781 * elmo.el (elmo-folder-set-message-modified): New method.
3782 (elmo-generic-folder-commit): Use it.
3783 (elmo-folder-synchronize): Ditto.
3785 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3786 (elmo-folder-commit): Remove duplicate definition.
3788 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3790 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3792 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3794 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3795 (elmo-strict-folder-diff): Ditto.
3796 (elmo-folder-set-info-max-by-numdb): Simplify.
3798 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3799 elmo-msgdb-list-messages.
3801 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3802 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3804 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3806 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3807 visible-only is non-nil.
3808 (elmo-folder-confirm-appends): Changed message.
3809 (elmo-folder-synchronize): Added argument disable-killed.
3811 * elmo-multi.el (elmo-folder-synchronize): Added argument
3814 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3816 * elmo-version.el (elmo-version): Up to 2.11.5.
3818 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3821 * elmo-util.el (elmo-list-filter): Simplify.
3823 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3824 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3825 (elmo-generic-folder-diff): Abolish argument.
3826 (elmo-msgdb-load): Don't use number-alist.
3828 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3830 * elmo-pipe.el (elmo-folder-diff): Ditto.
3832 * elmo-nmz.el (elmo-folder-diff): Ditto.
3834 * elmo-net.el (elmo-folder-diff): Ditto.
3836 * elmo-maildir.el (elmo-folder-diff): Ditto.
3838 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3840 * elmo-multi.el (elmo-folder-diff): Ditto
3841 (elmo-multi-folder-diff): Rewrite.
3843 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3845 * elmo-pipe.el (elmo-folder-msgdb): Define.
3847 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3849 * elmo.el (elmo-message-set-cached): Define as a method.
3851 * elmo-pipe.el (elmo-message-set-cached): Define.
3852 (elmo-find-fetch-strategy): Ditto.
3854 * elmo-multi.el (elmo-message-set-cached): Define.
3855 (elmo-find-fetch-strategy): Rewrite.
3857 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3859 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3861 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3863 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3864 instead of number-alist.
3866 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3867 mark nor message-id when msgdb of source folder is not loaded.
3869 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3871 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3873 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3875 * elmo.el (elmo-folder-length): Don't require msgdb.
3877 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3879 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3880 (elmo-message-field): Ditto.
3882 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3883 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3885 (elmo-map-folder-list-answereds): Define.
3886 (elmo-maildir-list-location): Treat 'R' info.
3887 (elmo-folder-msgdb-create): Treat flag-table.
3888 (elmo-folder-append-messages): Save flag-table.
3890 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3892 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3893 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3895 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3897 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3899 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3900 'read when mark is null.
3902 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3904 * elmo-version.el (elmo-version): Up to 2.11.4.
3906 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3908 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3909 (elmo-folder-mark-as-answered): Ditto.
3911 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3913 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3914 (elmo-pop3-get-session): Make msgdb directory after session.
3915 (elmo-folder-exists-p): Check exactly at the first time even when the
3916 elmo-pop3-exists-exactly is nil.
3918 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3919 (elmo-folder-list-messages): Define instead of
3920 elmo-folder-list-messages-internal.
3921 (elmo-folder-check): Check destination folder.
3922 (elmo-folder-synchronize): Drain the pipe.
3924 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3925 when msgdb is not loaded.
3927 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3929 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3930 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3933 * elmo.el (elmo-folder-kill-messages-before): New function.
3934 (elmo-folder-kill-messages): Ditto.
3935 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3937 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3938 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3939 killed not by synchronize (e.g. scoring).
3941 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3943 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3945 (elmo-folder-search): Follow the change above.
3947 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3948 into the candidates of search field.
3950 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3952 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3953 (elmo-msgdb-unset-flag): Ditto.
3955 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3957 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3959 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3960 (elmo-folder-commit): Define.
3961 (elmo-folder-synchronize): Ditto.
3962 (elmo-folder-list-flagged): Ditto.
3963 (elmo-folder-commit): Ditto.
3964 (elmo-folder-length): Ditto.
3965 (elmo-folder-count-flags): Ditto.
3966 (elmo-message-mark): Ditto.
3967 (elmo-message-field): Ditto.
3968 (elmo-message-entity): Ditto.
3969 (elmo-message-folder): Ditto.
3971 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3973 * elmo.el (elmo-message-field): Define as a method.
3975 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3976 (elmo-message-field): Define.
3978 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3979 (elmo-folder-list-importants): Ditto.
3980 (elmo-folder-list-answereds): Ditto.
3982 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3984 (elmo-folder-mark-as-read): Ditto.
3985 (elmo-folder-unmark-read): Ditto.
3986 (elmo-folder-mark-as-answered): Ditto.
3987 (elmo-folder-unmark-answered): Ditto.
3988 (elmo-folder-list-flagged): Define.
3989 (elmo-folder-commit): Ditto.
3990 (elmo-folder-length): Ditto.
3991 (elmo-folder-count-flags): Ditto.
3993 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3995 * elmo.el (elmo-folder-detach-messages): New method.
3996 (elmo-folder-move-messages): Use it.
3997 (elmo-folder-synchronize): Ditto.
3999 * elmo-multi.el (elmo-folder-detach-messages): Define.
4001 * elmo.el (elmo-message-copy-entity): New function.
4002 (elmo-message-entity-set-number): Ditto.
4003 (elmo-message-mark): Define as method.
4005 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4006 (elmo-folder-synchronize): Return 0 (Should be reconsider).
4007 (elmo-message-entity): Fixed last change.
4008 (elmo-message-mark): Define.
4009 (elmo-folder-msgdb-create): Abolish.
4010 (elmo-multi-folder-append-msgdb): Ditto.
4011 (elmo-multi-folder-diff): Fixed.
4012 (elmo-multi-split-number-alist): Removed.
4013 (elmo-multi-split-mark-alist): Removed.
4014 (elmo-folder-list-messages): Define.
4015 (elmo-folder-list-messages-internal): Removed.
4017 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4018 local file messages.
4019 (elmo-folder-msgdb-create): Fixed read mark.
4021 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4023 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4026 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4028 * elmo.el (elmo-folder-list-message-entities): Define as inline
4030 (elmo-folder-messages): Abolish.
4032 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4034 (elmo-folder-synchronize): Define.
4035 (elmo-message-entity): Define.
4037 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
4039 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4040 elmo-imap4-session-select-mailbox.
4042 * elmo.el (elmo-folder-move-messages): Don't display any message.
4044 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4046 (elmo-imap4-session-check): Don't wait CHECK response.
4047 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4049 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
4051 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4053 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4055 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4057 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4060 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4061 (elmo-folder-list-message-entities): Added argument in-msgdb and
4063 (elmo-folder-synchronize): Define as a method.
4065 * elmo-nntp.el (elmo-folder-initialize): Don't use
4066 elmo-nntp-default-user if zero-length username is specified
4069 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
4071 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4072 server name in case with username.
4073 (XXX: this is ad-hoc fix against username includes "@", it
4074 should be solved fundamentally)
4076 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
4078 * elmo-nntp.el (elmo-nntp-debug): New function.
4079 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4080 (elmo-network-authenticate-session): Hide auth-info from the log.
4082 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4083 user name if it is equal to elmo-nntp-default-user.
4085 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
4087 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4088 instead of shimbun-server-internal;
4089 Use shimbun-current-group instead of shimbun-current-group-internal.
4090 (elmo-folder-plugged-p): Use shimbun-server instead of
4091 shimbun-server-internal.
4092 (elmo-folder-set-plugged): Ditto.
4093 (elmo-net-port-info): Ditto.
4094 (elmo-folder-check): Ditto.
4095 (elmo-folder-expand-msgdb-path): Ditto.
4096 (elmo-folder-list-subfolders): Ditto.
4098 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
4100 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4101 Convert field-name to lower case.
4102 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4104 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
4106 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4107 `message' and `error' take format string.
4109 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4111 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4113 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4115 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4116 recursive call (can't byte compile on emacs 20.7).
4118 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4120 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4121 (elmo-folder-list-message-entities): New API.
4122 (elmo-message-entity): Ditto.
4123 (elmo-message-entity-parent): Ditto.
4124 (elmo-folder-do-each-message-entity): Ditto.
4125 (elmo-message-entity-number): Ditto.
4126 (elmo-message-entity-field): Ditto.
4127 (elmo-message-entity-set-field): Ditto.
4128 (elmo-folder-count-flags): Ditto.
4129 (elmo-folder-length): Ditto.
4131 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4134 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4135 (elmo-msgdb-count-marks): Abolish.
4136 (elmo-msgdb-make-entity): Ditto.
4137 (elmo-msgdb-do-each-entity): Ditto.
4138 (elmo-msgdb-message-entity): New inline function.
4139 (elmo-msgdb-message-entity-field): Ditto.
4140 (elmo-msgdb-message-entity-set-field): Ditto.
4141 (elmo-msgdb-make-message-entity): New function.
4143 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4145 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4146 to flag. (All other related portions are changed.)
4147 (elmo-folder-msgdb-create): Likewise.
4148 (elmo-generic-folder-append-messages): Use flag-table instead of
4150 (elmo-folder-move-messages): Removed redundant process.
4151 (elmo-folder-synchronize): Likewise.
4153 * elmo-msgdb.el (elmo-flag-table-get): New function.
4154 (elmo-flag-table-save): Fixed.
4155 (elmo-msgdb-length): New inline function.
4156 (elmo-msgdb-flag-table): New function.
4157 (elmo-msgdb-mark): Add optional argument new.
4158 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4159 (elmo-msgdb-seen-list): Ditto.
4160 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4163 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4165 * elmo.el (elmo-message-set-mark): Abolish.
4166 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4167 (All related portions are changed.)
4169 * elmo-msgdb.el (toplevel): Added comment.
4170 (elmo-load-msgdb): Added 4th element `path'.
4171 (elmo-msgdb-append): Follow the change above.
4172 (elmo-msgdb-clear): Ditto.
4173 (elmo-msgdb-delete-msgs): Ditto.
4174 (elmo-msgdb-get-path): New inline function.
4175 (elmo-msgdb-set-path): Ditto.
4176 (elmo-flag-table-filename): New variable.
4177 (elmo-flag-table-load): New function.
4178 (elmo-flag-table-set): Ditto.
4179 (elmo-flag-table-save): Ditto.
4180 (elmo-msgdb-get-field-value): Abolish.
4181 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4183 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4185 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4186 the folder has been deleted successfully.
4187 * elmo-imap4.el (elmo-folder-delete): Ditto.
4188 * elmo-archive.el (elmo-folder-delete): Ditto.
4189 * elmo-localdir.el (elmo-folder-delete): Ditto.
4190 * elmo-maildir.el (elmo-folder-delete): Ditto.
4192 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4194 * elmo-util.el (elmo-string-member-ignore-case): New function.
4195 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4196 (elmo-imap4-fetch-callback-1-subr): Likewise.
4198 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4200 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4201 the case of the name attribute "\Noselect".
4203 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4205 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4207 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4208 flist, is not always a member of onum-alist.
4210 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4212 * elmo-version.el (elmo-version): Up to 2.11.3.
4214 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4216 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4217 copied from localdir's one.
4219 * elmo-pipe.el (elmo-folder-rename): New method, rename
4220 destination folder with leaving source folder as it is.
4222 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4224 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4227 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4229 * elmo-version.el (elmo-version): Up to 2.11.2.
4231 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4233 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4234 shimbun-open in case of "@".
4235 (elmo-folder-open-internal): Cope with shimbun = nil case.
4236 (elmo-folder-plugged-p): Ditto.
4237 (elmo-folder-list-subfolders): Make list for "@/" group.
4239 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4241 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4242 mailbox (e.g. for %~/something).
4244 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4246 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4247 Replace nested conditional with guard clauses.
4249 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4251 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4254 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4257 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4259 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4260 Replace nested conditional with guard clauses.
4262 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4264 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4265 (elmo-passwd-alist-save): Ditto.
4266 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4268 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4270 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4271 dir-name only if it is absolute path.
4272 (TODO: distinguish +/something and +something)
4274 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4276 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4277 path for "+~/something".
4279 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4281 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4282 as non-directory, cause error before rename-file.
4283 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4284 apropriately, mimic localdir's one.
4285 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4287 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4289 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4291 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4293 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4295 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4297 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4298 is included in the global-mark or not.
4300 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4302 * utf7.el (toplevel): Avoid error when the function
4303 find-coding-system does not exist.
4305 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4307 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4308 cache even if the folder is plugged.
4309 (elmo-nntp-search-primitive): Do nothing when body search is
4310 invoked (although it is not used by the change above).
4311 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4313 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4315 * elmo-version.el (elmo-version): Up to 2.11.1.
4317 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4319 * elmo-archive.el: Specify charset.
4321 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4323 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4324 process buffer lives or not.
4326 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4327 while flushing queues (It causes infinite loop).
4329 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4331 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4333 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4335 * utf7.el (toplevel): Check the ucs features dynamically.
4336 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4338 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4339 folder is creatabe or not if it already exists.
4341 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4343 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4345 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4347 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4348 (elmo-imap4-read-response): Take care of garbage response.
4350 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4352 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4353 just return nil instead of error.
4355 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4357 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4358 search-key is "body".
4360 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4362 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4363 of elmo-string-matched-assoc to use match-data.
4364 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4366 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4368 * elmo-split.el (elmo-split->): New function.
4369 (elmo-split-<): Ditto.
4371 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4373 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4374 workaround for invalid message-id.
4376 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4378 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4379 return normal pop3 session or pop3 biff session.
4381 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4383 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4384 info part to the cur files when the new files already have it.
4385 (Adviced by Jared Rhine <jared@wordzoo.com>)
4387 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4389 * elmo-split.el (elmo-split-default-action): New variable.
4390 (elmo-split-subr): Use it if all other conditions are passed.
4391 Extend `fname' and rename it as `action'. (implemented
4392 Teranishi-san's idea in [wl:10800])
4394 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4396 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4397 * elmo-util.el: Ditto.
4399 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4401 * elmo.el (elmo-message-accessible-p): Renamed from
4402 elmo-message-cached-p and rewritten.
4404 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4406 * elmo.el (elmo-folder-list-flagged): New generic function.
4407 (elmo-folder-list-importants): New implementation.
4408 (elmo-folder-list-answereds): Ditto.
4409 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4411 (elmo-message-cached-p): New function.
4412 (elmo-message-set-flag): Ditto (no content).
4413 (elmo-message-unset-flag): Ditto.
4414 (elmo-folder-list-messages-mark-match): Abolish.
4416 * elmo-util.el (elmo-regexp-opt): New function.
4418 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4419 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4421 (elmo-msgdb-list-flagged): New function.
4423 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4424 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4427 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4429 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4431 * elmo-version.el (elmo-version): Up to 2.11.0.
4433 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4435 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4436 `elmo-file-cache-exists-p'; use proper mark that depends on
4438 (elmo-msgdb-unset-flag): Ditto.
4439 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4441 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4442 with 4th argument `use-cache'.
4444 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4446 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4447 (elmo-folder-mark-as-important): Ditto.
4448 (elmo-folder-unmark-read): Ditto.
4449 (elmo-folder-mark-as-read): Ditto.
4450 (elmo-folder-unmark-answered): Ditto.
4451 (elmo-folder-mark-as-answered): Ditto.
4453 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4455 (elmo-msgdb-mark): Likewise.
4456 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4457 (elmo-msgdb-unset-flag): Likewise.
4459 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4461 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4463 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4466 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4468 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4469 set spool-length to 0.
4471 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4473 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4474 (elmo-dop-queue-flush): Fixed last change.
4476 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4478 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4479 if require-msgdb slot is nil.
4480 (elmo-folder-list-importants): Likewise.
4482 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4484 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4487 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4488 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4491 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4493 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4495 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4497 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4499 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4501 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4503 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4504 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4506 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4508 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4509 the problem reported by Sean Rima [wl-en:180].
4511 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4513 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4515 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4517 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4519 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4521 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4523 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4525 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4527 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4529 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4532 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4534 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4535 (elmo-folder-mark-as-read): Follow the API change.
4536 (elmo-message-set-cached): New function.
4538 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4540 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4542 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4543 (elmo-folder-mark-as-important): Ditto.
4544 (elmo-folder-unmark-read): Ditto.
4545 (elmo-folder-mark-as-read): Ditto.
4546 (elmo-folder-unmark-answered): Ditto.
4547 (elmo-folder-mark-as-answered): Ditto.
4549 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4550 (elmo-folder-unmark-important): Ditto.
4551 (elmo-folder-mark-as-read): Ditto.
4552 (elmo-folder-unmark-read): Ditto.
4553 (elmo-folder-mark-as-answered): Ditto.
4554 (elmo-folder-unmark-answered): Ditto.
4556 * elmo-mark.el (toplevel): Removed some mark method definitions.
4558 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4559 (elmo-map-folder-mark-as-answered): Ditto.
4560 (elmo-folder-unmark-important): Add :before qualifier.
4561 (elmo-folder-mark-as-important): Ditto.
4562 (elmo-folder-unmark-read): Ditto.
4563 (elmo-folder-mark-as-read): Ditto.
4564 (elmo-folder-unmark-answered): Define.
4565 (elmo-folder-mark-as-answered): Ditto.
4567 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4568 (elmo-map-folder-unmark-answered): Ditto.
4570 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4572 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4573 (elmo-folder-mark-as-important): Ditto.
4574 (elmo-folder-unmark-read): Ditto.
4575 (elmo-folder-mark-as-read): Ditto.
4576 (elmo-folder-unmark-answered): Ditto.
4577 (elmo-folder-mark-as-answered): Ditto.
4579 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4580 `mark'; evaluate mark condition.
4581 (elmo-msgdb-match-condition-internal): New function.
4582 (elmo-msgdb-match-condition): Call it; changed argument.
4584 * elmo.el (elmo-folder-search): Follow the API change on
4585 `elmo-msgdb-match-condition'.
4587 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4589 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4590 original mark is non-nil.
4592 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4594 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4595 (elmo-map-folder-list-answereds): New method.
4596 (elmo-folder-list-unreads): Add :around qualifier.
4597 (elmo-folder-list-importants): Ditto.
4598 (elmo-folder-list-answereds): Ditto.
4600 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4602 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4604 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4605 method if msgdb is not required.
4606 (elmo-filter-folder-list-importants): Don't treat global-mark.
4608 * elmo.el (elmo-folder-list-importants): Ditto.
4610 * elmo-net.el (elmo-folder-list-importants): Ditto.
4612 * elmo-map.el (elmo-folder-list-importants): Ditto.
4614 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4616 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4617 (elmo-imap4-folder-list-any-plugged): New function.
4618 (elmo-imap4-search-internal-primitive): Use it.
4620 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4621 only when require-msgdb slot is non-nil.
4622 (elmo-folder-close): Clear target folder's msgdb.
4624 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4626 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4627 (elmo-pop3-msgdb-create-by-header): Ditto.
4628 (elmo-pop3-msgdb-create-message): Ditto.
4630 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4632 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4634 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4636 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4637 (elmo-folder-msgdb-create): Ditto.
4638 (elmo-nntp-folder-msgdb-create): Ditto.
4639 (elmo-nntp-msgdb-create-by-header): Ditto.
4640 (elmo-nntp-msgdb-create-message): Ditto.
4641 (elmo-folder-list-unreads): Define.
4643 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4644 (elmo-folder-append-messages): Ditto.
4645 (elmo-folder-list-unreads): Define.
4646 (elmo-folder-list-importants): Ditto.
4647 (elmo-folder-list-answereds): Ditto.
4649 * elmo-net.el (elmo-folder-list-unreads): Define.
4650 (elmo-folder-list-importants): Ditto.
4651 (elmo-folder-list-answereds): Ditto.
4652 (elmo-folder-list-answereds-plugged): Ditto.
4653 (elmo-folder-msgdb-create): Follow the API change.
4654 (elmo-folder-msgdb-create-unplugged): Ditto.
4655 (elmo-folder-unmark-answered): Define.
4656 (elmo-folder-mark-as-answered-unplugged): Ditto.
4657 (elmo-folder-unmark-answered-unplugged): Ditto.
4659 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4660 (elmo-msgdb-unread-uncached-mark): Ditto.
4661 (elmo-msgdb-unread-cached-mark): Ditto.
4662 (elmo-msgdb-read-uncached-mark): Ditto.
4663 (elmo-msgdb-answered-cached-mark): Ditto.
4664 (elmo-msgdb-answered-uncached-mark): Ditto.
4665 (elmo-msgdb-important-mark): Ditto.
4666 (elmo-msgdb-set-mark): Rewrite.
4667 (elmo-msgdb-count-marks): Rewrite.
4668 (elmo-msgdb-mark-alist-set): Abolish.
4669 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4670 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4672 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4673 (elmo-folder-close): Define.
4674 (elmo-folder-msgdb-create): Follow the API change.
4675 (elmo-folder-list-unreads): Rewrite.
4676 (elmo-folder-mark-as-important): Ditto.
4677 (elmo-folder-unmark-important): Ditto.
4678 (elmo-folder-mark-as-read): Ditto.
4679 (elmo-folder-unmark-read): Ditto.
4680 (elmo-folder-mark-as-answered): Define.
4681 (elmo-folder-unmark-answered): Ditto.
4683 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4684 (elmo-folder-append-messages): Ditto.
4686 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4688 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4689 (elmo-folder-list-importants): Ditto.
4691 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4692 (elmo-folder-append-messages): Ditto.
4694 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4696 (elmo-folder-msgdb-create-plugged): Ditto.
4697 (elmo-folder-append-messages): Ditto.
4698 (elmo-folder-list-answereds-plugged): Define.
4699 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4700 (elmo-folder-unmark-answered-plugged): Define.
4701 (elmo-folder-mark-as-answered-plugged): Ditto.
4702 (elmo-folder-search-requires-msgdb-p): Ditto.
4704 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4705 (elmo-folder-initialize): Set it.
4706 (elmo-folder-msgdb): Define.
4707 (elmo-folder-check): Call elmo-folder-synchronize.
4708 (elmo-folder-close): Define.
4709 (elmo-folder-commit): Ditto.
4710 (elmo-folder-msgdb-create): Rewrite.
4711 (elmo-folder-list-unreads): Ditto.
4712 (elmo-folder-list-importants): Ditto.
4713 (elmo-folder-mark-as-read): Ditto.
4714 (elmo-folder-unmark-read): Ditto.
4715 (elmo-folder-mark-as-important): Ditto.
4716 (elmo-folder-unmark-important): Ditto.
4717 (elmo-folder-mark-as-answered): Define.
4718 (elmo-folder-unmark-answered): Ditto.
4720 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4721 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4722 (elmo-dop-queue-method-name-alist): Likewise.
4723 (elmo-folder-mark-as-answered-dop): New inline function.
4724 (elmo-folder-unmark-answered-dop): Ditto.
4725 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4727 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4728 (elmo-folder-msgdb-create): Ditto.
4729 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4730 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4731 (elmo-archive-parse-mmdf): Ditto.
4733 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4734 (elmo-folder-list-unreads-internal): Ditto.
4736 * elmo.el (elmo-folder-msgdb): Define as generic function.
4737 (elmo-folder-list-messages): Added argument `in-msgdb'.
4738 (elmo-folder-list-unreads): Define as generic function.
4739 (elmo-folder-list-importants): Ditto.
4740 (elmo-folder-list-answereds): Ditto.
4741 (elmo-folder-list-messages-with-global-mark): New function.
4742 (elmo-folder-msgdb-create): Removed mark arguments.
4743 (elmo-folder-unmark-answered): New generic function.
4744 (elmo-folder-mark-as-answered): Ditto.
4745 (elmo-folder-append-messages): Removed argunment `unread-marks'
4746 (elmo-folder-list-unreads-internal): Abolish.
4747 (elmo-folder-list-importants-internal): Ditto.
4748 (elmo-folder-search-requires-msgdb-p): New generic function.
4749 (elmo-folder-search-requires-msgdb-p-internal): New function.
4750 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4752 (elmo-folder-search-fast): Added key 'mark'.
4753 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4754 instead of unread-marks argument.
4755 (elmo-folder-move-messages): Removed argunment `unread-marks'
4756 (elmo-folder-unmark-important): Define.
4757 (elmo-folder-mark-as-important): Ditto.
4758 (elmo-folder-unmark-read): Ditto.
4759 (elmo-folder-mark-as-read): Ditto.
4760 (elmo-folder-unmark-answered): Ditto.
4761 (elmo-folder-mark-as-answered): Ditto.
4762 (elmo-folder-replace-marks): Abolish.
4763 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4765 (elmo-folder-synchronize): Removed mark arguments;
4766 return crosspost only number.
4768 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4770 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4771 Remove redundunt connectivity check.
4773 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4775 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4776 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4778 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4780 * pldap.el (ldap-decode-string): Return string as-is if
4781 `ldap-coding-system' is nil.
4782 (ldap-encode-string): Ditto.
4783 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4784 (ldap-default-host): Fixed docstring.
4786 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4788 * elmo-util.el (elmo-warning): Define as a macro which uses
4789 `display-warning' if it is defined as a function.
4791 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4792 (elmo-split-equal): Use it.
4793 (elmo-split-match): Ditto.
4794 (elmo-split-message-entity): New buffer-local variable.
4795 (elmo-split-subr): Set it.
4797 * elmo-version.el (elmo-version): Up to 2.9.15.
4799 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4801 * elmo-imap4.el (elmo-network-initialize-session):
4802 Check capability after starttls.
4804 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4806 * elmo-util.el (elmo-list-delete): Added optional argument
4809 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4811 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4813 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4815 * elmo-imap4.el (elmo-folder-initialize): Don't use
4816 elmo-imap4-default-mailbox.
4818 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4820 * elmo-split.el (toplevel): Use `product-provide'.
4821 (elmo-split): Checkdoc.
4823 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4825 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4826 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4827 the function `elmo-imap4-debug-1'.
4829 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4831 * elmo-split.el (elmo-split): Moved to run hooks and to show
4832 message from elmo-split-subr.
4833 (elmo-split-subr): Follow the change above.
4835 * elmo-split.el (elmo-split-subr): New function (renamed from
4837 (elmo-split): Changed to call elmo-split-subr by element of
4839 (elmo-split-folder): Changed customization type to choice.
4841 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4843 * elmo-split.el (elmo-split-and): Fixed condition.
4845 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4847 * elmo-split.el: New file.
4848 (elmo-split): Fixed logic.
4849 Display "Test:" instead of "Folder:" when reharsal.
4851 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4854 * elmo-version.el (elmo-version): Up to 2.9.14.
4856 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4859 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4861 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4862 message with no message-id field.
4864 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4866 * elmo-version.el (elmo-version): Up to 2.9.13.
4868 * elmo-dop.el (elmo-folder-status-dop): Fix.
4870 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4872 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4874 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4875 changing default value of default-mime-charset.
4876 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4878 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4880 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4881 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4882 instead of elmo-dop-queue-method-name-alist to check merging queue.
4883 (elmo-folder-delete-messages-dop): Delete from queue if negative
4885 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4886 file is already removed.
4888 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4890 * elmo-vars.el: Bind colon keywords for old Emacsen.
4892 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4894 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4895 against non-exsisting charset.
4897 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4899 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4900 Use eword-decode-and-unfold-unstructured-field-body.
4902 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4903 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4904 exists to decode raw subject string.
4905 (toplevel): Require 'mime.
4907 * elmo-version.el (elmo-version): Up to 2.9.12.
4909 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4911 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4912 (elmo-msgdb-set-mark): Ditto.
4914 * elmo-version.el (elmo-version): Up to 2.9.11.
4916 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4918 * elmo-util.el (elmo-delete-match-files): New function.
4920 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4921 instead of elmo-delete-directory.
4923 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4924 elmo-hash-minimun-size as 63.
4926 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4927 elmo-diff-unread is nil.
4929 * elmo-imap4.el (elmo-folder-open): Fix.
4931 * elmo.el (elmo-message-mark): Rewrite.
4932 (elmo-message-field): Ditto.
4933 (elmo-message-set-mark): Ditto.
4934 (elmo-folder-replace-marks): New function.
4935 (elmo-generic-folder-append-msgdb): Removed third argument for
4937 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4938 (elmo-msgdb-load): New implementation.
4940 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4942 * elmo-util.el (elmo-list-insert): New implementation.
4944 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4945 argument for elmo-msgdb-append.
4948 * elmo-msgdb.el (elmo-load-msgdb): New function.
4949 (elmo-make-msgdb): Ditto.
4950 (elmo-msgdb-get-index): New inline function.
4951 (elmo-msgdb-set-index): Ditto.
4952 (elmo-msgdb-get-entity-hashtb): Ditto.
4953 (elmo-msgdb-get-mark-hashtb): Ditto.
4954 (elmo-msgdb-get-mark): Ditto.
4955 (elmo-msgdb-set-mark): Ditto.
4956 (elmo-msgdb-count-marks): Ditto.
4957 (elmo-msgdb-get-number): Ditto.
4958 (elmo-msgdb-get-field): Ditto.
4959 (elmo-msgdb-seen-list): Ditto.
4960 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4961 (elmo-msgdb-delete-msgs): Follow the changes above.
4962 (elmo-msgdb-overview-get-entity): Ditto.
4963 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4964 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4966 (elmo-msgdb-make-index): Likewise.
4967 (elmo-msgdb-append): Removed third argument.
4968 (elmo-msgdb-clear): Clear index as nil.
4969 (elmo-folder-set-info-hashtb): Removed.
4970 (elmo-folder-set-info-max-by-numdb): Ditto.
4971 (elmo-folder-info-make-hashtb): Ditto.
4973 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4975 * elmo-map.el (elmo-folder-pack-number): Ditto.
4977 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4979 * elmo-version.el (elmo-version): Up to 2.9.10.
4981 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4983 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4985 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4987 * elmo-utils.el (elmo-make-directory): Add option.
4988 Default file mode is 700.
4990 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4992 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4994 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4996 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4999 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5002 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5004 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5005 (elmo-shimbun-folder-entity-hash): New function.
5006 (elmo-shimbun-folder-shimbun-header): Ditto.
5007 (elmo-shimbun-entity-to-header): Ditto.
5008 (elmo-shimbun-msgdb-to-headers): Removed.
5009 (elmo-shimbun-folder-setup): Ditto.
5010 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5012 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5013 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5014 Removed useless local bind.
5015 (elmo-folder-open-internal): Don't call
5016 `elmo-shimbun-folder-setup'.
5017 (elmo-folder-close-internal): Clear entity-hash slot.
5018 (elmo-folder-clear): Ditto.
5019 (elmo-shimbun-msgdb-create-entity): Use
5020 `elmo-shimbun-folder-shimbun-header'.
5021 (elmo-map-message-fetch): Ditto.
5022 (elmo-shimbun-update-overview): Use overview entity instead of
5023 shimbun header to lookup id by references.
5024 (elmo-map-folder-list-message-locations): Use not only headers but
5025 also overviews to list locations.
5027 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5029 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5032 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5034 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5036 * elmo-util.el (elmo-read-search-condition-internal): Give default
5039 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
5041 * elmo-util.el (elmo-condition-parse-search-value): Accept
5042 YYYY-MM-DD format to search.
5043 * elmo-date.el (elmo-date-get-datevec): Likewise.
5045 2002-04-04 Kenichi OKADA <okada@opaopa.org>
5047 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5050 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5052 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5055 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5057 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5058 case from `elmo-folder-exists-p'.
5059 (elmo-folder-exists-p): Removed.
5060 (elmo-folder-creatable-p) Ditto.
5062 * elmo-net.el (elmo-folder-create): Defined.
5063 (elmo-folder-create-unplugged): New function.
5064 (elmo-folder-exists-p): Changed default value to nil from t.
5066 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5067 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5069 * elmo-dop.el (elmo-folder-create-dop): Renamed from
5070 `elmo-create-folder-dop' and append queue
5071 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5072 (elmo-folder-create-dop-delayed): New function.
5074 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5076 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5078 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5079 (elmo-folder-writable-p) : Ditto.
5081 * elmo-version.el (elmo-version): Up to 2.9.9.
5083 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5085 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5086 `elmo-message-use-cache-p' returns nil.
5087 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5088 (ignore cache file and refer the substance in local folders)
5090 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5092 * elmo-version.el (elmo-version): Up to 2.9.8.
5094 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
5096 * elmo-version.el (elmo-version): Up to 2.9.7.
5098 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5100 2002-02-18 Daiki Ueno <ueno@unixuser.org>
5102 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5104 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
5106 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5108 (elmo-map-folder-list-message-locations): Reverse location list.
5110 2002-02-01 Kenichi OKADA <okada@opaopa.org>
5112 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5114 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5116 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5118 (elmo-nntp-folder-list-subfolders): Follow the change above.
5120 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5122 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5123 name if authentication type is specified.
5125 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5127 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5129 (elmo-default-nntp-stream-type): Ditto.
5130 (elmo-default-pop3-stream-type): Ditto.
5132 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5134 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5136 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5138 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5140 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5142 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5143 (elmo-maildir-folder-path): Ditto.
5144 (elmo-maildir-list): Ditto (abolished).
5146 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5148 * elmo-version.el (elmo-version): Up to 2.9.6.
5150 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5152 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5153 (elmo-maildir-folder-path): Ditto.
5154 (elmo-msgdb-directory): Ditto.
5155 (elmo-passwd-life-time): Ditto.
5156 (elmo-msgdb-extra-fields): Ditto.
5157 (elmo-enable-disconnected-operation): Ditto.
5159 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5161 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5163 (elmo-pop3-default-authenticate-type): Ditto.
5165 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5167 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5169 (elmo-pop3-default-authenticate-type): Ditto.
5171 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5173 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5174 mailbox to new-folder.
5176 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5178 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5179 less than new, set new as unread.
5181 * elmo-util.el (elmo-string): Don't put text-property if nil.
5183 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5185 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5186 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5188 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5190 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5191 is nil on `completing-read'.
5193 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5195 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5197 (elmo-imap4-parse-namespace-subr): Ditto.
5198 (elmo-folder-list-subfolders): Append a delimiter when the specified
5199 folder path is a root with namespace and does not end with delimiter.
5201 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5203 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5206 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5208 * elmo-util.el (elmo-save-buffer): The first argument of message
5209 is a format control string.
5211 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5213 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5214 `elmo-folder-diff').
5215 (elmo-diff-unread): Likewise.
5217 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5219 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5220 is t on `completing-read'.
5222 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5224 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5225 method of target folder with self mark-alist if MARK-ALIST is nil.
5227 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5229 * elmo-version.el (elmo-version): Up to 2.9.5.
5231 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5233 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5234 (elmo-dop-merge-funcs): Remove.
5236 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5238 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5239 Return t if PATH is directory, too.
5240 Use `dolist' instead of while loop.
5242 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5244 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5247 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5249 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5251 (elmo-folder-list-messages-unplugged): Return t if
5252 elmo-enable-disconnected-operation is nil.
5254 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5255 `elmo-folder-list-messages-internal'.
5257 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5259 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5260 Change to looking-at `[23][0-9]+'.
5261 (elmo-network-initialize-session): Use 'error-msg'
5262 * elmo-net.el (elmo-network-open-session): Set unplugged
5263 if elmo-network-initialize-session returns 'elmo-open-err.
5265 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5267 * elmo-version.el (elmo-version): Up to 2.9.4.
5269 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5271 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5272 `elmo-folder-list-messages-internal'.
5274 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5276 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5277 (elmo-message-match-condition): New method.
5278 (elmo-folder-search-fast): New inline function.
5279 (elmo-msgdb-search): Removed.
5281 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5282 target folder if it is unplugged.
5283 (elmo-folder-list-messages-internal): Return t if target folder is
5284 unplugged and itself is persistent; In this case, use list be
5287 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5288 (elmo-msgdb-search-internal-primitive): Ditto.
5289 (elmo-msgdb-match-condition): New function.
5290 (elmo-msgdb-match-condition-primitive): Ditto.
5292 * elmo-util.el (elmo-filter-condition-p): New macro.
5294 * elmo-cache.el (elmo-folder-search): Removed.
5296 * elmo-localdir.el (elmo-folder-search): Ditto.
5298 * elmo-maildir.el (elmo-folder-search): Ditto.
5300 * elmo-mark.el (elmo-folder-search): Ditto.
5302 * elmo-nmz.el (elmo-folder-search): Ditto.
5304 * elmo-sendlog.el (elmo-folder-search): Ditto.
5306 * elmo-shimbun.el (elmo-folder-search): Ditto.
5308 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5309 if folder is unplugged.
5311 * elmo-nntp.el (elmo-folder-search): Likewise.
5312 (elmo-nntp-search-internal): New function.
5314 * elmo-version.el (elmo-version): Up to 2.9.3.
5316 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5318 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5320 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5322 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5324 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5326 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5328 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5330 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5331 (elmo-map-folder-list-message-locations): Do drive letter conversion
5332 on Windows environment.
5333 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5334 (elmo-map-message-fetch): Ditto.
5336 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5338 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5339 (elmo-network-initialize-session): Ditto.
5341 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5343 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5345 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5347 * elmo-util.el (elmo-progress-clear): Ditto.
5349 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5350 `DD-Mon-YYYY' type date.
5352 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5354 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5355 `elmo-date-make-sortable-string' instead of
5356 `timezone-make-date-sortable'.
5358 * elmo-date.el (elmo-date-make-sortable-string): Use
5359 `timezone-make-time-string'.
5361 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5363 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5365 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5366 `since'; Fix timezone.
5368 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5370 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5372 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5374 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5376 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5378 * elmo.el (elmo-generic-folder-append-messages): Make
5379 fetch-strategy with `use-cache' as 'maybe. Check return value of
5380 `elmo-message-fetch'.
5381 (elmo-message-fetch): Return return value of
5382 `elmo-message-fetch-with-cache-process'.
5383 (elmo-message-fetch-with-cache-process): Return non-nil if
5384 fetching was succeed. Load cache when fetching was failed and
5385 fetch-strategy-use-cache is 'maybe.
5387 * elmo-util.el (elmo-file-cache-load): New function.
5389 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5392 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5393 non-nil if fetching was succeed.
5395 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5397 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5399 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5400 (elmo-message-fetch-with-cache-process): Likwise.
5402 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5404 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5406 * elmo-version.el (elmo-version): Up to 2.9.2.
5408 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5410 * elmo.el (elmo-folder-delete): Delete msgdb path.
5412 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5414 * elmo-maildir.el (elmo-folder-delete): Ditto.
5416 * elmo-localdir.el (elmo-folder-delete): Ditto.
5418 * elmo-imap4.el (elmo-folder-delete): Ditto.
5420 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5422 * elmo.el (luna-define-class): Added `biff' slot.
5424 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5425 (elmo-pop3-debug-inhibit-logging): Abolished.
5426 (elmo-network-close-session): Eliminated needless let.
5427 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5428 (elmo-pop3-send-command): Added `no-log' argument.
5429 (elmo-pop3-process-filter): Use `with-current-buffer'.
5430 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5432 (elmo-pop3-auth-apop): Likewise.
5433 (elmo-network-authenticate-session): Likewise.
5435 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5438 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5439 string to determine protocol.
5440 (elmo-network-session-name-prefix): Abolished.
5441 (elmo-network-session-cache-key): Follow the change above.
5442 (elmo-network-open-session): Ditto.
5444 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5445 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5447 * elmo-version.el (elmo-version): Up to 2.9.1.
5449 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5450 unmatch condition checking.
5452 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5455 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5457 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5459 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5461 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5462 test for while loop to execute at least one SEARCH command.
5464 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5466 * elmo-version.el (elmo-version): Up to 2.9.0.
5468 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5470 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5471 (elmo-archive-folder-path): Define.
5472 (elmo-folder-initialize): Setup `dir-name' slot.
5473 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5474 Use `dir-name' as prefix of each subfolders.
5475 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5477 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5479 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5480 (elmo-pipe-folder-list-target-messages): New internal function.
5481 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5483 (elmo-pipe-folder-copied-list-load): New function.
5484 (elmo-pipe-folder-copied-list-save): Ditto.
5485 (elmo-folder-open-internal): Follow the change above.
5486 (elmo-folder-status): Fixed for copy.
5488 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5490 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5492 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5494 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5495 elmo-copy-file instead of elmo-add-name-to-file.
5497 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5499 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5502 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5503 of accept-process-output as 1.
5504 (elmo-pop3-read-contents): Ditto.
5505 (elmo-pop3-read-body): Ditto.
5507 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5509 * elmo-version.el (product-version-as-string): Remove define.
5511 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5513 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5514 (elmo-imap4-copy-messages): Chop number set using
5515 `elmo-imap4-number-set-chop-length'.
5516 (elmo-imap4-set-flag): Ditto.
5517 (elmo-imap4-search-internal-primitive): Ditto.
5519 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5521 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5522 `elmo-folder-make-temp-dir'
5524 * elmo-vars.el (elmo-cache-directory): New variable.
5525 (elmo-cache-dir): Abolished.
5526 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5528 * elmo-version.el (elmo-version): Up to 2.7.7.
5530 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5532 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5533 defcustom; Set default value as t.
5535 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5537 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5538 (ldap-search-program-arguments): Changed default value.
5539 (ldap-search-basic): Accept exit status 4.
5540 (ldap/field-body): Parse options.
5541 (ldap/collect-field): Ditto.
5542 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5544 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5545 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5546 (elmo-imap4-accept-ok): Ditto.
5547 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5548 'notify-bye, only BYE error is reported.
5549 (elmo-folder-exists-p-plugged): Set no-error argument of
5550 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5552 * elmo.el (elmo-imap4-bye-error): Changed message.
5554 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5555 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5556 queues (It causes infinite loop).
5558 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5560 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5561 (RECENT UNSEEN MESSAGES) extension.
5563 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5565 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5566 Check number of overview fields.
5568 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5570 * elmo.el (elmo-folder-confirm-appends): Changed message.
5571 (elmo-folder-confirm-appends): Ditto.
5573 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5575 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5577 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5579 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5580 of elmo-folder-update-threshold is nil, which can be set by
5581 wl-summary-update-confirm-threshold.
5583 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5585 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5586 (elmo-nmz-index-alias-alist): Ditto.
5587 (elmo-map-folder-list-message-locations): Follow the change above.
5589 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5591 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5593 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5595 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5597 * elmo-util.el (elmo-read): Ditto.
5598 (elmo-display-error): Ditto.
5600 * elmo-vars.el (elmo-date-match): Ditto.
5602 * pldap.el (ldap-coding-system): Ditto.
5604 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5605 `elmo-inhibit-number-mapping' as nil.
5607 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5609 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5610 space delimiter for list response.
5612 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5614 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5616 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5618 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5619 (elmo-map-message-fetch): Fix.
5620 * elmo-map.el (elmo-folder-status): Fix for killed.
5622 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5624 * elmo-sendlog.el: New file.
5625 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5627 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5629 * acap.el (acap-logging-out): New buffer local variable.
5630 (acap-close): Set it.
5631 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5634 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5636 * acap.el (acap-response-bye-p): New function.
5637 (acap-response-bye-message): Ditto.
5638 (acap-wait-for-response): If bye response is received, cause an error.
5639 (acap-parse-response): Make bye response when 'Bye' is received.
5641 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5643 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5645 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5647 * elmo-util.el (elmo-copy-file): Added argument
5648 `ok-if-already-exists'.
5649 (elmo-copy-file): Fixed typo.
5651 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5653 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5655 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5657 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5659 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5661 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5664 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5666 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5667 (elmo-folder-initialize): Fix for `copy'.
5668 (elmo-pipe-drain): Ditto.
5669 (elmo-folder-open-internal): Ditto.
5670 (elmo-folder-newsgroups): Fix.
5672 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5674 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5677 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5678 recent value is returned from imap folder.
5680 * elmo.el (elmo-folder-newsgroups): New generic function.
5682 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5683 (elmo-folder-initialize): Set it.
5684 (elmo-folder-expand-msgdb-path): Use it.
5685 (elmo-folder-newsgroups): Define.
5687 * elmo-filter.el (elmo-folder-newsgroups): Define.
5689 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5691 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5693 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5695 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5697 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5699 (elmo-shimbun-header-extra-field): New inline function.
5700 (elmo-shimbun-header-set-extra-field): Ditto.
5701 (elmo-shimbun-folder-header-hash-setup): Ditto.
5702 (elmo-shimbun-update-overview): Ditto.
5703 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5704 (elmo-shimbun-folder-setup): Use
5705 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5706 (elmo-shimbun-get-headers): Ditto.
5707 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5708 Insert `X-Shimbun-Id:' header if extra field is set.
5709 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5710 field's value instead of `shimbun-header-id'.
5712 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5714 (elmo-msgdb-overview-entity-set-date): Ditto.
5715 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5717 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5719 * mmimap.el (mmimap-entity-section): Changed body node number from
5722 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5724 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5725 `elmo-folder-delete-messages'.
5727 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5728 (elmo-folder-initialize): Changed to expand alias into index path.
5730 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5731 `elmo-mime-insert-header-from-buffer' with 6th arg
5734 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5736 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5738 * elmo.el (elmo-diff-new): New inline function.
5739 (elmo-diff-unread): Ditto.
5740 (elmo-diff-all): Ditto.
5742 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5743 value from responseb.
5744 (elmo-imap4-folder-diff-plugged): Ditto.
5745 (elmo-imap4-server-diff-async): Added recent argument.
5746 (elmo-server-diff-async): Ditto.
5747 (elmo-imap4-folder-diff-plugged): Ditto.
5749 * elmo-version.el (elmo-version): Up to 2.7.6.
5751 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5753 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5756 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5758 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5760 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5762 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5764 * elmo-multi.el (elmo-folder-initialize): Ditto.
5766 * elmo-util.el (elmo-parse-token): New function.
5767 (elmo-parse-prefixed-element): Ditto.
5769 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5771 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5773 (elmo-imap4-accept-ok): Ditto.
5775 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5777 * mmimap.el (mime-imap-entity-header-string): Don't check first
5778 element of node-id is `0' (Follow last change).
5780 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5782 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5783 assigned irregular node-id to nested multipart section.
5784 (initialize-instance): Followed above change.
5786 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5788 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5789 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5790 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5791 `elmo-shimbun-get-headers');
5792 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5793 visible article on summary exists in headers).
5794 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5796 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5798 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5801 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5803 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5805 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5807 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5808 header separator into loop condition.
5810 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5812 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5813 Return duplicate folder if it has subfolder.
5815 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5817 * elmo.el (elmo-make-folder): Add folder name error check.
5819 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5820 (elmo-nntp-encode-group-string): New inline function.
5821 (elmo-nntp-decode-group-string): Ditto.
5822 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5823 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5824 Use `not' instead of `null';
5825 Use elmo-nntp-decode-group-string.
5827 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5829 * elmo-version.el (elmo-version): Up to 2.7.5.
5831 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5833 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5834 Hide progress gauge if `elmo-folder-move-messages' exits
5837 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5839 * elmo-imap4.el (elmo-folder-initialize): Use
5840 `elmo-imap4-encode-folder-string' for folder name.
5842 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5844 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5847 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5849 * elmo-util.el (elmo-progress-counter-alist): New internal
5851 (elmo-progress-counter-value): New macro.
5852 (elmo-progress-counter-all-value): Ditto.
5853 (elmo-progress-counter-format): Ditto.
5854 (elmo-progress-counter-set-value): Ditto.
5855 (elmo-progress-set): New function.
5856 (elmo-progress-clear): Ditto.
5857 (elmo-progress-notify): Ditto.
5859 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5862 * elmo.el (elmo-generic-folder-append-messages): Call
5863 `elmo-progress-notify'.
5864 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5866 * elmo-archive.el (elmo-folder-append-messages): Call
5867 `elmo-progress-notify'.
5869 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5871 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5873 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5875 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5877 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5879 (elmo-message-encache-dop): Added argument `read'.
5881 * elmo-shimbun.el (elmo-message-encache): Ditto.
5883 * elmo-net.el (elmo-message-encache): Ditto.
5885 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5886 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5887 elmo-imap4-seen-messages.
5888 (elmo-folder-msgdb-create-plugged): Initialize
5889 elmo-imap4-seen-messages;
5890 Set seen mark on elmo-imap4-seen-messages.
5892 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5894 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5895 elmo-folder-append-buffer.
5896 (elmo-folder-encache): Added optional argument `read'.
5897 (elmo-message-encache): Ditto.
5899 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5901 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5903 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5904 if append buffer content succeds.
5906 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5908 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5909 elmo-display-progress.
5911 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5912 Set 4th argument of mime-display-message.
5913 (elmo-mime-display-as-is): Ditto.
5915 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5917 * elmo-nmz.el (toplevel): Require 'mime-edit.
5918 (elmo-nmz-content-type-alist): Abolished.
5919 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5920 content is not a message.
5921 (elmo-map-message-fetch): Changed behavior exept for message content;
5922 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5923 content-type, Add From: and Subject: field.
5925 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5927 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5928 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5931 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5933 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5934 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5936 * elmo-archive.el (elmo-folder-writable-p): Defined.
5938 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5940 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5942 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5944 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5946 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5948 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5950 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5952 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5954 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5956 * elmo-util.el (elmo-address-quote-specials): New function;
5957 Renamed from `wl-address-quote-specials'.
5959 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5961 * elmo-version.el (elmo-version): Up to 2.7.4.
5963 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5965 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5967 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5969 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5970 both compile-time and run-time to avoid byte-compile warning.
5972 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5974 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5976 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5978 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5980 (elmo-mime-display-as-is-internal): Use it.
5982 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5983 if `read-passwd' is not defined.
5985 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5987 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5989 (elmo-folder-status): Call `elmo-folder-open-internal';
5990 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5991 (elmo-folder-close-internal): Set location-alist as nil.
5992 (elmo-folder-clear): Define.
5993 (elmo-folder-check): Don't set location-alist as nil.
5995 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5997 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5999 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6000 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6002 * mmimap.el (mime-imap-entity::requested): New slot.
6003 (mime-imap-location-fetch-entity-p): New generic function.
6004 (mime-decode-parameters): Define using `defun-maybe'.
6005 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6006 content-type structure.
6007 (mime-entity-body): Return empty body if
6008 `mime-imap-location-fetch-entity-p' returns nil in the first request.
6010 * elmo.el (elmo-message-displaying): New variable.
6012 * elmo-mime.el (elmo-mime-message-display): Bind
6013 elmo-message-displaying as t.
6015 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6017 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
6019 * acap.el (acap-open): erase buffer before starting network process.
6020 (acap-store): Rewrite.
6022 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
6024 * elmo-imap4.el (elmo-imap4-default-mailbox,
6025 elmo-imap4-default-server
6026 elmo-imap4-default-authenticate-type,
6027 elmo-imap4-default-user,
6028 elmo-imap4-default-port,
6029 elmo-imap4-default-stream-type,
6030 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6032 * elmo-pop3.el (elmo-pop3-default-user,
6033 elmo-pop3-default-server,
6034 elmo-pop3-default-authenticate-type,
6035 elmo-pop3-default-port,
6036 elmo-pop3-default-stream-type,
6037 elmo-pop3-stream-type-alist): Ditto.
6039 * elmo-nntp.el (elmo-nntp-default-server,
6040 elmo-nntp-default-user,
6041 elmo-nntp-default-port,
6042 elmo-nntp-default-stream-type,
6043 elmo-nntp-stream-type-alist): Ditto.
6045 * elmo-vars.el: Follow changes above.
6046 (elmo-setting): New custom group; added 'elmo-setting group to
6049 * elmo-version.el (elmo-version): Up to 2.7.3.
6051 * acap.el (acap-parse-response): Don't delete process when BYE
6052 response (It causes hang-up on slow network environment).
6053 (toplevel): Added comment.
6055 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
6057 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6059 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6061 (acap-parse-return-metadata): Ditto.
6064 (toplevel): Fixed typo.
6066 * acap.el: New file.
6067 (acap-network-stream-open): Show "Connecting..." message.
6068 (acap-parse-response): Fixed problem for BYE untagged response.
6069 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6070 (toplevel): Added tiny comments.
6072 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
6074 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6075 space delimiter for uidl response.
6077 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
6079 * elmo-vars.el (elmo-use-semi): Eliminated.
6081 * elmo-util.el (elmo-string-assoc-all): New function.
6083 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6085 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6086 property 'mime-preview-situation for `mime-preview-quit'.
6088 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6090 * elmo.el (elmo-message-fetch-with-cache-process): Call
6091 elmo-message-fetch-internal instead of causing an error when fetch
6092 strategy is 'entire but only 'section cache is available.
6094 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
6096 * elmo-version.el (elmo-version): Up to 2.7.2.
6098 * elmo.el (elmo-generic-folder-append-messages): Make
6099 fetch-strategy with `use-cache'.
6101 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6102 (elmo-dop-queue-method-name): New macro.
6104 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6106 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6107 unbalanced parenthesis.
6109 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
6111 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6113 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6115 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6116 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6118 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6120 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6123 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6125 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6126 (elmo-message-use-cache-p): Define.
6127 (elmo-folder-msgdb-create): Treat cache.
6129 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6131 * elmo-nntp.el (elmo-network-initialize-session): Call
6132 `elmo-nntp-send-mode-reader'.
6133 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6135 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6137 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6139 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6142 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6143 for `elmo-plugged-p'.
6144 (elmo-open-network-stream): Fixed stream-type argument.
6146 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6148 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6149 unknown archive type is specified.
6151 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6153 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6155 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6156 while loading msgdb.
6158 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6159 (elmo-folder-open-internal): Rewrite.
6161 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6163 * elmo-mime.el (elmo-mime-display-as-is-internal):
6164 Adjust buffer-multibyte status.
6166 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6168 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6169 of elmo-condition-find-key.
6171 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6172 (elmo-condition-in-msgdb-p): Ditto.
6173 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6176 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6178 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6180 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6182 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6183 label for elmo-display-progress.
6185 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6187 * elmo.el (elmo-folder-clear): New method.
6188 (elmo-folder-clear): Define.
6189 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6191 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6192 (elmo-folder-clear): Define.
6194 * elmo-map.el (elmo-folder-clear): Define.
6196 * elmo-version.el (elmo-version): Up to 2.7.1.
6198 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6200 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6203 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6205 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6206 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6208 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6210 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6212 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6215 * elmo-imap4.el (elmo-folder-initialize): Use
6216 elmo-get-network-stream-type.
6218 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6220 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6222 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6224 * elmo.el (elmo-message-encache): Set unread argument for
6227 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6229 * elmo.el (elmo-net-port-info): New method.
6231 * elmo-shimbun.el (elmo-net-port-info): Define.
6232 (elmo-message-encache): Ditto.
6234 * elmo-net.el (elmo-net-port-info): Define as method.
6236 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6237 unplugged status when elmo-enable-disconnected-operation is t.
6239 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6240 of spool folder before checking new number.
6242 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6244 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6245 (elmo-network-setup-session): Ditto.
6246 (elmo-message-fetch-plugged): Ditto.
6247 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6248 (elmo-network-initialize-session): Ditto.
6249 (elmo-pop3-read-response): Abolish 3rd argument.
6250 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6251 (elmo-pop3-read-contents): Ditto.
6252 (elmo-pop3-read-body): Ditto.
6253 (elmo-folder-status): Call elmo-folder-close.
6254 (elmo-pop3-lock): Abolish.
6255 (elmo-pop3-unlock): Ditto.
6256 (elmo-pop3-locked-p): Ditto.
6257 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6259 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6261 * elmo-version.el (elmo-version): Up to 2.7.0.
6263 * elmo-pop3.el (elmo-pop3-debug): New variable.
6264 (elmo-pop3-debug-inhibit-logging): Ditto.
6265 (elmo-pop3-debug): New function.
6266 (elmo-pop3-send-command): Call elmo-pop3-debug.
6267 (elmo-pop3-read-response): Added keep-lock optional argument;
6268 Don't unlock if keep-lock is non-nil.
6269 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6270 (elmo-network-authenticate-session): Bind
6271 elmo-pop3-debug-inhibit-logging as t.
6272 (elmo-network-setup-session): Call elmo-pop3-read-response with
6274 (elmo-pop3-read-msg): Ditto.
6275 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6276 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6277 (elmo-network-initialize-session): Call elmo-pop3-lock.
6278 (elmo-folder-close-internal): Don't clear location-alist slot.
6279 (elmo-folder-check): Clear location-alist slot.
6281 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6283 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6284 (elmo-pop3-send-command): Call elmo-pop3-lock.
6285 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6286 (elmo-pop3-read-contents): Ditto.
6287 (elmo-pop3-lock): New function.
6288 (elmo-pop3-unlock): Ditto.
6289 (elmo-pop3-locked-p): Ditto.
6290 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6293 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6295 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6297 * elmo-util.el (elmo-file-field-primitive-condition-match):
6298 New inline function (Don't fetch file content if "first" or "last").
6299 (elmo-file-field-condition-match): Use
6300 elmo-file-field-primitive-condition-match.
6302 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6305 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6306 (elmo-message-fetch-plugged): Fixed.
6308 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6310 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6312 * elmo.el (elmo-folder-move-messages): Bind
6313 elmo-inhibit-display-retrieval-progress as t while moving messages.
6315 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6317 (elmo-inhibit-display-retrieval-progress): Ditto.
6319 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6320 for retrieval progress;
6321 Don't display progress when total buffer size is smaller than
6322 elmo-display-retrieval-progress-threshold.
6323 (elmo-message-fetch-plugged): Don't display progress when
6324 elmo-inhibit-display-retrieval-progress is non-nil.
6326 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6327 for retrieval progress;
6328 Don't display progress when literal size is smaller than
6329 elmo-display-retrieval-progress-threshold.
6330 (elmo-imap4-message-fetch): Don't display progress when
6331 elmo-inhibit-display-retrieval-progress is non-nil.
6333 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6335 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6336 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6337 (elmo-imap4-message-fetch): Likewise.
6339 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6340 (elmo-shimbun-index-range-alist): Ditto.
6341 (elmo-shimbun-use-entire-index): Abolish.
6342 (shimbun-mua-use-entire-index): Ditto.
6343 (elmo-shimbun-folder): Added new slot `range'.
6344 (elmo-folder-initialize): Setup slot `range'.
6346 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6348 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6349 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6350 (elmo-shimbun-get-headers): Use return value of
6351 `shimbun-article-expiration-days'.
6352 (elmo-folder-close-internal): Clean up last-check slot.
6354 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6355 (elmo-pop3-total-size): New variable.
6356 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6358 * elmo.el (elmo-folder-reserve-status-p): New method.
6360 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6361 (elmo-shimbun-use-entire-index): New user option.
6362 (shimbun-elmo-mua): New class.
6363 (shimbun-mua-search-id): Define.
6364 (shimbun-mua-use-entire-index): Ditto.
6365 (elmo-shimbun-folder:last-check): New slot.
6366 (elmo-shimbun-headers-cache-header-list): Abolish.
6367 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6368 (elmo-shimbun-headers-cache-header-hash): Ditto.
6369 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6370 (elmo-shimbun-headers-cache-last-check): Ditto.
6371 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6372 (elmo-shimbun-headers-check-p): Rewrite.
6373 (elmo-shimbun-msgdb-to-headers): New function.
6374 (elmo-shimbun-get-headers): Rewrite.
6375 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6376 (elmo-folder-open-internal): Get headers only if
6377 `elmo-shimbun-headers-check-p' is non-nil.
6378 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6380 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6381 (elmo-quit): Removed.
6383 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6385 (elmo-msgdb-overview-entity-set-extra): Ditto.
6386 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6388 * elmo-map.el (elmo-folder-status): Don't call
6389 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6392 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6394 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6395 of `elmo-msgdb-search-internal-primitive' when condition's car is
6398 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6400 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6402 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6404 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6405 call `elmo-pipe-drain'.
6407 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6409 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6410 typo. (elmo-cache-folder -> elmo-mark-folder)
6412 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6414 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6415 `elmo-message-fetch'.
6417 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6419 * elmo-net.el (elmo-message-encache): Fixed typo.
6420 (elmo-message-fetch-unplugged): Changed call
6421 `elmo-message-fetch-internal' without argument `outbuf'.
6423 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6425 * elmo.el (elmo-message-encache): Define as generic function.
6426 (elmo-message-fetch-field): New generic function.
6427 (elmo-message-fetch-with-cache-process): Cause an error when
6428 fetch strategy is 'entire but only 'section cache is available.
6429 (toplevel): Fixed nmz folder definition.
6431 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6432 (elmo-msgdb-resume-list-filename): Ditto.
6433 (elmo-queue-filename): Ditto.
6434 (elmo-enable-disconnected-operation): Changed default value to t.
6436 * elmo-util.el (elmo-cache-path-section-p): New function.
6437 (elmo-file-cache-get): Use it.
6438 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6439 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6440 (elmo-dop-queue-save): Ditto.
6442 * elmo-net.el (elmo-folder-status-unplugged): Call
6443 elmo-folder-status-dop.
6444 (elmo-folder-list-messages-unplugged): Implemented.
6445 (elmo-folder-delete-messages-unplugged): Define.
6446 (elmo-folder-msgdb-create): Define.
6447 (elmo-folder-msgdb-create-unplugged): Define.
6448 (elmo-folder-mark-as-read-unplugged): Ditto.
6449 (elmo-folder-unmark-read-unplugged): Ditto.
6450 (elmo-folder-mark-as-important-unplugged): Ditto.
6451 (elmo-folder-unmark-important-unplugged): Ditto.
6452 (elmo-message-encache): Ditto.
6454 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6455 (elmo-dop-queue-save): Ditto.
6457 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6458 `elmo-folder-msgdb-create'.
6459 (elmo-folder-append-buffer): Implemented unplugged operation.
6460 (elmo-folder-append-messages): Call parent method in unplugged status.
6461 (elmo-message-fetch-unplugged): Removed definition.
6462 (elmo-message-fetch-field): Implemented.
6464 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6465 (elmo-dop-folder): Removed variable definition.
6466 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6467 (elmo-dop-queue-flush): Implemented.
6468 (elmo-dop-queue-merge): Removed definition (TODO).
6469 (elmo-dop-spool-folder): New function.
6470 (elmo-dop-spool-folder-append-buffer): Ditto.
6471 (elmo-dop-spool-folder-list-messages): Ditto.
6472 (elmo-dop-list-deleting-messages): Ditto.
6473 (elmo-folder-append-buffer-dop): Ditto.
6474 (elmo-folder-delete-messages-dop): Ditto.
6475 (elmo-message-encache-dop): New inline function.
6476 (elmo-create-folder-dop): Ditto.
6477 (elmo-folder-mark-as-read-dop): Ditto.
6478 (elmo-folder-unmark-read-dop): Ditto.
6479 (elmo-folder-mark-as-important-dop): Ditto.
6480 (elmo-folder-unmark-important-dop): Ditto.
6481 (elmo-folder-status-dop): Fixed.
6482 (elmo-folder-append-buffer-dop-delayed): New function.
6483 (elmo-folder-delete-messages-dop-delayed): Ditto.
6484 (elmo-dop-msgdb): Ditto.
6486 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6488 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6490 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6492 * elmo.el (elmo-folder-move-messages): Fixed problem when
6493 `dst-folder' is 'null.
6495 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6497 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6498 instead of current mark.
6500 * elmo-multi.el (elmo-folder-list-importants-internal): No
6501 operation if importants is not list.
6503 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6504 Return t if importants is not list.
6506 * elmo-map.el (elmo-map-folder-list-importants): Define.
6507 (elmo-folder-list-importants-internal): Check return value of
6508 `elmo-map-folder-list-importants-internal'.
6510 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6512 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6514 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6516 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6518 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6520 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6521 (Patch is provided by <kita@coe.nttdata.co.jp>).
6523 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6525 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6528 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6530 * elmo.el (elmo-message-fetch): Define.
6531 (elmo-message-fetch-with-cache-process): New generic method.
6532 (elmo-message-fetch-internal): New generic method.
6533 (elmo-folder-synchronize):
6535 * elmo-archive.el (elmo-message-fetch-internal): Define.
6536 (elmo-message-fetch): Eliminated.
6538 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6539 (elmo-message-fetch): Eliminated.
6541 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6543 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6545 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6546 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6548 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6549 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6551 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6553 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6555 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6557 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6558 (elmo-message-fetch-unplugged): New generic method.
6559 (elmo-message-fetch-internal): Remove cache process (Renamed from
6560 `elmo-message-fetch').
6562 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6563 (elmo-message-fetch): Eliminated.
6564 (elmo-message-fetch-unplugged): Ditto.
6566 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6568 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6570 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6571 of `to-be-deleted' from number-alist to number-list.
6573 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6575 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6576 (elmo-folder-mark-as-important): Ditto.
6578 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6580 * elmo.el (elmo-folder): Added process-duplicates slot.
6582 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6583 (elmo-folder-unmark-read): Ditto.
6584 (elmo-folder-unmark-important): Ditto.
6585 (elmo-folder-mark-as-important): Ditto.
6587 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6588 duplicated message processing.
6590 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6592 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6594 * elmo-util.el (elmo-list-subdirectories-1): New function.
6595 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6596 (elmo-mapcar-list-of-list): New function.
6598 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6599 `elmo-mapcar-list-of-list' instead of `mapcar'.
6601 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6603 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6604 `elmo-have-link-count'. Return the fully qualified folder name.
6606 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6608 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6609 (elmo-shimbun-headers-cache): New internal variable.
6610 (elmo-shimbun-headers-cache-header-list): New inline function.
6611 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6612 (elmo-shimbun-headers-cache-header-hash): Ditto.
6613 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6614 (elmo-shimbun-headers-cache-last-check): Ditto.
6615 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6616 (elmo-shimbun-lapse-seconds): Ditto.
6617 (elmo-shimbun-headers-cache-check-p): Ditto.
6618 (elmo-shimbun-get-headers): New function.
6619 (elmo-folder-open-internal): Call it.
6620 (elmo-quit): Define (Clear headers-cache).
6622 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6624 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6626 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6627 (elmo-msgdb-flist-save): Ditto.
6629 * elmo-shimbun.el (elmo-folder-list-subfolders):
6630 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6631 (elmo-folder-exists-p): Ditto.
6633 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6634 argument for `shimbun-header-insert'.
6636 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6638 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6641 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6642 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6644 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6646 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6647 (elmo-folder-plugged-p): Define.
6648 (elmo-folder-set-plugged): Ditto.
6649 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6650 (elmo-folder-list-messages-internal): Return t if unplugged.
6651 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6653 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6654 when elmo-folder-list-messages-internal method of children returns t.
6656 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6658 (elmo-folder-open-internal): Don't update if unplugged status.
6660 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6662 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6665 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6667 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6669 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6672 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6674 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6676 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6677 (elmo-folder-open-internal): Set up headers slot.
6678 (elmo-folder-check): Call elmo-folder-close-internal and
6679 elmo-folder-open-internal.
6680 (elmo-folder-close-internal): Clean up headers slot.
6682 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6684 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6685 exactly folder list.
6686 (elmo-folder-append-messages): Fixed append archive with prefix.
6688 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6689 make temp files with start-number.
6691 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6693 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6695 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6696 argument `visible-only'.
6697 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6700 * elmo-pop3.el (elmo-folder-open-internal): Check
6701 `elmo-inhibit-number-mapping' is non-nil.
6703 * elmo-pipe.el (elmo-folder-status): Fixed.
6705 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6707 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6709 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6710 (elmo-folder-open-internal): Setup `header-hash' slot.
6711 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6713 (elmo-map-message-fetch): Ditto.
6715 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6717 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6718 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6719 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6720 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6722 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6724 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6726 * sb-airs.el: Added footer.
6728 * shimbun.el (shimbun-article): Define as luna-method.
6730 * sb-tcup.el: New file.
6732 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6733 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6735 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6737 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6738 (shimbun-get-headers): Ditto.
6740 * elmo.el: Moved obsolete variable definitions from
6741 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6743 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6746 * shimbun.el: New file.
6748 * elmo-shimbun.el: New file.
6750 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6751 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6752 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6753 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6755 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6757 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6760 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6762 * elmo.el (elmo-folder-msgdb): Define as macro.
6763 (elmo-folder-open): Added argument `load-msgdb'.
6764 (elmo-generic-folder-open): Ditto.
6765 (elmo-folder-encache): New function.
6767 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6769 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6771 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6772 Eliminated argument FOLDER and added argument MSGDB.
6773 (elmo-dop-queue-load): Moved from elmo-dop.el.
6774 (elmo-dop-queue-save): Ditto.
6776 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6778 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6780 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6781 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6782 (elmo-filter-folder-list-importants-internal): Ditto.
6784 * elmo-map.el (elmo-folder-pack-number): Ditto.
6786 * elmo-mime.el (elmo-mime-message-display): Ditto.
6788 * elmo.el (elmo-generic-folder-commit): Ditto.
6789 (elmo-folder-list-unreads): Ditto.
6790 (elmo-folder-list-importants): Ditto.
6791 (elmo-generic-folder-commit): Ditto.
6792 (elmo-message-set-mark): Ditto.
6793 (elmo-generic-folder-append-msgdb): Ditto.
6794 (elmo-folder-synchronize): Ditto.
6795 (elmo-folder-messages): Ditto.
6796 (elmo-init): Call elmo-dop-queue-load.
6797 (elmo-folder-list-messages): Ditto.
6799 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6800 (elmo-nntp-folder-process-crosspost): Ditto.
6801 (elmo-folder-list-unreads-internal): Ditto.
6803 * elmo-dop.el: Removed old functions.
6805 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6807 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6808 `folder' to `msgdb'.
6810 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6812 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6813 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6815 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6818 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6820 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6823 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6824 (mmimap-parse-parameters-from-list): Define as alias for
6825 `mime-decode-parameter-plist' if it is defined as function.
6826 (mmimap-make-mime-entity): Added argument `number'.
6827 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6829 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6831 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6833 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6835 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6837 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6839 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6841 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6842 when elmo-imap4-default-authenticate-type is nil.
6843 (elmo-folder-list-subfolders): Ditto
6844 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6845 (elmo-imap4-fetch-callback-1-subr): Renamed from
6846 `elmo-imap4-fetch-callback-1' and define as inline function.
6847 (elmo-imap4-fetch-callback-1):
6848 Renamed from `elmo-imap4-fetch-callback'.
6849 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6851 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6852 msgdb path (To keep compatibility with main trunk).
6854 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6856 * elmo-util.el (elmo-make-file-cache): Moved position of
6859 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6860 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6861 instead of `elmo-pop3-inhibit-uidl'.
6862 (elmo-folder-exists-p): Ditto.
6863 (elmo-pop3-folder-list-messages): Ditto.
6865 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6866 instead of `elmo-pop3-inhibit-uidl'.
6867 (elmo-folder-status): Ditto.
6869 * elmo-dop.el (elmo-dop-folder): New variable.
6870 (elmo-dop-lock-message): Eliminated.
6871 (elmo-dop-unlock-message): Ditto.
6872 (elmo-dop-lock-list-load): Ditto.
6873 (elmo-dop-lock-list-save): Ditto.
6874 (elmo-dop-delete-folder): Ditto.
6875 (elmo-dop-rename-folder): Ditto.
6877 * elmo.el: Removed incomplete commentary.
6879 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6881 * elmo.el (toplevel): Require 'elmo-version first;
6882 for little `recursive-load-depth' settings.
6883 Fix "ends here" comment.
6885 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6887 * elmo-util.el (toplevel): Require 'poem;
6888 Some functions are moved from elmo-cache.el.
6890 * elmo-net.el (toplevel): Require 'elmo-cache.
6892 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6894 * elmo.el (toplevel): Ditto.
6896 * elmo-cache.el: Rewrite with luna;
6897 Some functions are moved to elmo-util.el.
6899 * elmo-internal.el (elmo-internal-folder-list): New variable.
6900 (elmo-internal-folder-initialize): Rewrite.
6901 (elmo-folder-list-subfolders): Ditto.
6903 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6904 (elmo-cache-collect-sub-directories): Ditto.
6906 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6908 * elmo-version.el (elmo-version): Up to 2.5.8.
6910 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6912 * elmo-util.el (elmo-list-insert): New function.
6914 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6916 * elmo.el (elmo-init): New function.
6917 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6919 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6920 (Renamed from `elmo-localdir-header-chop-length').
6922 * elmo-pop3.el (elmo-pop3-use-cache,
6923 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6925 * elmo-nntp.el (elmo-message-fetch): Define.
6926 (elmo-message-fetch-unplugged): Ditto.
6927 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6928 (elmo-nntp-use-cache): Ditto.
6929 (elmo-nntp-max-number-precedes-list-active): Ditto.
6931 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6933 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6934 `elmo-msgdb-insert-file-header'.
6935 Use `elmo-msgdb-file-header-chop-length'.
6937 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6940 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6941 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6942 `elmo-msgdb-insert-file-header'.
6944 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6946 Define obsolete variables with `elmo-define-obsolete-variable',
6948 * elmo-util.el (elmo-warning-buffer-name): New constant.
6949 (elmo-warning): New function.
6950 (elmo-obsolete-variable-alist): New variable.
6951 (elmo-obsolete-variable-show-warnings): New variable.
6952 (elmo-define-obsolete-variable): New function.
6953 (elmo-resque-obsolete-variable): Ditto.
6954 (elmo-resque-obsolete-variables): Ditto.
6956 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6958 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6961 * elmo-pop3.el, elmo-nntp.el: Use custom.
6963 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6965 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6966 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6968 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6970 * Luna-fy Kenichi OKADA's following changes.
6971 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6973 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6975 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6977 * elmo-util.el (elmo-display-progress): Prefer
6978 `progress-feedback-with-label' to `lprogress-display'.
6980 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6982 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6984 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6986 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6987 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6988 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6989 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6990 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6991 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6992 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6993 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6994 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6995 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6996 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6997 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6998 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7000 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7002 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7003 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7005 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7007 * elmo.el (elmo-folder-process-crosspost): New generic method.
7008 (elmo-folder-writable-p): Ditto.
7009 (elmo-folder-message-appendable-p): Eliminated.
7010 (elmo-generic-folder-append-msgdb): Rewrite.
7011 (elmo-newsgroups-hashtb): New internal variable.
7012 (elmo-crosspost-message-set): Eliminated.
7013 (elmo-crosspost-message-delete): Ditto.
7014 (elmo-setup-subscribed-newsgroups): New function.
7015 (elmo-crosspost-message-alist-modified): New internal variable.
7016 (elmo-crosspost-message-alist-load): New function (Renamed from
7017 `wl-crosspost-alist-load').
7018 (elmo-crosspost-message-alist-save): Ditto (Renamed from
7019 `wl-crosspost-alist-save').
7021 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7023 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7025 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7026 elmo-newsgroups-hashtb).
7027 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7028 `elmo-nntp-folder-update-crosspost-message-alist'.
7029 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7030 `elmo-nntp-groups-hashtb'.
7031 (elmo-nntp-make-groups-hashtb): Eliminated.
7032 (elmo-nntp-parse-newsgroups): New function (Renamed from
7033 `wl-parse-newsgroups').
7034 (elmo-folder-creatable-p, elmo-folder-writable-p,
7035 elmo-folder-close-internal, elmo-folder-mark-as-read,
7036 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7038 (elmo-nntp-folder-update-crosspost-message-alist): New function.
7040 * elmo-net.el (elmo-message-fetch): Check buffer size.
7042 * elmo-multi.el (elmo-multi-split-number-alist): New function.
7044 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7046 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7047 before `close' command.
7049 * elmo.el (elmo-folder-list-unreads-internal): Added argument
7050 `mark-alist' (All other related portions are changed).
7052 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
7054 * elmo-util.el (elmo-create-hash-size): Eliminated.
7055 (elmo-make-hash) Make a hash with `one less than a power of two'
7058 * elmo-vars.el (elmo-hash-minimum-size): New variable.
7059 (elmo-hash-maximum-size): Changed value.
7061 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
7063 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7064 (elmo-mime-message-display-as-is): Ditto.
7066 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
7068 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7069 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7071 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
7073 * elmo-mark.el: New file.
7075 * elmo-internal.el: Rewrite (Almost empty).
7077 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
7079 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7080 (mime-imap-entity-header-string): Ditto.
7081 (mmimap-entity-section): Rewrite.
7083 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7085 * elmo-nmz.el: New file.
7087 * elmo-pipe.el: Rewrite with luna.
7089 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
7091 * elmo-archive.el: Rewrite with luna.
7093 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7094 (elmo-folder-list-importants-internal): Ditto.
7096 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
7098 * elmo-archive.el (elmo-archive-version): Abolish.
7099 (toplevel) Removed `boso' comment.
7101 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
7103 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7104 elmo-msgdb-add-msgs-to-seen-list-subr;
7105 Changed argument seen-marks to unread-marks.
7107 * elmo-nntp.el: Rewrite with luna.
7109 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
7111 * elmo-filter.el: Rewrite with luna.
7113 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7115 * elmo-pop3.el: Rewrite with luna.
7117 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7119 * elmo-multi.el: Rewrite with luna.
7121 * elmo-vars.el (elmo-use-killed-list): Abolish.
7122 All other related portions are changed.
7123 (elmo-filename-replace-string-alist): Renamed from
7124 elmo-msgid-replace-string-alist.
7126 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7128 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7130 * elmo-map.el: New file.
7131 * elmo-maildir.el: Rewrite with luna.
7133 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7135 * elmo.el: Changed meaning of `elmo-folder-commit'.
7136 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7138 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7140 * elmo.el (elmo-folder-append-buffer): New function.
7141 (Renamed from `elmo-append-msg')
7143 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7145 * elmo-mime.el: New file.
7147 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7149 * elmo-cache.el: Rewrite.
7151 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7153 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7155 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7157 * elmo-vars.el (elmo): New group.
7158 (elmo-strict-diff-folder-regexp): New variable.
7160 * elmo-util.el (elmo-call-func): Abolish.
7161 (elmo-folder-get-type): Ditto.
7162 (elmo-*-get-spec): Ditto.
7163 (elmo-*-spec-*): Ditto.
7164 (elmo-imap4-identical-name-space-p): Ditto.
7165 (elmo-folder-identical-system-p): Ditto.
7166 (elmo-folder-direct-copy-alist): Ditto.
7167 (elmo-folder-direct-copy-p): Ditto.
7169 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7170 (elmo-folder-initialize): Define.
7171 (elmo-folder-get-primitive-list): Ditto.
7173 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7174 (elmo-folder-initialize): Define.
7175 Renamed `elmo-network-session-host-internal' to
7176 `elmo-network-session-server-internal'.
7178 * elmo-multi.el (elmo-multi-folder): New luna class.
7179 (elmo-folder-initialize): Define.
7180 (elmo-folder-get-primitive-list): Ditto.
7181 (elmo-folder-contains-type): Ditto.
7182 (elmo-message-use-cache-p): Ditto.
7184 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7185 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7187 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7188 (elmo-folder-initialize): Define.
7190 * elmo-filter.el (elmo-filter-folder): New luna class.
7191 (elmo-folder-initialize): Define.
7192 (elmo-folder-get-primitive-list): Ditto.
7193 (elmo-folder-contains-type): Ditto.
7195 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7197 * elmo-imap4.el: Rewrite with luna.
7199 * mmimap.el: New file.
7201 * mmelmo.el, mmelmo-imap4.el: Removed.
7203 * elmo-net.el: Ditto.
7205 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7206 (elmo-folder-initialize): Define.
7208 * elmo-archive.el (elmo-archive-folder): New luna class.
7209 (elmo-folder-initialize): Define.
7211 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7212 `elmo-folder-msgdb-path'.
7213 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7216 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7218 * elmo.el: New file.
7220 * elmo2.el: Renamed to elmo.el.
7223 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7225 * elmo-cache.el (elmo-cache-expire-by-size): Count
7226 a disk usage for a cache file entry in KB even when
7227 its kind is a directory.
7229 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7231 * elmo-version.el (elmo-version): Up to 2.5.7.
7233 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7235 * elmo-version.el (elmo-version): Up to 2.5.6.
7237 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7239 * elmo-version.el (elmo-version): Up to 2.5.5.
7241 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7243 * elmo-imap4.el (elmo-network-authenticate-session):
7244 Fixed a logic for response checking.
7246 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7248 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7249 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7250 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7253 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7254 for `starttls-open-stream' and `starttls-negotiate'.
7256 * elmo-nntp.el: Remove autoload settings for
7257 `starttls-open-stream' and `starttls-negotiate'.
7259 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7260 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7261 `luna-define-class' with `eval-and-compile'.
7263 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7265 * elmo-util.el (elmo-read-search-condition-internal):
7266 Require an element of table for searching field.
7268 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7270 * elmo-version.el (elmo-version): Up to 2.5.4.
7272 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7274 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7276 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7278 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7280 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7282 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7285 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7287 * elmo-imap4.el (elmo-imap4-delete-folder):
7288 Send "close" before "delete" (Use commented out line).
7289 (elmo-imap4-rename-folder): Ditto.
7291 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7292 folder string itself.
7293 (elmo-dop-list-deleted): New function.
7294 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7297 * elmo-util.el (elmo-string-rassoc-all): New function.
7299 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7301 * elmo-version.el (elmo-version): Up to 2.5.3.
7303 * elmo-net.el (elmo-network-get-session): Changed logic for
7304 checking process status.
7306 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7308 Changed logic for checking process status.
7310 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7312 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7314 (elmo-network-setup-session): Set UIDL hash size according to
7315 the length of list response.
7316 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7317 according to the length of list response;
7318 Return the length of list response.
7319 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7321 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7323 * elmo-imap4.el (toplevel): Require 'ssl.
7324 Add autoload 'starttls.
7325 * elmo-pop3.el (toplevel): Ditto.
7326 * elmo-nntp.el (toplevel): Ditto.
7328 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7330 * elmo-imap4.el (toplevel): defun at compile time.
7331 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7332 sasl-next-step, sasl-step-data, sasl-step-set-data.
7333 * elmo-pop3.el (toplevel): Ditto.
7335 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7337 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7339 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7341 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7343 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7344 and `elmo-pop-auth-apop'.
7346 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7348 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7350 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7352 * elmo-pop3.el (elmo-network-authenticate-session): Split
7353 encoded response value.
7355 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7357 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7358 `elmo-pop3-force-login'.
7359 Redefine `sasl-mechanisms'.
7360 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7362 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7364 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7365 Delete `elmo-imap4-authenticator-alist'.
7366 (elmo-imap4-auth-cram-md5): Delete.
7367 (elmo-imap4-auth-digest-md5): Delete.
7369 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7371 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7372 (elmo-pop3-auth-scram-md5): Ditto.
7373 (elmo-pop3-auth-cram-md5): Ditto.
7375 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7377 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7378 Delete `elmo-pop3-authenticator-alist'.
7380 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7382 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7384 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7386 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7388 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7390 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7392 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7393 Fixed problem when `elmo-pop3-use-uidl' is nil.
7394 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7396 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7398 * elmo-version.el (elmo-version): Up to 2.5.2.
7400 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7402 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7404 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7405 (elmo-pop3-msgdb-create-as-numlist): Use it.
7407 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7408 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7410 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7411 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7413 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7415 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7416 when elmo-mark-as-read is called with second argument nil.
7418 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7420 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7421 Moved to elmo-util.el.
7423 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7424 Moved from elmo-pipe.el
7426 * elmo-archive.el (elmo-archive-call-process): Enclose with
7429 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7430 "RFC822" (because RFC822.PEEK is obsolete).
7431 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7433 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7435 * elmo-archive.el (elmo-archive-call-process): Don't check for
7436 the exit status when Nemacs is running.
7438 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7440 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7443 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7444 (elmo-pop3-get-spec): Set default of auth to 'user.
7446 * elmo-imap4.el (elmo-imap4-session-check):
7447 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7448 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7449 (elmo-imap4-auth-login): New function; Revival.
7450 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7451 `elmo-imap4-auth-login'.
7453 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7455 * elmo2.el (toplevel): Move `product-provide' declare.
7456 * mmelmo.el (toplevel): Ditto.
7458 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7460 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7462 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7464 * elmo-util.el (elmo-folder-get-store-type): New function.
7465 (elmo-folder-direct-copy-p): Use it.
7467 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7469 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7470 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7471 and result of `elmo-imap4-use-flag-p'.
7472 (elmo-imap4-fetch-callback-1): Set mark according to
7473 the result of `elmo-imap4-use-flag-p'.
7475 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7477 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7478 (elmo-generic-list-folder-unread): Ditto.
7479 (elmo-folder-get-info): Ditto.
7480 (elmo-folder-set-info-max-by-numdb): Ditto.
7481 (elmo-folder-get-info-max): Ditto.
7482 (elmo-folder-get-info-length): Ditto.
7483 (elmo-folder-get-info-unread): Ditto.
7484 (elmo-folder-info-make-hashtb): Ditto.
7486 * elmo2.el: Removed above functions.
7488 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7490 * elmo-imap4.el (toplevel): Require 'ssl.
7491 Add autoload 'starttls.
7492 * elmo-pop3.el (toplevel): Ditto.
7493 * elmo-nntp.el (toplevel): Ditto.
7495 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7497 * elmo-imap4.el (toplevel): defun at compile time.
7498 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7499 sasl-next-step, sasl-step-data, sasl-step-set-data.
7500 * elmo-pop3.el (toplevel): Ditto.
7502 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7504 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7506 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7508 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7510 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7511 and `elmo-pop-auth-apop'.
7513 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7515 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7517 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7519 * elmo-pop3.el (elmo-network-authenticate-session): Split
7520 encoded response value.
7522 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7524 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7525 `elmo-pop3-force-login'.
7526 Redefine `sasl-mechanisms'.
7527 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7529 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7531 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7532 Delete `elmo-imap4-authenticator-alist'.
7533 (elmo-imap4-auth-cram-md5): Delete.
7534 (elmo-imap4-auth-digest-md5): Delete.
7536 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7538 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7539 (elmo-pop3-auth-scram-md5): Ditto.
7540 (elmo-pop3-auth-cram-md5): Ditto.
7542 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7544 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7545 Delete `elmo-pop3-authenticator-alist'.
7547 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7549 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7551 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7554 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7556 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7558 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7560 * elmo-nntp.el (elmo-nntp-get-folders-info):
7561 Fixed problem when '\' character is contained in user-id.
7562 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7565 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7567 * elmo-imap4.el (elmo-imap4-delete-folder):
7568 Send "close" before "delete" (Use commented out line).
7569 (elmo-imap4-rename-folder): Ditto.
7571 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7572 folder string itself.
7573 (elmo-dop-list-deleted): New function.
7574 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7577 * elmo-util.el (elmo-string-rassoc-all): New function.
7579 * elmo-version.el (elmo-version): Up to 2.5.1.
7581 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7583 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7585 * elmo-internal.el (elmo-internal-search): Fix last change.
7587 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7589 * elmo-internal.el (elmo-internal-search): Rewrite.
7590 (Fixed problem which is pointed out by Akihiro MOTOKI
7591 <motoki@da.jp.nec.com>)
7593 * elmo-version.el (elmo-version): Up to 2.5.0.
7595 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7597 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7599 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7601 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7602 non-nil, make hierarchy.
7604 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7606 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7607 `elmo-pop3-use-uidl' must be bound to nil.
7608 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7610 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7612 * elmo-util.el (elmo-copy-file): Don't cause an error after
7613 `add-name-to-file' failed.
7615 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7616 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7618 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7620 * elmo-version.el (elmo-version): Up to 2.3.93.
7622 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7624 * elmo-util.el (elmo-flatten): New function.
7626 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7628 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7630 * elmo-cache.el (toplevel): Ditto.
7631 * elmo-database.el (toplevel): Ditto.
7632 * elmo-date.el (toplevel): Ditto.
7633 * elmo-dop.el (toplevel): Ditto.
7634 * elmo-filter.el (toplevel): Ditto.
7635 * elmo-imap4.el (toplevel): Ditto.
7636 * elmo-internal.el (toplevel): Ditto.
7637 * elmo-localdir.el (toplevel): Ditto.
7638 * elmo-localnews.el (toplevel): Ditto.
7639 * elmo-maildir.el (toplevel): Ditto.
7640 * elmo-msgdb.el (toplevel): Ditto.
7641 * elmo-multi.el (toplevel): Ditto.
7642 * elmo-net.el (toplevel): Ditto.
7643 * elmo-nntp.el (toplevel): Ditto.
7644 * elmo-pipe.el (toplevel): Ditto.
7645 * elmo-pop3.el (toplevel): Ditto.
7646 * elmo-util.el (toplevel): Ditto.
7647 * elmo-vars.el (toplevel): Ditto.
7648 * elmo2.el (toplevel): Ditto.
7649 * mmelmo-imap4.el (toplevel): Ditto.
7650 * mmelmo.el (toplevel): Ditto.
7652 * elmo-version.el (elmo-version): Move to top.
7654 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7655 * elmo-imap4.el (toplevel): Ditto.
7656 * elmo-localdir.el (toplevel): Ditto.
7657 * elmo-msgdb.el (toplevel): Ditto.
7658 * elmo-nntp.el (toplevel): Ditto.
7659 * elmo-pop3.el (toplevel): Ditto.
7660 * elmo-version.el (toplevel): Ditto.
7662 * elmo-localnews.el (toplevel): Added Keyword header.
7664 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7666 * elmo-version.el (product-version-as-string): Defined using
7670 * elmo-localdir.el (toplevel): Updated copyright notice.
7671 * elmo-version.el (toplevel): Ditto.
7672 * elmo-msgdb.el (toplevel): Ditto.
7673 * elmo-imap4.el (toplevel): Ditto.
7674 * elmo-nntp.el (toplevel): Ditto.
7675 * elmo-pop3.el (toplevel): Ditto.
7677 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7679 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7682 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7683 parameter value (It sometimes contains raw kanji).
7685 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7687 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7688 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7690 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7692 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7694 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7696 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7697 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7699 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7701 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7702 value if selecting folder succceeded.
7703 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7705 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7707 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7710 * elmo-util.el (elmo-string-matched-member): New function.
7712 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7714 * elmo-util.el (elmo-unintern): New macro.
7715 (elmo-number-set-member): Fixed docstring.
7717 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7720 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7722 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7723 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7725 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7727 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7730 Return non-nil if selecting folder succeeded.
7731 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7733 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7735 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7736 `file-name-completion' returns t.
7737 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7738 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7739 directory if it does not exist.
7740 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7743 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7745 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7746 enclosure (It's harmful in unplugged status).
7748 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7750 * mmelmo-1.el: Removed.
7752 * mmelmo-2.el: Ditto.
7754 * mmelmo-imap4-1.el: Ditto.
7756 * mmelmo-imap4-2.el: Ditto.
7758 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7760 * mmelmo.el: Merged mmelmo-2.el.
7762 * elmo-version.el (elmo-version): Up to 2.3.92.
7764 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7766 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7767 elmo-update-number): Remove last period in "...done." message.
7768 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7770 * elmo-cache.el (elmo-cache-expire-by-size,
7771 elmo-cache-get-sorted-cache-file-list,
7772 elmo-cache-msgdb-create-as-numlist): Ditto.
7773 * elmo-dop.el (elmo-dop-save-pending-messages,
7774 (elmo-dop-flush-pending-append-operations): Ditto.
7775 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7776 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7777 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7778 (elmo-localdir-pack-number): Ditto.
7779 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7780 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7781 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7782 mime-write-entity-content): Ditto.
7783 * pldap.el (ldap-search-basic): Ditto.
7785 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7787 * elmo-version.el (elmo-version): Up to 2.3.91.
7789 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7790 Only when filter is 'last'.
7792 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7793 (elmo-condition-parse-search-value): Use it.
7794 (elmo-read-search-condition-internal): Quote value only when
7797 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7799 * elmo2.el (elmo-generic-folder-diff): Fix.
7801 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7803 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7804 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7805 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7806 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7807 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7808 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7810 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7812 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7815 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7817 * elmo-version.el (elmo-version): Up to 2.3.90.
7819 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7820 (elmo-imap4-list-folder-important): Ditto.
7822 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7824 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7826 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7828 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7830 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7832 * elmo-nntp.el (elmo-network-initialize-session):
7833 Add starttls negotiation.
7835 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7837 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7839 (elmo-network-setup-session): Define.
7840 Call `elmo-nntp-send-mode-reader' when session opened.
7842 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7844 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7846 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7848 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7849 an invalid SPACE character ahead of `SEARCH' command. Move
7850 a valid SPACE character following `SEARCH' from conditional
7851 `format' arguments to control-strings.
7853 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7855 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7858 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7860 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7862 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7863 `w32-get-true-file-link-count' as t.
7865 * elmo-imap4.el (elmo-imap4-read): Abolished.
7866 (Renamed to `elmo-read' and moved to elmo-util.el)
7867 All other related portions are changed.
7869 * elmo-util.el (elmo-read): New function.
7870 (elmo-condition-parse-search-value): Use it.
7872 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7874 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7876 * elmo-nntp.el (elmo-nntp-session): Define.
7877 (elmo-nntp-setting): Abolished.
7878 All other related portions are changed.
7879 (elmo-nntp-get-server-command): Changed argument.
7880 (elmo-nntp-set-server-command): Ditto.
7881 (elmo-nntp-xover-p): Ditto.
7882 (elmo-nntp-set-xover): Ditto.
7883 (elmo-nntp-listgroup-p): Ditto.
7884 (elmo-nntp-set-listgroup): Ditto.
7885 (elmo-nntp-list-active-p): Ditto.
7886 (elmo-nntp-set-list-active): Ditto.
7887 (elmo-nntp-xhdr-p): Ditto.
7888 (elmo-nntp-set-xhdr): Ditto.
7889 (elmo-nntp-flush-connection): Abolished.
7890 (elmo-nntp-get-connection): Abolished.
7891 (elmo-nntp-get-session): New function.
7892 (elmo-network-initialize-session): Defined.
7893 (elmo-network-authenticate-session): Ditto.
7894 (elmo-nntp-send-mode-reader): Changed argument.
7895 (elmo-nntp-send-command): Changed argument.
7896 All other related portions are changed.
7897 (elmo-nntp-read-response): Ditto.
7898 (elmo-nntp-read-raw-response): Ditto.
7899 (elmo-nntp-read-contents): Ditto.
7900 (elmo-nntp-read-body): Ditto.
7901 (elmo-nntp-goto-folder): Abolished.
7902 (elmo-nntp-select-group): New function.
7903 All other related portions are changed.
7904 (This function substitutes `elmo-nntp-goto-folder')
7905 (elmo-nntp-msgdb-create-by-header): Rewrite.
7906 (elmo-nntp-get-overview): Eliminated.
7907 (elmo-nntp-get-message): Ditto.
7908 (elmo-nntp-open-connection) Abolished.
7909 (elmo-nntp-read-msg): Rewrite.
7910 (elmo-nntp-post): Ditto.
7911 (elmo-nntp-send-data): Abolished.
7912 (elmo-nntp-send-buffer): New function.
7913 (elmo-nntp-send-data-line): Define as inline function.
7914 (elmo-nntp-get-folders-info-prepare): Use session as key.
7915 (elmo-nntp-groups-read-response): Changed argument.
7916 (elmo-nntp-retrieve-headers): Ditto.
7917 (elmo-nntp-msgdb-create-message): Ditto.
7919 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7920 when searching by 'since' or 'before'.
7922 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7924 * elmo-version.el (toplevel): Use product-version-as-string for set
7925 verstion-string, if defined.
7927 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7929 * elmo-util.el: Doc fixes.
7931 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7933 * elmo-archive.el (toplevel): Use product-provide.
7934 * elmo-cache.el (toplevel): Ditto.
7935 * elmo-database.el (toplevel): Ditto.
7936 * elmo-date.el (toplevel): Ditto.
7937 * elmo-dop.el (toplevel): Ditto.
7938 * elmo-filter.el (toplevel): Ditto.
7939 * elmo-imap4.el (toplevel): Ditto.
7940 * elmo-internal.el (toplevel): Ditto.
7941 * elmo-localdir.el (toplevel): Ditto.
7942 * elmo-localnews.el (toplevel): Ditto.
7943 * elmo-maildir.el (toplevel): Ditto.
7944 * elmo-msgdb.el (toplevel): Ditto.
7945 * elmo-multi.el (toplevel): Ditto.
7946 * elmo-net.el (toplevel): Ditto.
7947 * elmo-nntp.el (toplevel): Ditto.
7948 * elmo-pipe.el (toplevel): Ditto.
7949 * elmo-pop3.el (toplevel): Ditto.
7950 * elmo-util.el (toplevel): Ditto.
7951 * elmo-vars.el (toplevel): Ditto.
7952 * elmo2.el (toplevel): Ditto.
7953 * mmelmo-1.el (toplevel): Ditto.
7954 * mmelmo-2.el (toplevel): Ditto.
7955 * mmelmo-imap4-1.el (toplevel): Ditto.
7956 * mmelmo-imap4-2.el (toplevel): Ditto.
7957 * mmelmo-imap4.el (toplevel): Ditto.
7958 * mmelmo.el (toplevel): Ditto.
7960 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7962 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7963 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7965 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7967 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7969 (elmo-multi-split-number-alist): Ditto.
7971 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7973 * elmo-version.el: New file. Use product.el.
7974 * elmo2.el: Add (require 'elmo-version).
7975 * elmo-vars.el (elmo-appname, elmo-version): Move to
7978 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7980 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7981 `elmo-msgdb-expand-path'.
7982 (elmo-msgdb-load): Ditto.
7983 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7984 (elmo-generic-list-folder-unread): Rewrite.
7985 (elmo-generic-list-folder-important): Changed argument.
7986 (elmo-list-folder-unread): Ditto.
7987 (elmo-list-folder-important): Ditto.
7988 (elmo-folder-diff): Rewrite.
7989 (elmo-generic-folder-diff): New function.
7990 (elmo-multi-get-number-alist-list): Abolished
7991 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7992 (elmo-multi-folder-diff): Moved to elmo-multi.el
7993 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7995 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7996 `elmo-msgdb-expand-path'.
7997 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7998 (elmo-pop3-read-msg): Ditto.
7999 (elmo-pop3-delete-msgs): Ditto.
8000 (elmo-pop3-folder-diff): New alias.
8002 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8003 `elmo-msgdb-expand-path'.
8004 (elmo-pipe-list-folder-unread): Changed arguments.
8005 (elmo-pipe-list-folder-important): Ditto.
8006 (elmo-pipe-folder-diff): New alias.
8008 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8009 `elmo-msgdb-expand-path'.
8010 (elmo-nntp-max-of-folder): Ditto.
8011 (elmo-nntp-msgdb-create): Ditto.
8012 (elmo-nntp-delete-msgs): Ditto.
8013 (elmo-nntp-folder-diff): New alias.
8015 * elmo-multi.el (elmo-multi-folder-diff): New function.
8016 (elmo-multi-split-mark-alist): Ditto.
8017 (elmo-multi-split-number-alist): Ditto.
8018 (elmo-multi-mark-alist-list): Abolished (Renamed to
8019 elmo-multi-split-mark-alist).
8020 (elmo-multi-list-folder-unread): Rewrite.
8021 (elmo-multi-list-folder-important): Ditto.
8022 (elmo-multi-list-folder): Set `spec' as 1st argument for
8023 `elmo-msgdb-expand-path'.
8024 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8025 instead of `elmo-multi-get-number-alist-list'.
8027 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8028 If 1st argument is not string, treat as spec.
8029 (elmo-list-folder-by-location): Set `spec' as 1st argument for
8030 `elmo-msgdb-expand-path'.
8031 (elmo-msgdb-flist-load): Ditto.
8032 (elmo-msgdb-flist-save): Ditto.
8033 (elmo-msgdb-delete-path): Ditto.
8034 (elmo-msgdb-rename-path): Ditto.
8036 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8037 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8038 (elmo-maildir-delete-mark-msgs): Ditto.
8039 (elmo-maildir-msgdb-create): Ditto.
8040 (elmo-maildir-read-msg): Ditto.
8041 (elmo-maildir-delete-msgs): Ditto.
8042 (elmo-maildir-list-folder-subr): Ditto.
8043 (elmo-maildir-search): Ditto.
8044 (elmo-maildir-get-msg-filename): Ditto.
8045 (elmo-maildir-pack-number): Ditto.
8046 (elmo-maildir-folder-diff): New alias.
8048 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8050 * elmo-localdir.el (elmo-localdir-list-folder-subr):
8051 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8052 (elmo-localdir-folder-diff): New alias.
8054 * elmo-internal.el (elmo-internal-list-folder-subr):
8055 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8056 (elmo-internal-list-folder-by-location): Ditto.
8057 (elmo-internal-msgdb-create): Ditto.
8058 (elmo-internal-delete-msgs): Ditto.
8059 (elmo-internal-read-msg): Ditto.
8060 (elmo-internal-folder-diff): New alias.
8062 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8063 (elmo-imap4-list-folder): Set `spec' as 1st argument for
8064 `elmo-msgdb-expand-path'.
8065 (elmo-imap4-list-folder-unread): Changed arguments.
8066 (elmo-imap4-list-folder-important): Ditto.
8068 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8069 (elmo-filter-list-folder-important): Ditto.
8070 (elmo-filter-folder-diff): New function.
8072 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8074 * elmo-cache.el (elmo-cache-list-folder):
8075 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8076 (elmo-cache-copy-msgs): Ditto.
8077 (elmo-cache-folder-diff): New alias.
8079 * elmo-archive.el (elmo-archive-list-folder-subr):
8080 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8081 (elmo-archive-get-archive-name): Ditto.
8082 (elmo-archive-create-file): Ditto.
8083 (elmo-archive-append-msg): Ditto.
8084 (elmo-archive-copy-msgs): Ditto.
8085 (elmo-archive-copy-msgs-froms): Ditto.
8086 (elmo-archive-get-msg-filename): Ditto.
8087 (elmo-archive-folder-diff): New alias.
8089 2000-10-06 Daiki Ueno <ueno@unixuser.org>
8091 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8092 (elmo-pop3-stream-type-alist): New variable.
8093 (elmo-nntp-stream-type-alist): New variable.
8095 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8096 (elmo-kill-buffer): Ditto.
8097 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8098 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8099 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8100 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8101 (elmo-imap4-get-spec): Take into account
8102 `elmo-imap4-stream-type-alist'.
8104 2000-10-06 Kenichi OKADA <okada@opaopa.org>
8106 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8107 (elmo-nntp-list-folders-get-cache): Ditto.
8109 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
8111 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8112 character before 'uid'.
8114 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8116 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8118 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8120 * elmo-util.el (elmo-number-set-member): New function.
8121 (elmo-number-set-append-list): Ditto.
8122 (elmo-number-set-append): Ditto.
8124 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8125 Use `elmo-number-set-member'.
8126 (elmo-living-messages): Ditto.
8127 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8128 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8130 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8131 (elmo-imap4-add-to-cont-list): Abolished.
8132 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8133 instead of elmo-imap4-add-to-cont-list.
8135 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8136 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8138 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8140 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8142 * elmo-util.el (elmo-condition-parse-search-value):
8145 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8147 * elmo-util.el (elmo-condition-find-key-internal): New function.
8148 (elmo-condition-find-key): Ditto.
8150 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8151 (elmo-msgdb-search-internal): Ditto.
8152 (elmo-msgdb-search): Ditto.
8154 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8156 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8157 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8159 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8160 (elmo-nntp-search-primitive): Fixed problem when condition is
8163 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8165 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8166 (elmo-nntp-xhdr-p): New macro.
8167 (elmo-nntp-set-xhdr): Ditto.
8168 (elmo-nntp-parse-xhdr-response): New function.
8169 (elmo-nntp-retrieve-field): Ditto.
8170 (elmo-nntp-search-primitive): Ditto.
8171 (elmo-nntp-search): Implemented.
8173 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8175 * elmo-archive.el (elmo-archive-search): Set all number list to
8176 `elmo-archive-field-condition-match'
8178 * elmo-localdir.el (elmo-localdir-search): Likewise.
8180 * elmo-maildir.el (elmo-maildir-search): Likewise.
8182 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8184 * elmo-msgdb.el (elmo-living-messages): New function.
8185 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8186 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8187 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8188 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8189 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8190 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8191 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8192 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8193 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8194 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8195 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8197 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8199 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8201 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8203 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8205 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8206 arguments for `SEARCH' command.
8207 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8208 All other related portions are changed.
8210 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8212 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8213 (elmo-list-folder-unread): Rewrite.
8214 (elmo-list-folder-important): Ditto.
8216 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8217 (elmo-condition-parse-error): New inline function.
8218 (elmo-read-search-condition): New function.
8219 (elmo-read-search-condition-internal): Ditto.
8220 (elmo-parse-search-condition): Rewrite.
8221 (elmo-condition-parse): New function.
8222 (elmo-condition-parse-or-expr): Ditto.
8223 (elmo-condition-parse-and-expr): Ditto.
8224 (elmo-condition-parse-primitive): Ditto.
8225 (elmo-condition-parse-search-value): Ditto.
8226 (elmo-buffer-field-primitive-condition-match): Ditto.
8227 (elmo-buffer-field-condition-match): Rewrite.
8228 (elmo-file-field-condition-match): Ditto.
8230 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8231 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8233 * elmo-internal.el (elmo-internal-search): Set `number' and
8234 `number-list' argument of `elmo-file-field-condition-match'.
8236 * elmo-maildir.el (elmo-maildir-search): Ditto.
8238 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8239 `msgdb' as argument instead of `mark-alist'.
8240 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8243 * elmo-multi.el: Likewise.
8245 * elmo-pipe.el: Likewise.
8247 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8248 (elmo-imap4-search-internal): Rewrite.
8249 (elmo-imap4-search): Ditto.
8251 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8252 (elmo-filter-list-folder-unread): Ditto.
8253 (elmo-filter-list-folder-important): Ditto.
8254 (elmo-filter-search): Rewrite.
8256 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8257 `number-list' argument of `elmo-file-field-condition-match'.
8258 (elmo-cache-search): Ditto.
8260 * elmo-localdir.el: Likewise.
8262 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8263 number-list and pass it to `elmo-buffer-field-condition-match'.
8264 (elmo-archive-field-condition-match): Pass `number-list' to
8265 `elmo-archive-field-condition-match'
8267 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8269 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8272 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8273 (elmo-folder-diff-async-callback-data): Ditto.
8274 (elmo-folder-diff-async): New function.
8276 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8277 (elmo-network-session-cache-key): Use it as a prefix of the session
8279 (elmo-network-open-session): Ditto.
8281 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8282 (elmo-imap4-status-callback-data): Ditto.
8283 (elmo-imap4-server-diff-async-callback): New variable.
8284 (elmo-imap4-server-diff-async-callback-data): Ditto.
8285 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8286 `elmo-imap4-status-callback-data'.
8287 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8288 `elmo-imap4-status-callback-data' as nil.
8289 (elmo-imap4-server-diff): Ditto.
8290 (elmo-imap4-server-diff-async-callback-1): New function.
8291 (elmo-imap4-server-diff-async): Ditto.
8292 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8294 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8296 * elmo-util.el (elmo-list-delete): Doc fix.
8297 (elmo-delete-lists): Abolish.
8298 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8299 instead of `elmo-delete-lists'.
8301 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8303 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8306 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8308 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8309 `elmo-imap4-literal-subr'.
8310 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8311 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8313 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8315 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8316 (elmo-archive-list-folder): Fix.
8317 (elmo-archive-max-of-folder): Fix.
8319 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8321 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8322 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8323 (elmo-localdir-append-msg): Ditto.
8324 (elmo-localdir-list-folder): Fix for `nonsort'.
8325 (elmo-localdir-list-folder-subr): Fix for `killed'.
8326 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8327 (elmo-maildir-list-folder-subr): Ditto.
8328 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8329 (elmo-archive-list-folder-subr): Ditto.
8330 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8331 (elmo-internal-list-folder-subr): Ditto.
8333 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8335 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8337 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8339 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8341 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8343 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8344 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8346 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8348 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8349 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8351 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8353 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8355 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8356 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8357 before STORE command.
8359 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8361 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8363 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8364 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8366 (elmo-imap4-list-folders): Removed unused local variable.
8367 (elmo-network-initialize-session): Ditto.
8368 (elmo-imap4-delete-msg-by-id): Ditto.
8369 (elmo-imap4-parse-fetch): Ditto.
8370 (elmo-imap4-copy-msgs): Ditto.
8371 Use `dst-spec' instead of `dst-folder'.
8372 (elmo-network-authenticate-session): Check authenticate type `plain'.
8374 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8376 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8378 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8379 `elmo-imap4-response-value'.
8380 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8382 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8384 * elmo-imap4.el (elmo-imap4-send-command):
8385 Cause elmo-imap4-bye-error when current response is BYE.
8386 (elmo-imap4-arrival-filter): Changed greeting response value.
8388 * elmo2.el (elmo-imap4-bye-error): Define.
8390 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8391 (elmo-imap4-server-diff): Ditto.
8392 (elmo-imap4-response-bye-p): New macro.
8393 (elmo-imap4-response-error-text): Get text from BYE response.
8394 (elmo-imap4-read-response): Return if BYE response.
8395 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8396 (elmo-imap4-folder-exists-p): Ditto.
8397 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8398 (elmo-imap4-parse-bye): New function.
8399 (elmo-imap4-parse-response): Remove needless let.
8400 Call `elmo-imap4-parse-bye'.
8402 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8404 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8405 the mailbox does not exist.
8406 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8408 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8410 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8412 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8414 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8416 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8417 (elmo-network-initialize-session-buffer): Defined.
8419 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8421 (mmelmo-imap4-get-mime-entity): Rewrite.
8423 * elmo2.el (elmo-error): Capitalize error message.
8425 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8426 (elmo-network-session-buffer): New macro.
8427 (elmo-network-open-session): Use it.
8429 * elmo-imap4.el: Rewrite.
8431 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8433 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8435 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8437 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8438 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8439 (elmo-imap4-create-msgdb-from-overview-string): Use
8440 `elmo-msgdb-create-overview-from-buffer'.
8442 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8444 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8445 (elmo-imap4-default-hierarchy-delimiter): New variable.
8446 (elmo-imap4-list-folders): Use it.
8448 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8450 * elmo-net.el (elmo-network-open-session): Add user and
8451 stream-type for process-buffer name.
8453 * elmo-pop3.el (elmo-network-initialize-session): Call
8454 buffer-disable-undo.
8456 * elmo-imap4.el (elmo-network-initialize-session):
8457 Set current-buffer as an argument for `buffer-disable-undo'.
8459 * elmo-pop3.el (elmo-network-close-session): Don't use
8462 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8463 Set default as 'user.
8465 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8467 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8468 and `elmo-imap4-flush-connection'.
8470 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8471 (elmo-pop3-get-spec): Assume auth as symbol.
8472 (elmo-open-network-stream): Moved to `elmo-net'.
8474 * elmo-pop3.el (toplevel): Require 'elmo-net.
8475 Define `sasl-cram-md5' to silence byte compilier.
8476 (elmo-pop3-connection-cache) Abolished.
8477 (elmo-pop3-authenticator-alist) New variable.
8478 (elmo-pop3-session): Define.
8479 (elmo-pop3-connection-get-process): Abolished.
8480 (elmo-pop3-connection-get-buffer): Ditto.
8481 (elmo-pop3-close-connection): Ditto.
8482 (elmo-pop3-flush-connection): Ditto.
8483 (elmo-pop3-get-connection): Ditto.
8484 (elmo-pop3-get-session): New function.
8485 (Replacement for `elmo-pop3-get-connection').
8486 All other related modules are changed.
8487 (elmo-network-close-session): Define.
8488 (elmo-pop3-send-command): Abolished argument `buffer'.
8489 All other related modules are changed.
8490 (elmo-pop3-read-response): Likewise.
8491 (elmo-pop3-open-connection): Abolished.
8492 (elmo-pop3-auth-user): New function.
8493 (elmo-pop3-auth-apop): Ditto.
8494 (elmo-pop3-auth-cram-md5): Ditto.
8495 (elmo-pop3-auth-scram-md5): Ditto.
8496 (elmo-pop3-auth-digest-md5): Ditto.
8497 (elmo-network-initialize-session): Define.
8498 (elmo-network-authenticate-session): Ditto.
8499 (elmo-network-setup-session): Ditto.
8501 * elmo-imap4.el (toplevel): Require 'elmo-net.
8502 (elmo-imap4-session): Define.
8503 (elmo-imap4-connection-cache): Abolished.
8504 (elmo-imap4-password-key): Ditto.
8505 (elmo-imap4-flush-connection): Ditto.
8506 (elmo-imap4-get-connection): Ditto.
8507 All other related modules are changed.
8508 (elmo-imap4-get-session): New function
8509 (Replacement for `elmo-imap4-get-connection').
8510 (elmo-imap4-read-response): Abolished argument `buffer'.
8511 All other related modules are changed.
8512 (elmo-imap4-send-command): Likewise.
8513 (elmo-imap4-select-folder): Abolished.
8514 All other related modules are changed.
8515 (elmo-imap4-select-mailbox): New function.
8516 (Replacement for `elmo-imap4-select-folder').
8517 (elmo-imap4-auth-login): Simplify.
8518 (Assume current buffer as process buffer)
8519 (elmo-imap4-auth-cram-md5): Ditto.
8520 (elmo-imap4-auth-digest-md5): Ditto.
8521 (elmo-imap4-login): Ditto.
8522 (elmo-imap4-open-connection): Abolished.
8523 (elmo-imap4-open-connection-1): Abolished.
8524 (elmo-network-initialize-sessoin): Define.
8525 (elmo-network-authenticate-session): Ditto.
8526 (elmo-network-setup-session): Ditto.
8528 * elmo-net.el: New module.
8530 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8532 * elmo-util.el (elmo-define-error): New function.
8534 * elmo2.el (elmo-error): Define.
8535 (elmo-open-error): Define.
8536 (elmo-authenticate-error): Define.
8538 * elmo-imap4.el (elmo-imap4-error): Abolish.
8539 (elmo-imap4-error-type): Abolish.
8540 (elmo-imap4-error-process): Abolish.
8541 (elmo-imap4-error-message): Abolish
8542 (elmo-imap4-list-folders): Don't quote lambda.
8543 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8544 (elmo-imap4-parse-namespace): Ditto.
8545 (elmo-imap4-open-connection): Rewrite.
8546 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8547 (elmo-imap4-get-connection): Abolish local variable `result'.
8549 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8551 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8552 wrong-type-argument error when auth is nil.
8554 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8556 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8557 (elmo-default-nntp-stream-type): Ditto.
8558 (elmo-default-pop3-stream-type): Ditto.
8559 (elmo-network-stream-type-alist): Ditto.
8560 (elmo-default-imap4-ssl): Abolished.
8561 (elmo-default-nntp-ssl): Ditto.
8562 (elmo-default-pop3-ssl): Ditto.
8564 * elmo-util.el: (toplevel): Removed needless requires.
8565 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8566 (elmo-open-network-stream): Open network stream according to
8567 the value of `elmo-network-stream-type-alist'.
8568 (elmo-get-network-stream-type): New function.
8569 (elmo-network-stream-type-spec-string): New macro.
8570 (elmo-network-stream-type-symbol): Ditto.
8571 (elmo-network-stream-type-function): Ditto.
8573 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8574 network-stream-type. All other related portions are changed.
8575 (elmo-pop3-open-connection): Ditto.
8577 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8578 network-stream-type. All other related portions are changed.
8580 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8581 network-stream-type.All other related portions are changed.
8582 (elmo-imap4-error): New macro.
8583 (elmo-imap4-error-type): Ditto.
8584 (elmo-imap4-error-process): Ditto.
8585 (elmo-imap4-error-message): Ditto.
8586 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8587 (elmo-imap4-auth-cram-md5): Ditto.
8588 (elmo-imap4-auth-digest-md5): Ditto.
8589 (elmo-imap4-login): Ditto.
8590 (elmo-imap4-open-connection): Remove password entry if authentication
8592 (elmo-imap4-user-at-host): Abolished.
8593 (elmo-imap4-password-key): New buffer local variable.
8594 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8595 using protocol, port, auth and stream-type.
8597 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8599 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8601 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8603 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8605 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8606 (elmo-imap4-authenticator-alist): New variable.
8607 (elmo-imap4-open-connection-1): Rename from
8608 elmo-imap4-open-connection.
8609 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8610 only wraps elmo-imap4-open-connection-1.
8611 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8613 (elmo-imap4-auth-login): New function.
8614 (elmo-imap4-auth-cram-md5): New function.
8615 (elmo-imap4-auth-digest-md5): New function.
8616 (elmo-imap4-login): New function.
8618 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8620 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8623 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8625 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8627 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8629 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8631 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8633 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8634 for server responses, quote `*' regardless of where it appears.
8636 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8638 * elmo-maildir.el (elmo-maildir-commit): New alias.
8640 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8642 * elmo-util.el (elmo-display-progress):
8643 Use `progress-feedback-with-label'.
8645 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8647 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8648 (elmo-imap4-non-atom-char-regex): Ditto.
8649 (elmo-imap4-non-text-char-regex): Ditto.
8650 (elmo-imap4-literal-threshold): Ditto.
8651 (elmo-imap4-atom-p): New function.
8652 (elmo-imap4-quotable-p): Ditto.
8653 (elmo-imap4-nil): Ditto.
8654 (elmo-imap4-atom): Ditto.
8655 (elmo-imap4-quoted): Ditto.
8656 (elmo-imap4-literal-subr): Ditto.
8657 (elmo-imap4-literal): Ditto.
8658 (elmo-imap4-buffer-literal): Ditto.
8659 (elmo-imap4-string-subr): Ditto.
8660 (elmo-imap4-string): Ditto.
8661 (elmo-imap4-buffer-string): Ditto.
8662 (elmo-imap4-astring-subr): Ditto.
8663 (elmo-imap4-astring): Ditto.
8664 (elmo-imap4-buffer-astring): Ditto.
8665 (elmo-imap4-nstring): Ditto.
8666 (elmo-imap4-buffer-nstring): Ditto.
8667 (elmo-imap4-mailbox): New alias.
8668 (elmo-imap4-field-body): Ditto.
8669 (elmo-imap4-userid): Ditto.
8670 (elmo-imap4-password): Ditto.
8671 (elmo-imap4-format-quoted): New function.
8672 (elmo-imap4-send-command): Rewritten. Accept a list of command
8673 arguments and handle "atom", "quoted" and "literal" string here.
8674 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8675 `elmo-imap4-send-command'.
8676 (elmo-imap4-folder-exists-p): Likewise.
8677 (elmo-imap4-create-folder): Likewise.
8678 (elmo-imap4-delete-folder): Likewise.
8679 (elmo-imap4-rename-folder): Likewise.
8680 (elmo-imap4-max-of-folder): Likewise.
8681 (elmo-imap4-check-validity): Likewise.
8682 (elmo-imap4-sync-validity): Likewise.
8683 (elmo-imap4-server-diff): Likewise.
8684 (elmo-imap4-select-folder): Likewise.
8685 (elmo-imap4-copy-msgs): Likewise.
8686 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8687 (elmo-imap4-mark-set-on-msgs): Likewise.
8688 (elmo-imap4-read-part): Likewise.
8689 (elmo-imap4-read-msg): Likewise.
8690 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8691 `elmo-imap4-password' for `elmo-imap4-send-command'.
8692 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8693 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8694 `elmo-imap4-buffer-literal'.
8695 (elmo-imap4-append-msg): Likewise.
8697 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8698 `delete' for removing dead connection from the connection cache.
8699 Move deletion of the process buffer after that.
8700 (elmo-imap4-list): Change `defsubst' to `defun'.
8701 (elmo-imap4-commit): Make error message verbose.
8702 (elmo-imap4-search): Ditto.
8703 (elmo-imap4-list): Ditto.
8704 (elmo-imap4-select-folder): Ditto.
8705 (elmo-imap4-copy-msgs): Ditto.
8706 (elmo-imap4-delete-msg-by-id): Ditto.
8707 (elmo-imap4-append-msg-by-id): Ditto.
8708 (elmo-imap4-append-msg): Ditto.
8710 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8712 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8713 when dired is used on XEmacs.
8715 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8717 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8718 instead of `append'.
8719 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8720 `elmo-plugged-p' directly.
8721 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8722 of `elmo-plugged-p' directly.
8724 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8725 Eliminate unused variable. Use `memq' for checking a process status.
8726 Use `cons' instead of `append' for updating the connection cache.
8727 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8728 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8730 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8732 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8733 `elmo-imap4-read-point' exactly.
8735 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8736 the local variable `folder' to `mailbox'.
8737 Rename the argument `fld' to `folder'.
8739 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8741 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8742 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8744 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8746 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8747 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8748 (elmo-pop3-uidl-number-hash): Ditto.
8749 (elmo-pop3-size-hash): Ditto.
8750 (elmo-pop3-uidl-done): Ditto.
8751 (elmo-pop3-list-done): Ditto.
8752 (elmo-pop3-connection-get-process): New defmacro.
8753 (elmo-pop3-connection-get-buffer): Ditto.
8754 (elmo-pop3-close-connection): Delete buffer and process.
8755 (elmo-pop3-flush-connection): Don't delete buffer and process.
8756 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8757 Setup UIDL and size hash.
8758 (elmo-pop3-send-command-no-erase): Deleted
8759 (elmo-pop3-send-command): Added optional argument `no-erase'.
8760 (elmo-pop3-parse-uidl-response): New function.
8761 (elmo-pop3-parse-list-response): Set size hash.
8762 (elmo-pop3-list-location): New function.
8763 (elmo-pop3-list-by-uidl-subr): Ditto.
8764 (elmo-pop3-list-by-list): Ditto.
8765 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8766 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8767 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8768 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8769 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8771 (elmo-pop3-uidl-to-number): New function.
8772 (elmo-pop3-number-to-uidl): Ditto.
8773 (elmo-pop3-number-to-size): Ditto.
8774 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8775 Set number by use of uidl.
8776 (elmo-pop3-msgdb-create-message): Likewise.
8777 Set size, loc-alist in msgdb.
8778 (elmo-pop3-read-msg): Set number by use of uidl.
8779 Added optional argument `msgdb'.
8780 (elmo-pop3-delete-msg): Ditto.
8781 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8782 (elmo-pop3-commit): Close connection.
8784 * elmo-pipe.el (elmo-pipe-max-of-folder):
8785 Bind `elmo-pop3-use-uidl' as nil.
8786 (elmo-pipe-drain): Ditto.
8789 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8790 (elmo-msgdb-overview-entity-set-size): New defsubst.
8792 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8794 * elmo-vars.el (elmo-use-killed-list): New variable
8795 (Renamed from `elmo-nntp-use-killed-list').
8796 (elmo-nntp-use-killed-list): Eliminated.
8798 * elmo-msgdb.el (elmo-msgdb-expand-path):
8799 Changed expanding msgdb path for elmo-multi.
8801 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8802 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8803 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8804 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8805 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8806 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8807 (toplevel): Deleted time-stamp line.
8809 * elmo2.el (elmo-clear-killed ): Defined as function
8810 (Abolished defining as a backend function).
8811 All other related modules are changed.
8813 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8815 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8817 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8819 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8821 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8823 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8825 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8827 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8828 asynchronous folder check.
8830 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8832 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8833 `elmo-nntp-use-killed-list'.
8834 (elmo-nntp-list-folder): Use killed list.
8835 (elmo-nntp-max-of-folder): Ditto.
8836 (elmo-nntp-msgdb-create): Set killed list.
8838 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8840 * elmo2.el (elmo-clear-killed): New backend function.
8841 All other related modules are changed.
8843 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8845 * elmo-util.el (elmo-imap4-spec-folder): Use
8846 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8847 All callers changed.
8849 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8851 * mmelmo-2.el (initialize-instance):
8852 Use `mime-buffer-entity-buffer-internal' instead of
8853 `mime-entity-buffer'.
8855 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8856 (mime-entity-body): Implemented.
8857 (mime-goto-header-start-point): Deleted.
8858 (mime-goto-body-end-point): Ditto.
8859 (mime-entity-point-min): Ditto.
8860 (mime-entity-point-max): Ditto.
8861 (mime-entity-children): Ditto.
8862 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8863 instead of `mime-entity-buffer'.
8864 (mime-entity-header-buffer): Ditto.
8865 (mime-entity-body-buffer): Ditto.
8866 (mime-write-entity-content): Ditto.
8868 * pldap.el (ldap-static-if): New macro.
8869 (toplevel): Use it instead of `static-if'.
8871 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8873 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8874 included in `attrs' argument.
8876 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8878 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8880 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8881 (ldap-ldif-safe-init-char-regexp): Ditto.
8882 (ldap-ldif-safe-string-regexp): Ditto.
8883 (ldap/ldif-safe-string-p): New macro.
8884 (ldap/ldif-insert-field): Ditto.
8885 (ldap-modify): Use it.
8887 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8888 (ldap-decode-attribute): Decode only when `attr' is consp.
8889 (ldap-delete): Bind `ret'.
8890 (toplevel): Require 'cl at compile time.
8891 Removed (require 'poe) and (require 'std11).
8892 (pldap-version): Eliminated.
8893 (ldap-search-basic): Removed auth and dn binding.
8894 (ldap-ldif-field-name-regexp): New constant.
8895 (ldap-ldif-field-head-regexp): Ditto.
8896 (ldap-ldif-next-field-head-regexp): Ditto.
8897 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8898 (ldap/field-end): New function.
8899 (ldap/field-body): Use it.
8900 (ldap/collect-field): Ditto.
8901 (ldap-search-basic): Use `ldap/field-body'.
8903 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8905 * pldap.el (ldap-default-attribute-encoder): New user option.
8906 (ldap/field-body): Decode base64 string.
8907 (ldap/collect-field): Ditto.
8908 (ldap-encode-attribute): New function.
8909 (ldap-add-entries): Use it.
8910 (ldap-modify-entries): Ditto.
8911 (ldap-search-entries): Enclosed decoding function with
8912 `with-temp-buffer' and set as unibyte.
8913 (ldap-search-basic): Set process buffer as unibyte.
8915 * elmo-util.el (elmo-folder-identical-system-p):
8916 Eliminated name space checking.
8918 * pldap.el: New module.
8919 toplevel: Changed condition to detect built-in ldap feature.
8920 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8921 (ldap-add): Added error handling.
8922 (ldap-modify): Ditto.
8923 (ldap-delete): Ditto.
8925 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8927 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8928 Initialize local variables with `let'. Inline a temporary
8929 variable for the progress percentage. Sort `setq' to reduce
8930 function call in the while-loop.
8932 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8933 into the conditional branch.
8935 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8937 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8938 Move a conditional out of the while-loop.
8940 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8942 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8943 elmo-msgdb-overview-get-entity-by-number.
8944 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8947 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8949 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8950 the local variable for a packed number self descriptively.
8952 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8954 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8955 * elmo-localdir.el (elmo-localdir-pack-number): Use
8956 `elmo-msgdb-overview-get-entity' instead of
8957 `elmo-msgdb-overview-get-entity-by-number'.
8958 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8959 (elmo-msgdb-search-overview-entity): Removed.
8960 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8961 by message-id or number.
8962 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8963 instead of `elmo-msgdb-overview-get-entity-by-number'.
8965 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8967 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8968 non-nil, use hash table for overview.
8969 (elmo-hash-maximum-size): New variable.
8970 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8971 (elmo-msgdb-make-overview-hashtb): New function.
8972 (elmo-msgdb-clear-overview-hashtb): New function.
8973 (elmo-clear-hash-val): New macro.
8974 All other related modules are changed.
8976 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8978 * elmo2.el (elmo-move-msgs): If there's other message with
8979 same message-id, don't use cache.
8981 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8983 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8984 number is already packed.
8986 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8988 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8990 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8992 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8993 All other related modules are changed.
8995 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8997 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8998 of refiling failure on Maildir.
9000 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9002 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9003 decoded mime-charset with cache.
9004 (elmo-msgdb-overview-entity-get-from): Ditto.
9005 (elmo-msgdb-overview-entity-get-subject): Ditto.
9006 * elmo-vars.el (elmo-use-decoded-cache): New variable.
9008 2000-05-10 Kenichi OKADA <okada@opaopa.org>
9010 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9011 (elmo-remove-passwd): Fill password with 0 before erase.
9012 * elmo-vars.el (elmo-passwd-life-time): New variable.
9015 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
9017 * elmo-cache.el (elmo-buffer-cache-add):
9018 Set message cache buffer as unibyte.
9020 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9022 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9025 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
9027 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9028 when display is finished.
9029 (elmo-nntp-msgdb-create): Ditto.
9030 (elmo-nntp-groups-read-response): Ditto.
9031 (elmo-nntp-retrieve-headers): Ditto.
9032 (elmo-nntp-msgdb-create-message): Ditto.
9033 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9034 (elmo-pop3-msgdb-create-message): Ditto.
9036 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9038 * elmo-maildir.el (elmo-maildir-msgdb-create):
9039 Use `elmo-msgdb-sort-by-date'.
9041 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
9043 * elmo2.el (elmo-read-msg-no-cache):
9044 Eliminated arguments after `outbuf'.
9045 Don't use cache even if it exists.
9046 (elmo-read-msg): Don't pass arguments after `outbuf' to
9047 `elmo-read-msg-no-cache'.
9049 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9051 * elmo-archive.el (elmo-archive-list-folders):
9052 Use `file-name-directory' if base folder does not exist.
9054 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
9056 * elmo-archive.el (elmo-archive-list-folders): Don't use
9057 `file-name-directory'.
9059 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
9061 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9062 If `force' is non-nil, try flushing all operation queues.
9064 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
9066 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9069 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9071 * elmo-util.el (elmo-display-progress): Fixed.
9073 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9075 * elmo-util.el (elmo-display-progress): New function.
9076 All other related modules are changed.