1 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-util.el (elmo-string-member): Allow symbol element in list.
5 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7 * elmo-search.el (elmo-make-search-engine): Use prefix
8 `elmo-search-' for require symbol instead of `else-'.
9 (elmo-search-engine-extprog): New class.
10 (elmo-search-engine-do-search): Remove nil from argument
11 list. Added argument pattern to evaluate element as function.
12 (elmo-search-engine-local-file): Derived from
13 `elmo-search-engine-extprog'.
14 (elmo-search-engine-create-message-entity): Check existance of file.
15 (elmo-search-engine-fetch-message): Ditto.
16 (elmo-search-namazu-index): Follow the API change.
17 (elmo-search-grep-target): Ditto.
19 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
21 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
22 characters of working buffer.
24 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
25 Does not bind `default-mime-charset'.
26 (elmo-msgdb-create-message-entity-from-buffer): Removed
27 unnecessary local bind.
29 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
31 (modb-entity-extract-mailing-list-info-functions): Added it.
33 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
35 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
36 when number and message-id are non-nil.
38 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
40 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
41 conditional steatment.
42 (elmo-pop3-auth-apop): Likewise.
43 (elmo-network-authenticate-session): Likewise.
45 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
47 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
49 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
52 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
53 (elmo-decoded-field-body): Ditto.
55 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
57 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
60 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
62 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
65 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
67 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
70 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
72 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
73 Set default value as nil.
74 (toplevel): Register search engines by
75 `elmo-search-register-engine' if there are not defined.
77 * elmo.el (autoload): Added autoload setting for
78 `elmo-search-register-engine'.
80 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
82 * elmo.el (toplevel): `[' is redefined as the prefix of the search
83 folder instead of nmz folder.
84 (elmo-nmz-default-index-path): Added obsolete variable setting.
85 (elmo-nmz-index-alias-alist): Ditto.
86 (elmo-nmz-use-drive-letter): Ditto.
88 * elmo-search.el (elmo-search-register-engine): New function.
90 * elmo-nmz.el: Removed.
92 * elmo-version.el (elmo-version): Up to 2.15.2.
94 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
96 * elmo-search.el: New file.
98 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
100 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
101 condition `larger' and `smaller'.
103 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
105 * elmo-util.el (elmo-safe-filename): Rewrite to replace
106 `"' (double quote) into "_Q_".
108 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
110 * elmo-net.el (elmo-net-quote-chars): Abolish.
111 (elmo-net-format-quoted): Ditto.
113 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
115 * elmo.el (elmo-get-folder-function): New variable.
116 (elmo-get-folder): New function.
117 (elmo-folder-rename): Call `elmo-make-folder' with specified
120 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
122 (elmo-split-subr): Ditto.
124 * elmo-multi.el (elmo-folder-initialize): Ditto.
126 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
128 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
129 (elmo-flag-get-folder): Ditto.
131 * elmo-filter.el (elmo-folder-initialize): Ditto.
133 * elmo-access.el (elmo-folder-initialize): Ditto.
134 (elmo-access-folder-update-children): Ditto.
136 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
137 (elmo-dop-queue-flush): Ditto.
138 (elmo-folder-append-buffer-dop-delayed): Ditto.
139 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
142 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
143 instead of `elmo-make-folder'.
144 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
145 destination folder instead of send `elmo-folder-rename-internal'.
147 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
148 slot of subfolder instead of create it.
150 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
152 * elmo-util.el (elmo-collect-separators): New function.
153 (elmo-collect-separators-internal): Ditto.
154 (elmo-collect-trail-separators): Ditto.
155 (elmo-parse-separated-tokens): Ditto.
156 (elmo-parse-separated-tokens-internal): Ditto.
157 (elmo-quote-syntactical-element): Ditto.
159 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
160 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
162 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
163 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
164 (elmo-nntp-folder-list-subfolders): Quote a user name.
166 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
167 (elmo-net-parse-network): Abolish.
168 (elmo-net-folder-set-parameters): New function.
169 (elmo-folder-initialize): Follow the above change.
171 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
172 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
173 (elmo-folder-list-subfolders): Use
174 `elmo-quote-syntactical-element' instead of
175 `elmo-net-format-quoted' to quote mailbox and user name.
177 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
179 * elmo-util.el (elmo-token-valid-p): New function.
180 (elmo-parse-token): Add optional argument `requirement'.
181 (elmo-parse-prefixed-element): Likewise.
183 * elmo-net.el (elmo-net-quote-chars): Renamed from
184 `elmo-net-quote-chars-regexp'.
185 (elmo-net-format-quoted): Add optional argument `extra-chars'.
187 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
188 by info document. Check token `uidl' is started an alphabet.
190 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
191 by info document. Check token `user' is started an alphabet.
193 * elmo-imap4.el (elmo-folder-initialize): Ditto.
194 (elmo-folder-list-subfolders): Quote user.
196 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
198 * elmo-util.el (elmo-quoted-specials-list): New constant.
199 (elmo-quoted-token): New function.
201 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
202 (elmo-net-format-quoted): New function.
203 (elmo-net-parse-network): Ditto.
204 (elmo-folder-initialize): Use it.
206 * elmo-nntp.el (elmo-folder-initialize): Use
207 `elmo-net-parse-network' to parse network specification instead of
208 `elmo-folder-initialize#elmo-net'.
210 * elmo-pop3.el (elmo-folder-initialize): Ditto.
212 * elmo-imap4.el (elmo-folder-initialize): Ditto.
213 (elmo-folder-list-subfolders): Quote folder name by
214 `elmo-net-format-quoted'.
216 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
218 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
219 (elmo-folder-search): Use it.
221 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
223 * modb-standard.el (modb-standard-loaded-message-id): Use
224 `elmo-msgdb-message-entity-field'.
226 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
228 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
231 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
233 * elmo-util.el (elmo-set-auto-coding): New function.
234 (elmo-object-load): Use it.
236 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
238 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
239 (elmo-time<): Define as alias of `elmo-time-less-p'.
240 (elmo-time-to-datevec): New function.
242 * elmo-date.el (elmo-time-to-days): New function.
244 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
246 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
249 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
251 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
254 * elmo-util.el (elmo-map-recursive): New function.
256 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
257 (modb-entity-encode-string-recursive): Ditto.
259 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
261 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
262 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
263 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
264 compare sequence number when last modified time is nil.
266 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
268 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
270 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
272 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
274 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
275 modification time of the file.
277 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
279 * elmo-util.el (elmo-condition-optimize): Discriminated against
280 preserved fields, extra fields and the other weight.
282 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
284 * modb-entity.el (initialize-instance): Define.
285 (modb-entity-handler-mime-charset): New internal function.
286 (modb-standard-entity-set-field): Use it.
287 (elmo-msgdb-message-entity-field): Ditto.
288 (elmo-msgdb-message-entity-field): Ditto.
290 * modb.el (elmo-msgdb-match-condition): Rewrite with
291 `elmo-condition-match'.
292 (elmo-msgdb-match-condition-primitive): New function.
294 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
295 arguments `flags' and `numbers'.
296 (elmo-msgdb-match-condition-primitive): Abolished (merged to
297 `elmo-msgdb-message-match-condition').
298 (modb-buffer-entity-handler): New class.
300 * elmo.el (elmo-folder-search): Optimize condition to use
301 `elmo-condition-optimize'.
302 (elmo-message-buffer-match-condition): New function.
303 (elmo-message-match-condition): Use
304 `elmo-message-buffer-match-condition' instead of
305 `elmo-buffer-field-condition-match'.
307 * elmo-util.el (elmo-condition-match): New function.
308 (elmo-condition-optimize): Ditto.
309 (elmo-buffer-field-primitive-condition-match): Abolish.
310 (elmo-buffer-field-condition-match): Ditto.
312 * elmo-archive.el (elmo-archive-field-condition-match): Use
313 `elmo-message-buffer-match-condition' instead of
314 `elmo-buffer-field-condition-match'.
316 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
318 * elmo-flag.el (elmo-global-flags-initialize): Check the
319 existence of the flag directory.
321 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
323 * elmo-access.el (elmo-folder-initialize): Call
324 `elmo-multi-connect-signals'.
326 * elmo-pipe.el (elmo-folder-close): Define.
328 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
331 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
334 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
337 * elmo-multi.el (elmo-message-entity): Don't use return value of
338 `elmo-message-entity-set-number'.
340 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
342 * modb.el (modb-generic): Added slot `mime-charset'.
344 * modb-standard.el (modb-standard): Added slot `overview-handler'.
345 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
346 and `modb-entity-handler-dump-parameters'.
347 (modb-standard-default-entity-handler): Abolish.
348 (elmo-msgdb-message-entity-handler): Save created handler by
351 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
352 (modb-entity-handler-list-parameters): New method.
353 (modb-entity-handler-equal-p): New function.
354 (modb-entity-handler-dump-parameters): Ditto.
355 (modb-entity-parse-address-string): Encode return value.
356 (modb-entity-make-address-string): Decode argument value.
357 (modb-entity-decode-string-recursive): New function.
358 (modb-entity-encode-string-recursive): Ditto.
359 (modb-standard-entity-normalizer): Set to encode field value.
360 (modb-standard-entity-specializer): Follow the above change.
361 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
362 mime-charset of handler.
363 (elmo-msgdb-message-entity-field): Ditto.
364 (elmo-msgdb-copy-message-entity): Fixed reference to internal
366 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
368 * elmo.el (elmo-folder): Added slot `mime-charset'.
369 (elmo-make-folder): Added argument `mime-charset'.
370 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
373 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
374 (elmo-make-msgdb): Likewise.
376 * elmo-internal.el (elmo-internal-folder-initialize): Call
377 `luna-make-entity' with :mime-charset parameter.
379 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
381 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
382 encoded words in `from' and `subject' field.
384 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
386 * modb.el (elmo-msgdb-message-field): Add argument `type'.
387 (elmo-msgdb-match-condition): Get handler from entity instead of
390 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
391 (modb-standard-load-entity): Treat new file format.
392 (modb-standard-save-entity-1): Save as new file format.
393 (modb-standard-save-entity): Split messages into section here.
394 (elmo-msgdb-message-field): Follow the API change.
395 (modb-standard-default-entity-handler): New internal variable.
396 (elmo-msgdb-message-entity-handler): Define.
398 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
400 (modb-entity-field-extractor-alist): New user option.
401 (elmo-msgdb-message-entity-field): Removed argument `decode' and
402 added argument `type'.
403 (elmo-msgdb-copy-message-entity): Add optional argument
405 (modb-set-field-converter): New function.
406 (modb-convert-field-value): Ditto.
407 (modb-entity-string-decoder): Ditto.
408 (modb-entity-string-encoder): Ditto.
409 (modb-entity-parse-date-string): Ditto.
410 (modb-entity-make-date-string): Ditto.
411 (modb-entity-mime-decoder): Ditto.
412 (modb-entity-mime-encoder): Ditto.
413 (modb-entity-address-list-decoder): Ditto.
414 (modb-entity-address-list-encoder): Ditto.
415 (modb-entity-parse-address-string): Ditto.
416 (modb-entity-make-address-string): Ditto.
417 (modb-entity-create-field-indices): Ditto.
418 (modb-legacy-entity-field-slots): New constant.
419 (modb-legacy-entity-field-indices): Ditto.
420 (modb-legacy-entity-normalizer): New variable.
421 (modb-legacy-entity-specializer): Ditto.
422 (modb-legacy-entity-field-index): New macro.
423 (modb-legacy-entity-set-field): New function.
424 (modb-legacy-make-message-entity): Rewrite.
425 (elmo-msgdb-create-message-entity-from-buffer): Use
426 `elmo-msgdb-get-references-from-buffer'. Use
427 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
428 Use `modb-legacy-entity-set-field' instead of
429 `elmo-msgdb-message-entity-set-field'.
430 (elmo-msgdb-message-entity-field): Rewrite.
431 (elmo-msgdb-message-entity-set-field): Ditto.
432 (elmo-msgdb-copy-message-entity): Make new entity by
433 `make-handler' if it specified.
434 (elmo-msgdb-message-match-condition): Define a method of
435 `modb-entity-handler' and follow the API change.
436 (modb-standard-entity-handler): New class.
437 (modb-entity-extract-ml-info-from-x-sequence): New function.
438 (modb-entity-extract-ml-info-from-subject): Ditto.
439 (modb-entity-extract-ml-info-from-return-path): Ditto.
440 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
441 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
442 (modb-entity-extract-mailing-list-info): Ditto.
443 (modb-entity-extract-mailing-list-info-functions): New variable.
445 * elmo.el (elmo-message-field): Add optional argument `type'.
447 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
448 from `modb-entity.el'.
450 * elmo-util.el (elmo-object-load): Decode by coding-system from
451 `set-auto-coding-function'.
452 (elmo-object-save): Use `detect-mime-charset-region' and add
453 coding cookie if encode.
454 (elmo-msgdb-get-references-from-buffer): New function.
455 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
457 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
459 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
460 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
461 instead of `shimbun-make-header' and follow the API change.
462 (elmo-shimbun-update-overview): Follow the API change.
463 (elmo-map-folder-list-message-locations): Ditto.
465 * elmo-pipe.el (elmo-message-field): Ditto.
467 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
470 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
472 * elmo-multi.el (elmo-message-field): Ditto.
474 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
475 (elmo-msgdb-sort-by-date): Ditto.
476 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
477 `elmo-message-entity-field'.
478 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
480 (elmo-msgdb-overview-entity-get-from): Ditto.
481 (elmo-msgdb-overview-entity-get-subject): Ditto.
482 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
483 (elmo-msgdb-overview-entity-get-date): Ditto.
484 (elmo-msgdb-overview-entity-get-to): Ditto.
485 (elmo-msgdb-overview-entity-get-cc): Ditto.
487 * elmo-mime.el (elmo-message-mime-entity): Ditto.
488 (elmo-mime-collect-message/partial-pieces): Ditto.
490 * elmo-filter.el (elmo-message-field): Ditto.
492 * elmo-date.el (elmo-datevec-to-time): New function.
493 (elmo-time-parse-date-string): Ditto.
494 (elmo-time-make-date-string): Ditto.
497 * elmo-version.el (elmo-version): Up to 2.15.1.
499 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
501 * elmo-flag.el (elmo-global-flags-initialize): Don't include
502 member of elmo-local-flags.
504 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
506 * elmo-version.el (elmo-version): Up to 2.15.0.
508 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
510 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
511 `ignore-msgdb' is non-nil.
513 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
515 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
516 (elmo-condition-in-msgdb-p): Ditto.
517 (elmo-file-field-primitive-condition-match): Ditto.
518 (elmo-file-field-condition-match): Ditto.
520 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
522 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
524 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
526 (elmo-global-flags-initialize): New function.
528 * elmo.el (toplevel): Added autoload setting for
529 `elmo-global-flags-initialize'.
531 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
533 * elmo.el (message-number-changed): Define new signal.
534 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
535 message-number-changed signal.
536 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
537 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
538 Respect `elmo-pack-number-check-strict'.
540 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
542 * elmo-signal.el (elmo-connect-signal): Document.
543 (elmo-emit-signal): Ditto.
544 (elmo-emit-signal): It should pass source argument to filter and
545 handler, not slot-source.
547 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
549 * modb.el (elmo-msgdb-update-entity): New API and define generic
552 * modb-standard.el (elmo-msgdb-update-entity): Define.
554 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
555 API and define generic implement.
557 * elmo.el (update-overview): New singnal.
559 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
560 `elmo-msgdb-update-entity' and emit signal `update-overview'.
561 (elmo-message-entity-parent): Define.
563 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
566 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
568 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
570 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
572 * elmo.el (elmo-folder-synchronize): Sort the return value of
575 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
578 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
580 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
581 `default-enable-multibyte-characters'.
582 (elmo-object-load): Use `with-temp-buffer' instead of
584 (elmo-object-save): Ditto.
585 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
587 (elmo-decoded-field-body): Ditto.
589 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
591 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
592 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
594 * elmo-version.el (elmo-version): Up to 2.13.3.
596 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
598 * elmo-util.el (elmo-list-diff): Fix the last change.
599 Reverse order of result lists.
601 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
603 * modb-standard.el (elmo-msgdb-set-flag): Use
604 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
605 (elmo-msgdb-unset-flag): Ditto.
607 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
610 * elmo-util.el (elmo-list-diff): Rewrite.
611 (elmo-list-diff-nonsortable): New function.
613 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
615 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
616 `elmo-multibypte-buffer-name'. All referers are updated.
618 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
620 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
621 (elmo-mime-entity-fragment-p): New function.
622 (mime-elmo-buffer-entity): Added slot `reassembled'.
623 (elmo-message-mime-entity): Added 4th argument `reassemble'.
624 (elmo-message-mime-entity-internal): New function (renamed from
625 `elmo-message-mime-entity').
626 (elmo-mime-inherit-field-list-from-enclosed): New constant.
627 (elmo-mime-make-reassembled-mime-entity): New function.
628 (elmo-message-reassembled-mime-entity): Ditto.
629 (elmo-mime-collect-message/partial-pieces): Ditto.
631 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
633 * elmo.el (elmo-message-fetch-string): Disable multibyte.
635 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
636 (elmo-with-enable-multibyte): New macro.
638 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
640 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
642 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
644 (elmo-filter-connect-signals): Follow the above change.
646 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
648 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
650 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
651 that only the first flag is used.
653 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
655 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
658 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
660 * elmo-signal.el: New file.
662 * elmo.el (toplevel): Require elmo-signal.
663 (flag-changing, flag-changed, cache-changed): New signal.
664 (elmo-folder): Remove slog `handlers'.
665 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
666 `elmo-folder-notify-event'.
667 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
668 (elmo-folder-unset-flag): Ditto.
669 (elmo-event-handler): Abolish.
670 (elmo-event-handler-flag-changed): Ditto.
671 (elmo-event-handler-cache-changed): Ditto.
672 (elmo-folder-add-handler): Ditto.
673 (elmo-folder-remove-handler): Ditto.
674 (elmo-folder-notify-event): Ditto.
676 * elmo-pipe.el (toplevel): Require elmo-signal.
677 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
678 (elmo-pipe-connect-signals): New function.
679 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
680 (elmo-folder-set-flag): Ditto.
681 (elmo-folder-unset-flag): Ditto.
682 (elmo-message-set-cached): Ditto.
684 * elmo-multi.el (toplevel): Require elmo-signal.
685 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
686 (elmo-multi-connect-signals): New function.
687 (elmo-multi-map-numbers): Ditto.
688 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
689 (elmo-message-fetch): Ditto.
690 (elmo-folder-set-flag): Ditto.
691 (elmo-folder-unset-flag): Ditto.
693 * elmo-filter.el (toplevel): Require elmo-signal.
694 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
695 (elmo-filter-connect-signals): New function.
696 (elmo-filter-add-flag-count): Ditto.
697 (elmo-message-fetch): Does not call
698 `elmo-filter-folder-countup-message-flags' and
699 `elmo-folder-notify-event'.
700 (elmo-message-set-cached): Ditto.
701 (elmo-folder-set-flag): Ditto.
702 (elmo-folder-unset-flag): Ditto.
704 * elmo-version.el (elmo-version): Up to 2.13.2.
706 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
708 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
711 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
713 * elmo-filter.el (elmo-message-set-cached): Call
714 `elmo-folder-notify-event' with event `cache-changed'.
716 * elmo-multi.el (elmo-message-set-cached): Ditto.
718 * elmo-pipe.el (elmo-message-set-cached): Ditto.
720 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
722 * elmo.el (elmo-folder-encache): Abolish.
724 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
726 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
727 (elmo-folder-next-message-number-dop): Return appropriate negative
730 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
732 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
733 clearing pending operations.
734 (elmo-folder-next-message-number-dop): Return appropriate negative
737 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
739 * elmo.el (toplevel): Added autoload setting for `md5'.
740 (elmo-msgdb-path-encode-threshold): New user option.
741 (elmo-folder-msgdb-path): Encode msgdb path if its length is
742 longer than `elmo-msgdb-path-encode-threshold'.
744 * elmo-flag.el (elmo-global-mark-migrate): Use
745 `elmo-folder-expand-msgdb-path' instead of
746 `elmo-folder-msgdb-path'.
748 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
750 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
751 element of the difference is nil.
753 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
755 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
756 to the check logic of file systems which are weak in colon character.
758 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
760 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
762 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
764 * elmo-maildir.el (elmo-maildir-move-file): New function.
765 (elmo-folder-append-buffer): Use it.
766 (elmo-folder-append-messages): Ditto.
767 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
769 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
770 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
772 * elmo-maildir.el (elmo-maildir-separator): New user option.
773 (elmo-maildir-adjust-separator): New macro.
774 (elmo-maildir-list-location): Use it.
775 (elmo-maildir-update-current): Ditto.
776 (elmo-maildir-set-mark): Ditto.
777 (elmo-maildir-delete-mark): Ditto.
778 (These changes are based on Hiroya Murata's patch [wl: 13437])
780 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
782 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
784 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
786 * elmo-flag.el (elmo-flag-valid-p): Simplify.
787 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
788 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
790 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
792 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
793 Use `with-temp-buffer'.
795 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
797 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
799 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
800 `wl-read-search-condition').
801 (elmo-read-search-condition-internal): Likewise.
803 * elmo-flag.el (elmo-flag-char-regexp): New constant.
804 (elmo-flag-valid-p): New function.
805 (elmo-folder-initialize): Check flag name is valid.
807 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
809 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
810 delimiter to obtain root mailbox itself.
812 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
814 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
817 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
819 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
822 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
824 * elmo-shimbun.el (toplevel): Require cl at compile.
826 * elmo-nntp.el (toplevel): Ditto.
828 * elmo-nmz.el (toplevel): Ditto.
830 * elmo-multi.el (toplevel): Ditto.
832 * elmo-file.el (toplevel): Ditto.
834 * elmo-dop.el (toplevel): Ditto.
836 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
838 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
840 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
843 * elmo.el (elmo-message-fetch): Return t even when the output buffer
844 size of elmo-message-fetch-internal is 0 byte.
846 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
848 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
850 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
852 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
855 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
857 * elmo-maildir.el (elmo-map-message-fetch): Call
858 `elmo-map-folder-set-flag'.
860 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
861 (elmo-message-fetch): Merge from
862 `elmo-message-fetch-with-cache-process'.
864 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
865 (elmo-message-fetch): Define.
867 * elmo-nntp.el (elmo-message-fetch): Renamed from
868 `elmo-message-fetch-with-cache-process'.
870 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
871 (elmo-message-fetch): Define.
873 * elmo-util.el (elmo-condition-parse-primitive): Downcase
876 * elmo-shimbun.el (shimbun-mua-search-id): Use
877 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
878 (elmo-shimbun-folder-shimbun-header): Ditto.
879 (elmo-shimbun-get-headers): Ditto.
880 (elmo-shimbun-update-overview): Ditto.
882 * elmo-pipe.el (elmo-folder-detach-messages): Define.
884 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
885 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
887 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
889 * elmo.el (elmo-message-fetch): Unset unread flag on server when
891 (elmo-message-fetch-string): Fixed argument.
893 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
895 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
896 exchange order of arguments `section' and `unread'.
897 (elmo-message-encache): Follow the API change.
898 (elmo-message-match-condition): Ditto.
899 (elmo-generic-folder-append-messages): Ditto.
900 (elmo-message-fetch-string): New function.
902 * elmo-split.el (elmo-split-subr): Ditto.
904 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
906 * elmo-pipe.el (elmo-message-fetch): Ditto.
908 * elmo-multi.el (elmo-message-fetch): Ditto.
910 * elmo-mime.el (elmo-message-mime-entity): Ditto.
912 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
914 * elmo-filter.el (elmo-message-fetch): Ditto.
916 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
918 * elmo-imap4.el (mime-imap-location-section-body): Use
919 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
920 follow the API change.
922 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
924 * elmo-access.el: New file.
926 * elmo-null.el: Ditto.
928 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
930 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
932 * elmo-net.el (elmo-network-session-idle-timeout): New option.
933 (elmo-network-session): New attribute `last-accessed'.
934 (elmo-network-get-session): Discard network cache if elapsed time
935 since last-accessed is larger than elmo-network-session-idle-timeout.
937 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
939 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
940 and added `number', `require-entireness'.
941 (elmo-find-fetch-strategy): Rewrite.
942 (elmo-message-fetch): Unset `unread' flag when argument unread is
945 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
947 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
948 (elmo-message-fetch): Notify event `flag-changed'.
950 * elmo-pipe.el: Likewise.
952 * elmo-mime.el (elmo-mime-entity): New class.
953 (elmo-mime-entity-display-p): New generic function.
954 (elmo-mime-entity-display): Ditto.
955 (elmo-mime-entity-display-as-is): Ditto.
956 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
958 (elmo-make-mime-message-location): Removed.
959 (elmo-mime-message-display): Ditto.
960 (elmo-mime-display-as-is): Ditto.
961 (elmo-message-mime-entity): New function.
963 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
965 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
967 (elmo-message-fetch): Re-count flagged message number and notify
968 event `flag-changed'.
970 * elmo-version.el (elmo-version): Up to 2.13.1.
972 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
974 * elmo-filter.el (elmo-message-field): Define.
975 (elmo-message-set-field): Ditto.
977 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
979 * elmo.el (elmo-message-set-cached): Call
980 `elmo-folder-notify-event' with cache-changed.
981 (elmo-event-handler-cache-changed): New generic function.
983 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
985 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
986 instead of elmo-add-name-to-file.
987 (elmo-folder-append-messages): Ditto.
989 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
991 * elmo.el (elmo-folder-update-threshold): Add nil to range.
993 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
995 * elmo-version.el (elmo-version): Up to 2.13.0.
997 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1000 * modb-standard.el (modb-standard-economize-entity-size): Changed
1001 default value to `t'.
1003 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1006 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1007 after parsing greeting string.
1009 2004-11-23 Daishi Kato <daishi@axlight.com>
1011 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1013 (elmo-spam-spamoracle-call): Use it.
1015 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1017 * elmo.el (elmo-message-accessible-p): Message in dop spool
1020 2004-11-23 Daishi Kato <daishi@axlight.com>
1022 * elsp-spamoracle.el: New file.
1024 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1026 * elmo.el (elmo-message-flags-for-append): New function.
1027 (elmo-generic-folder-append-messages): Use it.
1029 * elmo-split.el (elmo-split-subr): Ditto.
1031 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1032 `flags' and use elmo-folder-append-buffer instead of
1033 write-region-as-binary.
1034 (elmo-dop-filter-pending-messages): New function.
1035 (elmo-folder-append-buffer-dop): Call
1036 elmo-dop-spool-folder-append-buffer with `flag'.
1037 (elmo-folder-set-flag-dop): Filter messages by
1038 elmo-dop-filter-pending-messages.
1039 (elmo-folder-unset-flag-dop): Ditto.
1040 (elmo-folder-append-buffer-dop-delayed): Use
1041 elmo-message-flags-for-append to get flags of the message and
1044 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1046 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1048 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1050 * elmo.el (elmo-folder): Added handlers slot.
1051 (elmo-event-handler): New class.
1052 (elmo-event-handler-flag-changed): New API.
1053 (elmo-folder-add-handler): New function.
1054 (elmo-folder-remove-handler): Ditto.
1055 (elmo-folder-notify-event): Ditto.
1056 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1058 (elmo-folder-unset-flag): Ditto.
1060 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1061 (elmo-folder-unset-flag): Ditto.
1063 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1064 (elmo-folder-unset-flag): Ditto.
1066 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1067 (elmo-folder-unset-flag): Ditto.
1069 * elmo-version.el (elmo-version): Up to 2.11.33.
1071 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1073 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1075 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1077 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1079 * elmo-flag.el (elmo-folder-unset-flag): Define.
1080 (elmo-global-flag-detach): Do process when the flag is not target
1083 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1085 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1087 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1089 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1091 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1093 (elmo-folder-delete-messages): Detach messages before delete
1094 messages from target folder.
1095 (elmo-folder-detach-messages): Set updated number-list to slot.
1097 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1099 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1101 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1103 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1105 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1107 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1109 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1111 (elmo-folder-delete-messages): Define.
1112 (elmo-folder-move-messages): Don't call
1113 `elmo-folder-detach-messages'.
1114 (elmo-folder-synchronize): Rewrite.
1115 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1117 * elmo-util.el (elmo-last): New function.
1118 (elmo-set-list): Ditto.
1119 (elmo-number-set-delete-list): Ditto.
1120 (elmo-number-set-delete): Ditto.
1122 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1124 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1125 `elmo-folder-delete-messages' and don't delete location map.
1126 (elmo-folder-detach-messages): Define.
1128 * elmo-imap4.el (elmo-folder-delete): Use
1129 `elmo-folder-delete-messages-internal' instead of
1130 `elmo-folder-delete-messages'.
1132 * elmo-filter.el (elmo-folder-delete-messages): Call
1133 `elmo-folder-detach-messages'.
1134 (elmo-folder-detach-messages): Don't call
1135 `elmo-folder-detach-messages' for target folder.
1137 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1138 message deletion is succeeded.
1140 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1142 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1143 from `elmo-folder-delete-messages'.
1145 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1147 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1149 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1151 * elmo-version.el (elmo-version): Up to 2.11.32.
1153 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1155 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1156 (elmo-global-flag-list): Added obsolete variable setting.
1158 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1160 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1161 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1162 `elmo-mime-display-header-analysis' is nil.
1164 * elmo-flag.el (elmo-global-flags): Renamed from
1165 `elmo-global-flag-list' (All other related portions are changed).
1166 (elmo-local-flags): New variable.
1167 (elmo-local-flag-p): New function.
1168 (elmo-global-flag-set-internal): Cause an error when flag is not
1171 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1173 * elmo-util.el (elmo-concat-path): Treat empty path.
1175 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1177 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1179 (elmo-split-address-match): Ditto.
1180 (elmo-split-equal): Ditto.
1181 (elmo-split-match): Ditto.
1183 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1185 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1186 (elmo-generic-folder-append-messages): If src message exists but
1187 has no flag, pass (read) for the FLAG argument of
1188 `elmo-folder-append-buffer'. Otherwise, pass nil.
1190 * elmo-split.el (elmo-split-subr): Likewise.
1192 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1194 * elmo-multi.el (elmo-message-flags): Ditto.
1196 * elmo-filter.el (elmo-message-flags): Ditto.
1198 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1199 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1200 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1202 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1204 * elmo-split.el (elmo-split-rule): Update comment.
1205 (elmo-split-address-equal): Allow 2nd argument to be a list.
1206 (elmo-split-address-match): Ditto.
1207 (elmo-split-equal): Ditto.
1208 (elmo-split-match): Ditto.
1210 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1212 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1213 (elmo-folder-append-msgdb): Don't treat `read'.
1214 (elmo-message-flags): Don't return `read'.
1216 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1217 (elmo-folder-unset-read-delayed): Ditto.
1219 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1221 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1223 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1226 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1228 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1231 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1233 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1235 (elmo-msgdb-save): Bind inhibit-quit.
1236 (modb-standard-message-entity): Ditto.
1238 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1240 * elmo-database.el: No need to require elmo-msgdb.
1242 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1244 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1245 instead of `elmo-list-subdirectories'.
1247 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1249 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1251 (elmo-folder-exists-p): "[" is empty.
1252 (elmo-folder-list-subfolders): Define.
1253 (elmo-folder-have-subfolder-p): Ditto.
1255 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1257 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1259 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1261 * elmo-filter.el (elmo-folder-local-p): Define.
1263 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1265 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1266 when entity is garbaged.
1267 (modb-standard-save-entity-1): Don't modify the original entity.
1269 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1271 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1273 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1275 * elmo.el (elmo-strict-folder-diff): Use
1276 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1278 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1280 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1281 (elmo-msgdb-message-number): Ditto.
1282 (elmo-msgdb-message-field): Ditto.
1284 * modb-standard.el (modb-standard-economize-entity-size): New user
1286 (modb-standard-loaded-message-id): New inline function.
1287 (modb-standard-load-entity): Use it.
1288 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1289 throw message-id string away.
1290 (elmo-msgdb-flag-available-p): Define.
1291 (elmo-msgdb-message-number): Ditto.
1292 (elmo-msgdb-message-field): Ditto.
1294 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1295 (suppoted -> supported).
1296 (modb-legacy-supported-flag-p): Ditto.
1297 (elmo-msgdb-set-flag): Ditto.
1298 (elmo-msgdb-unset-flag): Ditto.
1299 (elmo-msgdb-flag-available-p): Define.
1301 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1302 is `t', treat it as legacy entity.
1304 * elmo.el (elmo-message-flag-available-p): New generic function.
1305 (elmo-message-number): Ditto.
1306 (elmo-message-field): Use `elmo-msgdb-message-field'.
1308 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1310 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1311 (elmo-message-number): Ditto.
1313 * elmo-multi.el (elmo-message-number): Define.
1314 (elmo-message-flag-available-p): Ditto.
1316 * elmo-filter.el (elmo-message-flag-available-p): Define.
1317 (elmo-message-number): Ditto.
1319 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1320 (elmo-folder-initialize): Load `max-number'.
1321 (elmo-folder-commit): Save it.
1322 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1323 (elmo-global-flag-set-internal): Set up max-number slot.
1325 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1327 * elmo-version.el (elmo-version): Up to 2.11.31.
1329 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1331 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1332 unibyte string of the current buffer for the argument of `md5'
1333 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1335 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1337 * modb-legacy.el (modb-legacy-flag-list): New constant.
1338 (modb-legacy-suppoted-flag-p): New internal function.
1339 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1340 (elmo-msgdb-unset-flag): Ditto.
1342 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1344 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1346 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1349 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1351 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1352 (follow the API change).
1354 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1356 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1358 * modb-standard.el (modb-standard-digest-flags): Abolish.
1359 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1361 * elmo-vars.el (elmo-digest-flags): New variable.
1362 (elmo-preserved-flags): Moved from elmo-flag.el.
1364 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1365 (elmo-imap4-flag-to-imap-criteria): Ditto.
1366 (elmo-imap4-folder-list-flagged): Use it.
1368 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1370 * elmo.el (elmo-folder-count-flags): Changed return value.
1372 * elmo-flag.el (elmo-preserved-flags): New variable.
1373 (elmo-get-global-flags): Use it.
1375 * modb-standard.el (modb-standard-digest-flags): New variable.
1376 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1377 Changed behavior of `any'.
1379 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1380 which are defined the Internet draft
1381 (draft-melnikov-imap-keywords-03.txt).
1382 (elmo-imap4-flags-to-imap): New function.
1383 (elmo-folder-append-buffer): Use it.
1385 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1388 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1389 avoid the bug of Emacs 21.3.
1391 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1393 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1394 function find-coding-system does not exist.
1396 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1398 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1401 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1403 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1406 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1408 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1409 (elmo-network-close-session): Follow the changes in
1410 `elmo-pop3-read-response'.
1411 (elmo-pop3-auth-user): Ditto.
1412 (elmo-pop3-auth-apop): Ditto.
1413 (elmo-network-initialize-session): Ditto.
1414 (elmo-network-authenticate-session): Ditto.
1415 (elmo-network-setup-session): Ditto.
1416 (elmo-folder-status): Ditto.
1417 (elmo-message-fetch-plugged): Ditto.
1418 (elmo-pop3-delete-msg): Ditto.
1420 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1422 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1425 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1427 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1429 (elmo-bind-directory): Ditto.
1431 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1433 * elmo.el (elmo-folder-append-messages): Note on return value.
1434 * elmo-archive.el (elmo-folder-append-messages): Don't return
1435 message numbers which could not be appended.
1437 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1439 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1441 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1443 * elmo-version.el (elmo-version): Up to 2.11.30.
1445 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1447 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1450 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1452 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1453 (elmo-multi-split-numbers): Add elmo-folder object into each
1454 element of return value at first.
1455 (elmo-folder-delete-messages): Follow the above change.
1456 (elmo-folder-detach-messages): Ditto.
1458 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1459 number which is synchronized in target folder.
1461 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1463 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1464 Change default value to symbol `all'.
1465 (elmo-map-message-fetch): Change condition to update overview
1468 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1470 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1471 behavior to update overview.
1472 (elmo-shimbun-update-overview-folder-list): Note it.
1474 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1476 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1479 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1481 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1482 buffer-disable-undo, it is unnecessary.
1483 (elmo-spam-register-good-messages): Ditto.
1485 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1488 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1490 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1492 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1493 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1494 elmo-set-buffer-multibyte.
1495 (elmo-object-load): Ditto.
1496 (elmo-save-buffer): Ditto.
1497 (elmo-delete-char): Ditto.
1498 (elmo-file-field-primitive-condition-match): Ditto.
1499 (elmo-mime-string): Ditto.
1501 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1502 (elmo-archive-field-condition-match): Ditto.
1504 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1506 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1508 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1509 (elmo-nntp-msgdb-create-message): Ditto.
1511 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1513 * elmo.el (elmo-message-match-condition): Ditto.
1514 (elmo-message-match-condition): Ditto.
1516 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1519 * elmo-version.el (elmo-version): Up to 2.11.29.
1521 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1522 (elsp-header): New backend.
1524 * elmo-util.el (elmo-decoded-field-body): New function.
1526 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1528 * elmo-version.el (elmo-version): Up to 2.11.28.
1530 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1532 * elmo-filter.el: Rewrite.
1534 * elmo-version.el (elmo-version): Up to 2.11.27.
1536 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1538 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1539 msgdb path for the localdir folder with absolute path.
1541 * utf7.el: Synch up with latest gnus/utf7.el;
1542 Modified for latest Emacs.
1544 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1546 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1547 shimbun backend couldn't open.
1549 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1551 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1552 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1553 when a destination folder is a filter folder.
1555 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1557 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1558 (elmo-generic-folder-append-messages): Call elmo-message-flags
1559 with argument `msgid'.
1561 * elmo-split.el (elmo-split-subr): Ditto.
1563 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1565 * elmo-multi.el (elmo-message-flags): Ditto.
1567 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1569 * elmo.el (elmo-folder): Add new slot `flag-table'.
1570 (elmo-folder-flag-table): New API.
1571 (elmo-folder-close-flag-table): Ditto.
1572 (elmo-folder-preserve-flags): New function.
1573 (elmo-generic-folder-append-messages): Use
1574 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1575 Flag of a non-registered message, it sets to nil.
1576 Does not set flag to flag-table.
1578 * elmo-maildir.el (elmo-folder-append-buffer): Use
1579 `elmo-folder-preserve-flags'.
1580 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1581 `elmo-folder-close-flag-table'.
1583 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1584 (elmo-archive-folder-append-buffer): Use
1585 `elmo-folder-preserve-flags'.
1587 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1589 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1591 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1592 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1593 `elmo-folder-close-flag-table'.
1595 * elmo-version.el (elmo-version): Up to 2.11.26.
1597 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1599 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1601 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1602 md5's 4th and 5th argument (non-existent in flim one).
1604 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1606 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1607 message, It sets to nil.
1609 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1611 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1614 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1616 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1618 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1620 * elmo-util.el (elmo-uniq-sorted-list): New function.
1621 (elmo-make-number-list): Ditto.
1622 (elmo-number-set-to-number-list): Use elmo-make-number-list
1623 and don't use nreverse.
1625 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1627 * elmo-version.el (elmo-version): Up to 2.11.25.
1629 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1631 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1632 field not exists in message, Use md5 message digest of header.
1634 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1636 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1637 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1638 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1639 * elmo-split.el (elmo-split-subr): Check return value of
1640 elmo-folder-append-buffer.
1642 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1643 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1645 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1648 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1650 * elmo-split.el (elmo-split-subr): Append message with flag.
1652 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1653 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1654 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1656 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1658 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1659 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1660 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1662 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1664 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1665 with a function call of `process-buffer'. All callers are updated.
1666 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1667 Remove redundant `set-buffer' in a while loop.
1669 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1671 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1674 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1676 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1677 elsp-spamfilter-register-buffer-internal with current buffer.
1678 (elmo-spam-register-spam-buffer): Ditto.
1679 (elmo-spam-register-good-buffer): Ditto.
1681 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1683 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1684 if it is not contained in the response(A workaround for courier-imap).
1686 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1688 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1691 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1693 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1696 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1698 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1701 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1703 (elmo-msgdb-message-match-condition): Follow the change above.
1705 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1707 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1710 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1712 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1714 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1716 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1718 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1720 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1723 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1725 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1727 (elmo-file-command-argument): Undo last change for cygwin.
1728 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1730 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1732 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1734 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1735 value returned from elmo-file-find is nil.
1737 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1739 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1742 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1743 instead of insert-file-contents-as-binary.
1744 (elmo-message-set-field): New generic function.
1746 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1747 behavior change on `split-string'.
1749 * elmo-file.el (elmo-file-find): New function.
1750 (elmo-file-command): New user option.
1751 (elmo-file-command-argument): Ditto.
1752 (elmo-file-fetch-max-size): Ditto.
1753 (elmo-file-detect-format): New function.
1754 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1755 Use elmo-file-detect-format.
1756 (elmo-map-folder-list-message-locations): Don't treat directories.
1758 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1760 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1761 (elmo-passwd-alist-clear): Shred password before clear.
1762 (elmo-remove-passwd): Remove all mached pair.
1764 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1766 * elmo.el (elmo-folder-synchronize): Fix description of the return
1769 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1771 * elmo.el (elmo-message-fetch-bodystructure): New method.
1772 (elmo-message-fetch-bodystructure): Define default.
1774 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1775 elmo-message-fetch-bodystructure.
1776 (elmo-message-fetch-bodystructure): Define.
1778 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1780 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1782 * elmo-filter.el (elmo-message-folder): Define.
1784 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1786 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1787 elmo-delete-cr-buffer.
1789 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1791 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1793 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1795 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1796 type seems to be a text.
1798 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1800 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1801 (elmo-spam-register-good-buffer): Ditto.
1802 (elmo-spam-spamassassin-register-messages): Ditto.
1804 * elmo-util.el (elmo-string-member-ignore-case): Define with
1807 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1809 * elmo.el (elmo-folder-type): Undo last change.
1811 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1813 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1816 * elmo-file.el: New file.
1818 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1820 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1822 (elmo-spam-spamassassin-register-messages): New inline function.
1823 (elmo-spam-register-spam-messages): Define.
1824 (elmo-spam-register-good-messages): Ditto.
1826 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1829 * elmo.el (toplevel): Added autoload setting for
1830 `elmo-get-global-flags'.
1831 (elmo-message-has-global-flag-p): New function.
1832 (elmo-message-set-global-flags): Ditto.
1833 (elmo-folder-type): Improvement for name: format.
1835 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1836 availability of keyword flags.
1837 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1838 (elmo-folder-list-flagged-plugged): Renamed from
1839 elmo-folder-list-flagged-unplugged.
1840 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1841 accept any flag as keyword flag.
1842 (elmo-folder-set-flag-plugged): Accept keyword flags.
1843 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1845 * elmo-flag.el (elmo-get-global-flags): New function.
1847 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1850 * elmo-version.el (elmo-version): Up to 2.11.24.
1852 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1854 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1855 elmo-multiple-field-body instead of std11-field-body to check all
1858 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1860 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1863 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1865 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1866 unintern is unbound.
1868 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1870 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1871 Protect from infinite loop.
1873 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1875 * elsp-bogofilter.el
1876 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1877 (elmo-spam-bogofilter-register-messages): New internal function.
1878 (elmo-spam-register-spam-messages): Define.
1879 (elmo-spam-register-good-messages): Ditto.
1881 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1883 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1884 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1885 (elmo-spam-bogofilter-call): Fixed the last change.
1886 (elmo-spam-bogofilter-arguments): Ditto.
1888 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1889 Follow the options change of latest bogofilter.
1891 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1892 (elmo-spam-bogofilter-good-switch): Ditto.
1893 (elmo-spam-bogofilter-arguments-alist): New user option.
1894 (elmo-spam-bogofilter-debug): Ditto.
1895 (elmo-spam-bogofilter-call): Renamed from
1896 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1897 is non-nil, insert output in buffer for debug.
1898 (elmo-spam-bogofilter-arguments): New macro.
1899 (elmo-spam-buffer-spam-p): Use it.
1900 (elsp-bogofilter-register-buffer): Ditto.
1902 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1904 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1907 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1909 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1911 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1912 (elmo-spam-bsfilter-program): Set default value as full path for
1914 (elmo-spam-bsfilter-debug): New user option.
1915 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1916 non-nil, insert output in buffer for debug. Fix treating of
1919 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1921 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1922 `elmo-maildir-flag-specs' element instead of one.
1923 (elmo-map-folder-unset-flag): Ditto.
1924 (Reported by Ken Makimura <macky@astem.or.jp>)
1926 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1927 (elmo-folder-unset-flag-plugged): Ditto.
1929 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1931 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1932 to `reads' slot only if `in-msgdb' is nil.
1934 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1936 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1937 and complement argument list.
1939 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1941 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1942 instead of elmo-folder-list-flagged.
1944 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1946 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1948 * elsp-bsfilter.el: New file.
1950 * elmo-pipe.el (elmo-folder-list-unreads,
1951 elmo-folder-list-answereds,
1952 elmo-folder-list-importants,
1953 elmo-folder-flag-as-important,
1954 elmo-folder-unflag-important,
1955 elmo-folder-flag-as-read,
1956 elmo-folder-unflag-read,
1957 elmo-folder-flag-as-answered,
1958 elmo-folder-unflag-answered): Remove.
1959 (elmo-folder-set-flag): Define.
1960 (elmo-folder-unset-flag): Ditto.
1962 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1963 (elmo-folder-set-flag): Define.
1964 (elmo-folder-unset-flag): Ditto.
1965 (elmo-folder-list-unreads): Remove.
1966 (elmo-folder-list-flagged): Define.
1968 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1969 (elmo-folder-list-unreads,
1970 elmo-folder-list-importants,
1971 elmo-folder-list-answereds,
1972 elmo-folder-list-unreads-plugged,
1973 elmo-folder-list-importants-plugged,
1974 elmo-folder-list-answereds-plugged): Remove.
1975 (elmo-folder-list-flagged-plugged): New method.
1976 (elmo-folder-unflag-important,
1977 elmo-folder-flag-as-important,
1978 elmo-folder-unflag-read,
1979 elmo-folder-flag-as-read,
1980 elmo-folder-unflag-answered,
1981 elmo-folder-flag-as-answered,
1982 elmo-folder-flag-as-read-unplugged,
1983 elmo-folder-unflag-read-unplugged,
1984 elmo-folder-flag-as-important-unplugged,
1985 elmo-folder-unflag-important-unplugged,
1986 elmo-folder-flag-as-answered-unplugged,
1987 elmo-folder-unflag-answered-unplugged): Remove.
1988 (elmo-folder-set-flag): Define.
1989 (elmo-folder-unset-flag): Ditto.
1990 (elmo-folder-set-flag-unplugged): Ditto.
1991 (elmo-folder-unset-flag-unplugged): Ditto.
1993 * elmo-multi.el (elmo-folder-list-unreads,
1994 elmo-folder-list-answereds,
1995 elmo-folder-list-importants,
1996 elmo-folder-flag-as-important,
1997 elmo-folder-unflag-important,
1998 elmo-folder-flag-as-read,
1999 elmo-folder-unflag-read,
2000 elmo-folder-flag-as-answered,
2001 elmo-folder-unflag-answered): Remove.
2002 (elmo-folder-set-flag): Define.
2003 (elmo-folder-unset-flag): Ditto.
2005 * elmo-map.el (elmo-map-folder-unflag-important,
2006 elmo-map-folder-flag-as-important,
2007 elmo-map-folder-unflag-read,
2008 elmo-map-folder-flag-as-read,
2009 elmo-map-folder-unflag-answered,
2010 elmo-map-folder-flag-as-answered): Remove.
2011 (elmo-map-folder-set-flag): New method.
2012 (elmo-map-folder-unset-flag): Ditto.
2013 (elmo-map-folder-list-unreads,
2014 elmo-map-folder-list-importants,
2015 elmo-map-folder-list-answereds): Remove.
2016 (elmo-folder-list-flagged-internal): Define.
2017 (elmo-map-folder-list-flagged): New method.
2019 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2020 (elmo-map-folder-list-unreads,
2021 elmo-map-folder-list-importants,
2022 elmo-map-folder-list-flagged): Remove.
2023 (elmo-map-folder-list-flagged): Define.
2024 (elmo-map-folder-flag-as-important,
2025 elmo-map-folder-unflag-important,
2026 elmo-map-folder-flag-as-read,
2027 elmo-map-folder-unflag-read,
2028 elmo-map-folder-flag-as-answered,
2029 elmo-map-folder-unflag-answered): Remove.
2030 (elmo-maildir-set-mark-messages): New internal function.
2031 (elmo-map-folder-set-flag): Define.
2032 (elmo-map-folder-unset-flag): Ditto.
2034 * elmo.el (toplevel): Added autoload setting for
2035 `elmo-folder-list-global-flag-messages'.
2036 (elmo-folder-list-unreads,
2037 elmo-folder-list-importants,
2038 elmo-folder-list-answereds): Remove.
2039 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2040 Return a list whitch merged with messages have global flag.
2041 (elmo-folder-list-flagged-internal): New method.
2042 (elmo-folder-unflag-important,
2043 elmo-folder-flag-as-important,
2044 elmo-folder-unflag-read,
2045 elmo-folder-flag-as-read,
2046 elmo-folder-unflag-answered,
2047 elmo-folder-flag-as-answered): Remove.
2048 (elmo-folder-set-flag): New method.
2049 (elmo-folder-unset-flag): Ditto.
2050 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2051 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2053 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2054 (elmo-folder-list-unreads-plugged,
2055 elmo-folder-list-importants-plugged,
2056 elmo-folder-list-answereds-plugged,
2057 elmo-folder-list-flagged-unplugged,
2058 elmo-folder-unflag-important-plugged,
2059 elmo-folder-flag-as-important-plugged,
2060 elmo-folder-unflag-read-plugged,
2061 elmo-folder-flag-as-read-plugged,
2062 elmo-folder-unflag-answered-plugged,
2063 elmo-folder-flag-as-answered-plugged): Remove.
2064 (elmo-folder-set-flag-plugged,
2065 elmo-folder-unset-flag-plugged): Define.
2067 * elmo-flag.el (elmo-folder-initialize): Register to
2068 `elmo-global-flag-list' if flag is not global.
2069 (elmo-folder-append-messages): Set flag to source messages.
2071 * elmo-filter.el (elmo-filter-folder-list-unreads,
2072 elmo-folder-list-unreads,
2073 elmo-filter-folder-list-importants,
2074 elmo-folder-list-importants,
2075 elmo-folder-flag-as-read,
2076 elmo-folder-unflag-read,
2077 elmo-folder-flag-as-important,
2078 elmo-folder-unflag-important,
2079 elmo-folder-flag-as-answered,
2080 elmo-folder-unflag-answered): Remove.
2081 (elmo-folder-set-flag): Define.
2082 (elmo-folder-unset-flag): Ditto.
2084 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2085 elmo-folder-unflag-read-dop,
2086 elmo-folder-flag-as-important-dop,
2087 elmo-folder-unflag-important-dop,
2088 elmo-folder-flag-as-answered-dop,
2089 elmo-folder-unflag-answered-dop): Remove.
2090 (elmo-folder-set-flag-dop,
2091 elmo-folder-unset-flag-dop,
2092 elmo-folder-set-important-delayed,
2093 elmo-folder-unset-important-delayed,
2094 elmo-folder-set-read-delayed,
2095 elmo-folder-unset-read-delayed,
2096 elmo-folder-set-answered-delayed,
2097 elmo-folder-unset-answered-delayed): New function.
2098 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2099 (elmo-dop-queue-method-name-alist): Ditto.
2101 * elmo-version.el (elmo-version): Up to 2.11.23.
2103 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2105 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2107 * elsp-sa.el: New file.
2109 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2111 * modb-standard.el (modb-standard-message-entity): New function.
2112 (elmo-msgdb-message-entity): Use it.
2114 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2116 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2117 behavior when one-level is nil.
2119 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2121 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2123 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2125 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2127 (elmo-generic-folder-diff): Ditto.
2129 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2130 (elmo-folder-update-number): Ditto.
2132 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2133 (elmo-folder-next-message-number-dop): Ditto.
2135 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2137 * elmo-filter.el (elmo-folder-msgdb-create): Use
2138 `elmo-message-entity' and `elmo-message-flags' instead of
2139 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2141 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2143 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2146 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2148 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2150 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2152 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2154 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2156 * elmo-version.el (elmo-version): Up to 2.11.22.
2158 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2160 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2162 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2164 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2165 if the message dose not exist.
2167 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2169 * elmo-version.el (elmo-version): Up to 2.11.21.
2171 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2173 * modb-standard.el (toplevel): Don't require mime.
2175 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2177 * elsp-bogofilter.el (toplevel): Don't require path-util.
2178 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2179 (elmo-spam-bogofilter-header): Abolish.
2180 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2181 (elmo-spam-bogofilter-args): New user option.
2182 (elsp-bogofilter-call-bogofilter): New internal function.
2183 (elmo-spam-buffer-spam-p): Use it.
2184 (elsp-bogofilter-register-buffer): Renamed from
2185 `elmo-spam-bogofilter-register-buffer';
2186 Use `elsp-bogofilter-call-bogofilter'.
2187 (elmo-spam-register-spam-buffer): Follow the change above.
2188 (elmo-spam-register-good-buffer): Ditto.
2190 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2192 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2193 message-id is nil do nothing.
2195 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2197 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2199 (elmo-imap4-session): Removed use-flag slot.
2200 (elmo-imap4-session-select-mailbox): Undo last change.
2201 (elmo-folder-use-flag-p): Use
2202 elmo-imap4-disuse-server-flag-mailbox-regexp.
2204 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2206 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2207 (elmo-imap4-session-select-mailbox): Set it up.
2208 (elmo-folder-use-flag-p): Return value of use-flag slot.
2210 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2212 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2214 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2216 * modb-entity.el (elmo-message-entity-handler): Likewise.
2218 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2220 * elmo.el (toplevel): Remove setting of autoloding for
2221 elmo-global-flag-initialize.
2222 (elmo-init): Don't call elmo-global-flag-initialize.
2223 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2225 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2226 (elmo-global-mark-migrate): Don't call it.
2227 (elmo-global-mark-upgrade): Ditto.
2229 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2231 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2232 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2234 * elmo-vars.el (elmo-init-hook): New user option.
2236 * elmo.el (elmo-init): Run the elmo-init-hook.
2238 * elmo-flag.el (elmo-global-mark-migrate): New function.
2240 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2242 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2243 Undo last change (move to elmo-msgdb-unset-flag).
2244 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2247 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2249 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2251 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2252 (elmo-msgdb-unset-flag): Ditto.
2254 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2256 * elmo-split.el (elmo-split): Return split message count.
2258 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2260 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2263 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2265 * elmo.el (elmo-folder-unflag-important): Call
2266 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2269 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2271 (elmo-global-flag-detach): Delete the message from flag folder, if
2272 `delete-if-none' is a symbol `always'.
2274 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2276 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2277 `elmo-spam-spamfilter-decode-buffer'.
2278 (elsp-spamfilter-register-buffer-internal): New internal function.
2279 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2280 (elmo-spam-register-spam-buffer): Ditto.
2281 (elmo-spam-register-good-buffer): Ditto.
2283 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2285 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2286 (elmo-spam-register-spam-buffer): Follow the API change.
2287 (elmo-spam-register-good-buffer): Ditto.
2289 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2290 (elmo-split-spam-p): Added argument plist; Call
2291 `elmo-spam-buffer-spam-p' with new argument register.
2293 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2295 (elmo-spam-message-spam-p): Ditto.
2296 (elmo-spam-register-spam-buffer): Added optional argument
2298 (elmo-spam-register-good-buffer): Ditto.
2299 (elmo-spam-register-spam-messages): Ditto.
2300 (elmo-spam-register-good-messages): Ditto.
2302 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2304 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2305 register into good corpus.
2306 (elmo-spam-register-good-buffer): Fixed to register into bad
2309 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2311 * elmo-version.el (elmo-version): Up to 2.11.20.
2313 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2316 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2317 flag without depending on \Recent flag.
2319 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2321 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2322 (elmo-spam-modified-p): Defined.
2323 (elmo-spam-save-status): Set `modified' slot to nil.
2324 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2325 (elmo-spam-register-good-buffer): Ditto.
2327 * elmo-spam.el (elmo-spam-modified-p): New API.
2329 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2331 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2332 duplicate definition.
2334 * elmo-util.el (elmo-unfold-field-body): New function.
2335 (elmo-msgdb-get-message-id-from-buffer): Use it.
2337 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2338 Fixed the last change; Use elmo-unfold-field-body.
2340 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2342 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2345 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2347 * elmo-spam.el (elmo-spam-save-status): New API.
2349 * elsp-spamfilter.el: New file.
2351 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2353 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2355 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2357 * elmo-split.el (elmo-split-spam-p): New function.
2359 * elmo-spam.el: New file.
2361 * elsp-bogofilter.el: Ditto.
2363 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2365 * elmo.el (elmo-folder-next-message-number): New API.
2366 (elmo-folder-next-message-number): Define.
2367 (elmo-message-field): Don't check folder length.
2369 * elmo-net.el (elmo-folder-next-message-number): Define.
2370 (elmo-folder-next-message-number-unplugged): Define.
2372 * elmo-map.el (elmo-folder-next-message-number): Define.
2373 (elmo-folder-delete-messages): Clear hash value.
2375 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2377 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2378 (elmo-folder-delete-messages-dop-delayed): Always return t.
2380 * elmo-version.el (elmo-version): Up to 2.11.19.
2382 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2384 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2387 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2388 identical cons cell into the mark-alist and the hash table.
2390 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2392 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2393 elmo-folder-list-messages with argument `visible-only' as t.
2395 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2396 (elmo-folder-msgdb-create): Check the target folder.
2398 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2400 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2401 `permanentflag' instead of `flags'.
2402 (elmo-folder-open): Ditto.
2403 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2404 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2405 (elmo-folder-use-flag-p): Always return t.
2406 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2407 `permanentflags' does not exist.
2408 (elmo-folder-open): Ditto.
2410 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2412 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2414 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2416 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2417 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2419 (elmo-folder-open): Ditto.
2420 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2421 slot of the session includes the flag.
2422 (elmo-imap4-session-flag-available-p): New function.
2423 (elmo-imap4-folder-list-flagged): Ditto.
2424 (elmo-folder-list-unreads-plugged): Use it.
2425 (elmo-folder-list-importants-plugged): Ditto.
2426 (elmo-folder-list-answereds-plugged): Ditto.
2427 (elmo-imap4-search-internal-primitive): Ditto.
2428 (elmo-imap4-folder-list-any-plugged,
2429 elmo-imap4-folder-list-digest-plugged): Abolish.
2431 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2434 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2436 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2438 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2440 * elmo-util.el (elmo-get-hash-val): Simplify.
2441 (elmo-set-hash-val): Rewrite.
2443 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2445 * elmo.el (elmo-folder-list-messages): Append killed messages into
2446 result if `visible-only' is nil and `in-msgdb' is non-nil.
2448 * elmo-util.el (elmo-uniq-list): Added optional argument
2451 * modb.el (elmo-msgdb-flag-count): New API.
2453 * modb-standard.el (modb-standard): Added slot flag-count.
2454 (modb-standard-countup-flags): New function.
2455 (modb-standard-load-flag): Call it.
2456 (elmo-msgdb-append): Ditto.
2457 (elmo-msgdb-clear): Clear slot flag-count.
2458 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2459 (elmo-msgdb-unset-flag): Treat `all' flag and call
2460 modb-standard-countup-flags.
2461 (elmo-msgdb-flag-count): Define.
2462 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2463 (elmo-msgdb-delete-messages): Ditto.
2465 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2466 (elmo-msgdb-flag-count): Define.
2468 * elmo.el (elmo-folder-list-messages): Undo last change.
2469 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2470 (elmo-folder-kill-messages): Unset all flags to numbers.
2472 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2473 elmo-folder-kill-messages.
2475 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2476 (elmo-nntp-folder-delete-messages): Abolish.
2478 * elmo-version.el (elmo-version): Up to 2.11.18.
2480 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2482 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2483 (elmo-folder-kill-messages-range): New function.
2484 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2485 instead of elmo-folder-kill-messages-before.
2487 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2489 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2490 elmo-imap4-current-msgdb to decide entity handler.
2492 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2494 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2496 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2498 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2499 (elmo-msgdb-overview-entity-set-number,
2500 elmo-msgdb-overview-entity-get-references,
2501 elmo-msgdb-overview-entity-set-references,
2502 elmo-msgdb-overview-entity-get-from-no-decode,
2503 elmo-msgdb-overview-entity-get-from,
2504 elmo-msgdb-overview-entity-set-from,
2505 elmo-msgdb-overview-entity-get-subject,
2506 elmo-msgdb-overview-entity-get-subject-no-decode,
2507 elmo-msgdb-overview-entity-set-subject,
2508 elmo-msgdb-overview-entity-get-date,
2509 elmo-msgdb-overview-entity-set-date,
2510 elmo-msgdb-overview-entity-get-to,
2511 elmo-msgdb-overview-entity-get-cc,
2512 elmo-msgdb-overview-entity-get-size,
2513 elmo-msgdb-overview-entity-set-size,
2514 elmo-msgdb-overview-entity-get-extra,
2515 elmo-msgdb-overview-entity-set-extra,
2516 elmo-msgdb-overview-entity-get-extra-field,
2517 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2518 (elmo-msgdb-make-index): Use
2519 `elmo-msgdb-overview-entity-get-number-internal'.
2520 (elmo-msgdb-clear-index): Ditto.
2521 (elmo-msgdb-append-entity): Ditto;
2522 Use `elmo-msgdb-overview-entity-get-id-internal'.
2524 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2525 elmo-msgdb-overview-entity-set-number,
2526 elmo-msgdb-overview-entity-get-references,
2527 elmo-msgdb-overview-entity-set-references,
2528 elmo-msgdb-overview-entity-get-from-no-decode,
2529 elmo-msgdb-overview-entity-get-from,
2530 elmo-msgdb-overview-entity-set-from,
2531 elmo-msgdb-overview-entity-get-subject,
2532 elmo-msgdb-overview-entity-get-subject-no-decode,
2533 elmo-msgdb-overview-entity-set-subject,
2534 elmo-msgdb-overview-entity-get-date,
2535 elmo-msgdb-overview-entity-set-date,
2536 elmo-msgdb-overview-entity-get-to,
2537 elmo-msgdb-overview-entity-get-cc,
2538 elmo-msgdb-overview-entity-get-size,
2539 elmo-msgdb-overview-entity-set-size,
2540 elmo-msgdb-overview-entity-get-extra,
2541 elmo-msgdb-overview-entity-set-extra,
2542 elmo-msgdb-overview-entity-get-extra-field,
2543 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2544 and rewrote for backward compatibility.
2546 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2548 * elmo.el (elmo-message-entity-number,
2549 elmo-message-entity-set-number,
2550 elmo-message-entity-field,
2551 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2553 * elmo-msgdb.el (elmo-message-entity-number,
2554 elmo-message-entity-set-number,
2555 elmo-message-entity-field,
2556 elmo-message-entity-set-field): Moved from elmo.el.
2558 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2560 * elmo.el (toplevel): Changed definition orders.
2562 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2564 * modb.el (elmo-msgdb-search): New API .
2565 (elmo-msgdb-match-condition): Ditto.
2567 * modb-standard.el (elmo-msgdb-search): Define.
2569 * modb-legacy.el (elmo-msgdb-search): Ditto.
2571 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2572 from elmo-msgdb-match-condition-internal.
2574 * elmo.el (elmo-folder-search-fast): Abolish.
2575 (elmo-folder-search): Use elmo-msgdb-search and
2576 elmo-with-progress-display.
2578 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2581 * elmo.el (elmo-folder): Remove slot message-modified and
2583 (elmo-folder-set-message-modified): Abolish.
2584 (elmo-generic-folder-commit): Follow the change above.
2585 (elmo-folder-synchronize): Ditto.
2587 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2589 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2591 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2593 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2595 * modb-standard.el (modb-standard-make-message-entity,
2596 elmo-msgdb-make-message-entity,
2597 elmo-msgdb-create-message-entity-from-buffer,
2598 elmo-msgdb-message-entity-number,
2599 elmo-msgdb-message-entity-set-number,
2600 elmo-msgdb-message-entity-field,
2601 elmo-msgdb-message-entity-set-field,
2602 elmo-msgdb-copy-message-entity,
2603 elmo-msgdb-match-condition-internal): Remove.
2605 * modb-entity.el: New file (again).
2607 * modb.el (toplevel): Require modb-entity.
2608 (elmo-msgdb-message-entity-handler): New method.
2610 * modb-standard.el (modb-standard-entity-id): Use
2611 elmo-message-entity-handler.
2612 (modb-standard-load-entity): Ditto.
2613 (elmo-msgdb-append-entity): Ditto.
2614 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2616 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2617 elmo-msgdb-decoded-cache-hashtb,
2618 (modb-legacy-make-message-entity,
2619 elmo-msgdb-make-message-entity,
2620 elmo-msgdb-create-message-entity-from-buffer,
2621 elmo-msgdb-message-entity-number,
2622 elmo-msgdb-message-entity-set-number,
2623 elmo-msgdb-message-entity-field,
2624 elmo-msgdb-message-entity-set-field,
2625 elmo-msgdb-copy-message-entity,
2626 elmo-msgdb-match-condition-internal,
2627 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2629 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2630 (elmo-message-entity-set-number): Ditto.
2631 (elmo-message-entity-field): Ditto.
2632 (elmo-message-entity-set-field): Ditto.
2634 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2636 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2638 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2640 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2641 (elmo-nntp-msgdb-create-message): Ditto.
2643 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2644 (elmo-folder-msgdb-create): Add unread flag.
2646 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2648 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2650 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2652 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2654 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2655 elmo-msgdb-messge-entity-handler.
2656 * elmo-version.el (elmo-version): Up to 2.11.17.
2658 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2660 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2663 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2665 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2667 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2668 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2669 (elmo-msgdb-flag-table): Ditto.
2670 (elmo-msgdb-sort-by-date): Ditto.
2672 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2674 * modb-standard.el (toplevel): Require mime.
2675 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2676 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2677 elmo-msgdb-message-entity-number.
2678 (elmo-msgdb-append-entity): Ditto.
2679 (elmo-msgdb-create-message-entity-from-file): Remove.
2680 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2681 corresponds to the entity.
2682 (elmo-msgdb-message-entity-number): Do nothing currently.
2683 (elmo-msgdb-message-entity-field): Ditto.
2684 (elmo-msgdb-message-entity-set-field): Ditto.
2685 (elmo-msgdb-copy-message-entity): Ditto.
2686 (elmo-msgdb-match-condition-internal): Ditto.
2688 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2690 (elmo-msgdb-create-message-entity-from-file): Remove.
2692 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2694 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2696 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2698 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2700 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2701 (elmo-msgdb-message-entity-field): Ditto.
2702 (elmo-msgdb-message-entity-number): Ditto.
2704 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2706 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2707 Fixed how to set extra field into entity.
2708 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2711 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2712 Fixed how to set extra field into entity.
2713 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2716 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2718 * modb.el (elmo-message-entity-db): New function.
2719 (elmo-msgdb-make-message-entity): New API.
2720 (elmo-msgdb-message-entity-number): Ditto.
2721 (elmo-msgdb-message-entity-set-number): Ditto.
2722 (elmo-msgdb-message-entity-field): Ditto.
2723 (elmo-msgdb-message-entity-set-field): Ditto.
2724 (elmo-msgdb-copy-message-entity): Ditto.
2725 (elmo-msgdb-create-message-entity-from-file): Ditto.
2726 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2727 (elmo-msgdb-match-condition-internal): Ditto.
2729 * modb-standard.el (modb-legacy): Require modb-legacy.
2730 (modb-standard-make-message-entity): New inline function.
2731 (elmo-msgdb-make-message-entity): Define.
2732 (elmo-msgdb-create-message-entity-from-file): Ditto.
2733 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2734 (elmo-msgdb-message-entity-field): Ditto.
2735 (elmo-msgdb-message-entity-set-field): Ditto.
2736 (elmo-msgdb-copy-message-entity): Ditto.
2737 (elmo-msgdb-match-condition-internal): Ditto.
2739 * modb-legacy.el: Don't require modb-entity.
2740 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2741 (elmo-msgdb-match-condition-primitive): Ditto.
2742 (elmo-msgdb-get-decoded-cache): Ditto.
2743 (elmo-msgdb-overview-entity-get-id): Ditto.
2744 (elmo-msgdb-overview-entity-get-number): Ditto.
2745 (elmo-msgdb-overview-entity-set-number): Ditto.
2746 (elmo-msgdb-overview-entity-get-references): Ditto.
2747 (elmo-msgdb-overview-entity-set-references): Ditto.
2748 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2749 (elmo-msgdb-overview-entity-get-from): Ditto.
2750 (elmo-msgdb-overview-entity-set-from): Ditto.
2751 (elmo-msgdb-overview-entity-get-subject): Ditto.
2752 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2753 (elmo-msgdb-overview-entity-set-subject): Ditto.
2754 (elmo-msgdb-overview-entity-get-date): Ditto.
2755 (elmo-msgdb-overview-entity-set-date): Ditto.
2756 (elmo-msgdb-overview-entity-get-to): Ditto.
2757 (elmo-msgdb-overview-entity-get-cc): Ditto.
2758 (elmo-msgdb-overview-entity-get-size): Ditto.
2759 (elmo-msgdb-overview-entity-set-size): Ditto.
2760 (elmo-msgdb-overview-entity-get-extra): Ditto.
2761 (elmo-msgdb-overview-entity-set-extra): Ditto.
2762 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2763 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2764 (elmo-msgdb-number-load): Ditto.
2765 (elmo-msgdb-overview-load): Ditto.
2766 (elmo-msgdb-mark-load): Ditto.
2767 (elmo-msgdb-number-save): Ditto.
2768 (elmo-msgdb-mark-save): Ditto.
2769 (elmo-msgdb-overview-save): Ditto.
2770 (modb-legacy-make-message-entity): New inline function.
2771 (elmo-msgdb-insert-file-header): Ditto.
2772 (elmo-msgdb-make-message-entity): Define.
2773 (elmo-msgdb-create-message-entity-from-file): Ditto.
2774 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2775 (elmo-msgdb-message-entity-number): Ditto.
2776 (elmo-msgdb-message-entity-set-number): Ditto.
2777 (elmo-msgdb-message-entity-field): Ditto.
2778 (elmo-msgdb-message-entity-set-field): Ditto.
2779 (elmo-msgdb-copy-message-entity): Ditto.
2780 (elmo-msgdb-match-condition-internal): Ditto.
2782 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2783 (elmo-message-copy-entity): Rewrite.
2784 (elmo-message-entity-number): Ditto.
2785 (elmo-message-entity-set-number): Ditto.
2786 (elmo-message-entity-field): Use elmo-message-entity-db.
2787 (elmo-message-entity-set-field): Ditto.
2788 (elmo-message-field): Rewrite.
2790 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2792 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2794 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2795 elmo-message-entity-field.
2796 (elmo-shimbun-folder-shimbun-header): Ditto.
2797 (elmo-shimbun-entity-to-header): Ditto.
2798 (elmo-folder-msgdb-create): Ditto.
2799 (elmo-shimbun-msgdb-create-entity): Ditto;
2800 Use elmo-msgdb-create-message-entity-from-buffer.
2801 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2802 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2804 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2805 elmo-msgdb-create-message-entity-from-file and
2806 elmo-message-entity-field.
2808 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2809 elmo-message-entity-number.
2810 (elmo-pop3-msgdb-create-message): Use
2811 elmo-msgdb-create-message-entity-from-buffer,
2812 elmo-message-entity-set-field, elmo-message-entity-number and
2813 elmo-message-entity-set-number.
2815 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2816 the API change in elmo-msgdb-make-message-entity.
2817 (elmo-nntp-msgdb-create-message): Use
2818 elmo-msgdb-create-message-entity-from-buffer.
2820 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2821 elmo-message-entity-field and
2822 elmo-msgdb-create-message-entity-from-file.
2824 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2825 (elmo-msgdb-get-field): Abolish.
2826 (elmo-msgdb-get-number): Rewrite.
2827 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2828 (elmo-msgdb-flag-table): Ditto.
2829 (elmo-msgdb-get-last-message-id,
2830 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2831 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2832 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2833 (elmo-msgdb-create-overview-from-buffer,
2834 elmo-msgdb-overview-get-parent-entity): Abolish.
2836 * elmo-mime.el (elmo-mime-display-as-is): Use
2837 elmo-message-entity-field.
2839 * elmo-map.el (elmo-folder-pack-numbers): Use
2840 elmo-message-entity-set-number.
2842 * elmo-maildir.el (elmo-folder-msgdb-create):
2843 elmo-msgdb-create-message-entity-from-file instead of
2844 elmo-msgdb-create-overview-entity-from-file.
2846 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2848 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2849 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2851 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2852 elmo-messge-entity-field and elmo-message-entity-number.
2853 (elmo-imap4-fetch-callback-1): Call
2854 elmo-msgdb-create-message-entity-from-buffer instead of
2855 elmo-msgdb-create-overview-from-buffer.
2856 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2857 (elmo-find-fetch-strategy): Likewise.
2859 * elmo-flag.el (elmo-folder-msgdb-create): Call
2860 elmo-localdir-msgdb-create-entity with argument msgdb.
2862 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2863 and elmo-message-entity-set-number.
2865 * elmo-cache.el (elmo-folder-msgdb-create): Use
2866 elmo-message-entity-field.
2867 (elmo-folder-msgdb-create): Call
2868 elmo-msgdb-create-message-entity-from-file instead of
2869 elmo-msgdb-create-overview-entity-from-file.
2871 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2872 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2873 instead of elmo-msgdb-create-overview-from-buffer.
2874 (elmo-archive-msgdb-create-entity): Ditto.
2875 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2876 elmo-message-entity-field.
2877 (elmo-archive-parse-mmdf): Ditto.
2879 * modb-entity.el: Removed.
2881 * elmo-version.el (elmo-version): Up to 2.11.16.
2883 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2885 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2887 (elmo-folder-flag-as-answered): Ditto.
2889 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2891 * modb-standard.el: New file.
2893 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2894 elmo-msgdb-convert-type is `sync'.
2896 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2897 (elmo-msgdb-convert-type): New user option.
2899 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2900 (elmo-load-msgdb): Auto detect saved type.
2902 * elmo-version.el (elmo-version): Up to 2.11.15.
2904 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2906 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2908 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2909 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2910 with argument `delete-if-none' when dst-folder is 'null.
2912 * elmo-flag.el (elmo-folder-append-messages): Defined.
2913 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2915 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2917 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2919 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2921 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2922 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2923 (elmo-folder-commit): Ditto.
2925 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2927 * elmo-flag.el: New file.
2929 * elmo-mark.el: Removed.
2931 * modb-legacy.el (modb-legacy-new-mark,
2932 modb-legacy-unread-uncached-mark,
2933 modb-legacy-unread-cached-mark,
2934 modb-legacy-read-uncached-mark,
2935 modb-legacy-answered-cached-mark,
2936 modb-legacy-answered-uncached-mark,
2937 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2938 All other related portions are changed.
2940 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2941 (elmo-folder-list-messages-with-global-mark): Abolish.
2942 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2943 (elmo-folder-flag-as-important): Ditto.
2944 (elmo-folder-unflag-read): Ditto.
2945 (elmo-folder-flag-as-read): Ditto.
2946 (elmo-folder-unflag-answered): Ditto.
2947 (elmo-folder-flag-as-answered): Ditto.
2948 (elmo-message-encache): Return the cache path.
2949 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2950 (elmo-message-set-flag): Transitional implementation.
2951 (elmo-message-unset-flag): Ditto.
2952 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2953 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2954 (elmo-init): Call elmo-global-flag-initialize.
2955 (toplevel): Added autoload settings for elmo-flag.
2957 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2959 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2960 (elmo-file-cache-delete): Don't treat global-mark.
2962 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2964 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2966 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2967 `elmo-global-flags-set'.
2969 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2971 (elmo-folder-unflag-read): Ditto.
2972 (elmo-folder-unflag-important): Ditto.
2973 (elmo-folder-flag-as-important): Ditto.
2974 (elmo-folder-unflag-answered): Ditto.
2975 (elmo-folder-flag-as-answered): Ditto.
2977 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2978 `elmo-global-flags-set'.
2979 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2981 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2983 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2985 (elmo-folder-flag-as-important): Ditto.
2986 (elmo-folder-unflag-important): Ditto.
2987 (elmo-folder-flag-as-important): Ditto.
2988 (elmo-folder-unflag-read): Ditto.
2989 (elmo-folder-flag-as-read): Ditto.
2990 (elmo-folder-unflag-answered): Ditto.
2991 (elmo-folder-flag-as-answered): Ditto.
2993 * elmo-multi.el (elmo-folder-list-importants): Don't call
2994 elmo-folder-list-messages-with-global-mark.
2995 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2996 (elmo-folder-unflag-important): Ditto.
2997 (elmo-folder-flag-as-read): Ditto.
2998 (elmo-folder-unflag-read): Ditto.
2999 (elmo-folder-flag-as-answered): Ditto.
3000 (elmo-folder-unflag-answered): Ditto.
3002 * elmo-msgdb.el (elmo-msgdb-new-mark,
3003 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3004 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3005 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3006 (Moved to modb-legacy.el).
3007 (elmo-flag-table-get): Treat important flag too.
3009 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3011 (elmo-map-folder-flag-as-important): Ditto.
3012 (elmo-map-folder-unflag-read): Ditto.
3013 (elmo-map-folder-flag-as-read): Ditto.
3014 (elmo-map-folder-unflag-answered): Ditto.
3015 (elmo-map-folder-flag-as-answered): Ditto.
3016 (elmo-folder-unflag-important): Ditto.
3017 (elmo-folder-flag-as-important): Ditto.
3018 (elmo-folder-unflag-read): Ditto.
3019 (elmo-folder-flag-as-read): Ditto.
3020 (elmo-folder-unflag-answered): Ditto.
3021 (elmo-folder-flag-as-answered): Ditto.
3023 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3024 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3026 (elmo-map-folder-unflag-important): Ditto.
3027 (elmo-map-folder-flag-as-read): Ditto.
3028 (elmo-map-folder-unflag-read): Ditto.
3029 (elmo-map-folder-flag-as-answered): Ditto.
3030 (elmo-map-folder-unflag-answered): Ditto.
3032 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3033 `elmo-global-flags-set'.
3034 (elmo-global-flags-set): Added autoload setting.
3036 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3039 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3040 `elmo-msgdb-global-mark-set'.
3041 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3042 Call `elmo-global-flags-set'.
3043 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3045 (elmo-folder-flag-as-important-plugged): Ditto.
3046 (elmo-folder-unflag-read-plugged): Ditto.
3047 (elmo-folder-flag-as-read-plugged): Ditto.
3048 (elmo-folder-unflag-answered-plugged): Ditto.
3049 (elmo-folder-flag-as-answered-plugged): Ditto.
3050 (elmo-global-flags-set): Added autoload setting.
3052 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3054 (elmo-folder-unflag-read): Ditto.
3055 (elmo-folder-flag-as-important): Ditto.
3056 (elmo-folder-unflag-important): Ditto.
3057 (elmo-folder-flag-as-answered): Ditto.
3058 (elmo-folder-unflag-answered): Ditto.
3060 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3061 change of `mark'->`flag'.
3062 (elmo-dop-queue-method-name-alist): Ditto.
3063 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3064 (elmo-folder-unflag-read-dop): Ditto.
3065 (elmo-folder-flag-as-important-dop): Ditto.
3066 (elmo-folder-unflag-important-dop): Ditto.
3067 (elmo-folder-flag-as-answered-dop): Ditto.
3068 (elmo-folder-unflag-answered-dop): Ditto.
3070 * elmo-cache.el (elmo-folder-msgdb-create): Call
3071 `elmo-global-flags-set'.
3073 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3074 Call `elmo-global-flags-set'.
3075 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3076 elmo-archive-parse-mmdf with argument `folder'.
3077 (elmo-archive-parse-mmdf): Added argument `folder';
3078 Call `elmo-global-flags-set'.
3080 * elmo-version.el (elmo-version): Up to 2.11.14.
3082 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3084 * modb.el (elmo-msgdb-length): Define.
3086 * elmo.el (elmo-make-folder): Fixed.
3087 (elmo-generic-folder-append-messages): Follow the API change.
3089 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3092 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3094 * modb.el: New file.
3096 * modb-entity.el: Ditto.
3098 * modb-legacy.el: Ditto.
3100 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3101 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3102 of `elmo-msgdb-overview-get-entity'.
3103 (elmo-msgdb-get-field): Ditto.
3104 (elmo-msgdb-merge): Moved to `elmo.el'.
3105 (elmo-msgdb-length): Removed; redefine as modb method.
3106 (elmo-msgdb-change-mark): Abolish.
3107 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3108 (elmo-msgdb-match-condition): Don't use mark.
3109 (elmo-msgdb-overview-get-entity): Abolish.
3110 Split modb part into `modb*.el'.
3112 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3114 * elmo-shimbun.el (shimbun-mua-search-id): Use
3115 `elmo-msgdb-message-entity' instead of
3116 `elmo-msgdb-overview-get-entity'.
3117 (elmo-shimbun-folder-shimbun-header): Ditto.
3118 (elmo-shimbun-get-headers): Ditto.
3119 (elmo-shimbun-update-overview): Ditto.
3121 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3123 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3125 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3126 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3128 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3129 `elmo-msgdb-mark-to-flags'.
3131 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3132 `elmo-msgdb-set-path'.
3134 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3136 * elmo-version.el (elmo-version): Up to 2.11.13.
3138 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3140 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3143 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3145 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3148 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3150 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3151 instead of `elmo-msgdb-get-cached'.
3152 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3154 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3155 (elmo-msgdb-set-cached): Ditto.
3156 (elmo-msgdb-set-flag): Rewrite.
3157 (elmo-msgdb-unset-flag): Ditto.
3159 * elmo-msgdb.el: Rewrite with luna.
3161 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3162 (elmo-folder-msgdb): Follow the change above.
3163 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3164 (elmo-folder-unmark-important): Follow the API change.
3165 (elmo-folder-mark-as-important): Ditto.
3166 (elmo-folder-unmark-read): Ditto.
3167 (elmo-folder-mark-as-read): Ditto.
3168 (elmo-folder-unmark-answered): Ditto.
3169 (elmo-folder-mark-as-answered): Ditto.
3170 (elmo-folder-clear): Likewise.
3172 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3173 instead of `elmo-msgdb-load' (renamed).
3175 * elmo-version.el (elmo-version): Up to 2.11.12.
3177 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3179 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3181 (elmo-message-mark): Abolish.
3182 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3183 instead of `elmo-msgdb-change-mark'.
3185 * elmo-pipe.el (elmo-message-mark): Abolish.
3187 * elmo-multi.el (elmo-message-mark): Ditto.
3189 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3190 (elmo-msgdb-unread-uncached-mark): Ditto.
3191 (elmo-msgdb-unread-cached-mark): Ditto.
3192 (elmo-msgdb-read-uncached-mark): Ditto.
3193 (elmo-msgdb-answered-cached-mark): Ditto.
3194 (elmo-msgdb-answered-uncached-mark): Ditto.
3195 (elmo-msgdb-important-mark): Ditto.
3196 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3198 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3200 (elmo-flag-table-load): Changed flag to list of flag.
3201 (elmo-flag-table-set): If flags is nil, set read flag.
3202 (elmo-flag-table-get): Return derived flags from global mark,
3203 cache status and saved flags.
3204 (elmo-msgdb-flag-table): Follow the change above.
3205 (elmo-msgdb-out-of-date-messages): New function.
3207 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3209 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3211 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3213 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3214 (elmo-nntp-msgdb-create-message): Ditto.
3216 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3218 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3220 (elmo-folder-msgdb-create): Follow the API change.
3222 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3223 (elmo-folder-append-messages): Ditto.
3225 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3226 (elmo-folder-append-buffer): Ditto.
3228 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3230 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3232 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3233 (elmo-archive-parse-mmdf): Ditto.
3235 * elmo-version.el (elmo-version): Up to 2.11.11.
3237 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3239 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3242 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3244 * elmo-pipe.el (elmo-message-flags): Defined.
3246 * elmo-multi.el (elmo-message-flags): Ditto.
3248 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3250 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3251 `elmo-msgdb-delete-msgs'.
3253 * elmo.el (elmo-folder-count-flags): Don't use
3254 `elmo-msgdb-get-mark-alist'.
3255 (elmo-folder-detach-messages): Follow the API change.
3257 * elmo.el (elmo-folder-list-messages): Append killed messages into
3258 result if `visible-only' is nil.
3260 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3262 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3263 (elmo-folder-update-number): Likewise.
3265 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3266 (elmo-pop3-sort-msgdb-by-original-number): Use
3267 `elmo-msgdb-sort-entities'.
3269 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3270 (elmo-msgdb-sort-by-date): Use it.
3271 (elmo-msgdb-overview-sort-by-date): Abolish.
3273 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3275 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3276 (elmo-msgdb-flags): New function.
3277 (elmo-msgdb-merge): Use elmo-msgdb-append.
3279 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3282 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3284 * elmo-dop.el (elmo-folder-status-dop): Use
3285 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3287 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3289 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3291 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3293 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3295 * elmo-util.el (elmo-with-progress-display): New macro.
3297 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3299 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3301 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3302 `elmo-folder-list-message-entities' instead of
3303 `elmo-msgdb-get-overview'.
3304 (elmo-map-folder-list-message-locations): Ditto.
3306 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3307 methods instead of treat directly).
3308 (elmo-msgdb-clear): Ditto.
3309 (elmo-msgdb-delete-msgs): Ditto.
3310 (elmo-msgdb-sort-by-date): Ditto.
3312 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3314 (elmo-nntp-folder-msgdb-create): Follow the API change.
3316 * elmo-version.el (elmo-version): Up to 2.11.10.
3318 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3320 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3321 (elmo-msgdb-flags-to-mark): Ditto.
3322 (elmo-msgdb-append-entity): Ditto.
3324 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3325 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3326 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3327 (elmo-archive-parse-mmdf): Ditto.
3329 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3331 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3333 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3335 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3337 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3339 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3341 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3343 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3345 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3346 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3349 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3350 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3351 instead of directly construction.
3352 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3353 instead of construct msgdb.
3355 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3356 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3357 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3358 instead of construct msgdb.
3360 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3362 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3363 when field is from or subject.
3365 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3367 * elmo-multi.el (elmo-message-entity-parent): Define.
3368 (elmo-folder-search): Rewrite.
3370 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3372 * elmo-multi.el (elmo-message-cached-p): Define.
3374 * elmo.el (elmo-message-cached-p): New method.
3375 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3376 (elmo-message-flags): New method.
3377 (elmo-message-flagged-p): New function.
3379 * elmo-version.el (elmo-version): Up to 2.11.9.
3381 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3383 * elmo-version.el (elmo-version): Up to 2.11.8.
3385 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3387 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3389 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3391 * elmo.el (elmo-folder-detach-messages): Undo last change.
3393 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3395 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3397 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3398 only when src folder type is pop3.
3400 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3402 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3403 elmo-msgdb-overview-entity-get-number instead of
3404 elmo-message-entity-number.
3406 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3408 * elmo-version.el (elmo-version): Up to 2.11.7.
3410 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3412 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3415 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3416 (elmo-msgdb-merge): New function.
3417 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3418 (elmo-msgdb-make-index): Rewrite.
3420 * elmo-version.el (elmo-version): Up to 2.11.6.
3422 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3423 use it as a the path for loading message entities.
3425 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3427 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3429 * elmo-filter.el (elmo-folder-set-message-modified): Set
3430 message-modified slot of itself if it does not require target msgdb.
3432 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3433 if folder length is zero.
3434 (elmo-mime-display-as-is): Ditto.
3436 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3438 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3440 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3442 * elmo.el (elmo-folder-set-message-modified): New method.
3443 (elmo-generic-folder-commit): Use it.
3444 (elmo-folder-synchronize): Ditto.
3446 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3447 (elmo-folder-commit): Remove duplicate definition.
3449 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3451 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3453 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3455 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3456 (elmo-strict-folder-diff): Ditto.
3457 (elmo-folder-set-info-max-by-numdb): Simplify.
3459 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3460 elmo-msgdb-list-messages.
3462 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3463 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3465 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3467 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3468 visible-only is non-nil.
3469 (elmo-folder-confirm-appends): Changed message.
3470 (elmo-folder-synchronize): Added argument disable-killed.
3472 * elmo-multi.el (elmo-folder-synchronize): Added argument
3475 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3477 * elmo-version.el (elmo-version): Up to 2.11.5.
3479 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3482 * elmo-util.el (elmo-list-filter): Simplify.
3484 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3485 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3486 (elmo-generic-folder-diff): Abolish argument.
3487 (elmo-msgdb-load): Don't use number-alist.
3489 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3491 * elmo-pipe.el (elmo-folder-diff): Ditto.
3493 * elmo-nmz.el (elmo-folder-diff): Ditto.
3495 * elmo-net.el (elmo-folder-diff): Ditto.
3497 * elmo-maildir.el (elmo-folder-diff): Ditto.
3499 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3501 * elmo-multi.el (elmo-folder-diff): Ditto
3502 (elmo-multi-folder-diff): Rewrite.
3504 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3506 * elmo-pipe.el (elmo-folder-msgdb): Define.
3508 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3510 * elmo.el (elmo-message-set-cached): Define as a method.
3512 * elmo-pipe.el (elmo-message-set-cached): Define.
3513 (elmo-find-fetch-strategy): Ditto.
3515 * elmo-multi.el (elmo-message-set-cached): Define.
3516 (elmo-find-fetch-strategy): Rewrite.
3518 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3520 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3522 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3524 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3525 instead of number-alist.
3527 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3528 mark nor message-id when msgdb of source folder is not loaded.
3530 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3532 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3534 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3536 * elmo.el (elmo-folder-length): Don't require msgdb.
3538 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3540 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3541 (elmo-message-field): Ditto.
3543 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3544 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3546 (elmo-map-folder-list-answereds): Define.
3547 (elmo-maildir-list-location): Treat 'R' info.
3548 (elmo-folder-msgdb-create): Treat flag-table.
3549 (elmo-folder-append-messages): Save flag-table.
3551 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3553 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3554 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3556 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3558 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3560 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3561 'read when mark is null.
3563 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3565 * elmo-version.el (elmo-version): Up to 2.11.4.
3567 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3569 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3570 (elmo-folder-mark-as-answered): Ditto.
3572 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3574 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3575 (elmo-pop3-get-session): Make msgdb directory after session.
3576 (elmo-folder-exists-p): Check exactly at the first time even when the
3577 elmo-pop3-exists-exactly is nil.
3579 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3580 (elmo-folder-list-messages): Define instead of
3581 elmo-folder-list-messages-internal.
3582 (elmo-folder-check): Check destination folder.
3583 (elmo-folder-synchronize): Drain the pipe.
3585 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3586 when msgdb is not loaded.
3588 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3590 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3591 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3594 * elmo.el (elmo-folder-kill-messages-before): New function.
3595 (elmo-folder-kill-messages): Ditto.
3596 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3598 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3599 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3600 killed not by synchronize (e.g. scoring).
3602 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3604 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3606 (elmo-folder-search): Follow the change above.
3608 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3609 into the candidates of search field.
3611 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3613 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3614 (elmo-msgdb-unset-flag): Ditto.
3616 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3618 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3620 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3621 (elmo-folder-commit): Define.
3622 (elmo-folder-synchronize): Ditto.
3623 (elmo-folder-list-flagged): Ditto.
3624 (elmo-folder-commit): Ditto.
3625 (elmo-folder-length): Ditto.
3626 (elmo-folder-count-flags): Ditto.
3627 (elmo-message-mark): Ditto.
3628 (elmo-message-field): Ditto.
3629 (elmo-message-entity): Ditto.
3630 (elmo-message-folder): Ditto.
3632 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3634 * elmo.el (elmo-message-field): Define as a method.
3636 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3637 (elmo-message-field): Define.
3639 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3640 (elmo-folder-list-importants): Ditto.
3641 (elmo-folder-list-answereds): Ditto.
3643 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3645 (elmo-folder-mark-as-read): Ditto.
3646 (elmo-folder-unmark-read): Ditto.
3647 (elmo-folder-mark-as-answered): Ditto.
3648 (elmo-folder-unmark-answered): Ditto.
3649 (elmo-folder-list-flagged): Define.
3650 (elmo-folder-commit): Ditto.
3651 (elmo-folder-length): Ditto.
3652 (elmo-folder-count-flags): Ditto.
3654 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3656 * elmo.el (elmo-folder-detach-messages): New method.
3657 (elmo-folder-move-messages): Use it.
3658 (elmo-folder-synchronize): Ditto.
3660 * elmo-multi.el (elmo-folder-detach-messages): Define.
3662 * elmo.el (elmo-message-copy-entity): New function.
3663 (elmo-message-entity-set-number): Ditto.
3664 (elmo-message-mark): Define as method.
3666 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3667 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3668 (elmo-message-entity): Fixed last change.
3669 (elmo-message-mark): Define.
3670 (elmo-folder-msgdb-create): Abolish.
3671 (elmo-multi-folder-append-msgdb): Ditto.
3672 (elmo-multi-folder-diff): Fixed.
3673 (elmo-multi-split-number-alist): Removed.
3674 (elmo-multi-split-mark-alist): Removed.
3675 (elmo-folder-list-messages): Define.
3676 (elmo-folder-list-messages-internal): Removed.
3678 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3679 local file messages.
3680 (elmo-folder-msgdb-create): Fixed read mark.
3682 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3684 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3687 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3689 * elmo.el (elmo-folder-list-message-entities): Define as inline
3691 (elmo-folder-messages): Abolish.
3693 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3695 (elmo-folder-synchronize): Define.
3696 (elmo-message-entity): Define.
3698 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3700 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3701 elmo-imap4-session-select-mailbox.
3703 * elmo.el (elmo-folder-move-messages): Don't display any message.
3705 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3707 (elmo-imap4-session-check): Don't wait CHECK response.
3708 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3710 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3712 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3714 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3716 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3718 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3721 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3722 (elmo-folder-list-message-entities): Added argument in-msgdb and
3724 (elmo-folder-synchronize): Define as a method.
3726 * elmo-nntp.el (elmo-folder-initialize): Don't use
3727 elmo-nntp-default-user if zero-length username is specified
3730 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3732 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3733 server name in case with username.
3734 (XXX: this is ad-hoc fix against username includes "@", it
3735 should be solved fundamentally)
3737 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3739 * elmo-nntp.el (elmo-nntp-debug): New function.
3740 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3741 (elmo-network-authenticate-session): Hide auth-info from the log.
3743 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3744 user name if it is equal to elmo-nntp-default-user.
3746 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3748 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3749 instead of shimbun-server-internal;
3750 Use shimbun-current-group instead of shimbun-current-group-internal.
3751 (elmo-folder-plugged-p): Use shimbun-server instead of
3752 shimbun-server-internal.
3753 (elmo-folder-set-plugged): Ditto.
3754 (elmo-net-port-info): Ditto.
3755 (elmo-folder-check): Ditto.
3756 (elmo-folder-expand-msgdb-path): Ditto.
3757 (elmo-folder-list-subfolders): Ditto.
3759 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3761 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3762 Convert field-name to lower case.
3763 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3765 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3767 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3768 `message' and `error' take format string.
3770 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3772 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3774 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3776 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3777 recursive call (can't byte compile on emacs 20.7).
3779 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3781 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3782 (elmo-folder-list-message-entities): New API.
3783 (elmo-message-entity): Ditto.
3784 (elmo-message-entity-parent): Ditto.
3785 (elmo-folder-do-each-message-entity): Ditto.
3786 (elmo-message-entity-number): Ditto.
3787 (elmo-message-entity-field): Ditto.
3788 (elmo-message-entity-set-field): Ditto.
3789 (elmo-folder-count-flags): Ditto.
3790 (elmo-folder-length): Ditto.
3792 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3795 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3796 (elmo-msgdb-count-marks): Abolish.
3797 (elmo-msgdb-make-entity): Ditto.
3798 (elmo-msgdb-do-each-entity): Ditto.
3799 (elmo-msgdb-message-entity): New inline function.
3800 (elmo-msgdb-message-entity-field): Ditto.
3801 (elmo-msgdb-message-entity-set-field): Ditto.
3802 (elmo-msgdb-make-message-entity): New function.
3804 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3806 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3807 to flag. (All other related portions are changed.)
3808 (elmo-folder-msgdb-create): Likewise.
3809 (elmo-generic-folder-append-messages): Use flag-table instead of
3811 (elmo-folder-move-messages): Removed redundant process.
3812 (elmo-folder-synchronize): Likewise.
3814 * elmo-msgdb.el (elmo-flag-table-get): New function.
3815 (elmo-flag-table-save): Fixed.
3816 (elmo-msgdb-length): New inline function.
3817 (elmo-msgdb-flag-table): New function.
3818 (elmo-msgdb-mark): Add optional argument new.
3819 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3820 (elmo-msgdb-seen-list): Ditto.
3821 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3824 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3826 * elmo.el (elmo-message-set-mark): Abolish.
3827 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3828 (All related portions are changed.)
3830 * elmo-msgdb.el (toplevel): Added comment.
3831 (elmo-load-msgdb): Added 4th element `path'.
3832 (elmo-msgdb-append): Follow the change above.
3833 (elmo-msgdb-clear): Ditto.
3834 (elmo-msgdb-delete-msgs): Ditto.
3835 (elmo-msgdb-get-path): New inline function.
3836 (elmo-msgdb-set-path): Ditto.
3837 (elmo-flag-table-filename): New variable.
3838 (elmo-flag-table-load): New function.
3839 (elmo-flag-table-set): Ditto.
3840 (elmo-flag-table-save): Ditto.
3841 (elmo-msgdb-get-field-value): Abolish.
3842 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3844 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3846 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3847 the folder has been deleted successfully.
3848 * elmo-imap4.el (elmo-folder-delete): Ditto.
3849 * elmo-archive.el (elmo-folder-delete): Ditto.
3850 * elmo-localdir.el (elmo-folder-delete): Ditto.
3851 * elmo-maildir.el (elmo-folder-delete): Ditto.
3853 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3855 * elmo-util.el (elmo-string-member-ignore-case): New function.
3856 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3857 (elmo-imap4-fetch-callback-1-subr): Likewise.
3859 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3861 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3862 the case of the name attribute "\Noselect".
3864 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3866 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3868 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3869 flist, is not always a member of onum-alist.
3871 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3873 * elmo-version.el (elmo-version): Up to 2.11.3.
3875 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3877 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3878 copied from localdir's one.
3880 * elmo-pipe.el (elmo-folder-rename): New method, rename
3881 destination folder with leaving source folder as it is.
3883 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3885 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3888 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3890 * elmo-version.el (elmo-version): Up to 2.11.2.
3892 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3894 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3895 shimbun-open in case of "@".
3896 (elmo-folder-open-internal): Cope with shimbun = nil case.
3897 (elmo-folder-plugged-p): Ditto.
3898 (elmo-folder-list-subfolders): Make list for "@/" group.
3900 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3902 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3903 mailbox (e.g. for %~/something).
3905 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3907 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3908 Replace nested conditional with guard clauses.
3910 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3912 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3915 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3918 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3920 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3921 Replace nested conditional with guard clauses.
3923 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3925 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3926 (elmo-passwd-alist-save): Ditto.
3927 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3929 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3931 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3932 dir-name only if it is absolute path.
3933 (TODO: distinguish +/something and +something)
3935 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3937 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3938 path for "+~/something".
3940 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3942 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3943 as non-directory, cause error before rename-file.
3944 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3945 apropriately, mimic localdir's one.
3946 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3948 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3950 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3952 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3954 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3956 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3958 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3959 is included in the global-mark or not.
3961 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3963 * utf7.el (toplevel): Avoid error when the function
3964 find-coding-system does not exist.
3966 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3968 * elmo-nntp.el (elmo-folder-search): Body search is to search from
3969 cache even if the folder is plugged.
3970 (elmo-nntp-search-primitive): Do nothing when body search is
3971 invoked (although it is not used by the change above).
3972 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3974 2002-12-20 Kenichi OKADA <okada@opaopa.org>
3976 * elmo-version.el (elmo-version): Up to 2.11.1.
3978 2002-12-10 Kenichi OKADA <okada@opaopa.org>
3980 * elmo-archive.el: Specify charset.
3982 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
3984 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3985 process buffer lives or not.
3987 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3988 while flushing queues (It causes infinite loop).
3990 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
3992 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3994 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
3996 * utf7.el (toplevel): Check the ucs features dynamically.
3997 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3999 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4000 folder is creatabe or not if it already exists.
4002 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4004 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4006 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4008 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4009 (elmo-imap4-read-response): Take care of garbage response.
4011 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4013 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4014 just return nil instead of error.
4016 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4018 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4019 search-key is "body".
4021 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4023 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4024 of elmo-string-matched-assoc to use match-data.
4025 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4027 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4029 * elmo-split.el (elmo-split->): New function.
4030 (elmo-split-<): Ditto.
4032 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4034 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4035 workaround for invalid message-id.
4037 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4039 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4040 return normal pop3 session or pop3 biff session.
4042 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4044 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4045 info part to the cur files when the new files already have it.
4046 (Adviced by Jared Rhine <jared@wordzoo.com>)
4048 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4050 * elmo-split.el (elmo-split-default-action): New variable.
4051 (elmo-split-subr): Use it if all other conditions are passed.
4052 Extend `fname' and rename it as `action'. (implemented
4053 Teranishi-san's idea in [wl:10800])
4055 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4057 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4058 * elmo-util.el: Ditto.
4060 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4062 * elmo.el (elmo-message-accessible-p): Renamed from
4063 elmo-message-cached-p and rewritten.
4065 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4067 * elmo.el (elmo-folder-list-flagged): New generic function.
4068 (elmo-folder-list-importants): New implementation.
4069 (elmo-folder-list-answereds): Ditto.
4070 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4072 (elmo-message-cached-p): New function.
4073 (elmo-message-set-flag): Ditto (no content).
4074 (elmo-message-unset-flag): Ditto.
4075 (elmo-folder-list-messages-mark-match): Abolish.
4077 * elmo-util.el (elmo-regexp-opt): New function.
4079 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4080 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4082 (elmo-msgdb-list-flagged): New function.
4084 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4085 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4088 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4090 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4092 * elmo-version.el (elmo-version): Up to 2.11.0.
4094 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4096 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4097 `elmo-file-cache-exists-p'; use proper mark that depends on
4099 (elmo-msgdb-unset-flag): Ditto.
4100 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4102 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4103 with 4th argument `use-cache'.
4105 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4107 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4108 (elmo-folder-mark-as-important): Ditto.
4109 (elmo-folder-unmark-read): Ditto.
4110 (elmo-folder-mark-as-read): Ditto.
4111 (elmo-folder-unmark-answered): Ditto.
4112 (elmo-folder-mark-as-answered): Ditto.
4114 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4116 (elmo-msgdb-mark): Likewise.
4117 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4118 (elmo-msgdb-unset-flag): Likewise.
4120 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4122 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4124 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4127 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4129 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4130 set spool-length to 0.
4132 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4134 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4135 (elmo-dop-queue-flush): Fixed last change.
4137 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4139 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4140 if require-msgdb slot is nil.
4141 (elmo-folder-list-importants): Likewise.
4143 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4145 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4148 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4149 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4152 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4154 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4156 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4158 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4160 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4162 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4164 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4165 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4167 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4169 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4170 the problem reported by Sean Rima [wl-en:180].
4172 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4174 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4176 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4178 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4180 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4182 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4184 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4186 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4188 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4190 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4193 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4195 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4196 (elmo-folder-mark-as-read): Follow the API change.
4197 (elmo-message-set-cached): New function.
4199 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4201 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4203 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4204 (elmo-folder-mark-as-important): Ditto.
4205 (elmo-folder-unmark-read): Ditto.
4206 (elmo-folder-mark-as-read): Ditto.
4207 (elmo-folder-unmark-answered): Ditto.
4208 (elmo-folder-mark-as-answered): Ditto.
4210 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4211 (elmo-folder-unmark-important): Ditto.
4212 (elmo-folder-mark-as-read): Ditto.
4213 (elmo-folder-unmark-read): Ditto.
4214 (elmo-folder-mark-as-answered): Ditto.
4215 (elmo-folder-unmark-answered): Ditto.
4217 * elmo-mark.el (toplevel): Removed some mark method definitions.
4219 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4220 (elmo-map-folder-mark-as-answered): Ditto.
4221 (elmo-folder-unmark-important): Add :before qualifier.
4222 (elmo-folder-mark-as-important): Ditto.
4223 (elmo-folder-unmark-read): Ditto.
4224 (elmo-folder-mark-as-read): Ditto.
4225 (elmo-folder-unmark-answered): Define.
4226 (elmo-folder-mark-as-answered): Ditto.
4228 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4229 (elmo-map-folder-unmark-answered): Ditto.
4231 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4233 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4234 (elmo-folder-mark-as-important): Ditto.
4235 (elmo-folder-unmark-read): Ditto.
4236 (elmo-folder-mark-as-read): Ditto.
4237 (elmo-folder-unmark-answered): Ditto.
4238 (elmo-folder-mark-as-answered): Ditto.
4240 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4241 `mark'; evaluate mark condition.
4242 (elmo-msgdb-match-condition-internal): New function.
4243 (elmo-msgdb-match-condition): Call it; changed argument.
4245 * elmo.el (elmo-folder-search): Follow the API change on
4246 `elmo-msgdb-match-condition'.
4248 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4250 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4251 original mark is non-nil.
4253 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4255 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4256 (elmo-map-folder-list-answereds): New method.
4257 (elmo-folder-list-unreads): Add :around qualifier.
4258 (elmo-folder-list-importants): Ditto.
4259 (elmo-folder-list-answereds): Ditto.
4261 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4263 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4265 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4266 method if msgdb is not required.
4267 (elmo-filter-folder-list-importants): Don't treat global-mark.
4269 * elmo.el (elmo-folder-list-importants): Ditto.
4271 * elmo-net.el (elmo-folder-list-importants): Ditto.
4273 * elmo-map.el (elmo-folder-list-importants): Ditto.
4275 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4277 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4278 (elmo-imap4-folder-list-any-plugged): New function.
4279 (elmo-imap4-search-internal-primitive): Use it.
4281 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4282 only when require-msgdb slot is non-nil.
4283 (elmo-folder-close): Clear target folder's msgdb.
4285 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4287 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4288 (elmo-pop3-msgdb-create-by-header): Ditto.
4289 (elmo-pop3-msgdb-create-message): Ditto.
4291 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4293 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4295 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4297 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4298 (elmo-folder-msgdb-create): Ditto.
4299 (elmo-nntp-folder-msgdb-create): Ditto.
4300 (elmo-nntp-msgdb-create-by-header): Ditto.
4301 (elmo-nntp-msgdb-create-message): Ditto.
4302 (elmo-folder-list-unreads): Define.
4304 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4305 (elmo-folder-append-messages): Ditto.
4306 (elmo-folder-list-unreads): Define.
4307 (elmo-folder-list-importants): Ditto.
4308 (elmo-folder-list-answereds): Ditto.
4310 * elmo-net.el (elmo-folder-list-unreads): Define.
4311 (elmo-folder-list-importants): Ditto.
4312 (elmo-folder-list-answereds): Ditto.
4313 (elmo-folder-list-answereds-plugged): Ditto.
4314 (elmo-folder-msgdb-create): Follow the API change.
4315 (elmo-folder-msgdb-create-unplugged): Ditto.
4316 (elmo-folder-unmark-answered): Define.
4317 (elmo-folder-mark-as-answered-unplugged): Ditto.
4318 (elmo-folder-unmark-answered-unplugged): Ditto.
4320 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4321 (elmo-msgdb-unread-uncached-mark): Ditto.
4322 (elmo-msgdb-unread-cached-mark): Ditto.
4323 (elmo-msgdb-read-uncached-mark): Ditto.
4324 (elmo-msgdb-answered-cached-mark): Ditto.
4325 (elmo-msgdb-answered-uncached-mark): Ditto.
4326 (elmo-msgdb-important-mark): Ditto.
4327 (elmo-msgdb-set-mark): Rewrite.
4328 (elmo-msgdb-count-marks): Rewrite.
4329 (elmo-msgdb-mark-alist-set): Abolish.
4330 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4331 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4333 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4334 (elmo-folder-close): Define.
4335 (elmo-folder-msgdb-create): Follow the API change.
4336 (elmo-folder-list-unreads): Rewrite.
4337 (elmo-folder-mark-as-important): Ditto.
4338 (elmo-folder-unmark-important): Ditto.
4339 (elmo-folder-mark-as-read): Ditto.
4340 (elmo-folder-unmark-read): Ditto.
4341 (elmo-folder-mark-as-answered): Define.
4342 (elmo-folder-unmark-answered): Ditto.
4344 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4345 (elmo-folder-append-messages): Ditto.
4347 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4349 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4350 (elmo-folder-list-importants): Ditto.
4352 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4353 (elmo-folder-append-messages): Ditto.
4355 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4357 (elmo-folder-msgdb-create-plugged): Ditto.
4358 (elmo-folder-append-messages): Ditto.
4359 (elmo-folder-list-answereds-plugged): Define.
4360 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4361 (elmo-folder-unmark-answered-plugged): Define.
4362 (elmo-folder-mark-as-answered-plugged): Ditto.
4363 (elmo-folder-search-requires-msgdb-p): Ditto.
4365 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4366 (elmo-folder-initialize): Set it.
4367 (elmo-folder-msgdb): Define.
4368 (elmo-folder-check): Call elmo-folder-synchronize.
4369 (elmo-folder-close): Define.
4370 (elmo-folder-commit): Ditto.
4371 (elmo-folder-msgdb-create): Rewrite.
4372 (elmo-folder-list-unreads): Ditto.
4373 (elmo-folder-list-importants): Ditto.
4374 (elmo-folder-mark-as-read): Ditto.
4375 (elmo-folder-unmark-read): Ditto.
4376 (elmo-folder-mark-as-important): Ditto.
4377 (elmo-folder-unmark-important): Ditto.
4378 (elmo-folder-mark-as-answered): Define.
4379 (elmo-folder-unmark-answered): Ditto.
4381 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4382 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4383 (elmo-dop-queue-method-name-alist): Likewise.
4384 (elmo-folder-mark-as-answered-dop): New inline function.
4385 (elmo-folder-unmark-answered-dop): Ditto.
4386 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4388 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4389 (elmo-folder-msgdb-create): Ditto.
4390 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4391 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4392 (elmo-archive-parse-mmdf): Ditto.
4394 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4395 (elmo-folder-list-unreads-internal): Ditto.
4397 * elmo.el (elmo-folder-msgdb): Define as generic function.
4398 (elmo-folder-list-messages): Added argument `in-msgdb'.
4399 (elmo-folder-list-unreads): Define as generic function.
4400 (elmo-folder-list-importants): Ditto.
4401 (elmo-folder-list-answereds): Ditto.
4402 (elmo-folder-list-messages-with-global-mark): New function.
4403 (elmo-folder-msgdb-create): Removed mark arguments.
4404 (elmo-folder-unmark-answered): New generic function.
4405 (elmo-folder-mark-as-answered): Ditto.
4406 (elmo-folder-append-messages): Removed argunment `unread-marks'
4407 (elmo-folder-list-unreads-internal): Abolish.
4408 (elmo-folder-list-importants-internal): Ditto.
4409 (elmo-folder-search-requires-msgdb-p): New generic function.
4410 (elmo-folder-search-requires-msgdb-p-internal): New function.
4411 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4413 (elmo-folder-search-fast): Added key 'mark'.
4414 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4415 instead of unread-marks argument.
4416 (elmo-folder-move-messages): Removed argunment `unread-marks'
4417 (elmo-folder-unmark-important): Define.
4418 (elmo-folder-mark-as-important): Ditto.
4419 (elmo-folder-unmark-read): Ditto.
4420 (elmo-folder-mark-as-read): Ditto.
4421 (elmo-folder-unmark-answered): Ditto.
4422 (elmo-folder-mark-as-answered): Ditto.
4423 (elmo-folder-replace-marks): Abolish.
4424 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4426 (elmo-folder-synchronize): Removed mark arguments;
4427 return crosspost only number.
4429 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4431 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4432 Remove redundunt connectivity check.
4434 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4436 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4437 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4439 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4441 * pldap.el (ldap-decode-string): Return string as-is if
4442 `ldap-coding-system' is nil.
4443 (ldap-encode-string): Ditto.
4444 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4445 (ldap-default-host): Fixed docstring.
4447 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4449 * elmo-util.el (elmo-warning): Define as a macro which uses
4450 `display-warning' if it is defined as a function.
4452 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4453 (elmo-split-equal): Use it.
4454 (elmo-split-match): Ditto.
4455 (elmo-split-message-entity): New buffer-local variable.
4456 (elmo-split-subr): Set it.
4458 * elmo-version.el (elmo-version): Up to 2.9.15.
4460 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4462 * elmo-imap4.el (elmo-network-initialize-session):
4463 Check capability after starttls.
4465 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4467 * elmo-util.el (elmo-list-delete): Added optional argument
4470 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4472 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4474 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4476 * elmo-imap4.el (elmo-folder-initialize): Don't use
4477 elmo-imap4-default-mailbox.
4479 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4481 * elmo-split.el (toplevel): Use `product-provide'.
4482 (elmo-split): Checkdoc.
4484 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4486 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4487 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4488 the function `elmo-imap4-debug-1'.
4490 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4492 * elmo-split.el (elmo-split): Moved to run hooks and to show
4493 message from elmo-split-subr.
4494 (elmo-split-subr): Follow the change above.
4496 * elmo-split.el (elmo-split-subr): New function (renamed from
4498 (elmo-split): Changed to call elmo-split-subr by element of
4500 (elmo-split-folder): Changed customization type to choice.
4502 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4504 * elmo-split.el (elmo-split-and): Fixed condition.
4506 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4508 * elmo-split.el: New file.
4509 (elmo-split): Fixed logic.
4510 Display "Test:" instead of "Folder:" when reharsal.
4512 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4515 * elmo-version.el (elmo-version): Up to 2.9.14.
4517 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4520 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4522 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4523 message with no message-id field.
4525 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4527 * elmo-version.el (elmo-version): Up to 2.9.13.
4529 * elmo-dop.el (elmo-folder-status-dop): Fix.
4531 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4533 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4535 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4536 changing default value of default-mime-charset.
4537 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4539 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4541 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4542 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4543 instead of elmo-dop-queue-method-name-alist to check merging queue.
4544 (elmo-folder-delete-messages-dop): Delete from queue if negative
4546 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4547 file is already removed.
4549 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4551 * elmo-vars.el: Bind colon keywords for old Emacsen.
4553 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4555 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4556 against non-exsisting charset.
4558 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4560 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4561 Use eword-decode-and-unfold-unstructured-field-body.
4563 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4564 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4565 exists to decode raw subject string.
4566 (toplevel): Require 'mime.
4568 * elmo-version.el (elmo-version): Up to 2.9.12.
4570 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4572 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4573 (elmo-msgdb-set-mark): Ditto.
4575 * elmo-version.el (elmo-version): Up to 2.9.11.
4577 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4579 * elmo-util.el (elmo-delete-match-files): New function.
4581 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4582 instead of elmo-delete-directory.
4584 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4585 elmo-hash-minimun-size as 63.
4587 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4588 elmo-diff-unread is nil.
4590 * elmo-imap4.el (elmo-folder-open): Fix.
4592 * elmo.el (elmo-message-mark): Rewrite.
4593 (elmo-message-field): Ditto.
4594 (elmo-message-set-mark): Ditto.
4595 (elmo-folder-replace-marks): New function.
4596 (elmo-generic-folder-append-msgdb): Removed third argument for
4598 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4599 (elmo-msgdb-load): New implementation.
4601 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4603 * elmo-util.el (elmo-list-insert): New implementation.
4605 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4606 argument for elmo-msgdb-append.
4609 * elmo-msgdb.el (elmo-load-msgdb): New function.
4610 (elmo-make-msgdb): Ditto.
4611 (elmo-msgdb-get-index): New inline function.
4612 (elmo-msgdb-set-index): Ditto.
4613 (elmo-msgdb-get-entity-hashtb): Ditto.
4614 (elmo-msgdb-get-mark-hashtb): Ditto.
4615 (elmo-msgdb-get-mark): Ditto.
4616 (elmo-msgdb-set-mark): Ditto.
4617 (elmo-msgdb-count-marks): Ditto.
4618 (elmo-msgdb-get-number): Ditto.
4619 (elmo-msgdb-get-field): Ditto.
4620 (elmo-msgdb-seen-list): Ditto.
4621 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4622 (elmo-msgdb-delete-msgs): Follow the changes above.
4623 (elmo-msgdb-overview-get-entity): Ditto.
4624 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4625 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4627 (elmo-msgdb-make-index): Likewise.
4628 (elmo-msgdb-append): Removed third argument.
4629 (elmo-msgdb-clear): Clear index as nil.
4630 (elmo-folder-set-info-hashtb): Removed.
4631 (elmo-folder-set-info-max-by-numdb): Ditto.
4632 (elmo-folder-info-make-hashtb): Ditto.
4634 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4636 * elmo-map.el (elmo-folder-pack-number): Ditto.
4638 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4640 * elmo-version.el (elmo-version): Up to 2.9.10.
4642 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4644 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4646 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4648 * elmo-utils.el (elmo-make-directory): Add option.
4649 Default file mode is 700.
4651 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4653 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4655 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4657 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4660 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4663 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4665 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4666 (elmo-shimbun-folder-entity-hash): New function.
4667 (elmo-shimbun-folder-shimbun-header): Ditto.
4668 (elmo-shimbun-entity-to-header): Ditto.
4669 (elmo-shimbun-msgdb-to-headers): Removed.
4670 (elmo-shimbun-folder-setup): Ditto.
4671 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4673 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4674 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4675 Removed useless local bind.
4676 (elmo-folder-open-internal): Don't call
4677 `elmo-shimbun-folder-setup'.
4678 (elmo-folder-close-internal): Clear entity-hash slot.
4679 (elmo-folder-clear): Ditto.
4680 (elmo-shimbun-msgdb-create-entity): Use
4681 `elmo-shimbun-folder-shimbun-header'.
4682 (elmo-map-message-fetch): Ditto.
4683 (elmo-shimbun-update-overview): Use overview entity instead of
4684 shimbun header to lookup id by references.
4685 (elmo-map-folder-list-message-locations): Use not only headers but
4686 also overviews to list locations.
4688 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4690 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4693 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4695 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4697 * elmo-util.el (elmo-read-search-condition-internal): Give default
4700 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4702 * elmo-util.el (elmo-condition-parse-search-value): Accept
4703 YYYY-MM-DD format to search.
4704 * elmo-date.el (elmo-date-get-datevec): Likewise.
4706 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4708 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4711 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4713 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4716 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4718 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4719 case from `elmo-folder-exists-p'.
4720 (elmo-folder-exists-p): Removed.
4721 (elmo-folder-creatable-p) Ditto.
4723 * elmo-net.el (elmo-folder-create): Defined.
4724 (elmo-folder-create-unplugged): New function.
4725 (elmo-folder-exists-p): Changed default value to nil from t.
4727 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4728 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4730 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4731 `elmo-create-folder-dop' and append queue
4732 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4733 (elmo-folder-create-dop-delayed): New function.
4735 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4737 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4739 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4740 (elmo-folder-writable-p) : Ditto.
4742 * elmo-version.el (elmo-version): Up to 2.9.9.
4744 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4746 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4747 `elmo-message-use-cache-p' returns nil.
4748 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4749 (ignore cache file and refer the substance in local folders)
4751 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4753 * elmo-version.el (elmo-version): Up to 2.9.8.
4755 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4757 * elmo-version.el (elmo-version): Up to 2.9.7.
4759 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4761 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4763 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4765 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4767 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4769 (elmo-map-folder-list-message-locations): Reverse location list.
4771 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4773 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4775 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4777 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4779 (elmo-nntp-folder-list-subfolders): Follow the change above.
4781 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4783 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4784 name if authentication type is specified.
4786 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4788 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4790 (elmo-default-nntp-stream-type): Ditto.
4791 (elmo-default-pop3-stream-type): Ditto.
4793 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4795 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4797 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4799 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4801 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4803 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4804 (elmo-maildir-folder-path): Ditto.
4805 (elmo-maildir-list): Ditto (abolished).
4807 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4809 * elmo-version.el (elmo-version): Up to 2.9.6.
4811 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4813 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4814 (elmo-maildir-folder-path): Ditto.
4815 (elmo-msgdb-directory): Ditto.
4816 (elmo-passwd-life-time): Ditto.
4817 (elmo-msgdb-extra-fields): Ditto.
4818 (elmo-enable-disconnected-operation): Ditto.
4820 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4822 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4824 (elmo-pop3-default-authenticate-type): Ditto.
4826 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4828 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4830 (elmo-pop3-default-authenticate-type): Ditto.
4832 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4834 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4835 mailbox to new-folder.
4837 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4839 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4840 less than new, set new as unread.
4842 * elmo-util.el (elmo-string): Don't put text-property if nil.
4844 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4846 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4847 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4849 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4851 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4852 is nil on `completing-read'.
4854 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4856 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4858 (elmo-imap4-parse-namespace-subr): Ditto.
4859 (elmo-folder-list-subfolders): Append a delimiter when the specified
4860 folder path is a root with namespace and does not end with delimiter.
4862 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4864 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4867 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4869 * elmo-util.el (elmo-save-buffer): The first argument of message
4870 is a format control string.
4872 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4874 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4875 `elmo-folder-diff').
4876 (elmo-diff-unread): Likewise.
4878 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4880 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4881 is t on `completing-read'.
4883 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4885 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4886 method of target folder with self mark-alist if MARK-ALIST is nil.
4888 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4890 * elmo-version.el (elmo-version): Up to 2.9.5.
4892 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4894 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4895 (elmo-dop-merge-funcs): Remove.
4897 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4899 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4900 Return t if PATH is directory, too.
4901 Use `dolist' instead of while loop.
4903 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4905 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4908 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4910 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4912 (elmo-folder-list-messages-unplugged): Return t if
4913 elmo-enable-disconnected-operation is nil.
4915 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4916 `elmo-folder-list-messages-internal'.
4918 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4920 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4921 Change to looking-at `[23][0-9]+'.
4922 (elmo-network-initialize-session): Use 'error-msg'
4923 * elmo-net.el (elmo-network-open-session): Set unplugged
4924 if elmo-network-initialize-session returns 'elmo-open-err.
4926 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4928 * elmo-version.el (elmo-version): Up to 2.9.4.
4930 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4932 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4933 `elmo-folder-list-messages-internal'.
4935 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4937 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4938 (elmo-message-match-condition): New method.
4939 (elmo-folder-search-fast): New inline function.
4940 (elmo-msgdb-search): Removed.
4942 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4943 target folder if it is unplugged.
4944 (elmo-folder-list-messages-internal): Return t if target folder is
4945 unplugged and itself is persistent; In this case, use list be
4948 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4949 (elmo-msgdb-search-internal-primitive): Ditto.
4950 (elmo-msgdb-match-condition): New function.
4951 (elmo-msgdb-match-condition-primitive): Ditto.
4953 * elmo-util.el (elmo-filter-condition-p): New macro.
4955 * elmo-cache.el (elmo-folder-search): Removed.
4957 * elmo-localdir.el (elmo-folder-search): Ditto.
4959 * elmo-maildir.el (elmo-folder-search): Ditto.
4961 * elmo-mark.el (elmo-folder-search): Ditto.
4963 * elmo-nmz.el (elmo-folder-search): Ditto.
4965 * elmo-sendlog.el (elmo-folder-search): Ditto.
4967 * elmo-shimbun.el (elmo-folder-search): Ditto.
4969 * elmo-imap4.el (elmo-folder-search): Call method of parent class
4970 if folder is unplugged.
4972 * elmo-nntp.el (elmo-folder-search): Likewise.
4973 (elmo-nntp-search-internal): New function.
4975 * elmo-version.el (elmo-version): Up to 2.9.3.
4977 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4979 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4981 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
4983 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4985 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
4987 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4989 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
4991 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4992 (elmo-map-folder-list-message-locations): Do drive letter conversion
4993 on Windows environment.
4994 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4995 (elmo-map-message-fetch): Ditto.
4997 2001-12-27 Kenichi OKADA <okada@opaopa.org>
4999 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5000 (elmo-network-initialize-session): Ditto.
5002 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5004 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5006 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5008 * elmo-util.el (elmo-progress-clear): Ditto.
5010 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5011 `DD-Mon-YYYY' type date.
5013 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5015 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5016 `elmo-date-make-sortable-string' instead of
5017 `timezone-make-date-sortable'.
5019 * elmo-date.el (elmo-date-make-sortable-string): Use
5020 `timezone-make-time-string'.
5022 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5024 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5026 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5027 `since'; Fix timezone.
5029 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5031 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5033 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5035 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5037 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5039 * elmo.el (elmo-generic-folder-append-messages): Make
5040 fetch-strategy with `use-cache' as 'maybe. Check return value of
5041 `elmo-message-fetch'.
5042 (elmo-message-fetch): Return return value of
5043 `elmo-message-fetch-with-cache-process'.
5044 (elmo-message-fetch-with-cache-process): Return non-nil if
5045 fetching was succeed. Load cache when fetching was failed and
5046 fetch-strategy-use-cache is 'maybe.
5048 * elmo-util.el (elmo-file-cache-load): New function.
5050 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5053 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5054 non-nil if fetching was succeed.
5056 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5058 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5060 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5061 (elmo-message-fetch-with-cache-process): Likwise.
5063 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5065 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5067 * elmo-version.el (elmo-version): Up to 2.9.2.
5069 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5071 * elmo.el (elmo-folder-delete): Delete msgdb path.
5073 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5075 * elmo-maildir.el (elmo-folder-delete): Ditto.
5077 * elmo-localdir.el (elmo-folder-delete): Ditto.
5079 * elmo-imap4.el (elmo-folder-delete): Ditto.
5081 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5083 * elmo.el (luna-define-class): Added `biff' slot.
5085 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5086 (elmo-pop3-debug-inhibit-logging): Abolished.
5087 (elmo-network-close-session): Eliminated needless let.
5088 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5089 (elmo-pop3-send-command): Added `no-log' argument.
5090 (elmo-pop3-process-filter): Use `with-current-buffer'.
5091 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5093 (elmo-pop3-auth-apop): Likewise.
5094 (elmo-network-authenticate-session): Likewise.
5096 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5099 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5100 string to determine protocol.
5101 (elmo-network-session-name-prefix): Abolished.
5102 (elmo-network-session-cache-key): Follow the change above.
5103 (elmo-network-open-session): Ditto.
5105 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5106 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5108 * elmo-version.el (elmo-version): Up to 2.9.1.
5110 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5111 unmatch condition checking.
5113 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5116 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5118 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5120 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5122 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5123 test for while loop to execute at least one SEARCH command.
5125 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5127 * elmo-version.el (elmo-version): Up to 2.9.0.
5129 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5131 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5132 (elmo-archive-folder-path): Define.
5133 (elmo-folder-initialize): Setup `dir-name' slot.
5134 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5135 Use `dir-name' as prefix of each subfolders.
5136 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5138 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5140 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5141 (elmo-pipe-folder-list-target-messages): New internal function.
5142 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5144 (elmo-pipe-folder-copied-list-load): New function.
5145 (elmo-pipe-folder-copied-list-save): Ditto.
5146 (elmo-folder-open-internal): Follow the change above.
5147 (elmo-folder-status): Fixed for copy.
5149 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5151 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5153 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5155 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5156 elmo-copy-file instead of elmo-add-name-to-file.
5158 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5160 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5163 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5164 of accept-process-output as 1.
5165 (elmo-pop3-read-contents): Ditto.
5166 (elmo-pop3-read-body): Ditto.
5168 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5170 * elmo-version.el (product-version-as-string): Remove define.
5172 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5174 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5175 (elmo-imap4-copy-messages): Chop number set using
5176 `elmo-imap4-number-set-chop-length'.
5177 (elmo-imap4-set-flag): Ditto.
5178 (elmo-imap4-search-internal-primitive): Ditto.
5180 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5182 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5183 `elmo-folder-make-temp-dir'
5185 * elmo-vars.el (elmo-cache-directory): New variable.
5186 (elmo-cache-dir): Abolished.
5187 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5189 * elmo-version.el (elmo-version): Up to 2.7.7.
5191 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5193 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5194 defcustom; Set default value as t.
5196 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5198 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5199 (ldap-search-program-arguments): Changed default value.
5200 (ldap-search-basic): Accept exit status 4.
5201 (ldap/field-body): Parse options.
5202 (ldap/collect-field): Ditto.
5203 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5205 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5206 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5207 (elmo-imap4-accept-ok): Ditto.
5208 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5209 'notify-bye, only BYE error is reported.
5210 (elmo-folder-exists-p-plugged): Set no-error argument of
5211 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5213 * elmo.el (elmo-imap4-bye-error): Changed message.
5215 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5216 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5217 queues (It causes infinite loop).
5219 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5221 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5222 (RECENT UNSEEN MESSAGES) extension.
5224 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5226 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5227 Check number of overview fields.
5229 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5231 * elmo.el (elmo-folder-confirm-appends): Changed message.
5232 (elmo-folder-confirm-appends): Ditto.
5234 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5236 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5238 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5240 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5241 of elmo-folder-update-threshold is nil, which can be set by
5242 wl-summary-update-confirm-threshold.
5244 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5246 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5247 (elmo-nmz-index-alias-alist): Ditto.
5248 (elmo-map-folder-list-message-locations): Follow the change above.
5250 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5252 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5254 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5256 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5258 * elmo-util.el (elmo-read): Ditto.
5259 (elmo-display-error): Ditto.
5261 * elmo-vars.el (elmo-date-match): Ditto.
5263 * pldap.el (ldap-coding-system): Ditto.
5265 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5266 `elmo-inhibit-number-mapping' as nil.
5268 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5270 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5271 space delimiter for list response.
5273 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5275 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5277 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5279 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5280 (elmo-map-message-fetch): Fix.
5281 * elmo-map.el (elmo-folder-status): Fix for killed.
5283 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5285 * elmo-sendlog.el: New file.
5286 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5288 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5290 * acap.el (acap-logging-out): New buffer local variable.
5291 (acap-close): Set it.
5292 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5295 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5297 * acap.el (acap-response-bye-p): New function.
5298 (acap-response-bye-message): Ditto.
5299 (acap-wait-for-response): If bye response is received, cause an error.
5300 (acap-parse-response): Make bye response when 'Bye' is received.
5302 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5304 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5306 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5308 * elmo-util.el (elmo-copy-file): Added argument
5309 `ok-if-already-exists'.
5310 (elmo-copy-file): Fixed typo.
5312 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5314 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5316 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5318 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5320 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5322 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5325 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5327 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5328 (elmo-folder-initialize): Fix for `copy'.
5329 (elmo-pipe-drain): Ditto.
5330 (elmo-folder-open-internal): Ditto.
5331 (elmo-folder-newsgroups): Fix.
5333 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5335 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5338 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5339 recent value is returned from imap folder.
5341 * elmo.el (elmo-folder-newsgroups): New generic function.
5343 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5344 (elmo-folder-initialize): Set it.
5345 (elmo-folder-expand-msgdb-path): Use it.
5346 (elmo-folder-newsgroups): Define.
5348 * elmo-filter.el (elmo-folder-newsgroups): Define.
5350 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5352 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5354 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5356 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5358 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5360 (elmo-shimbun-header-extra-field): New inline function.
5361 (elmo-shimbun-header-set-extra-field): Ditto.
5362 (elmo-shimbun-folder-header-hash-setup): Ditto.
5363 (elmo-shimbun-update-overview): Ditto.
5364 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5365 (elmo-shimbun-folder-setup): Use
5366 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5367 (elmo-shimbun-get-headers): Ditto.
5368 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5369 Insert `X-Shimbun-Id:' header if extra field is set.
5370 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5371 field's value instead of `shimbun-header-id'.
5373 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5375 (elmo-msgdb-overview-entity-set-date): Ditto.
5376 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5378 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5380 * mmimap.el (mmimap-entity-section): Changed body node number from
5383 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5385 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5386 `elmo-folder-delete-messages'.
5388 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5389 (elmo-folder-initialize): Changed to expand alias into index path.
5391 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5392 `elmo-mime-insert-header-from-buffer' with 6th arg
5395 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5397 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5399 * elmo.el (elmo-diff-new): New inline function.
5400 (elmo-diff-unread): Ditto.
5401 (elmo-diff-all): Ditto.
5403 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5404 value from responseb.
5405 (elmo-imap4-folder-diff-plugged): Ditto.
5406 (elmo-imap4-server-diff-async): Added recent argument.
5407 (elmo-server-diff-async): Ditto.
5408 (elmo-imap4-folder-diff-plugged): Ditto.
5410 * elmo-version.el (elmo-version): Up to 2.7.6.
5412 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5414 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5417 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5419 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5421 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5423 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5425 * elmo-multi.el (elmo-folder-initialize): Ditto.
5427 * elmo-util.el (elmo-parse-token): New function.
5428 (elmo-parse-prefixed-element): Ditto.
5430 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5432 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5434 (elmo-imap4-accept-ok): Ditto.
5436 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5438 * mmimap.el (mime-imap-entity-header-string): Don't check first
5439 element of node-id is `0' (Follow last change).
5441 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5443 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5444 assigned irregular node-id to nested multipart section.
5445 (initialize-instance): Followed above change.
5447 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5449 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5450 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5451 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5452 `elmo-shimbun-get-headers');
5453 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5454 visible article on summary exists in headers).
5455 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5457 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5459 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5462 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5464 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5466 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5468 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5469 header separator into loop condition.
5471 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5473 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5474 Return duplicate folder if it has subfolder.
5476 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5478 * elmo.el (elmo-make-folder): Add folder name error check.
5480 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5481 (elmo-nntp-encode-group-string): New inline function.
5482 (elmo-nntp-decode-group-string): Ditto.
5483 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5484 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5485 Use `not' instead of `null';
5486 Use elmo-nntp-decode-group-string.
5488 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5490 * elmo-version.el (elmo-version): Up to 2.7.5.
5492 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5494 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5495 Hide progress gauge if `elmo-folder-move-messages' exits
5498 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5500 * elmo-imap4.el (elmo-folder-initialize): Use
5501 `elmo-imap4-encode-folder-string' for folder name.
5503 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5505 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5508 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5510 * elmo-util.el (elmo-progress-counter-alist): New internal
5512 (elmo-progress-counter-value): New macro.
5513 (elmo-progress-counter-all-value): Ditto.
5514 (elmo-progress-counter-format): Ditto.
5515 (elmo-progress-counter-set-value): Ditto.
5516 (elmo-progress-set): New function.
5517 (elmo-progress-clear): Ditto.
5518 (elmo-progress-notify): Ditto.
5520 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5523 * elmo.el (elmo-generic-folder-append-messages): Call
5524 `elmo-progress-notify'.
5525 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5527 * elmo-archive.el (elmo-folder-append-messages): Call
5528 `elmo-progress-notify'.
5530 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5532 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5534 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5536 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5538 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5540 (elmo-message-encache-dop): Added argument `read'.
5542 * elmo-shimbun.el (elmo-message-encache): Ditto.
5544 * elmo-net.el (elmo-message-encache): Ditto.
5546 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5547 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5548 elmo-imap4-seen-messages.
5549 (elmo-folder-msgdb-create-plugged): Initialize
5550 elmo-imap4-seen-messages;
5551 Set seen mark on elmo-imap4-seen-messages.
5553 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5555 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5556 elmo-folder-append-buffer.
5557 (elmo-folder-encache): Added optional argument `read'.
5558 (elmo-message-encache): Ditto.
5560 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5562 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5564 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5565 if append buffer content succeds.
5567 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5569 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5570 elmo-display-progress.
5572 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5573 Set 4th argument of mime-display-message.
5574 (elmo-mime-display-as-is): Ditto.
5576 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5578 * elmo-nmz.el (toplevel): Require 'mime-edit.
5579 (elmo-nmz-content-type-alist): Abolished.
5580 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5581 content is not a message.
5582 (elmo-map-message-fetch): Changed behavior exept for message content;
5583 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5584 content-type, Add From: and Subject: field.
5586 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5588 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5589 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5592 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5594 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5595 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5597 * elmo-archive.el (elmo-folder-writable-p): Defined.
5599 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5601 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5603 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5605 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5607 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5609 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5611 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5613 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5615 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5617 * elmo-util.el (elmo-address-quote-specials): New function;
5618 Renamed from `wl-address-quote-specials'.
5620 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5622 * elmo-version.el (elmo-version): Up to 2.7.4.
5624 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5626 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5628 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5630 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5631 both compile-time and run-time to avoid byte-compile warning.
5633 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5635 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5637 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5639 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5641 (elmo-mime-display-as-is-internal): Use it.
5643 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5644 if `read-passwd' is not defined.
5646 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5648 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5650 (elmo-folder-status): Call `elmo-folder-open-internal';
5651 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5652 (elmo-folder-close-internal): Set location-alist as nil.
5653 (elmo-folder-clear): Define.
5654 (elmo-folder-check): Don't set location-alist as nil.
5656 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5658 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5660 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5661 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5663 * mmimap.el (mime-imap-entity::requested): New slot.
5664 (mime-imap-location-fetch-entity-p): New generic function.
5665 (mime-decode-parameters): Define using `defun-maybe'.
5666 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5667 content-type structure.
5668 (mime-entity-body): Return empty body if
5669 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5671 * elmo.el (elmo-message-displaying): New variable.
5673 * elmo-mime.el (elmo-mime-message-display): Bind
5674 elmo-message-displaying as t.
5676 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5678 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5680 * acap.el (acap-open): erase buffer before starting network process.
5681 (acap-store): Rewrite.
5683 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5685 * elmo-imap4.el (elmo-imap4-default-mailbox,
5686 elmo-imap4-default-server
5687 elmo-imap4-default-authenticate-type,
5688 elmo-imap4-default-user,
5689 elmo-imap4-default-port,
5690 elmo-imap4-default-stream-type,
5691 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5693 * elmo-pop3.el (elmo-pop3-default-user,
5694 elmo-pop3-default-server,
5695 elmo-pop3-default-authenticate-type,
5696 elmo-pop3-default-port,
5697 elmo-pop3-default-stream-type,
5698 elmo-pop3-stream-type-alist): Ditto.
5700 * elmo-nntp.el (elmo-nntp-default-server,
5701 elmo-nntp-default-user,
5702 elmo-nntp-default-port,
5703 elmo-nntp-default-stream-type,
5704 elmo-nntp-stream-type-alist): Ditto.
5706 * elmo-vars.el: Follow changes above.
5707 (elmo-setting): New custom group; added 'elmo-setting group to
5710 * elmo-version.el (elmo-version): Up to 2.7.3.
5712 * acap.el (acap-parse-response): Don't delete process when BYE
5713 response (It causes hang-up on slow network environment).
5714 (toplevel): Added comment.
5716 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5718 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5720 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5722 (acap-parse-return-metadata): Ditto.
5725 (toplevel): Fixed typo.
5727 * acap.el: New file.
5728 (acap-network-stream-open): Show "Connecting..." message.
5729 (acap-parse-response): Fixed problem for BYE untagged response.
5730 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5731 (toplevel): Added tiny comments.
5733 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5735 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5736 space delimiter for uidl response.
5738 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5740 * elmo-vars.el (elmo-use-semi): Eliminated.
5742 * elmo-util.el (elmo-string-assoc-all): New function.
5744 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5746 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5747 property 'mime-preview-situation for `mime-preview-quit'.
5749 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5751 * elmo.el (elmo-message-fetch-with-cache-process): Call
5752 elmo-message-fetch-internal instead of causing an error when fetch
5753 strategy is 'entire but only 'section cache is available.
5755 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5757 * elmo-version.el (elmo-version): Up to 2.7.2.
5759 * elmo.el (elmo-generic-folder-append-messages): Make
5760 fetch-strategy with `use-cache'.
5762 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5763 (elmo-dop-queue-method-name): New macro.
5765 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5767 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5768 unbalanced parenthesis.
5770 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5772 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5774 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5776 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5777 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5779 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5781 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5784 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5786 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5787 (elmo-message-use-cache-p): Define.
5788 (elmo-folder-msgdb-create): Treat cache.
5790 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5792 * elmo-nntp.el (elmo-network-initialize-session): Call
5793 `elmo-nntp-send-mode-reader'.
5794 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5796 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5798 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5800 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5803 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5804 for `elmo-plugged-p'.
5805 (elmo-open-network-stream): Fixed stream-type argument.
5807 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5809 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5810 unknown archive type is specified.
5812 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5814 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5816 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5817 while loading msgdb.
5819 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5820 (elmo-folder-open-internal): Rewrite.
5822 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5824 * elmo-mime.el (elmo-mime-display-as-is-internal):
5825 Adjust buffer-multibyte status.
5827 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5829 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5830 of elmo-condition-find-key.
5832 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5833 (elmo-condition-in-msgdb-p): Ditto.
5834 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5837 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5839 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5841 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5843 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5844 label for elmo-display-progress.
5846 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5848 * elmo.el (elmo-folder-clear): New method.
5849 (elmo-folder-clear): Define.
5850 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5852 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5853 (elmo-folder-clear): Define.
5855 * elmo-map.el (elmo-folder-clear): Define.
5857 * elmo-version.el (elmo-version): Up to 2.7.1.
5859 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5861 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5864 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5866 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5867 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5869 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5871 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5873 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5876 * elmo-imap4.el (elmo-folder-initialize): Use
5877 elmo-get-network-stream-type.
5879 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5881 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5883 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5885 * elmo.el (elmo-message-encache): Set unread argument for
5888 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5890 * elmo.el (elmo-net-port-info): New method.
5892 * elmo-shimbun.el (elmo-net-port-info): Define.
5893 (elmo-message-encache): Ditto.
5895 * elmo-net.el (elmo-net-port-info): Define as method.
5897 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5898 unplugged status when elmo-enable-disconnected-operation is t.
5900 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5901 of spool folder before checking new number.
5903 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5905 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5906 (elmo-network-setup-session): Ditto.
5907 (elmo-message-fetch-plugged): Ditto.
5908 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5909 (elmo-network-initialize-session): Ditto.
5910 (elmo-pop3-read-response): Abolish 3rd argument.
5911 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5912 (elmo-pop3-read-contents): Ditto.
5913 (elmo-pop3-read-body): Ditto.
5914 (elmo-folder-status): Call elmo-folder-close.
5915 (elmo-pop3-lock): Abolish.
5916 (elmo-pop3-unlock): Ditto.
5917 (elmo-pop3-locked-p): Ditto.
5918 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5920 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5922 * elmo-version.el (elmo-version): Up to 2.7.0.
5924 * elmo-pop3.el (elmo-pop3-debug): New variable.
5925 (elmo-pop3-debug-inhibit-logging): Ditto.
5926 (elmo-pop3-debug): New function.
5927 (elmo-pop3-send-command): Call elmo-pop3-debug.
5928 (elmo-pop3-read-response): Added keep-lock optional argument;
5929 Don't unlock if keep-lock is non-nil.
5930 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5931 (elmo-network-authenticate-session): Bind
5932 elmo-pop3-debug-inhibit-logging as t.
5933 (elmo-network-setup-session): Call elmo-pop3-read-response with
5935 (elmo-pop3-read-msg): Ditto.
5936 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5937 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5938 (elmo-network-initialize-session): Call elmo-pop3-lock.
5939 (elmo-folder-close-internal): Don't clear location-alist slot.
5940 (elmo-folder-check): Clear location-alist slot.
5942 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5944 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5945 (elmo-pop3-send-command): Call elmo-pop3-lock.
5946 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5947 (elmo-pop3-read-contents): Ditto.
5948 (elmo-pop3-lock): New function.
5949 (elmo-pop3-unlock): Ditto.
5950 (elmo-pop3-locked-p): Ditto.
5951 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5954 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5956 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5958 * elmo-util.el (elmo-file-field-primitive-condition-match):
5959 New inline function (Don't fetch file content if "first" or "last").
5960 (elmo-file-field-condition-match): Use
5961 elmo-file-field-primitive-condition-match.
5963 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5966 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5967 (elmo-message-fetch-plugged): Fixed.
5969 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5971 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
5973 * elmo.el (elmo-folder-move-messages): Bind
5974 elmo-inhibit-display-retrieval-progress as t while moving messages.
5976 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5978 (elmo-inhibit-display-retrieval-progress): Ditto.
5980 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5981 for retrieval progress;
5982 Don't display progress when total buffer size is smaller than
5983 elmo-display-retrieval-progress-threshold.
5984 (elmo-message-fetch-plugged): Don't display progress when
5985 elmo-inhibit-display-retrieval-progress is non-nil.
5987 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5988 for retrieval progress;
5989 Don't display progress when literal size is smaller than
5990 elmo-display-retrieval-progress-threshold.
5991 (elmo-imap4-message-fetch): Don't display progress when
5992 elmo-inhibit-display-retrieval-progress is non-nil.
5994 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
5996 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5997 (elmo-imap4-find-next-line): Display progress whille literal fetching.
5998 (elmo-imap4-message-fetch): Likewise.
6000 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6001 (elmo-shimbun-index-range-alist): Ditto.
6002 (elmo-shimbun-use-entire-index): Abolish.
6003 (shimbun-mua-use-entire-index): Ditto.
6004 (elmo-shimbun-folder): Added new slot `range'.
6005 (elmo-folder-initialize): Setup slot `range'.
6007 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6009 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6010 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6011 (elmo-shimbun-get-headers): Use return value of
6012 `shimbun-article-expiration-days'.
6013 (elmo-folder-close-internal): Clean up last-check slot.
6015 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6016 (elmo-pop3-total-size): New variable.
6017 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6019 * elmo.el (elmo-folder-reserve-status-p): New method.
6021 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6022 (elmo-shimbun-use-entire-index): New user option.
6023 (shimbun-elmo-mua): New class.
6024 (shimbun-mua-search-id): Define.
6025 (shimbun-mua-use-entire-index): Ditto.
6026 (elmo-shimbun-folder:last-check): New slot.
6027 (elmo-shimbun-headers-cache-header-list): Abolish.
6028 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6029 (elmo-shimbun-headers-cache-header-hash): Ditto.
6030 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6031 (elmo-shimbun-headers-cache-last-check): Ditto.
6032 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6033 (elmo-shimbun-headers-check-p): Rewrite.
6034 (elmo-shimbun-msgdb-to-headers): New function.
6035 (elmo-shimbun-get-headers): Rewrite.
6036 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6037 (elmo-folder-open-internal): Get headers only if
6038 `elmo-shimbun-headers-check-p' is non-nil.
6039 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6041 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6042 (elmo-quit): Removed.
6044 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6046 (elmo-msgdb-overview-entity-set-extra): Ditto.
6047 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6049 * elmo-map.el (elmo-folder-status): Don't call
6050 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6053 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6055 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6056 of `elmo-msgdb-search-internal-primitive' when condition's car is
6059 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6061 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6063 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6065 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6066 call `elmo-pipe-drain'.
6068 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6070 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6071 typo. (elmo-cache-folder -> elmo-mark-folder)
6073 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6075 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6076 `elmo-message-fetch'.
6078 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6080 * elmo-net.el (elmo-message-encache): Fixed typo.
6081 (elmo-message-fetch-unplugged): Changed call
6082 `elmo-message-fetch-internal' without argument `outbuf'.
6084 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6086 * elmo.el (elmo-message-encache): Define as generic function.
6087 (elmo-message-fetch-field): New generic function.
6088 (elmo-message-fetch-with-cache-process): Cause an error when
6089 fetch strategy is 'entire but only 'section cache is available.
6090 (toplevel): Fixed nmz folder definition.
6092 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6093 (elmo-msgdb-resume-list-filename): Ditto.
6094 (elmo-queue-filename): Ditto.
6095 (elmo-enable-disconnected-operation): Changed default value to t.
6097 * elmo-util.el (elmo-cache-path-section-p): New function.
6098 (elmo-file-cache-get): Use it.
6099 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6100 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6101 (elmo-dop-queue-save): Ditto.
6103 * elmo-net.el (elmo-folder-status-unplugged): Call
6104 elmo-folder-status-dop.
6105 (elmo-folder-list-messages-unplugged): Implemented.
6106 (elmo-folder-delete-messages-unplugged): Define.
6107 (elmo-folder-msgdb-create): Define.
6108 (elmo-folder-msgdb-create-unplugged): Define.
6109 (elmo-folder-mark-as-read-unplugged): Ditto.
6110 (elmo-folder-unmark-read-unplugged): Ditto.
6111 (elmo-folder-mark-as-important-unplugged): Ditto.
6112 (elmo-folder-unmark-important-unplugged): Ditto.
6113 (elmo-message-encache): Ditto.
6115 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6116 (elmo-dop-queue-save): Ditto.
6118 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6119 `elmo-folder-msgdb-create'.
6120 (elmo-folder-append-buffer): Implemented unplugged operation.
6121 (elmo-folder-append-messages): Call parent method in unplugged status.
6122 (elmo-message-fetch-unplugged): Removed definition.
6123 (elmo-message-fetch-field): Implemented.
6125 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6126 (elmo-dop-folder): Removed variable definition.
6127 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6128 (elmo-dop-queue-flush): Implemented.
6129 (elmo-dop-queue-merge): Removed definition (TODO).
6130 (elmo-dop-spool-folder): New function.
6131 (elmo-dop-spool-folder-append-buffer): Ditto.
6132 (elmo-dop-spool-folder-list-messages): Ditto.
6133 (elmo-dop-list-deleting-messages): Ditto.
6134 (elmo-folder-append-buffer-dop): Ditto.
6135 (elmo-folder-delete-messages-dop): Ditto.
6136 (elmo-message-encache-dop): New inline function.
6137 (elmo-create-folder-dop): Ditto.
6138 (elmo-folder-mark-as-read-dop): Ditto.
6139 (elmo-folder-unmark-read-dop): Ditto.
6140 (elmo-folder-mark-as-important-dop): Ditto.
6141 (elmo-folder-unmark-important-dop): Ditto.
6142 (elmo-folder-status-dop): Fixed.
6143 (elmo-folder-append-buffer-dop-delayed): New function.
6144 (elmo-folder-delete-messages-dop-delayed): Ditto.
6145 (elmo-dop-msgdb): Ditto.
6147 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6149 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6151 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6153 * elmo.el (elmo-folder-move-messages): Fixed problem when
6154 `dst-folder' is 'null.
6156 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6158 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6159 instead of current mark.
6161 * elmo-multi.el (elmo-folder-list-importants-internal): No
6162 operation if importants is not list.
6164 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6165 Return t if importants is not list.
6167 * elmo-map.el (elmo-map-folder-list-importants): Define.
6168 (elmo-folder-list-importants-internal): Check return value of
6169 `elmo-map-folder-list-importants-internal'.
6171 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6173 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6175 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6177 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6179 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6181 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6182 (Patch is provided by <kita@coe.nttdata.co.jp>).
6184 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6186 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6189 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6191 * elmo.el (elmo-message-fetch): Define.
6192 (elmo-message-fetch-with-cache-process): New generic method.
6193 (elmo-message-fetch-internal): New generic method.
6194 (elmo-folder-synchronize):
6196 * elmo-archive.el (elmo-message-fetch-internal): Define.
6197 (elmo-message-fetch): Eliminated.
6199 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6200 (elmo-message-fetch): Eliminated.
6202 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6204 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6206 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6207 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6209 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6210 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6212 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6214 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6216 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6218 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6219 (elmo-message-fetch-unplugged): New generic method.
6220 (elmo-message-fetch-internal): Remove cache process (Renamed from
6221 `elmo-message-fetch').
6223 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6224 (elmo-message-fetch): Eliminated.
6225 (elmo-message-fetch-unplugged): Ditto.
6227 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6229 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6231 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6232 of `to-be-deleted' from number-alist to number-list.
6234 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6236 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6237 (elmo-folder-mark-as-important): Ditto.
6239 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6241 * elmo.el (elmo-folder): Added process-duplicates slot.
6243 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6244 (elmo-folder-unmark-read): Ditto.
6245 (elmo-folder-unmark-important): Ditto.
6246 (elmo-folder-mark-as-important): Ditto.
6248 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6249 duplicated message processing.
6251 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6253 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6255 * elmo-util.el (elmo-list-subdirectories-1): New function.
6256 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6257 (elmo-mapcar-list-of-list): New function.
6259 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6260 `elmo-mapcar-list-of-list' instead of `mapcar'.
6262 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6264 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6265 `elmo-have-link-count'. Return the fully qualified folder name.
6267 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6269 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6270 (elmo-shimbun-headers-cache): New internal variable.
6271 (elmo-shimbun-headers-cache-header-list): New inline function.
6272 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6273 (elmo-shimbun-headers-cache-header-hash): Ditto.
6274 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6275 (elmo-shimbun-headers-cache-last-check): Ditto.
6276 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6277 (elmo-shimbun-lapse-seconds): Ditto.
6278 (elmo-shimbun-headers-cache-check-p): Ditto.
6279 (elmo-shimbun-get-headers): New function.
6280 (elmo-folder-open-internal): Call it.
6281 (elmo-quit): Define (Clear headers-cache).
6283 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6285 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6287 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6288 (elmo-msgdb-flist-save): Ditto.
6290 * elmo-shimbun.el (elmo-folder-list-subfolders):
6291 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6292 (elmo-folder-exists-p): Ditto.
6294 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6295 argument for `shimbun-header-insert'.
6297 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6299 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6302 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6303 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6305 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6307 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6308 (elmo-folder-plugged-p): Define.
6309 (elmo-folder-set-plugged): Ditto.
6310 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6311 (elmo-folder-list-messages-internal): Return t if unplugged.
6312 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6314 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6315 when elmo-folder-list-messages-internal method of children returns t.
6317 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6319 (elmo-folder-open-internal): Don't update if unplugged status.
6321 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6323 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6326 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6328 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6330 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6333 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6335 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6337 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6338 (elmo-folder-open-internal): Set up headers slot.
6339 (elmo-folder-check): Call elmo-folder-close-internal and
6340 elmo-folder-open-internal.
6341 (elmo-folder-close-internal): Clean up headers slot.
6343 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6345 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6346 exactly folder list.
6347 (elmo-folder-append-messages): Fixed append archive with prefix.
6349 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6350 make temp files with start-number.
6352 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6354 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6356 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6357 argument `visible-only'.
6358 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6361 * elmo-pop3.el (elmo-folder-open-internal): Check
6362 `elmo-inhibit-number-mapping' is non-nil.
6364 * elmo-pipe.el (elmo-folder-status): Fixed.
6366 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6368 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6370 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6371 (elmo-folder-open-internal): Setup `header-hash' slot.
6372 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6374 (elmo-map-message-fetch): Ditto.
6376 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6378 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6379 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6380 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6381 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6383 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6385 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6387 * sb-airs.el: Added footer.
6389 * shimbun.el (shimbun-article): Define as luna-method.
6391 * sb-tcup.el: New file.
6393 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6394 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6396 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6398 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6399 (shimbun-get-headers): Ditto.
6401 * elmo.el: Moved obsolete variable definitions from
6402 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6404 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6407 * shimbun.el: New file.
6409 * elmo-shimbun.el: New file.
6411 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6412 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6413 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6414 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6416 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6418 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6421 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6423 * elmo.el (elmo-folder-msgdb): Define as macro.
6424 (elmo-folder-open): Added argument `load-msgdb'.
6425 (elmo-generic-folder-open): Ditto.
6426 (elmo-folder-encache): New function.
6428 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6430 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6432 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6433 Eliminated argument FOLDER and added argument MSGDB.
6434 (elmo-dop-queue-load): Moved from elmo-dop.el.
6435 (elmo-dop-queue-save): Ditto.
6437 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6439 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6441 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6442 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6443 (elmo-filter-folder-list-importants-internal): Ditto.
6445 * elmo-map.el (elmo-folder-pack-number): Ditto.
6447 * elmo-mime.el (elmo-mime-message-display): Ditto.
6449 * elmo.el (elmo-generic-folder-commit): Ditto.
6450 (elmo-folder-list-unreads): Ditto.
6451 (elmo-folder-list-importants): Ditto.
6452 (elmo-generic-folder-commit): Ditto.
6453 (elmo-message-set-mark): Ditto.
6454 (elmo-generic-folder-append-msgdb): Ditto.
6455 (elmo-folder-synchronize): Ditto.
6456 (elmo-folder-messages): Ditto.
6457 (elmo-init): Call elmo-dop-queue-load.
6458 (elmo-folder-list-messages): Ditto.
6460 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6461 (elmo-nntp-folder-process-crosspost): Ditto.
6462 (elmo-folder-list-unreads-internal): Ditto.
6464 * elmo-dop.el: Removed old functions.
6466 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6468 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6469 `folder' to `msgdb'.
6471 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6473 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6474 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6476 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6479 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6481 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6484 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6485 (mmimap-parse-parameters-from-list): Define as alias for
6486 `mime-decode-parameter-plist' if it is defined as function.
6487 (mmimap-make-mime-entity): Added argument `number'.
6488 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6490 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6492 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6494 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6496 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6498 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6500 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6502 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6503 when elmo-imap4-default-authenticate-type is nil.
6504 (elmo-folder-list-subfolders): Ditto
6505 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6506 (elmo-imap4-fetch-callback-1-subr): Renamed from
6507 `elmo-imap4-fetch-callback-1' and define as inline function.
6508 (elmo-imap4-fetch-callback-1):
6509 Renamed from `elmo-imap4-fetch-callback'.
6510 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6512 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6513 msgdb path (To keep compatibility with main trunk).
6515 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6517 * elmo-util.el (elmo-make-file-cache): Moved position of
6520 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6521 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6522 instead of `elmo-pop3-inhibit-uidl'.
6523 (elmo-folder-exists-p): Ditto.
6524 (elmo-pop3-folder-list-messages): Ditto.
6526 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6527 instead of `elmo-pop3-inhibit-uidl'.
6528 (elmo-folder-status): Ditto.
6530 * elmo-dop.el (elmo-dop-folder): New variable.
6531 (elmo-dop-lock-message): Eliminated.
6532 (elmo-dop-unlock-message): Ditto.
6533 (elmo-dop-lock-list-load): Ditto.
6534 (elmo-dop-lock-list-save): Ditto.
6535 (elmo-dop-delete-folder): Ditto.
6536 (elmo-dop-rename-folder): Ditto.
6538 * elmo.el: Removed incomplete commentary.
6540 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6542 * elmo.el (toplevel): Require 'elmo-version first;
6543 for little `recursive-load-depth' settings.
6544 Fix "ends here" comment.
6546 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6548 * elmo-util.el (toplevel): Require 'poem;
6549 Some functions are moved from elmo-cache.el.
6551 * elmo-net.el (toplevel): Require 'elmo-cache.
6553 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6555 * elmo.el (toplevel): Ditto.
6557 * elmo-cache.el: Rewrite with luna;
6558 Some functions are moved to elmo-util.el.
6560 * elmo-internal.el (elmo-internal-folder-list): New variable.
6561 (elmo-internal-folder-initialize): Rewrite.
6562 (elmo-folder-list-subfolders): Ditto.
6564 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6565 (elmo-cache-collect-sub-directories): Ditto.
6567 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6569 * elmo-version.el (elmo-version): Up to 2.5.8.
6571 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6573 * elmo-util.el (elmo-list-insert): New function.
6575 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6577 * elmo.el (elmo-init): New function.
6578 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6580 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6581 (Renamed from `elmo-localdir-header-chop-length').
6583 * elmo-pop3.el (elmo-pop3-use-cache,
6584 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6586 * elmo-nntp.el (elmo-message-fetch): Define.
6587 (elmo-message-fetch-unplugged): Ditto.
6588 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6589 (elmo-nntp-use-cache): Ditto.
6590 (elmo-nntp-max-number-precedes-list-active): Ditto.
6592 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6594 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6595 `elmo-msgdb-insert-file-header'.
6596 Use `elmo-msgdb-file-header-chop-length'.
6598 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6601 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6602 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6603 `elmo-msgdb-insert-file-header'.
6605 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6607 Define obsolete variables with `elmo-define-obsolete-variable',
6609 * elmo-util.el (elmo-warning-buffer-name): New constant.
6610 (elmo-warning): New function.
6611 (elmo-obsolete-variable-alist): New variable.
6612 (elmo-obsolete-variable-show-warnings): New variable.
6613 (elmo-define-obsolete-variable): New function.
6614 (elmo-resque-obsolete-variable): Ditto.
6615 (elmo-resque-obsolete-variables): Ditto.
6617 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6619 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6622 * elmo-pop3.el, elmo-nntp.el: Use custom.
6624 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6626 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6627 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6629 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6631 * Luna-fy Kenichi OKADA's following changes.
6632 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6634 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6636 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6638 * elmo-util.el (elmo-display-progress): Prefer
6639 `progress-feedback-with-label' to `lprogress-display'.
6641 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6643 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6645 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6647 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6648 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6649 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6650 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6651 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6652 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6653 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6654 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6655 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6656 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6657 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6658 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6659 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6661 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6663 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6664 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6666 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6668 * elmo.el (elmo-folder-process-crosspost): New generic method.
6669 (elmo-folder-writable-p): Ditto.
6670 (elmo-folder-message-appendable-p): Eliminated.
6671 (elmo-generic-folder-append-msgdb): Rewrite.
6672 (elmo-newsgroups-hashtb): New internal variable.
6673 (elmo-crosspost-message-set): Eliminated.
6674 (elmo-crosspost-message-delete): Ditto.
6675 (elmo-setup-subscribed-newsgroups): New function.
6676 (elmo-crosspost-message-alist-modified): New internal variable.
6677 (elmo-crosspost-message-alist-load): New function (Renamed from
6678 `wl-crosspost-alist-load').
6679 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6680 `wl-crosspost-alist-save').
6682 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6684 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6686 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6687 elmo-newsgroups-hashtb).
6688 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6689 `elmo-nntp-folder-update-crosspost-message-alist'.
6690 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6691 `elmo-nntp-groups-hashtb'.
6692 (elmo-nntp-make-groups-hashtb): Eliminated.
6693 (elmo-nntp-parse-newsgroups): New function (Renamed from
6694 `wl-parse-newsgroups').
6695 (elmo-folder-creatable-p, elmo-folder-writable-p,
6696 elmo-folder-close-internal, elmo-folder-mark-as-read,
6697 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6699 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6701 * elmo-net.el (elmo-message-fetch): Check buffer size.
6703 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6705 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6707 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6708 before `close' command.
6710 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6711 `mark-alist' (All other related portions are changed).
6713 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6715 * elmo-util.el (elmo-create-hash-size): Eliminated.
6716 (elmo-make-hash) Make a hash with `one less than a power of two'
6719 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6720 (elmo-hash-maximum-size): Changed value.
6722 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6724 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6725 (elmo-mime-message-display-as-is): Ditto.
6727 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6729 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6730 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6732 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6734 * elmo-mark.el: New file.
6736 * elmo-internal.el: Rewrite (Almost empty).
6738 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6740 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6741 (mime-imap-entity-header-string): Ditto.
6742 (mmimap-entity-section): Rewrite.
6744 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6746 * elmo-nmz.el: New file.
6748 * elmo-pipe.el: Rewrite with luna.
6750 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6752 * elmo-archive.el: Rewrite with luna.
6754 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6755 (elmo-folder-list-importants-internal): Ditto.
6757 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6759 * elmo-archive.el (elmo-archive-version): Abolish.
6760 (toplevel) Removed `boso' comment.
6762 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6764 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6765 elmo-msgdb-add-msgs-to-seen-list-subr;
6766 Changed argument seen-marks to unread-marks.
6768 * elmo-nntp.el: Rewrite with luna.
6770 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6772 * elmo-filter.el: Rewrite with luna.
6774 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6776 * elmo-pop3.el: Rewrite with luna.
6778 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6780 * elmo-multi.el: Rewrite with luna.
6782 * elmo-vars.el (elmo-use-killed-list): Abolish.
6783 All other related portions are changed.
6784 (elmo-filename-replace-string-alist): Renamed from
6785 elmo-msgid-replace-string-alist.
6787 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6789 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6791 * elmo-map.el: New file.
6792 * elmo-maildir.el: Rewrite with luna.
6794 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6796 * elmo.el: Changed meaning of `elmo-folder-commit'.
6797 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6799 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6801 * elmo.el (elmo-folder-append-buffer): New function.
6802 (Renamed from `elmo-append-msg')
6804 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6806 * elmo-mime.el: New file.
6808 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6810 * elmo-cache.el: Rewrite.
6812 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6814 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6816 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6818 * elmo-vars.el (elmo): New group.
6819 (elmo-strict-diff-folder-regexp): New variable.
6821 * elmo-util.el (elmo-call-func): Abolish.
6822 (elmo-folder-get-type): Ditto.
6823 (elmo-*-get-spec): Ditto.
6824 (elmo-*-spec-*): Ditto.
6825 (elmo-imap4-identical-name-space-p): Ditto.
6826 (elmo-folder-identical-system-p): Ditto.
6827 (elmo-folder-direct-copy-alist): Ditto.
6828 (elmo-folder-direct-copy-p): Ditto.
6830 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6831 (elmo-folder-initialize): Define.
6832 (elmo-folder-get-primitive-list): Ditto.
6834 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6835 (elmo-folder-initialize): Define.
6836 Renamed `elmo-network-session-host-internal' to
6837 `elmo-network-session-server-internal'.
6839 * elmo-multi.el (elmo-multi-folder): New luna class.
6840 (elmo-folder-initialize): Define.
6841 (elmo-folder-get-primitive-list): Ditto.
6842 (elmo-folder-contains-type): Ditto.
6843 (elmo-message-use-cache-p): Ditto.
6845 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6846 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6848 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6849 (elmo-folder-initialize): Define.
6851 * elmo-filter.el (elmo-filter-folder): New luna class.
6852 (elmo-folder-initialize): Define.
6853 (elmo-folder-get-primitive-list): Ditto.
6854 (elmo-folder-contains-type): Ditto.
6856 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6858 * elmo-imap4.el: Rewrite with luna.
6860 * mmimap.el: New file.
6862 * mmelmo.el, mmelmo-imap4.el: Removed.
6864 * elmo-net.el: Ditto.
6866 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6867 (elmo-folder-initialize): Define.
6869 * elmo-archive.el (elmo-archive-folder): New luna class.
6870 (elmo-folder-initialize): Define.
6872 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6873 `elmo-folder-msgdb-path'.
6874 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6877 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6879 * elmo.el: New file.
6881 * elmo2.el: Renamed to elmo.el.
6884 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6886 * elmo-cache.el (elmo-cache-expire-by-size): Count
6887 a disk usage for a cache file entry in KB even when
6888 its kind is a directory.
6890 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6892 * elmo-version.el (elmo-version): Up to 2.5.7.
6894 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6896 * elmo-version.el (elmo-version): Up to 2.5.6.
6898 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6900 * elmo-version.el (elmo-version): Up to 2.5.5.
6902 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6904 * elmo-imap4.el (elmo-network-authenticate-session):
6905 Fixed a logic for response checking.
6907 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6909 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6910 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6911 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6914 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6915 for `starttls-open-stream' and `starttls-negotiate'.
6917 * elmo-nntp.el: Remove autoload settings for
6918 `starttls-open-stream' and `starttls-negotiate'.
6920 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6921 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6922 `luna-define-class' with `eval-and-compile'.
6924 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6926 * elmo-util.el (elmo-read-search-condition-internal):
6927 Require an element of table for searching field.
6929 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6931 * elmo-version.el (elmo-version): Up to 2.5.4.
6933 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6935 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6937 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6939 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6941 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6943 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6946 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6948 * elmo-imap4.el (elmo-imap4-delete-folder):
6949 Send "close" before "delete" (Use commented out line).
6950 (elmo-imap4-rename-folder): Ditto.
6952 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6953 folder string itself.
6954 (elmo-dop-list-deleted): New function.
6955 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6958 * elmo-util.el (elmo-string-rassoc-all): New function.
6960 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6962 * elmo-version.el (elmo-version): Up to 2.5.3.
6964 * elmo-net.el (elmo-network-get-session): Changed logic for
6965 checking process status.
6967 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6969 Changed logic for checking process status.
6971 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
6973 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6975 (elmo-network-setup-session): Set UIDL hash size according to
6976 the length of list response.
6977 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6978 according to the length of list response;
6979 Return the length of list response.
6980 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6982 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6984 * elmo-imap4.el (toplevel): Require 'ssl.
6985 Add autoload 'starttls.
6986 * elmo-pop3.el (toplevel): Ditto.
6987 * elmo-nntp.el (toplevel): Ditto.
6989 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6991 * elmo-imap4.el (toplevel): defun at compile time.
6992 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6993 sasl-next-step, sasl-step-data, sasl-step-set-data.
6994 * elmo-pop3.el (toplevel): Ditto.
6996 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6998 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7000 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7002 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7004 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7005 and `elmo-pop-auth-apop'.
7007 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7009 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7011 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7013 * elmo-pop3.el (elmo-network-authenticate-session): Split
7014 encoded response value.
7016 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7018 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7019 `elmo-pop3-force-login'.
7020 Redefine `sasl-mechanisms'.
7021 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7023 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7025 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7026 Delete `elmo-imap4-authenticator-alist'.
7027 (elmo-imap4-auth-cram-md5): Delete.
7028 (elmo-imap4-auth-digest-md5): Delete.
7030 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7032 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7033 (elmo-pop3-auth-scram-md5): Ditto.
7034 (elmo-pop3-auth-cram-md5): Ditto.
7036 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7038 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7039 Delete `elmo-pop3-authenticator-alist'.
7041 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7043 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7045 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7047 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7049 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7051 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7053 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7054 Fixed problem when `elmo-pop3-use-uidl' is nil.
7055 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7057 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7059 * elmo-version.el (elmo-version): Up to 2.5.2.
7061 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7063 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7065 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7066 (elmo-pop3-msgdb-create-as-numlist): Use it.
7068 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7069 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7071 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7072 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7074 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7076 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7077 when elmo-mark-as-read is called with second argument nil.
7079 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7081 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7082 Moved to elmo-util.el.
7084 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7085 Moved from elmo-pipe.el
7087 * elmo-archive.el (elmo-archive-call-process): Enclose with
7090 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7091 "RFC822" (because RFC822.PEEK is obsolete).
7092 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7094 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7096 * elmo-archive.el (elmo-archive-call-process): Don't check for
7097 the exit status when Nemacs is running.
7099 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7101 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7104 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7105 (elmo-pop3-get-spec): Set default of auth to 'user.
7107 * elmo-imap4.el (elmo-imap4-session-check):
7108 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7109 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7110 (elmo-imap4-auth-login): New function; Revival.
7111 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7112 `elmo-imap4-auth-login'.
7114 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7116 * elmo2.el (toplevel): Move `product-provide' declare.
7117 * mmelmo.el (toplevel): Ditto.
7119 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7121 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7123 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7125 * elmo-util.el (elmo-folder-get-store-type): New function.
7126 (elmo-folder-direct-copy-p): Use it.
7128 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7130 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7131 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7132 and result of `elmo-imap4-use-flag-p'.
7133 (elmo-imap4-fetch-callback-1): Set mark according to
7134 the result of `elmo-imap4-use-flag-p'.
7136 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7138 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7139 (elmo-generic-list-folder-unread): Ditto.
7140 (elmo-folder-get-info): Ditto.
7141 (elmo-folder-set-info-max-by-numdb): Ditto.
7142 (elmo-folder-get-info-max): Ditto.
7143 (elmo-folder-get-info-length): Ditto.
7144 (elmo-folder-get-info-unread): Ditto.
7145 (elmo-folder-info-make-hashtb): Ditto.
7147 * elmo2.el: Removed above functions.
7149 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7151 * elmo-imap4.el (toplevel): Require 'ssl.
7152 Add autoload 'starttls.
7153 * elmo-pop3.el (toplevel): Ditto.
7154 * elmo-nntp.el (toplevel): Ditto.
7156 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7158 * elmo-imap4.el (toplevel): defun at compile time.
7159 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7160 sasl-next-step, sasl-step-data, sasl-step-set-data.
7161 * elmo-pop3.el (toplevel): Ditto.
7163 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7165 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7167 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7169 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7171 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7172 and `elmo-pop-auth-apop'.
7174 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7176 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7178 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7180 * elmo-pop3.el (elmo-network-authenticate-session): Split
7181 encoded response value.
7183 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7185 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7186 `elmo-pop3-force-login'.
7187 Redefine `sasl-mechanisms'.
7188 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7190 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7192 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7193 Delete `elmo-imap4-authenticator-alist'.
7194 (elmo-imap4-auth-cram-md5): Delete.
7195 (elmo-imap4-auth-digest-md5): Delete.
7197 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7199 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7200 (elmo-pop3-auth-scram-md5): Ditto.
7201 (elmo-pop3-auth-cram-md5): Ditto.
7203 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7205 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7206 Delete `elmo-pop3-authenticator-alist'.
7208 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7210 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7212 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7215 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7217 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7219 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7221 * elmo-nntp.el (elmo-nntp-get-folders-info):
7222 Fixed problem when '\' character is contained in user-id.
7223 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7226 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7228 * elmo-imap4.el (elmo-imap4-delete-folder):
7229 Send "close" before "delete" (Use commented out line).
7230 (elmo-imap4-rename-folder): Ditto.
7232 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7233 folder string itself.
7234 (elmo-dop-list-deleted): New function.
7235 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7238 * elmo-util.el (elmo-string-rassoc-all): New function.
7240 * elmo-version.el (elmo-version): Up to 2.5.1.
7242 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7244 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7246 * elmo-internal.el (elmo-internal-search): Fix last change.
7248 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7250 * elmo-internal.el (elmo-internal-search): Rewrite.
7251 (Fixed problem which is pointed out by Akihiro MOTOKI
7252 <motoki@da.jp.nec.com>)
7254 * elmo-version.el (elmo-version): Up to 2.5.0.
7256 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7258 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7260 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7262 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7263 non-nil, make hierarchy.
7265 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7267 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7268 `elmo-pop3-use-uidl' must be bound to nil.
7269 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7271 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7273 * elmo-util.el (elmo-copy-file): Don't cause an error after
7274 `add-name-to-file' failed.
7276 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7277 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7279 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7281 * elmo-version.el (elmo-version): Up to 2.3.93.
7283 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7285 * elmo-util.el (elmo-flatten): New function.
7287 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7289 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7291 * elmo-cache.el (toplevel): Ditto.
7292 * elmo-database.el (toplevel): Ditto.
7293 * elmo-date.el (toplevel): Ditto.
7294 * elmo-dop.el (toplevel): Ditto.
7295 * elmo-filter.el (toplevel): Ditto.
7296 * elmo-imap4.el (toplevel): Ditto.
7297 * elmo-internal.el (toplevel): Ditto.
7298 * elmo-localdir.el (toplevel): Ditto.
7299 * elmo-localnews.el (toplevel): Ditto.
7300 * elmo-maildir.el (toplevel): Ditto.
7301 * elmo-msgdb.el (toplevel): Ditto.
7302 * elmo-multi.el (toplevel): Ditto.
7303 * elmo-net.el (toplevel): Ditto.
7304 * elmo-nntp.el (toplevel): Ditto.
7305 * elmo-pipe.el (toplevel): Ditto.
7306 * elmo-pop3.el (toplevel): Ditto.
7307 * elmo-util.el (toplevel): Ditto.
7308 * elmo-vars.el (toplevel): Ditto.
7309 * elmo2.el (toplevel): Ditto.
7310 * mmelmo-imap4.el (toplevel): Ditto.
7311 * mmelmo.el (toplevel): Ditto.
7313 * elmo-version.el (elmo-version): Move to top.
7315 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7316 * elmo-imap4.el (toplevel): Ditto.
7317 * elmo-localdir.el (toplevel): Ditto.
7318 * elmo-msgdb.el (toplevel): Ditto.
7319 * elmo-nntp.el (toplevel): Ditto.
7320 * elmo-pop3.el (toplevel): Ditto.
7321 * elmo-version.el (toplevel): Ditto.
7323 * elmo-localnews.el (toplevel): Added Keyword header.
7325 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7327 * elmo-version.el (product-version-as-string): Defined using
7331 * elmo-localdir.el (toplevel): Updated copyright notice.
7332 * elmo-version.el (toplevel): Ditto.
7333 * elmo-msgdb.el (toplevel): Ditto.
7334 * elmo-imap4.el (toplevel): Ditto.
7335 * elmo-nntp.el (toplevel): Ditto.
7336 * elmo-pop3.el (toplevel): Ditto.
7338 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7340 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7343 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7344 parameter value (It sometimes contains raw kanji).
7346 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7348 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7349 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7351 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7353 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7355 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7357 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7358 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7360 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7362 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7363 value if selecting folder succceeded.
7364 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7366 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7368 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7371 * elmo-util.el (elmo-string-matched-member): New function.
7373 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7375 * elmo-util.el (elmo-unintern): New macro.
7376 (elmo-number-set-member): Fixed docstring.
7378 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7381 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7383 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7384 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7386 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7388 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7391 Return non-nil if selecting folder succeeded.
7392 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7394 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7396 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7397 `file-name-completion' returns t.
7398 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7399 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7400 directory if it does not exist.
7401 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7404 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7406 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7407 enclosure (It's harmful in unplugged status).
7409 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7411 * mmelmo-1.el: Removed.
7413 * mmelmo-2.el: Ditto.
7415 * mmelmo-imap4-1.el: Ditto.
7417 * mmelmo-imap4-2.el: Ditto.
7419 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7421 * mmelmo.el: Merged mmelmo-2.el.
7423 * elmo-version.el (elmo-version): Up to 2.3.92.
7425 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7427 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7428 elmo-update-number): Remove last period in "...done." message.
7429 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7431 * elmo-cache.el (elmo-cache-expire-by-size,
7432 elmo-cache-get-sorted-cache-file-list,
7433 elmo-cache-msgdb-create-as-numlist): Ditto.
7434 * elmo-dop.el (elmo-dop-save-pending-messages,
7435 (elmo-dop-flush-pending-append-operations): Ditto.
7436 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7437 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7438 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7439 (elmo-localdir-pack-number): Ditto.
7440 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7441 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7442 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7443 mime-write-entity-content): Ditto.
7444 * pldap.el (ldap-search-basic): Ditto.
7446 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7448 * elmo-version.el (elmo-version): Up to 2.3.91.
7450 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7451 Only when filter is 'last'.
7453 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7454 (elmo-condition-parse-search-value): Use it.
7455 (elmo-read-search-condition-internal): Quote value only when
7458 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7460 * elmo2.el (elmo-generic-folder-diff): Fix.
7462 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7464 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7465 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7466 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7467 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7468 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7469 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7471 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7473 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7476 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7478 * elmo-version.el (elmo-version): Up to 2.3.90.
7480 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7481 (elmo-imap4-list-folder-important): Ditto.
7483 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7485 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7487 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7489 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7491 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7493 * elmo-nntp.el (elmo-network-initialize-session):
7494 Add starttls negotiation.
7496 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7498 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7500 (elmo-network-setup-session): Define.
7501 Call `elmo-nntp-send-mode-reader' when session opened.
7503 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7505 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7507 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7509 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7510 an invalid SPACE character ahead of `SEARCH' command. Move
7511 a valid SPACE character following `SEARCH' from conditional
7512 `format' arguments to control-strings.
7514 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7516 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7519 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7521 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7523 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7524 `w32-get-true-file-link-count' as t.
7526 * elmo-imap4.el (elmo-imap4-read): Abolished.
7527 (Renamed to `elmo-read' and moved to elmo-util.el)
7528 All other related portions are changed.
7530 * elmo-util.el (elmo-read): New function.
7531 (elmo-condition-parse-search-value): Use it.
7533 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7535 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7537 * elmo-nntp.el (elmo-nntp-session): Define.
7538 (elmo-nntp-setting): Abolished.
7539 All other related portions are changed.
7540 (elmo-nntp-get-server-command): Changed argument.
7541 (elmo-nntp-set-server-command): Ditto.
7542 (elmo-nntp-xover-p): Ditto.
7543 (elmo-nntp-set-xover): Ditto.
7544 (elmo-nntp-listgroup-p): Ditto.
7545 (elmo-nntp-set-listgroup): Ditto.
7546 (elmo-nntp-list-active-p): Ditto.
7547 (elmo-nntp-set-list-active): Ditto.
7548 (elmo-nntp-xhdr-p): Ditto.
7549 (elmo-nntp-set-xhdr): Ditto.
7550 (elmo-nntp-flush-connection): Abolished.
7551 (elmo-nntp-get-connection): Abolished.
7552 (elmo-nntp-get-session): New function.
7553 (elmo-network-initialize-session): Defined.
7554 (elmo-network-authenticate-session): Ditto.
7555 (elmo-nntp-send-mode-reader): Changed argument.
7556 (elmo-nntp-send-command): Changed argument.
7557 All other related portions are changed.
7558 (elmo-nntp-read-response): Ditto.
7559 (elmo-nntp-read-raw-response): Ditto.
7560 (elmo-nntp-read-contents): Ditto.
7561 (elmo-nntp-read-body): Ditto.
7562 (elmo-nntp-goto-folder): Abolished.
7563 (elmo-nntp-select-group): New function.
7564 All other related portions are changed.
7565 (This function substitutes `elmo-nntp-goto-folder')
7566 (elmo-nntp-msgdb-create-by-header): Rewrite.
7567 (elmo-nntp-get-overview): Eliminated.
7568 (elmo-nntp-get-message): Ditto.
7569 (elmo-nntp-open-connection) Abolished.
7570 (elmo-nntp-read-msg): Rewrite.
7571 (elmo-nntp-post): Ditto.
7572 (elmo-nntp-send-data): Abolished.
7573 (elmo-nntp-send-buffer): New function.
7574 (elmo-nntp-send-data-line): Define as inline function.
7575 (elmo-nntp-get-folders-info-prepare): Use session as key.
7576 (elmo-nntp-groups-read-response): Changed argument.
7577 (elmo-nntp-retrieve-headers): Ditto.
7578 (elmo-nntp-msgdb-create-message): Ditto.
7580 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7581 when searching by 'since' or 'before'.
7583 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7585 * elmo-version.el (toplevel): Use product-version-as-string for set
7586 verstion-string, if defined.
7588 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7590 * elmo-util.el: Doc fixes.
7592 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7594 * elmo-archive.el (toplevel): Use product-provide.
7595 * elmo-cache.el (toplevel): Ditto.
7596 * elmo-database.el (toplevel): Ditto.
7597 * elmo-date.el (toplevel): Ditto.
7598 * elmo-dop.el (toplevel): Ditto.
7599 * elmo-filter.el (toplevel): Ditto.
7600 * elmo-imap4.el (toplevel): Ditto.
7601 * elmo-internal.el (toplevel): Ditto.
7602 * elmo-localdir.el (toplevel): Ditto.
7603 * elmo-localnews.el (toplevel): Ditto.
7604 * elmo-maildir.el (toplevel): Ditto.
7605 * elmo-msgdb.el (toplevel): Ditto.
7606 * elmo-multi.el (toplevel): Ditto.
7607 * elmo-net.el (toplevel): Ditto.
7608 * elmo-nntp.el (toplevel): Ditto.
7609 * elmo-pipe.el (toplevel): Ditto.
7610 * elmo-pop3.el (toplevel): Ditto.
7611 * elmo-util.el (toplevel): Ditto.
7612 * elmo-vars.el (toplevel): Ditto.
7613 * elmo2.el (toplevel): Ditto.
7614 * mmelmo-1.el (toplevel): Ditto.
7615 * mmelmo-2.el (toplevel): Ditto.
7616 * mmelmo-imap4-1.el (toplevel): Ditto.
7617 * mmelmo-imap4-2.el (toplevel): Ditto.
7618 * mmelmo-imap4.el (toplevel): Ditto.
7619 * mmelmo.el (toplevel): Ditto.
7621 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7623 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7624 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7626 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7628 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7630 (elmo-multi-split-number-alist): Ditto.
7632 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7634 * elmo-version.el: New file. Use product.el.
7635 * elmo2.el: Add (require 'elmo-version).
7636 * elmo-vars.el (elmo-appname, elmo-version): Move to
7639 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7641 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7642 `elmo-msgdb-expand-path'.
7643 (elmo-msgdb-load): Ditto.
7644 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7645 (elmo-generic-list-folder-unread): Rewrite.
7646 (elmo-generic-list-folder-important): Changed argument.
7647 (elmo-list-folder-unread): Ditto.
7648 (elmo-list-folder-important): Ditto.
7649 (elmo-folder-diff): Rewrite.
7650 (elmo-generic-folder-diff): New function.
7651 (elmo-multi-get-number-alist-list): Abolished
7652 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7653 (elmo-multi-folder-diff): Moved to elmo-multi.el
7654 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7656 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7657 `elmo-msgdb-expand-path'.
7658 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7659 (elmo-pop3-read-msg): Ditto.
7660 (elmo-pop3-delete-msgs): Ditto.
7661 (elmo-pop3-folder-diff): New alias.
7663 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7664 `elmo-msgdb-expand-path'.
7665 (elmo-pipe-list-folder-unread): Changed arguments.
7666 (elmo-pipe-list-folder-important): Ditto.
7667 (elmo-pipe-folder-diff): New alias.
7669 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7670 `elmo-msgdb-expand-path'.
7671 (elmo-nntp-max-of-folder): Ditto.
7672 (elmo-nntp-msgdb-create): Ditto.
7673 (elmo-nntp-delete-msgs): Ditto.
7674 (elmo-nntp-folder-diff): New alias.
7676 * elmo-multi.el (elmo-multi-folder-diff): New function.
7677 (elmo-multi-split-mark-alist): Ditto.
7678 (elmo-multi-split-number-alist): Ditto.
7679 (elmo-multi-mark-alist-list): Abolished (Renamed to
7680 elmo-multi-split-mark-alist).
7681 (elmo-multi-list-folder-unread): Rewrite.
7682 (elmo-multi-list-folder-important): Ditto.
7683 (elmo-multi-list-folder): Set `spec' as 1st argument for
7684 `elmo-msgdb-expand-path'.
7685 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7686 instead of `elmo-multi-get-number-alist-list'.
7688 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7689 If 1st argument is not string, treat as spec.
7690 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7691 `elmo-msgdb-expand-path'.
7692 (elmo-msgdb-flist-load): Ditto.
7693 (elmo-msgdb-flist-save): Ditto.
7694 (elmo-msgdb-delete-path): Ditto.
7695 (elmo-msgdb-rename-path): Ditto.
7697 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7698 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7699 (elmo-maildir-delete-mark-msgs): Ditto.
7700 (elmo-maildir-msgdb-create): Ditto.
7701 (elmo-maildir-read-msg): Ditto.
7702 (elmo-maildir-delete-msgs): Ditto.
7703 (elmo-maildir-list-folder-subr): Ditto.
7704 (elmo-maildir-search): Ditto.
7705 (elmo-maildir-get-msg-filename): Ditto.
7706 (elmo-maildir-pack-number): Ditto.
7707 (elmo-maildir-folder-diff): New alias.
7709 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7711 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7712 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7713 (elmo-localdir-folder-diff): New alias.
7715 * elmo-internal.el (elmo-internal-list-folder-subr):
7716 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7717 (elmo-internal-list-folder-by-location): Ditto.
7718 (elmo-internal-msgdb-create): Ditto.
7719 (elmo-internal-delete-msgs): Ditto.
7720 (elmo-internal-read-msg): Ditto.
7721 (elmo-internal-folder-diff): New alias.
7723 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7724 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7725 `elmo-msgdb-expand-path'.
7726 (elmo-imap4-list-folder-unread): Changed arguments.
7727 (elmo-imap4-list-folder-important): Ditto.
7729 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7730 (elmo-filter-list-folder-important): Ditto.
7731 (elmo-filter-folder-diff): New function.
7733 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7735 * elmo-cache.el (elmo-cache-list-folder):
7736 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7737 (elmo-cache-copy-msgs): Ditto.
7738 (elmo-cache-folder-diff): New alias.
7740 * elmo-archive.el (elmo-archive-list-folder-subr):
7741 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7742 (elmo-archive-get-archive-name): Ditto.
7743 (elmo-archive-create-file): Ditto.
7744 (elmo-archive-append-msg): Ditto.
7745 (elmo-archive-copy-msgs): Ditto.
7746 (elmo-archive-copy-msgs-froms): Ditto.
7747 (elmo-archive-get-msg-filename): Ditto.
7748 (elmo-archive-folder-diff): New alias.
7750 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7752 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7753 (elmo-pop3-stream-type-alist): New variable.
7754 (elmo-nntp-stream-type-alist): New variable.
7756 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7757 (elmo-kill-buffer): Ditto.
7758 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7759 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7760 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7761 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7762 (elmo-imap4-get-spec): Take into account
7763 `elmo-imap4-stream-type-alist'.
7765 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7767 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7768 (elmo-nntp-list-folders-get-cache): Ditto.
7770 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7772 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7773 character before 'uid'.
7775 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7777 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7779 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7781 * elmo-util.el (elmo-number-set-member): New function.
7782 (elmo-number-set-append-list): Ditto.
7783 (elmo-number-set-append): Ditto.
7785 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7786 Use `elmo-number-set-member'.
7787 (elmo-living-messages): Ditto.
7788 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7789 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7791 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7792 (elmo-imap4-add-to-cont-list): Abolished.
7793 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7794 instead of elmo-imap4-add-to-cont-list.
7796 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7797 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7799 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7801 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7803 * elmo-util.el (elmo-condition-parse-search-value):
7806 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7808 * elmo-util.el (elmo-condition-find-key-internal): New function.
7809 (elmo-condition-find-key): Ditto.
7811 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7812 (elmo-msgdb-search-internal): Ditto.
7813 (elmo-msgdb-search): Ditto.
7815 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7817 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7818 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7820 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7821 (elmo-nntp-search-primitive): Fixed problem when condition is
7824 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7826 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7827 (elmo-nntp-xhdr-p): New macro.
7828 (elmo-nntp-set-xhdr): Ditto.
7829 (elmo-nntp-parse-xhdr-response): New function.
7830 (elmo-nntp-retrieve-field): Ditto.
7831 (elmo-nntp-search-primitive): Ditto.
7832 (elmo-nntp-search): Implemented.
7834 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7836 * elmo-archive.el (elmo-archive-search): Set all number list to
7837 `elmo-archive-field-condition-match'
7839 * elmo-localdir.el (elmo-localdir-search): Likewise.
7841 * elmo-maildir.el (elmo-maildir-search): Likewise.
7843 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7845 * elmo-msgdb.el (elmo-living-messages): New function.
7846 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7847 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7848 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7849 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7850 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7851 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7852 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7853 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7854 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7855 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7856 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7858 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7860 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7862 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7864 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7866 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7867 arguments for `SEARCH' command.
7868 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7869 All other related portions are changed.
7871 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7873 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7874 (elmo-list-folder-unread): Rewrite.
7875 (elmo-list-folder-important): Ditto.
7877 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7878 (elmo-condition-parse-error): New inline function.
7879 (elmo-read-search-condition): New function.
7880 (elmo-read-search-condition-internal): Ditto.
7881 (elmo-parse-search-condition): Rewrite.
7882 (elmo-condition-parse): New function.
7883 (elmo-condition-parse-or-expr): Ditto.
7884 (elmo-condition-parse-and-expr): Ditto.
7885 (elmo-condition-parse-primitive): Ditto.
7886 (elmo-condition-parse-search-value): Ditto.
7887 (elmo-buffer-field-primitive-condition-match): Ditto.
7888 (elmo-buffer-field-condition-match): Rewrite.
7889 (elmo-file-field-condition-match): Ditto.
7891 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7892 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7894 * elmo-internal.el (elmo-internal-search): Set `number' and
7895 `number-list' argument of `elmo-file-field-condition-match'.
7897 * elmo-maildir.el (elmo-maildir-search): Ditto.
7899 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7900 `msgdb' as argument instead of `mark-alist'.
7901 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7904 * elmo-multi.el: Likewise.
7906 * elmo-pipe.el: Likewise.
7908 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7909 (elmo-imap4-search-internal): Rewrite.
7910 (elmo-imap4-search): Ditto.
7912 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7913 (elmo-filter-list-folder-unread): Ditto.
7914 (elmo-filter-list-folder-important): Ditto.
7915 (elmo-filter-search): Rewrite.
7917 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7918 `number-list' argument of `elmo-file-field-condition-match'.
7919 (elmo-cache-search): Ditto.
7921 * elmo-localdir.el: Likewise.
7923 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7924 number-list and pass it to `elmo-buffer-field-condition-match'.
7925 (elmo-archive-field-condition-match): Pass `number-list' to
7926 `elmo-archive-field-condition-match'
7928 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7930 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7933 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7934 (elmo-folder-diff-async-callback-data): Ditto.
7935 (elmo-folder-diff-async): New function.
7937 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7938 (elmo-network-session-cache-key): Use it as a prefix of the session
7940 (elmo-network-open-session): Ditto.
7942 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7943 (elmo-imap4-status-callback-data): Ditto.
7944 (elmo-imap4-server-diff-async-callback): New variable.
7945 (elmo-imap4-server-diff-async-callback-data): Ditto.
7946 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7947 `elmo-imap4-status-callback-data'.
7948 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7949 `elmo-imap4-status-callback-data' as nil.
7950 (elmo-imap4-server-diff): Ditto.
7951 (elmo-imap4-server-diff-async-callback-1): New function.
7952 (elmo-imap4-server-diff-async): Ditto.
7953 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7955 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7957 * elmo-util.el (elmo-list-delete): Doc fix.
7958 (elmo-delete-lists): Abolish.
7959 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7960 instead of `elmo-delete-lists'.
7962 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7964 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7967 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
7969 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7970 `elmo-imap4-literal-subr'.
7971 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7972 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7974 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7976 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7977 (elmo-archive-list-folder): Fix.
7978 (elmo-archive-max-of-folder): Fix.
7980 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7982 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7983 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7984 (elmo-localdir-append-msg): Ditto.
7985 (elmo-localdir-list-folder): Fix for `nonsort'.
7986 (elmo-localdir-list-folder-subr): Fix for `killed'.
7987 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7988 (elmo-maildir-list-folder-subr): Ditto.
7989 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7990 (elmo-archive-list-folder-subr): Ditto.
7991 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7992 (elmo-internal-list-folder-subr): Ditto.
7994 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
7996 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7998 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8000 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8002 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8004 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8005 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8007 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8009 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8010 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8012 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8014 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8016 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8017 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8018 before STORE command.
8020 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8022 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8024 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8025 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8027 (elmo-imap4-list-folders): Removed unused local variable.
8028 (elmo-network-initialize-session): Ditto.
8029 (elmo-imap4-delete-msg-by-id): Ditto.
8030 (elmo-imap4-parse-fetch): Ditto.
8031 (elmo-imap4-copy-msgs): Ditto.
8032 Use `dst-spec' instead of `dst-folder'.
8033 (elmo-network-authenticate-session): Check authenticate type `plain'.
8035 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8037 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8039 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8040 `elmo-imap4-response-value'.
8041 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8043 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8045 * elmo-imap4.el (elmo-imap4-send-command):
8046 Cause elmo-imap4-bye-error when current response is BYE.
8047 (elmo-imap4-arrival-filter): Changed greeting response value.
8049 * elmo2.el (elmo-imap4-bye-error): Define.
8051 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8052 (elmo-imap4-server-diff): Ditto.
8053 (elmo-imap4-response-bye-p): New macro.
8054 (elmo-imap4-response-error-text): Get text from BYE response.
8055 (elmo-imap4-read-response): Return if BYE response.
8056 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8057 (elmo-imap4-folder-exists-p): Ditto.
8058 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8059 (elmo-imap4-parse-bye): New function.
8060 (elmo-imap4-parse-response): Remove needless let.
8061 Call `elmo-imap4-parse-bye'.
8063 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8065 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8066 the mailbox does not exist.
8067 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8069 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8071 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8073 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8075 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8077 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8078 (elmo-network-initialize-session-buffer): Defined.
8080 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8082 (mmelmo-imap4-get-mime-entity): Rewrite.
8084 * elmo2.el (elmo-error): Capitalize error message.
8086 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8087 (elmo-network-session-buffer): New macro.
8088 (elmo-network-open-session): Use it.
8090 * elmo-imap4.el: Rewrite.
8092 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8094 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8096 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8098 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8099 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8100 (elmo-imap4-create-msgdb-from-overview-string): Use
8101 `elmo-msgdb-create-overview-from-buffer'.
8103 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8105 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8106 (elmo-imap4-default-hierarchy-delimiter): New variable.
8107 (elmo-imap4-list-folders): Use it.
8109 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8111 * elmo-net.el (elmo-network-open-session): Add user and
8112 stream-type for process-buffer name.
8114 * elmo-pop3.el (elmo-network-initialize-session): Call
8115 buffer-disable-undo.
8117 * elmo-imap4.el (elmo-network-initialize-session):
8118 Set current-buffer as an argument for `buffer-disable-undo'.
8120 * elmo-pop3.el (elmo-network-close-session): Don't use
8123 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8124 Set default as 'user.
8126 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8128 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8129 and `elmo-imap4-flush-connection'.
8131 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8132 (elmo-pop3-get-spec): Assume auth as symbol.
8133 (elmo-open-network-stream): Moved to `elmo-net'.
8135 * elmo-pop3.el (toplevel): Require 'elmo-net.
8136 Define `sasl-cram-md5' to silence byte compilier.
8137 (elmo-pop3-connection-cache) Abolished.
8138 (elmo-pop3-authenticator-alist) New variable.
8139 (elmo-pop3-session): Define.
8140 (elmo-pop3-connection-get-process): Abolished.
8141 (elmo-pop3-connection-get-buffer): Ditto.
8142 (elmo-pop3-close-connection): Ditto.
8143 (elmo-pop3-flush-connection): Ditto.
8144 (elmo-pop3-get-connection): Ditto.
8145 (elmo-pop3-get-session): New function.
8146 (Replacement for `elmo-pop3-get-connection').
8147 All other related modules are changed.
8148 (elmo-network-close-session): Define.
8149 (elmo-pop3-send-command): Abolished argument `buffer'.
8150 All other related modules are changed.
8151 (elmo-pop3-read-response): Likewise.
8152 (elmo-pop3-open-connection): Abolished.
8153 (elmo-pop3-auth-user): New function.
8154 (elmo-pop3-auth-apop): Ditto.
8155 (elmo-pop3-auth-cram-md5): Ditto.
8156 (elmo-pop3-auth-scram-md5): Ditto.
8157 (elmo-pop3-auth-digest-md5): Ditto.
8158 (elmo-network-initialize-session): Define.
8159 (elmo-network-authenticate-session): Ditto.
8160 (elmo-network-setup-session): Ditto.
8162 * elmo-imap4.el (toplevel): Require 'elmo-net.
8163 (elmo-imap4-session): Define.
8164 (elmo-imap4-connection-cache): Abolished.
8165 (elmo-imap4-password-key): Ditto.
8166 (elmo-imap4-flush-connection): Ditto.
8167 (elmo-imap4-get-connection): Ditto.
8168 All other related modules are changed.
8169 (elmo-imap4-get-session): New function
8170 (Replacement for `elmo-imap4-get-connection').
8171 (elmo-imap4-read-response): Abolished argument `buffer'.
8172 All other related modules are changed.
8173 (elmo-imap4-send-command): Likewise.
8174 (elmo-imap4-select-folder): Abolished.
8175 All other related modules are changed.
8176 (elmo-imap4-select-mailbox): New function.
8177 (Replacement for `elmo-imap4-select-folder').
8178 (elmo-imap4-auth-login): Simplify.
8179 (Assume current buffer as process buffer)
8180 (elmo-imap4-auth-cram-md5): Ditto.
8181 (elmo-imap4-auth-digest-md5): Ditto.
8182 (elmo-imap4-login): Ditto.
8183 (elmo-imap4-open-connection): Abolished.
8184 (elmo-imap4-open-connection-1): Abolished.
8185 (elmo-network-initialize-sessoin): Define.
8186 (elmo-network-authenticate-session): Ditto.
8187 (elmo-network-setup-session): Ditto.
8189 * elmo-net.el: New module.
8191 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8193 * elmo-util.el (elmo-define-error): New function.
8195 * elmo2.el (elmo-error): Define.
8196 (elmo-open-error): Define.
8197 (elmo-authenticate-error): Define.
8199 * elmo-imap4.el (elmo-imap4-error): Abolish.
8200 (elmo-imap4-error-type): Abolish.
8201 (elmo-imap4-error-process): Abolish.
8202 (elmo-imap4-error-message): Abolish
8203 (elmo-imap4-list-folders): Don't quote lambda.
8204 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8205 (elmo-imap4-parse-namespace): Ditto.
8206 (elmo-imap4-open-connection): Rewrite.
8207 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8208 (elmo-imap4-get-connection): Abolish local variable `result'.
8210 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8212 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8213 wrong-type-argument error when auth is nil.
8215 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8217 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8218 (elmo-default-nntp-stream-type): Ditto.
8219 (elmo-default-pop3-stream-type): Ditto.
8220 (elmo-network-stream-type-alist): Ditto.
8221 (elmo-default-imap4-ssl): Abolished.
8222 (elmo-default-nntp-ssl): Ditto.
8223 (elmo-default-pop3-ssl): Ditto.
8225 * elmo-util.el: (toplevel): Removed needless requires.
8226 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8227 (elmo-open-network-stream): Open network stream according to
8228 the value of `elmo-network-stream-type-alist'.
8229 (elmo-get-network-stream-type): New function.
8230 (elmo-network-stream-type-spec-string): New macro.
8231 (elmo-network-stream-type-symbol): Ditto.
8232 (elmo-network-stream-type-function): Ditto.
8234 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8235 network-stream-type. All other related portions are changed.
8236 (elmo-pop3-open-connection): Ditto.
8238 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8239 network-stream-type. All other related portions are changed.
8241 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8242 network-stream-type.All other related portions are changed.
8243 (elmo-imap4-error): New macro.
8244 (elmo-imap4-error-type): Ditto.
8245 (elmo-imap4-error-process): Ditto.
8246 (elmo-imap4-error-message): Ditto.
8247 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8248 (elmo-imap4-auth-cram-md5): Ditto.
8249 (elmo-imap4-auth-digest-md5): Ditto.
8250 (elmo-imap4-login): Ditto.
8251 (elmo-imap4-open-connection): Remove password entry if authentication
8253 (elmo-imap4-user-at-host): Abolished.
8254 (elmo-imap4-password-key): New buffer local variable.
8255 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8256 using protocol, port, auth and stream-type.
8258 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8260 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8262 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8264 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8266 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8267 (elmo-imap4-authenticator-alist): New variable.
8268 (elmo-imap4-open-connection-1): Rename from
8269 elmo-imap4-open-connection.
8270 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8271 only wraps elmo-imap4-open-connection-1.
8272 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8274 (elmo-imap4-auth-login): New function.
8275 (elmo-imap4-auth-cram-md5): New function.
8276 (elmo-imap4-auth-digest-md5): New function.
8277 (elmo-imap4-login): New function.
8279 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8281 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8284 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8286 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8288 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8290 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8292 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8294 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8295 for server responses, quote `*' regardless of where it appears.
8297 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8299 * elmo-maildir.el (elmo-maildir-commit): New alias.
8301 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8303 * elmo-util.el (elmo-display-progress):
8304 Use `progress-feedback-with-label'.
8306 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8308 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8309 (elmo-imap4-non-atom-char-regex): Ditto.
8310 (elmo-imap4-non-text-char-regex): Ditto.
8311 (elmo-imap4-literal-threshold): Ditto.
8312 (elmo-imap4-atom-p): New function.
8313 (elmo-imap4-quotable-p): Ditto.
8314 (elmo-imap4-nil): Ditto.
8315 (elmo-imap4-atom): Ditto.
8316 (elmo-imap4-quoted): Ditto.
8317 (elmo-imap4-literal-subr): Ditto.
8318 (elmo-imap4-literal): Ditto.
8319 (elmo-imap4-buffer-literal): Ditto.
8320 (elmo-imap4-string-subr): Ditto.
8321 (elmo-imap4-string): Ditto.
8322 (elmo-imap4-buffer-string): Ditto.
8323 (elmo-imap4-astring-subr): Ditto.
8324 (elmo-imap4-astring): Ditto.
8325 (elmo-imap4-buffer-astring): Ditto.
8326 (elmo-imap4-nstring): Ditto.
8327 (elmo-imap4-buffer-nstring): Ditto.
8328 (elmo-imap4-mailbox): New alias.
8329 (elmo-imap4-field-body): Ditto.
8330 (elmo-imap4-userid): Ditto.
8331 (elmo-imap4-password): Ditto.
8332 (elmo-imap4-format-quoted): New function.
8333 (elmo-imap4-send-command): Rewritten. Accept a list of command
8334 arguments and handle "atom", "quoted" and "literal" string here.
8335 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8336 `elmo-imap4-send-command'.
8337 (elmo-imap4-folder-exists-p): Likewise.
8338 (elmo-imap4-create-folder): Likewise.
8339 (elmo-imap4-delete-folder): Likewise.
8340 (elmo-imap4-rename-folder): Likewise.
8341 (elmo-imap4-max-of-folder): Likewise.
8342 (elmo-imap4-check-validity): Likewise.
8343 (elmo-imap4-sync-validity): Likewise.
8344 (elmo-imap4-server-diff): Likewise.
8345 (elmo-imap4-select-folder): Likewise.
8346 (elmo-imap4-copy-msgs): Likewise.
8347 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8348 (elmo-imap4-mark-set-on-msgs): Likewise.
8349 (elmo-imap4-read-part): Likewise.
8350 (elmo-imap4-read-msg): Likewise.
8351 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8352 `elmo-imap4-password' for `elmo-imap4-send-command'.
8353 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8354 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8355 `elmo-imap4-buffer-literal'.
8356 (elmo-imap4-append-msg): Likewise.
8358 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8359 `delete' for removing dead connection from the connection cache.
8360 Move deletion of the process buffer after that.
8361 (elmo-imap4-list): Change `defsubst' to `defun'.
8362 (elmo-imap4-commit): Make error message verbose.
8363 (elmo-imap4-search): Ditto.
8364 (elmo-imap4-list): Ditto.
8365 (elmo-imap4-select-folder): Ditto.
8366 (elmo-imap4-copy-msgs): Ditto.
8367 (elmo-imap4-delete-msg-by-id): Ditto.
8368 (elmo-imap4-append-msg-by-id): Ditto.
8369 (elmo-imap4-append-msg): Ditto.
8371 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8373 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8374 when dired is used on XEmacs.
8376 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8378 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8379 instead of `append'.
8380 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8381 `elmo-plugged-p' directly.
8382 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8383 of `elmo-plugged-p' directly.
8385 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8386 Eliminate unused variable. Use `memq' for checking a process status.
8387 Use `cons' instead of `append' for updating the connection cache.
8388 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8389 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8391 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8393 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8394 `elmo-imap4-read-point' exactly.
8396 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8397 the local variable `folder' to `mailbox'.
8398 Rename the argument `fld' to `folder'.
8400 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8402 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8403 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8405 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8407 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8408 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8409 (elmo-pop3-uidl-number-hash): Ditto.
8410 (elmo-pop3-size-hash): Ditto.
8411 (elmo-pop3-uidl-done): Ditto.
8412 (elmo-pop3-list-done): Ditto.
8413 (elmo-pop3-connection-get-process): New defmacro.
8414 (elmo-pop3-connection-get-buffer): Ditto.
8415 (elmo-pop3-close-connection): Delete buffer and process.
8416 (elmo-pop3-flush-connection): Don't delete buffer and process.
8417 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8418 Setup UIDL and size hash.
8419 (elmo-pop3-send-command-no-erase): Deleted
8420 (elmo-pop3-send-command): Added optional argument `no-erase'.
8421 (elmo-pop3-parse-uidl-response): New function.
8422 (elmo-pop3-parse-list-response): Set size hash.
8423 (elmo-pop3-list-location): New function.
8424 (elmo-pop3-list-by-uidl-subr): Ditto.
8425 (elmo-pop3-list-by-list): Ditto.
8426 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8427 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8428 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8429 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8430 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8432 (elmo-pop3-uidl-to-number): New function.
8433 (elmo-pop3-number-to-uidl): Ditto.
8434 (elmo-pop3-number-to-size): Ditto.
8435 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8436 Set number by use of uidl.
8437 (elmo-pop3-msgdb-create-message): Likewise.
8438 Set size, loc-alist in msgdb.
8439 (elmo-pop3-read-msg): Set number by use of uidl.
8440 Added optional argument `msgdb'.
8441 (elmo-pop3-delete-msg): Ditto.
8442 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8443 (elmo-pop3-commit): Close connection.
8445 * elmo-pipe.el (elmo-pipe-max-of-folder):
8446 Bind `elmo-pop3-use-uidl' as nil.
8447 (elmo-pipe-drain): Ditto.
8450 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8451 (elmo-msgdb-overview-entity-set-size): New defsubst.
8453 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8455 * elmo-vars.el (elmo-use-killed-list): New variable
8456 (Renamed from `elmo-nntp-use-killed-list').
8457 (elmo-nntp-use-killed-list): Eliminated.
8459 * elmo-msgdb.el (elmo-msgdb-expand-path):
8460 Changed expanding msgdb path for elmo-multi.
8462 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8463 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8464 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8465 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8466 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8467 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8468 (toplevel): Deleted time-stamp line.
8470 * elmo2.el (elmo-clear-killed ): Defined as function
8471 (Abolished defining as a backend function).
8472 All other related modules are changed.
8474 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8476 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8478 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8480 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8482 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8484 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8486 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8488 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8489 asynchronous folder check.
8491 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8493 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8494 `elmo-nntp-use-killed-list'.
8495 (elmo-nntp-list-folder): Use killed list.
8496 (elmo-nntp-max-of-folder): Ditto.
8497 (elmo-nntp-msgdb-create): Set killed list.
8499 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8501 * elmo2.el (elmo-clear-killed): New backend function.
8502 All other related modules are changed.
8504 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8506 * elmo-util.el (elmo-imap4-spec-folder): Use
8507 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8508 All callers changed.
8510 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8512 * mmelmo-2.el (initialize-instance):
8513 Use `mime-buffer-entity-buffer-internal' instead of
8514 `mime-entity-buffer'.
8516 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8517 (mime-entity-body): Implemented.
8518 (mime-goto-header-start-point): Deleted.
8519 (mime-goto-body-end-point): Ditto.
8520 (mime-entity-point-min): Ditto.
8521 (mime-entity-point-max): Ditto.
8522 (mime-entity-children): Ditto.
8523 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8524 instead of `mime-entity-buffer'.
8525 (mime-entity-header-buffer): Ditto.
8526 (mime-entity-body-buffer): Ditto.
8527 (mime-write-entity-content): Ditto.
8529 * pldap.el (ldap-static-if): New macro.
8530 (toplevel): Use it instead of `static-if'.
8532 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8534 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8535 included in `attrs' argument.
8537 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8539 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8541 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8542 (ldap-ldif-safe-init-char-regexp): Ditto.
8543 (ldap-ldif-safe-string-regexp): Ditto.
8544 (ldap/ldif-safe-string-p): New macro.
8545 (ldap/ldif-insert-field): Ditto.
8546 (ldap-modify): Use it.
8548 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8549 (ldap-decode-attribute): Decode only when `attr' is consp.
8550 (ldap-delete): Bind `ret'.
8551 (toplevel): Require 'cl at compile time.
8552 Removed (require 'poe) and (require 'std11).
8553 (pldap-version): Eliminated.
8554 (ldap-search-basic): Removed auth and dn binding.
8555 (ldap-ldif-field-name-regexp): New constant.
8556 (ldap-ldif-field-head-regexp): Ditto.
8557 (ldap-ldif-next-field-head-regexp): Ditto.
8558 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8559 (ldap/field-end): New function.
8560 (ldap/field-body): Use it.
8561 (ldap/collect-field): Ditto.
8562 (ldap-search-basic): Use `ldap/field-body'.
8564 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8566 * pldap.el (ldap-default-attribute-encoder): New user option.
8567 (ldap/field-body): Decode base64 string.
8568 (ldap/collect-field): Ditto.
8569 (ldap-encode-attribute): New function.
8570 (ldap-add-entries): Use it.
8571 (ldap-modify-entries): Ditto.
8572 (ldap-search-entries): Enclosed decoding function with
8573 `with-temp-buffer' and set as unibyte.
8574 (ldap-search-basic): Set process buffer as unibyte.
8576 * elmo-util.el (elmo-folder-identical-system-p):
8577 Eliminated name space checking.
8579 * pldap.el: New module.
8580 toplevel: Changed condition to detect built-in ldap feature.
8581 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8582 (ldap-add): Added error handling.
8583 (ldap-modify): Ditto.
8584 (ldap-delete): Ditto.
8586 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8588 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8589 Initialize local variables with `let'. Inline a temporary
8590 variable for the progress percentage. Sort `setq' to reduce
8591 function call in the while-loop.
8593 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8594 into the conditional branch.
8596 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8598 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8599 Move a conditional out of the while-loop.
8601 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8603 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8604 elmo-msgdb-overview-get-entity-by-number.
8605 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8608 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8610 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8611 the local variable for a packed number self descriptively.
8613 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8615 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8616 * elmo-localdir.el (elmo-localdir-pack-number): Use
8617 `elmo-msgdb-overview-get-entity' instead of
8618 `elmo-msgdb-overview-get-entity-by-number'.
8619 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8620 (elmo-msgdb-search-overview-entity): Removed.
8621 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8622 by message-id or number.
8623 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8624 instead of `elmo-msgdb-overview-get-entity-by-number'.
8626 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8628 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8629 non-nil, use hash table for overview.
8630 (elmo-hash-maximum-size): New variable.
8631 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8632 (elmo-msgdb-make-overview-hashtb): New function.
8633 (elmo-msgdb-clear-overview-hashtb): New function.
8634 (elmo-clear-hash-val): New macro.
8635 All other related modules are changed.
8637 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8639 * elmo2.el (elmo-move-msgs): If there's other message with
8640 same message-id, don't use cache.
8642 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8644 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8645 number is already packed.
8647 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8649 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8651 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8653 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8654 All other related modules are changed.
8656 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8658 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8659 of refiling failure on Maildir.
8661 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8663 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8664 decoded mime-charset with cache.
8665 (elmo-msgdb-overview-entity-get-from): Ditto.
8666 (elmo-msgdb-overview-entity-get-subject): Ditto.
8667 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8669 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8671 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8672 (elmo-remove-passwd): Fill password with 0 before erase.
8673 * elmo-vars.el (elmo-passwd-life-time): New variable.
8676 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8678 * elmo-cache.el (elmo-buffer-cache-add):
8679 Set message cache buffer as unibyte.
8681 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8683 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8686 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8688 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8689 when display is finished.
8690 (elmo-nntp-msgdb-create): Ditto.
8691 (elmo-nntp-groups-read-response): Ditto.
8692 (elmo-nntp-retrieve-headers): Ditto.
8693 (elmo-nntp-msgdb-create-message): Ditto.
8694 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8695 (elmo-pop3-msgdb-create-message): Ditto.
8697 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8699 * elmo-maildir.el (elmo-maildir-msgdb-create):
8700 Use `elmo-msgdb-sort-by-date'.
8702 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8704 * elmo2.el (elmo-read-msg-no-cache):
8705 Eliminated arguments after `outbuf'.
8706 Don't use cache even if it exists.
8707 (elmo-read-msg): Don't pass arguments after `outbuf' to
8708 `elmo-read-msg-no-cache'.
8710 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8712 * elmo-archive.el (elmo-archive-list-folders):
8713 Use `file-name-directory' if base folder does not exist.
8715 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8717 * elmo-archive.el (elmo-archive-list-folders): Don't use
8718 `file-name-directory'.
8720 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8722 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8723 If `force' is non-nil, try flushing all operation queues.
8725 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8727 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8730 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8732 * elmo-util.el (elmo-display-progress): Fixed.
8734 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8736 * elmo-util.el (elmo-display-progress): New function.
8737 All other related modules are changed.