85bc084016013021a41071fce2dd8d336e60da5a
[elisp/wanderlust.git] / elmo / ChangeLog
1 2010-01-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2
3         * elmo-util.el (elmo-set-work-buf): Revert `save-excursion' for
4         robustness.
5
6 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7
8         * acap.el (acap-parse-response): Fix comment-out style. Use three
9         semicolons, that should start at the left margin.
10         See. also (Info-goto-node "(elisp)Comment Tips").
11         * elmo.el (toplevel, elmo-message-match-condition)
12         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
13         Ditto.
14         * elmo-archive.el (elmo-archive-suffix-alist)
15         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
16         (elmo-archive-method-list)
17         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
18         Ditto.
19         * elmo-imap4.el (toplevel)
20         (elmo-imap4-send-command, elmo-imap4-check-validity)
21         (elmo-imap4-fetch-callback-1-subr)
22         (elmo-network-initialize-session, elmo-server-diff-async)
23         (elmo-imap4-folder-diff-plugged): Ditto
24         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
25         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
26         * elmo-net.el (elmo-network-close-session): Ditto.
27         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
28         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
29         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
30         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
31         (elmo-number-set-delete)
32         (elmo-cache-get-oldest-cache-file-entity): Ditto.
33
34 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
35
36         * elmo-version.el (elmo-version): Up to 2.15.8.
37
38         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
39         `with-current-buffer' instead of `save-excursion' (for suppress
40         compile warnings).
41
42         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
43         instead of `int-to-string'.
44         * elmo-archive.el (elmo-archive-message-fetch-internal)
45         (elmo-archive-folder-message-make-temp-files)
46         (elmo-archive-folder-append-buffer)
47         (elmo-folder-delete-messages-internal)
48         (elmo-archive-msgdb-create-entity)
49         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
50         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
51         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
52         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
53         * elmo-imap4.el (elmo-imap4-make-number-set-list)
54         (elmo-folder-list-subfolders): Ditto.
55         * elmo-localdir.el (elmo-message-file-name)
56         (elmo-folder-message-make-temp-files)
57         (elmo-localdir-msgdb-create-entity)
58         (elmo-folder-append-messages-*-localdir)
59         (elmo-folder-pack-numbers): Ditto.
60         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
61         * elmo-map.el (elmo-location-map-key): Ditto.
62         * elmo-nntp.el (elmo-nntp-folder-postfix)
63         (elmo-nntp-folder-list-subfolders)
64         (elmo-nntp-folder-msgdb-create): Ditto.
65
66         * elmo.el (elmo-crosspost-message-alist-save): Don't use
67         `function' for `lambda'.
68         * elmo-archive.el (elmo-archive-folder-list-subfolders)
69         (elmo-folder-append-messages-*-archive)
70         (elmo-folder-delete-messages-internal): Ditto.
71         * elmo-date.el (elmo-replace-in-string): Ditto.
72         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
73         (elmo-folder-list-flagged): Ditto.
74         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
75         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
76         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
77
78 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
79
80         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
81         `elmo-dop-spool-folder' was used before it was defined"; Use
82         `defun' instead.
83
84         * pldap.el (ldap/ldif-safe-string-p): macro to function.
85         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
86
87         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
88         `mapcar'; Suppress compile warning.
89         * elmo-imap4.el (elmo-network-initialize-session-buffer)
90         (elmo-imap4-search-internal-primitive): Ditto.
91         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
92         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
93
94         * elmo-imap4.el (elmo-imap4-parse-address-list)
95         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
96         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
97         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
98         `(string-to-char " ")' instead of `? ', `?\ '.
99
100 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
101
102         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
103         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
104         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
105         `function' for lambda.
106
107         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
108         `string-to-number' instead of `string-to-int'.
109
110         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
111         instead of `save-excursion' (for suppress compile warnings).
112         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
113         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
114         (elmo-nntp-post): Ditto.
115
116 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
117
118         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
119         Mule-UCS (to-utf-16).
120         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
121         Emacs 23.
122
123 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
124
125         * utf7.el (utf7-find-coding-system-without-bom): New Function.
126         (utf7-utf-16-coding-system): use no-BOM coding system.
127         (utf7-get-u16char-converter): remove workaround for BOM.
128
129 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
130
131         * elmo-util.el (elmo-union): New function, make a union of two lists.
132
133         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
134         mime-view when displaying malformed base64 attach.
135
136         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
137         (removed duplicated code)
138
139         * modb-standard.el (modb-standard-cleanup-stale-entities): New
140         function, Remove stale entities from elmo's cache.
141
142 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
143
144         * elmo-version.el (elmo-version): Up to 2.15.7.
145
146 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
147
148         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
149         default value to `--auto-update'.
150
151 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
152
153         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
154         Add `elmo-pop3-read-point' barrier.
155
156 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
157
158         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
159         goto the previous end-point insead of the head-point, and use
160         `search-forward' instead of `re-search-forward'.
161
162 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
163
164         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
165
166 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
167
168         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
169         case-insensitive fashion.
170
171 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
172
173         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
174
175 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
176
177         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
178         `eval-and-compile' for suppress compile warnings.
179
180         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
181         instead of `defun-maybe'
182
183         * elmo-util.el: Add (eval-when-compile (require 'static)).
184
185 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
186
187         * mmimap.el: Remove (require 'static).
188         * acap.el: Ditto.
189
190         * elmo-flag.el: Move ';;; Code:' comment.
191         * elmo-imap4.el: Ditto.
192         * elmo-net.el: Ditto.
193
194         * elmo-version.el (product-provide): Fix comment.
195
196 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
197
198         * slp.el: Add (eval-when-compile (require 'cl)).
199         * elmo-date.el: Ditto.
200         * elmo-pop3.el: Ditto.
201         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
202
203 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
204
205         * modb.el (elmo-msgdb-match-condition-primitive): Use
206         `string-to-number' instead of `string-to-int'.
207
208         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
209         (elmo-msgdb-message-match-condition)
210         (elmo-msgdb-create-message-entity-from-buffer): Use
211         `string-to-number' instead of `string-to-int'.
212
213         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
214         instead of `string-to-int'.
215
216         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
217         instead of `string-to-int'.
218
219         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
220         `string-to-number' instead of `string-to-int'.
221
222         * elmo-nntp.el (elmo-nntp-make-msglist)
223         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
224         (elmo-nntp-create-msgdb-from-overview-string)
225         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
226         (elmo-nntp-search-primitive): Use `string-to-number' instead of
227         `string-to-int'.
228
229         * elmo-net.el (elmo-net-folder-set-parameters): Use
230         `string-to-number' instead of `string-to-int'.
231
232         * elmo-localdir.el (elmo-localdir-list-subr): Use
233         `string-to-number' instead of `string-to-int'.
234
235         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
236         `string-to-number' instead of `string-to-int'.
237
238         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
239         instead of `string-to-int'.
240
241         * elmo-archive.el (elmo-archive-list-folder-subr): Use
242         `string-to-number' instead of `string-to-int'.
243
244 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
245
246         * elmo-util.el (elmo-get-passwd): Fix typo.
247
248         * elmo-nntp.el (elmo-nntp-get-server-command)
249         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
250         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
251         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
252         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
253
254         * elmo-imap4.el (elmo-imap4-debug)
255         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
256         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
257         (elmo-imap4-response-value, elmo-imap4-response-error-text)
258         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
259         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
260         (elmo-imap4-identical-system-p): New backquote style.
261
262 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
263
264         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
265         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
266         (elmo-dop-queue-arguments): Ditto.
267
268         * elmo-date.el (elmo-match-substring): New backquote style.
269         (elmo-match-string, elmo-match-buffer): Ditto.
270         (elmo-date-make-sortable-string): Ditto.
271
272         * elmo-archive.el (elmo-archive-get-method):New backquote style.
273         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
274
275         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
276         style.
277
278         * elmo-net.el (elmo-network-stream-type-spec-string): New
279         backquote style.
280         (elmo-network-stream-type-symbol): Ditto.
281         (elmo-network-stream-type-feature): Ditto.
282         (elmo-network-stream-type-function): Ditto.
283         (elmo-network-session-buffer): Ditto.
284
285         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
286         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
287         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
288         (elmo-bind-directory, elmo-set-work-buf): Ditto.
289
290         * elmo.el (elmo-folder-send): New backquote style.
291
292 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
293
294         * pldap.el (ldap-static-if): New backquote style.
295         (ldap/ldif-safe-string-p): Ditto.
296         (ldap/ldif-insert-field): Ditto.
297
298         * elmo-version.el (elmo-version): Up to 2.15.6.
299
300 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
301
302         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
303         messages with \Deleted flag.
304         (elmo-folder-delete-messages-plugged): Ask before sending expunge
305         command if there are messages with \Deleted flag.
306
307 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
308
309         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
310         http://seclists.org/bugtraq/2007/Apr/0018.html
311         (Suggested by Tatsuya Kinoshita)
312
313 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
314
315         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
316         with \Noselect attribute.
317
318 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
319
320         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
321         hierarchical folder structure with UW-imapd.
322
323 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
324
325         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
326         when the LOGINDISABLED capability is advertised.
327
328 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
329
330         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
331
332 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
333
334         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
335         `entity'.
336         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
337         if the message entity is exists.
338
339 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
340
341         * elmo-util.el (elmo-msgdb-insert-file-header): Call
342         `elmo-delete-cr-buffer'.
343
344         * elmo-localdir.el (elmo-message-fetch-internal): Use
345         `insert-file-contents-as-raw-text' instead of
346         `insert-file-contents-as-binary'.
347
348         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
349
350 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
351
352         * elmo-imap4.el (elmo-network-initialize-session): Check to
353         retrieve a whole greeting message.
354
355 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
356
357         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
358
359 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
360
361         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
362         (elmo-progress-notify): Use it instead of `plist-get'.
363
364 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
365
366         * elmo.el (elmo-generic-folder-append-messages): Remove unused
367         variable `table'.
368
369 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
370
371         * elmo-pipe.el (elmo-folder-set-plugged): Define.
372
373 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
374
375         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
376         (elmo-spam-list-spam-messages): Check it option.
377
378 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
379
380         * elmo-util.el (elmo-with-progress-display): Return the value
381         of the last form in `body'.
382
383 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
384
385         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
386         `elmo-progress-counter' as t when a query callback returns nil.
387         (elmo-progress-clear): New function.
388         (elmo-progress-done): Split into `elmo-progress-clear'.
389         (elmo-progress-notify): Update a total slot when it is nil.
390         (elmo-with-progress-display): Call `elmo-progress-clear' in
391         unwind-protect and move calling `elmo-progress-done' to outside.
392
393         * elmo-imap4.el (elmo-imap4-find-next-line): Call
394         `elmo-progress-notify' with :total parameter instead of
395         `elmo-progress-counter-set-total'.
396
397 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
398
399         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
400         Make it interactive.
401         (elmo-progress-start): Avoid updating `elmo-progress-counter'
402         when a query callback returns nil.  Return a progress counter
403         instead of t whenever a start callback was called.
404
405 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
406
407         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
408         (elmo-imap4-send-command): Use it.
409         (elmo-network-initialize-session): Ditto.
410         (elmo-network-setup-session): Ditto.
411         (elmo-folder-msgdb-create-plugged): Ditto.
412
413 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
414
415         * elmo-util.el (elmo-progress-done): Fix a miss refer to
416         `elmo-progress-counter'.
417
418 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
419
420         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
421         (elsp-bsfilter-list-spam-filter): New function.
422         (elsp-bsfilter-start-list-spam): Ditto.
423         (elsp-bsfilter-read-list-spam): Ditto.
424         (elmo-spam-list-spam-messages): Use async process to display
425         progress message by each message.
426
427 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
428
429         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
430         of flushing previously inserted message contents.
431
432         * elmo-imap4.el (elmo-folder-search): Fix return value.
433
434 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
435
436         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
437         of reporter is enable or not.
438
439 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
440
441         * elmo-util.el (elmo-list-bigger-diff): Abolish.
442         (elmo-display-progress): Ditto.
443         (elmo-progress-counter-alist): Ditto.
444         (elmo-progress-set): Ditto.
445         (elmo-progress-clear): Ditto.
446         (elmo-progress-counter-all-value): Rename to
447         `elmo-progress-counter-total'.
448         (elmo-progress-counter-format): Rename to
449         `elmo-progress-counter-action'.
450         (elmo-progress-counter): New internal variable.
451         (elmo-progress-callback-function): Ditto.
452         (elmo-progress-counter-label): New function.
453         (elmo-progress-counter-set-total): Ditto.
454         (elmo-progress-counter-set-action): Ditto.
455         (elmo-progress-call-callback): Ditto.
456         (elmo-progress-start): Ditto.
457         (elmo-progress-done): Ditto.
458         (elmo-progress-notify): Rewrite.
459         (elmo-with-progress-display): Remove first argument
460         `condition'. Add optional argument `var' in `spec'.
461
462         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
463         (elmo-display-retrieval-progress-threshold): Ditto.
464         (elmo-inhibit-display-retrieval-progress): Ditto.
465
466         * Replace all pair of `elmo-progress-set' and
467         `elmo-progress-clear' into `elmo-with-progress-display'.
468
469         * Replace to call `elmo-display-progress' into pair of
470         `elmo-progress-notify' and `elmo-with-progress-display'.
471
472         * elmo-version.el (elmo-version): Up to 2.15.5.
473
474 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
475
476         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
477         `cond'.
478
479 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
480
481         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
482         cleanup-forms [wl:14027].
483
484 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
485
486         * elmo-flag.el (elmo-global-flag-set-internal): Use
487         `elmo-copy-file' by priority when the message is a file.
488
489 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
490
491         * elmo.el: Fix typo: disptch -> dispatch.
492
493 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
494
495         * elmo.el (elmo-file-tag): New class.
496         (elmo-append-messages-disptch-table): New constant.
497         (elmo-folder-type-p): New function.
498         (elmo-folder-append-messages): Redefine as function.
499
500         * elmo-null.el (elmo-folder-append-messages): Renamed from
501         `elmo-folder-append-messages'.
502
503         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
504         (elmo-folder-append-messages-*-maildir): Renamed from
505         `elmo-folder-append-messages'.
506
507         * elmo-localdir.el (elmo-localdir-folder): Inherit
508         `elmo-file-tag'.
509         (elmo-folder-append-messages-*-localdir): Renamed from
510         `elmo-folder-append-messages'.
511
512         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
513         from `elmo-folder-append-messages'.
514
515         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
516         `elmo-folder-append-messages'.
517
518         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
519         function.
520         (elmo-folder-append-messages-*-filter): Ditto.
521
522         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
523
524         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
525         (elmo-folder-append-messages-*-pipe): Renamed from
526         `elmo-folder-append-messages'.
527
528         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
529
530         * elmo-file.el (elmo-file-folder): Ditto.
531
532         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
533
534         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
535         from `elmo-folder-append-messages'
536
537 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
538
539         * elmo-map.el (elmo-location-map-setup): Change an argument
540         `locations' to optional.
541         (elmo-location-map-clear): Abolish.
542         (elmo-folder-clear): Follow the API change.
543
544         * elmo-pop3.el (elmo-folder-clear): Ditto.
545
546         * elmo-pop3.el (toplevel): Require elmo-map.
547         (elmo-pop3-folder): Inherit elmo-location-map and abolish
548         location-alist slot (All other related portions are changed).
549         (elmo-pop3-folder-use-uidl): New function.
550         (elmo-folder-msgdb-create): Don't sort message entities.
551         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
552         (elmo-pop3-number-to-size): Convert return value to number.
553         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
554         working buffer.
555
556         * elmo-map.el: Use `location-map' as a variable name for instance
557         instead of `mapper'.
558         (elmo-location-map-setup): Return location alist.
559         (elmo-location-map-update): Ditto.
560
561 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
562
563         * elmo-map.el (elmo-location-map): New class; split location and
564         number mapping from elmo-map-folder (All other related portions
565         are changed).
566
567         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
568         change.
569
570         * elmo-version.el (elmo-version): Up to 2.15.4.
571
572 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
573
574         * elmo-vars.el (elmo-use-hardlink): New user option.
575
576         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
577         `elmo-use-hardlink'.
578
579         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
580         killed-list.
581         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
582         instead of `*-internal'. Use `elmo-with-progress-display'.
583
584 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
585
586         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
587         `elmo-spam-process-messages-as-mbox'.
588
589         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
590
591 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
592
593         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
594         argument BUFFER of `call-process'.
595
596 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
597
598         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
599         args.
600         (elsp-bsfilter-list-spam-files): Ditto.
601
602 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
603
604         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
605         (elmo-spam-bsfilter-max-messages-per-process): New use option.
606         (elmo-spam-bsfilter-debug): Fix a group.
607         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
608         `--homedir'.
609         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
610         (elsp-bsfilter-list-spam-files): New function.
611         (elmo-spam-list-spam-messages): Define.
612         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
613         (elmo-spam-bsfilter-register-messages): New function.
614         (elmo-spam-register-spam-messages): Define.
615         (elmo-spam-register-good-messages): Ditto.
616
617         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
618
619         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
620         `nconc' and `consp'.
621
622 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
623
624         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
625         hash table to test whether a location is exists.
626
627 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
628
629         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
630         even if some error occurred.
631
632         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
633         meaningless unwind-protect.
634
635         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
636         start-number correctly.
637         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
638         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
639
640 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
641
642         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
643         (elmo-folder-initialize): Use it.
644         (elmo-global-flag-replace-referrer): New function.
645
646         * elmo.el (toplevel): Added autoload setting for
647         `elmo-global-flag-replace-referrer'.
648         (elmo-folder-rename): Rewrite the last change use
649         `elmo-global-flag-replace-referrer'.
650
651         * elmo-pipe.el (elmo-folder-rename): Call
652         `elmo-global-flag-replace-referrer'.
653
654 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
655
656         * elmo.el (elmo-folder-rename): Set meta data for global flags
657         follow the rename.
658
659 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
660
661         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
662         as 'not-loaded.
663         (elmo-folder-close): Ditto.
664         (elmo-filter-folder-number-list-loaded-p): New function.
665         (elmo-filter-folder-number-list): Check whether loaded or not.
666         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
667         of `elmo-filter-folder-number-list-internal'.
668         (elmo-folder-delete-messages): Ditto.
669         (elmo-folder-length): Check whether number-list is loaded or not.
670
671 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
672
673         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
674         field `real field' into each element of list.
675         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
676         (elmo-msgdb-message-entity-field): Ditto.
677         (modb-entity-ml-info-real-fields): New function.
678
679         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
680
681         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
682         `elmo-msgdb-extra-fields'.
683
684 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
685
686         * elmo-util.el (elmo-passwd-alist-load): Move point to min
687         position before read.
688
689 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
690
691         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
692         (elmo-global-flags-initialize): Ditto.
693
694 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
695
696         * elmo-archive.el (toplevel): Don't require emu, std11
697         and elmo-localdir.
698
699         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
700         definition.
701
702 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
703
704         * elmo.el (elmo-folder-confirm-appends): Display folder name.
705
706 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
707
708         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
709         literals.
710
711 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
712
713         * elmo-maildir.el (elmo-maildir-list-location): Reduce
714         `elmo-get-last-modification-time' call.
715
716 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
717
718         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
719         expression.
720         (elmo-maildir-set-mark): Ditto.
721         (elmo-maildir-delete-mark): Ditto.
722
723 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
724
725         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
726         optional argument `separators'.
727
728 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
729
730         * elmo.el (cache-changed): Abolish.
731         (status-changed): New signal.
732         (elmo-message-killed-p): New generic function and define for
733         elmo-folder.
734         (elmo-folder-recover-messages): Ditto.
735         (elmo-message-set-cached): Emit signal `status-changed' instead of
736         `cache-changed'.
737         (elmo-message-status): New macro.
738         (elmo-message-status-folder): Ditto.
739         (elmo-message-status-number): Ditto.
740         (elmo-message-status-set-flags): Ditto.
741         (elmo-message-status-set-killed): Ditto.
742         (elmo-message-status-flags): New function.
743         (elmo-message-status-cached-p): Ditto.
744         (elmo-message-status-killed-p): Ditto.
745
746         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
747         `status-changed' instead of `cache-changed'.
748         (elmo-folder-recover-messages): Define.
749         (elmo-message-killed-p): Ditto.
750
751         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
752         `status-changed' instead of `cache-changed'.
753
754         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
755         (elmo-message-killed-p): Define.
756         (elmo-folder-recover-messages): Ditto.
757
758         * elmo-version.el (elmo-version): Up to 2.15.3.
759
760 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
761
762         * elmo-signal.el (elmo-signal-bindings): Use cons to append
763         element into list.
764         (elmo-define-signal-handler): Add docstring.
765         (elmo-define-signal-filter): Ditto.
766
767         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
768
769 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
770
771         * elmo-util.el (elmo-flatten): Don't use recursive call.
772
773         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
774         assignment.
775         (elmo-folder-message-make-temp-files): Use `number-to-string'
776         instead of `int-to-string'.
777
778 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
779
780         * elmo-search.el (elmo-folder-delete-messages): Define.
781
782 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
783
784         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
785         customization type.
786         (elmo-mailing-list-count-spec-list): Ditto.
787
788         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
789         for `list-id'.
790
791 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
792
793         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
794         handling.
795
796 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
797
798         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
799         (elmo-mailing-list-count-spec-list): Ditto.
800
801         * elmo-util.el (elmo-map-until-success): New function.
802         (elmo-string-match-substring): Ditto.
803         (elmo-find-list-match-value): Ditto.
804
805         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
806         Removed.
807         (modb-entity-extract-ml-info-from-subject): Ditto.
808         (modb-entity-extract-ml-info-from-return-path): Ditto.
809         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
810         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
811         (modb-entity-extract-ml-info-from-mailman): Ditto.
812         (modb-entity-extract-mailing-list-info-functions): Ditto.
813         (modb-entity-extract-mailing-list-info): Rewrite with
814         `elmo-find-list-match-value'.
815
816 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
817
818         * elmo-net.el (elmo-network-session-retry-count): New user option.
819         (elmo-network-session-buffer-name): New internal function.
820         (elmo-network-session-buffer-create): Ditto.
821         (elmo-network-open-session): Retry open network session
822         `elmo-network-session-retry-count' times.
823
824 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
825
826         * elmo-util.el (elmo-list-filter): Rewritten.
827
828 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
829
830         * elmo-util.el (elmo-string-member): Allow symbol element in list.
831
832 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
833
834         * elmo-search.el (elmo-make-search-engine): Use prefix
835         `elmo-search-' for require symbol instead of `else-'.
836         (elmo-search-engine-extprog): New class.
837         (elmo-search-engine-do-search): Remove nil from argument
838         list. Added argument pattern to evaluate element as function.
839         (elmo-search-engine-local-file): Derived from
840         `elmo-search-engine-extprog'.
841         (elmo-search-engine-create-message-entity): Check existance of file.
842         (elmo-search-engine-fetch-message): Ditto.
843         (elmo-search-namazu-index): Follow the API change.
844         (elmo-search-grep-target): Ditto.
845
846 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
847
848         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
849         characters of working buffer.
850
851         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
852         Does not bind `default-mime-charset'.
853         (elmo-msgdb-create-message-entity-from-buffer): Removed
854         unnecessary local bind.
855
856         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
857         function.
858         (modb-entity-extract-mailing-list-info-functions): Added it.
859
860 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
861
862         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
863         when number and message-id are non-nil.
864
865         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
866
867         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
868         conditional steatment.
869         (elmo-pop3-auth-apop): Likewise.
870         (elmo-network-authenticate-session): Likewise.
871
872 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
873
874         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
875         symbol `fill-column'.
876         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
877         decode field value.
878
879         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
880         (elmo-decoded-field-body): Ditto.
881
882 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
883
884         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
885         `tokens' to `params'.
886
887 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
888
889         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
890         working buffer.
891
892 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
893
894         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
895         decide index.
896
897 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
898
899         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
900         Set default value as nil.
901         (toplevel): Register search engines by
902         `elmo-search-register-engine' if there are not defined.
903
904         * elmo.el (autoload): Added autoload setting for
905         `elmo-search-register-engine'.
906
907 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
908
909         * elmo.el (toplevel): `[' is redefined as the prefix of the search
910         folder instead of nmz folder.
911         (elmo-nmz-default-index-path): Added obsolete variable setting.
912         (elmo-nmz-index-alias-alist): Ditto.
913         (elmo-nmz-use-drive-letter): Ditto.
914
915         * elmo-search.el (elmo-search-register-engine): New function.
916
917         * elmo-nmz.el: Removed.
918
919         * elmo-version.el (elmo-version): Up to 2.15.2.
920
921 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
922
923         * elmo-search.el: New file.
924
925 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
926
927         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
928         condition `larger' and `smaller'.
929
930 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
931
932         * elmo-util.el (elmo-safe-filename): Rewrite to replace
933         `"' (double quote) into "_Q_".
934
935 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
936
937         * elmo-net.el (elmo-net-quote-chars): Abolish.
938         (elmo-net-format-quoted): Ditto.
939
940 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
941
942         * elmo.el (elmo-get-folder-function): New variable.
943         (elmo-get-folder): New function.
944         (elmo-folder-rename): Call `elmo-make-folder' with specified
945         mime-charset.
946
947         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
948         `elmo-make-folder'.
949         (elmo-split-subr): Ditto.
950
951         * elmo-multi.el (elmo-folder-initialize): Ditto.
952
953         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
954
955         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
956         (elmo-flag-get-folder): Ditto.
957
958         * elmo-filter.el (elmo-folder-initialize): Ditto.
959
960         * elmo-access.el (elmo-folder-initialize): Ditto.
961         (elmo-access-folder-update-children): Ditto.
962
963         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
964         (elmo-dop-queue-flush): Ditto.
965         (elmo-folder-append-buffer-dop-delayed): Ditto.
966         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
967         mime-charset.
968
969         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
970         instead of `elmo-make-folder'.
971         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
972         destination folder instead of send `elmo-folder-rename-internal'.
973
974         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
975         slot of subfolder instead of create it.
976
977 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
978
979         * elmo-util.el (elmo-collect-separators): New function.
980         (elmo-collect-separators-internal): Ditto.
981         (elmo-collect-trail-separators): Ditto.
982         (elmo-parse-separated-tokens): Ditto.
983         (elmo-parse-separated-tokens-internal): Ditto.
984         (elmo-quote-syntactical-element): Ditto.
985
986         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
987         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
988
989         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
990         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
991         (elmo-nntp-folder-list-subfolders): Quote a user name.
992
993         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
994         (elmo-net-parse-network): Abolish.
995         (elmo-net-folder-set-parameters): New function.
996         (elmo-folder-initialize): Follow the above change.
997
998         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
999         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1000         (elmo-folder-list-subfolders): Use
1001         `elmo-quote-syntactical-element' instead of
1002         `elmo-net-format-quoted' to quote mailbox and user name.
1003
1004 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1005
1006         * elmo-util.el (elmo-token-valid-p): New function.
1007         (elmo-parse-token): Add optional argument `requirement'.
1008         (elmo-parse-prefixed-element): Likewise.
1009
1010         * elmo-net.el (elmo-net-quote-chars): Renamed from
1011         `elmo-net-quote-chars-regexp'.
1012         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1013
1014         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1015         by info document. Check token `uidl' is started an alphabet.
1016
1017         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1018         by info document. Check token `user' is started an alphabet.
1019
1020         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1021         (elmo-folder-list-subfolders): Quote user.
1022
1023 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1024
1025         * elmo-util.el (elmo-quoted-specials-list): New constant.
1026         (elmo-quoted-token): New function.
1027
1028         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1029         (elmo-net-format-quoted): New function.
1030         (elmo-net-parse-network): Ditto.
1031         (elmo-folder-initialize): Use it.
1032
1033         * elmo-nntp.el (elmo-folder-initialize): Use
1034         `elmo-net-parse-network' to parse network specification instead of
1035         `elmo-folder-initialize#elmo-net'.
1036
1037         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1038
1039         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1040         (elmo-folder-list-subfolders): Quote folder name by
1041         `elmo-net-format-quoted'.
1042
1043 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1044
1045         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1046         (elmo-folder-search): Use it.
1047
1048 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1049
1050         * modb-standard.el (modb-standard-loaded-message-id): Use
1051         `elmo-msgdb-message-entity-field'.
1052
1053 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1054
1055         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1056         without filename.
1057
1058 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1059
1060         * elmo-util.el (elmo-set-auto-coding): New function.
1061         (elmo-object-load): Use it.
1062
1063 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1064
1065         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1066         (elmo-time<): Define as alias of `elmo-time-less-p'.
1067         (elmo-time-to-datevec): New function.
1068
1069         * elmo-date.el (elmo-time-to-days): New function.
1070
1071 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1072
1073         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1074         is not cons cell.
1075
1076 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1077
1078         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1079         parenthesis.
1080
1081         * elmo-util.el (elmo-map-recursive): New function.
1082
1083         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1084         (modb-entity-encode-string-recursive): Ditto.
1085
1086 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1087
1088         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1089         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1090         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1091         compare sequence number when last modified time is nil.
1092
1093 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1094
1095         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1096
1097         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1098
1099 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1100
1101         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1102         modification time of the file.
1103
1104 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1105
1106         * elmo-util.el (elmo-condition-optimize): Discriminated against
1107         preserved fields, extra fields and the other weight.
1108
1109 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1110
1111         * modb-entity.el (initialize-instance): Define.
1112         (modb-entity-handler-mime-charset): New internal function.
1113         (modb-standard-entity-set-field): Use it.
1114         (elmo-msgdb-message-entity-field): Ditto.
1115         (elmo-msgdb-message-entity-field): Ditto.
1116
1117         * modb.el (elmo-msgdb-match-condition): Rewrite with
1118         `elmo-condition-match'.
1119         (elmo-msgdb-match-condition-primitive): New function.
1120
1121         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1122         arguments `flags' and `numbers'.
1123         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1124         `elmo-msgdb-message-match-condition').
1125         (modb-buffer-entity-handler): New class.
1126
1127         * elmo.el (elmo-folder-search): Optimize condition to use
1128         `elmo-condition-optimize'.
1129         (elmo-message-buffer-match-condition): New function.
1130         (elmo-message-match-condition): Use
1131         `elmo-message-buffer-match-condition' instead of
1132         `elmo-buffer-field-condition-match'.
1133
1134         * elmo-util.el (elmo-condition-match): New function.
1135         (elmo-condition-optimize): Ditto.
1136         (elmo-buffer-field-primitive-condition-match): Abolish.
1137         (elmo-buffer-field-condition-match): Ditto.
1138
1139         * elmo-archive.el (elmo-archive-field-condition-match): Use
1140         `elmo-message-buffer-match-condition' instead of
1141         `elmo-buffer-field-condition-match'.
1142
1143 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1144
1145         * elmo-flag.el (elmo-global-flags-initialize): Check the
1146         existence of the flag directory.
1147
1148 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1149
1150         * elmo-access.el (elmo-folder-initialize): Call
1151         `elmo-multi-connect-signals'.
1152
1153         * elmo-pipe.el (elmo-folder-close): Define.
1154
1155         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1156         children folders.
1157
1158         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1159         with target folder.
1160
1161         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1162         `number'.
1163
1164         * elmo-multi.el (elmo-message-entity): Don't use return value of
1165         `elmo-message-entity-set-number'.
1166
1167 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1168
1169         * modb.el (modb-generic): Added slot `mime-charset'.
1170
1171         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1172         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1173         and `modb-entity-handler-dump-parameters'.
1174         (modb-standard-default-entity-handler): Abolish.
1175         (elmo-msgdb-message-entity-handler): Save created handler by
1176         instance slot.
1177
1178         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1179         (modb-entity-handler-list-parameters): New method.
1180         (modb-entity-handler-equal-p): New function.
1181         (modb-entity-handler-dump-parameters): Ditto.
1182         (modb-entity-parse-address-string): Encode return value.
1183         (modb-entity-make-address-string): Decode argument value.
1184         (modb-entity-decode-string-recursive): New function.
1185         (modb-entity-encode-string-recursive): Ditto.
1186         (modb-standard-entity-normalizer): Set to encode field value.
1187         (modb-standard-entity-specializer): Follow the above change.
1188         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1189         mime-charset of handler.
1190         (elmo-msgdb-message-entity-field): Ditto.
1191         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1192         structure.
1193         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1194
1195         * elmo.el (elmo-folder): Added slot `mime-charset'.
1196         (elmo-make-folder): Added argument `mime-charset'.
1197         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1198         `mime-charest'.
1199
1200         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1201         (elmo-make-msgdb): Likewise.
1202
1203         * elmo-internal.el (elmo-internal-folder-initialize): Call
1204         `luna-make-entity' with :mime-charset parameter.
1205
1206 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1207
1208         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1209         encoded words in `from' and `subject' field.
1210
1211 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1212
1213         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1214         (elmo-msgdb-match-condition): Get handler from entity instead of
1215         msgdb.
1216
1217         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1218         (modb-standard-load-entity): Treat new file format.
1219         (modb-standard-save-entity-1): Save as new file format.
1220         (modb-standard-save-entity): Split messages into section here.
1221         (elmo-msgdb-message-field): Follow the API change.
1222         (modb-standard-default-entity-handler): New internal variable.
1223         (elmo-msgdb-message-entity-handler): Define.
1224
1225         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1226         to `elmo-vars.el'.
1227         (modb-entity-field-extractor-alist): New user option.
1228         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1229         added argument `type'.
1230         (elmo-msgdb-copy-message-entity): Add optional argument
1231         `make-handler'.
1232         (modb-set-field-converter): New function.
1233         (modb-convert-field-value): Ditto.
1234         (modb-entity-string-decoder): Ditto.
1235         (modb-entity-string-encoder): Ditto.
1236         (modb-entity-parse-date-string): Ditto.
1237         (modb-entity-make-date-string): Ditto.
1238         (modb-entity-mime-decoder): Ditto.
1239         (modb-entity-mime-encoder): Ditto.
1240         (modb-entity-address-list-decoder): Ditto.
1241         (modb-entity-address-list-encoder): Ditto.
1242         (modb-entity-parse-address-string): Ditto.
1243         (modb-entity-make-address-string): Ditto.
1244         (modb-entity-create-field-indices): Ditto.
1245         (modb-legacy-entity-field-slots): New constant.
1246         (modb-legacy-entity-field-indices): Ditto.
1247         (modb-legacy-entity-normalizer): New variable.
1248         (modb-legacy-entity-specializer): Ditto.
1249         (modb-legacy-entity-field-index): New macro.
1250         (modb-legacy-entity-set-field): New function.
1251         (modb-legacy-make-message-entity): Rewrite.
1252         (elmo-msgdb-create-message-entity-from-buffer): Use
1253         `elmo-msgdb-get-references-from-buffer'. Use
1254         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1255         Use `modb-legacy-entity-set-field' instead of
1256         `elmo-msgdb-message-entity-set-field'.
1257         (elmo-msgdb-message-entity-field): Rewrite.
1258         (elmo-msgdb-message-entity-set-field): Ditto.
1259         (elmo-msgdb-copy-message-entity): Make new entity by
1260         `make-handler' if it specified.
1261         (elmo-msgdb-message-match-condition): Define a method of
1262         `modb-entity-handler' and follow the API change.
1263         (modb-standard-entity-handler): New class.
1264         (modb-entity-extract-ml-info-from-x-sequence): New function.
1265         (modb-entity-extract-ml-info-from-subject): Ditto.
1266         (modb-entity-extract-ml-info-from-return-path): Ditto.
1267         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1268         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1269         (modb-entity-extract-mailing-list-info): Ditto.
1270         (modb-entity-extract-mailing-list-info-functions): New variable.
1271
1272         * elmo.el (elmo-message-field): Add optional argument `type'.
1273
1274         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1275         from `modb-entity.el'.
1276
1277         * elmo-util.el (elmo-object-load): Decode by coding-system from
1278         `set-auto-coding-function'.
1279         (elmo-object-save): Use `detect-mime-charset-region' and add
1280         coding cookie if encode.
1281         (elmo-msgdb-get-references-from-buffer): New function.
1282         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1283
1284         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1285
1286         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1287         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1288         instead of `shimbun-make-header' and follow the API change.
1289         (elmo-shimbun-update-overview): Follow the API change.
1290         (elmo-map-folder-list-message-locations): Ditto.
1291
1292         * elmo-pipe.el (elmo-message-field): Ditto.
1293
1294         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1295         Ditto.
1296
1297         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1298
1299         * elmo-multi.el (elmo-message-field): Ditto.
1300
1301         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1302         (elmo-msgdb-sort-by-date): Ditto.
1303         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1304         `elmo-message-entity-field'.
1305         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1306         change.
1307         (elmo-msgdb-overview-entity-get-from): Ditto.
1308         (elmo-msgdb-overview-entity-get-subject): Ditto.
1309         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1310         (elmo-msgdb-overview-entity-get-date): Ditto.
1311         (elmo-msgdb-overview-entity-get-to): Ditto.
1312         (elmo-msgdb-overview-entity-get-cc): Ditto.
1313
1314         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1315         (elmo-mime-collect-message/partial-pieces): Ditto.
1316
1317         * elmo-filter.el (elmo-message-field): Ditto.
1318
1319         * elmo-date.el (elmo-datevec-to-time): New function.
1320         (elmo-time-parse-date-string): Ditto.
1321         (elmo-time-make-date-string): Ditto.
1322         (elmo-time<): Ditto.
1323
1324         * elmo-version.el (elmo-version): Up to 2.15.1.
1325
1326 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1327
1328         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1329         member of elmo-local-flags.
1330
1331 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1332
1333         * elmo-version.el (elmo-version): Up to 2.15.0.
1334
1335 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1336
1337         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1338         `ignore-msgdb' is non-nil.
1339
1340 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1341
1342         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1343         (elmo-condition-in-msgdb-p): Ditto.
1344         (elmo-file-field-primitive-condition-match): Ditto.
1345         (elmo-file-field-condition-match): Ditto.
1346
1347         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1348
1349 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1350
1351         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1352         subdirectories here.
1353         (elmo-global-flags-initialize): New function.
1354
1355         * elmo.el (toplevel): Added autoload setting for
1356         `elmo-global-flags-initialize'.
1357
1358 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1359
1360         * elmo.el (message-number-changed): Define new signal.
1361         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1362         message-number-changed signal.
1363         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1364         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1365         Respect `elmo-pack-number-check-strict'.
1366
1367 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1368
1369         * elmo-signal.el (elmo-connect-signal): Document.
1370         (elmo-emit-signal): Ditto.
1371         (elmo-emit-signal): It should pass source argument to filter and
1372         handler, not slot-source.
1373
1374 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1375
1376         * modb.el (elmo-msgdb-update-entity): New API and define generic
1377         implement.
1378
1379         * modb-standard.el (elmo-msgdb-update-entity): Define.
1380
1381         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1382         API and define generic implement.
1383
1384         * elmo.el (update-overview): New singnal.
1385
1386         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1387         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1388         (elmo-message-entity-parent): Define.
1389
1390         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1391         `update-overview'.
1392
1393         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1394
1395         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1396
1397 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1398
1399         * elmo.el (elmo-folder-synchronize): Sort the return value of
1400         `elmo-list-diff'.
1401
1402         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1403         list.
1404
1405 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1406
1407         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1408         `default-enable-multibyte-characters'.
1409         (elmo-object-load): Use `with-temp-buffer' instead of
1410         `elmo-set-work-buf'.
1411         (elmo-object-save): Ditto.
1412         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1413         `elmo-set-work-buf'.
1414         (elmo-decoded-field-body): Ditto.
1415
1416         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1417
1418         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1419         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1420
1421         * elmo-version.el (elmo-version): Up to 2.13.3.
1422
1423 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1424
1425         * elmo-util.el (elmo-list-diff): Fix the last change.
1426         Reverse order of result lists.
1427
1428 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1429
1430         * modb-standard.el (elmo-msgdb-set-flag): Use
1431         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1432         (elmo-msgdb-unset-flag): Ditto.
1433
1434         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1435         `elmo-list-diff'.
1436
1437         * elmo-util.el (elmo-list-diff): Rewrite.
1438         (elmo-list-diff-nonsortable): New function.
1439
1440 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1441
1442         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1443         `elmo-multibypte-buffer-name'.  All referers are updated.
1444
1445 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1446
1447         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1448         (elmo-mime-entity-fragment-p): New function.
1449         (mime-elmo-buffer-entity): Added slot `reassembled'.
1450         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1451         (elmo-message-mime-entity-internal): New function (renamed from
1452         `elmo-message-mime-entity').
1453         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1454         (elmo-mime-make-reassembled-mime-entity): New function.
1455         (elmo-message-reassembled-mime-entity): Ditto.
1456         (elmo-mime-collect-message/partial-pieces): Ditto.
1457
1458 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1459
1460         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1461
1462         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1463         (elmo-with-enable-multibyte): New macro.
1464
1465         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1466
1467 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1468
1469         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1470         argument `number'.
1471         (elmo-filter-connect-signals): Follow the above change.
1472
1473 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1474
1475         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1476
1477         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1478         that only the first flag is used.
1479
1480 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1481
1482         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1483         if available.
1484
1485 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1486
1487         * elmo-signal.el: New file.
1488
1489         * elmo.el (toplevel): Require elmo-signal.
1490         (flag-changing, flag-changed, cache-changed): New signal.
1491         (elmo-folder): Remove slog `handlers'.
1492         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1493         `elmo-folder-notify-event'.
1494         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1495         (elmo-folder-unset-flag): Ditto.
1496         (elmo-event-handler): Abolish.
1497         (elmo-event-handler-flag-changed): Ditto.
1498         (elmo-event-handler-cache-changed): Ditto.
1499         (elmo-folder-add-handler): Ditto.
1500         (elmo-folder-remove-handler): Ditto.
1501         (elmo-folder-notify-event): Ditto.
1502
1503         * elmo-pipe.el (toplevel): Require elmo-signal.
1504         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1505         (elmo-pipe-connect-signals): New function.
1506         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1507         (elmo-folder-set-flag): Ditto.
1508         (elmo-folder-unset-flag): Ditto.
1509         (elmo-message-set-cached): Ditto.
1510
1511         * elmo-multi.el (toplevel): Require elmo-signal.
1512         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1513         (elmo-multi-connect-signals): New function.
1514         (elmo-multi-map-numbers): Ditto.
1515         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1516         (elmo-message-fetch): Ditto.
1517         (elmo-folder-set-flag): Ditto.
1518         (elmo-folder-unset-flag): Ditto.
1519
1520         * elmo-filter.el (toplevel): Require elmo-signal.
1521         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1522         (elmo-filter-connect-signals): New function.
1523         (elmo-filter-add-flag-count): Ditto.
1524         (elmo-message-fetch): Does not call
1525         `elmo-filter-folder-countup-message-flags' and
1526         `elmo-folder-notify-event'.
1527         (elmo-message-set-cached): Ditto.
1528         (elmo-folder-set-flag): Ditto.
1529         (elmo-folder-unset-flag): Ditto.
1530
1531         * elmo-version.el (elmo-version): Up to 2.13.2.
1532
1533 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1534
1535         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1536         `flags'.
1537
1538 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1539
1540         * elmo-filter.el (elmo-message-set-cached): Call
1541         `elmo-folder-notify-event' with event `cache-changed'.
1542
1543         * elmo-multi.el (elmo-message-set-cached): Ditto.
1544
1545         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1546
1547 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1548
1549         * elmo.el (elmo-folder-encache): Abolish.
1550
1551 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1552
1553         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1554         (elmo-folder-next-message-number-dop): Return appropriate negative
1555         integer.
1556
1557 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1558
1559         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1560         clearing pending operations.
1561         (elmo-folder-next-message-number-dop): Return appropriate negative
1562         integer.
1563
1564 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1565
1566         * elmo.el (toplevel): Added autoload setting for `md5'.
1567         (elmo-msgdb-path-encode-threshold): New user option.
1568         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1569         longer than `elmo-msgdb-path-encode-threshold'.
1570
1571         * elmo-flag.el (elmo-global-mark-migrate): Use
1572         `elmo-folder-expand-msgdb-path' instead of
1573         `elmo-folder-msgdb-path'.
1574
1575 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1576
1577         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1578         element of the difference is nil.
1579
1580 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1581
1582         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1583         to the check logic of file systems which are weak in colon character.
1584
1585 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1586
1587         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1588
1589 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1590
1591         * elmo-maildir.el (elmo-maildir-move-file): New function.
1592         (elmo-folder-append-buffer): Use it.
1593         (elmo-folder-append-messages): Ditto.
1594         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1595
1596         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1597         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1598
1599         * elmo-maildir.el (elmo-maildir-separator): New user option.
1600         (elmo-maildir-adjust-separator): New macro.
1601         (elmo-maildir-list-location): Use it.
1602         (elmo-maildir-update-current): Ditto.
1603         (elmo-maildir-set-mark): Ditto.
1604         (elmo-maildir-delete-mark): Ditto.
1605         (These changes are based on Hiroya Murata's patch [wl: 13437])
1606
1607 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1608
1609         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1610
1611 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1612
1613         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1614         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1615         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1616
1617 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1618
1619         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1620         Use `with-temp-buffer'.
1621
1622 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1623
1624         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1625
1626         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1627         `wl-read-search-condition').
1628         (elmo-read-search-condition-internal): Likewise.
1629
1630         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1631         (elmo-flag-valid-p): New function.
1632         (elmo-folder-initialize): Check flag name is valid.
1633
1634 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1635
1636         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1637         delimiter to obtain root mailbox itself.
1638
1639 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1640
1641         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1642         type mismatch.
1643
1644 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1645
1646         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1647         as t.
1648
1649 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1650
1651         * elmo-shimbun.el (toplevel): Require cl at compile.
1652
1653         * elmo-nntp.el (toplevel): Ditto.
1654
1655         * elmo-nmz.el (toplevel): Ditto.
1656
1657         * elmo-multi.el (toplevel): Ditto.
1658
1659         * elmo-file.el (toplevel): Ditto.
1660
1661         * elmo-dop.el (toplevel): Ditto.
1662
1663         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1664
1665 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1666
1667         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1668         as nil.
1669
1670         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1671         size of elmo-message-fetch-internal is 0 byte.
1672
1673 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1674
1675         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1676
1677 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1678
1679         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1680         always plugged.
1681
1682 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1683
1684         * elmo-maildir.el (elmo-map-message-fetch): Call
1685         `elmo-map-folder-set-flag'.
1686
1687         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1688         (elmo-message-fetch): Merge from
1689         `elmo-message-fetch-with-cache-process'.
1690
1691         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1692         (elmo-message-fetch): Define.
1693
1694         * elmo-nntp.el (elmo-message-fetch): Renamed from
1695         `elmo-message-fetch-with-cache-process'.
1696
1697         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1698         (elmo-message-fetch): Define.
1699
1700         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1701         search-key.
1702
1703         * elmo-shimbun.el (shimbun-mua-search-id): Use
1704         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1705         (elmo-shimbun-folder-shimbun-header): Ditto.
1706         (elmo-shimbun-get-headers): Ditto.
1707         (elmo-shimbun-update-overview): Ditto.
1708
1709         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1710
1711         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1712         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1713
1714 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1715
1716         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1717         message is cached.
1718         (elmo-message-fetch-string): Fixed argument.
1719
1720 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1721
1722         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1723         exchange order of arguments `section' and `unread'.
1724         (elmo-message-encache): Follow the API change.
1725         (elmo-message-match-condition): Ditto.
1726         (elmo-generic-folder-append-messages): Ditto.
1727         (elmo-message-fetch-string): New function.
1728
1729         * elmo-split.el (elmo-split-subr): Ditto.
1730
1731         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1732
1733         * elmo-pipe.el (elmo-message-fetch): Ditto.
1734
1735         * elmo-multi.el (elmo-message-fetch): Ditto.
1736
1737         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1738
1739         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1740
1741         * elmo-filter.el (elmo-message-fetch): Ditto.
1742
1743         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1744
1745         * elmo-imap4.el (mime-imap-location-section-body): Use
1746         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1747         follow the API change.
1748
1749 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1750
1751         * elmo-access.el: New file.
1752
1753         * elmo-null.el: Ditto.
1754
1755         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1756
1757 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1758
1759         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1760         (elmo-network-session): New attribute `last-accessed'.
1761         (elmo-network-get-session): Discard network cache if elapsed time
1762         since last-accessed is larger than elmo-network-session-idle-timeout.
1763
1764 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1765
1766         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1767         and added `number', `require-entireness'.
1768         (elmo-find-fetch-strategy): Rewrite.
1769         (elmo-message-fetch): Unset `unread' flag when argument unread is
1770         non-nil.
1771
1772         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1773
1774         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1775         (elmo-message-fetch): Notify event `flag-changed'.
1776
1777         * elmo-pipe.el: Likewise.
1778
1779         * elmo-mime.el (elmo-mime-entity): New class.
1780         (elmo-mime-entity-display-p): New generic function.
1781         (elmo-mime-entity-display): Ditto.
1782         (elmo-mime-entity-display-as-is): Ditto.
1783         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1784         elmo-mime-entity.
1785         (elmo-make-mime-message-location): Removed.
1786         (elmo-mime-message-display): Ditto.
1787         (elmo-mime-display-as-is): Ditto.
1788         (elmo-message-mime-entity): New function.
1789
1790         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1791
1792         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1793         change.
1794         (elmo-message-fetch): Re-count flagged message number and notify
1795         event `flag-changed'.
1796
1797         * elmo-version.el (elmo-version): Up to 2.13.1.
1798
1799 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1800
1801         * elmo-filter.el (elmo-message-field): Define.
1802         (elmo-message-set-field): Ditto.
1803
1804 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1805
1806         * elmo.el (elmo-message-set-cached): Call
1807         `elmo-folder-notify-event' with cache-changed.
1808         (elmo-event-handler-cache-changed): New generic function.
1809
1810 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1811
1812         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1813         instead of elmo-add-name-to-file.
1814         (elmo-folder-append-messages): Ditto.
1815
1816 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1817
1818         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1819
1820 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1821
1822         * elmo-version.el (elmo-version): Up to 2.13.0.
1823
1824         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1825         `auto'.
1826
1827         * modb-standard.el (modb-standard-economize-entity-size): Changed
1828         default value to `t'.
1829
1830         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1831         `standard'.
1832
1833         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1834         after parsing greeting string.
1835
1836 2004-11-23  Daishi Kato <daishi@axlight.com>
1837
1838         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1839         New user option.
1840         (elmo-spam-spamoracle-call): Use it.
1841
1842 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1843
1844         * elmo.el (elmo-message-accessible-p): Message in dop spool
1845         is accessible.
1846
1847 2004-11-23  Daishi Kato <daishi@axlight.com>
1848
1849         * elsp-spamoracle.el: New file.
1850
1851 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1852
1853         * elmo.el (elmo-message-flags-for-append): New function.
1854         (elmo-generic-folder-append-messages): Use it.
1855
1856         * elmo-split.el (elmo-split-subr): Ditto.
1857
1858         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1859         `flags' and use elmo-folder-append-buffer instead of
1860         write-region-as-binary.
1861         (elmo-dop-filter-pending-messages): New function.
1862         (elmo-folder-append-buffer-dop): Call
1863         elmo-dop-spool-folder-append-buffer with `flag'.
1864         (elmo-folder-set-flag-dop): Filter messages by
1865         elmo-dop-filter-pending-messages.
1866         (elmo-folder-unset-flag-dop): Ditto.
1867         (elmo-folder-append-buffer-dop-delayed): Use
1868         elmo-message-flags-for-append to get flags of the message and
1869         simplify.
1870
1871 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1872
1873         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1874
1875 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1876
1877         * elmo.el (elmo-folder): Added handlers slot.
1878         (elmo-event-handler): New class.
1879         (elmo-event-handler-flag-changed): New API.
1880         (elmo-folder-add-handler): New function.
1881         (elmo-folder-remove-handler): Ditto.
1882         (elmo-folder-notify-event): Ditto.
1883         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1884         `flag-changed'.
1885         (elmo-folder-unset-flag): Ditto.
1886
1887         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1888         (elmo-folder-unset-flag): Ditto.
1889
1890         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1891         (elmo-folder-unset-flag): Ditto.
1892
1893         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1894         (elmo-folder-unset-flag): Ditto.
1895
1896         * elmo-version.el (elmo-version): Up to 2.11.33.
1897
1898 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1899
1900         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1901
1902 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1903
1904         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1905
1906         * elmo-flag.el (elmo-folder-unset-flag): Define.
1907         (elmo-global-flag-detach): Do process when the flag is not target
1908         flag.
1909
1910 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1911
1912         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1913         variable.
1914         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1915
1916 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1917
1918         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1919         function.
1920         (elmo-folder-delete-messages): Detach messages before delete
1921         messages from target folder.
1922         (elmo-folder-detach-messages): Set updated number-list to slot.
1923
1924 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1925
1926         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1927
1928 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1929
1930         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1931
1932 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1933
1934         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1935         internal use only).
1936         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1937         not modified.
1938         (elmo-folder-delete-messages): Define.
1939         (elmo-folder-move-messages): Don't call
1940         `elmo-folder-detach-messages'.
1941         (elmo-folder-synchronize): Rewrite.
1942         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1943
1944         * elmo-util.el (elmo-last): New function.
1945         (elmo-set-list): Ditto.
1946         (elmo-number-set-delete-list): Ditto.
1947         (elmo-number-set-delete): Ditto.
1948
1949         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1950
1951         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1952         `elmo-folder-delete-messages' and don't delete location map.
1953         (elmo-folder-detach-messages): Define.
1954
1955         * elmo-imap4.el (elmo-folder-delete): Use
1956         `elmo-folder-delete-messages-internal' instead of
1957         `elmo-folder-delete-messages'.
1958
1959         * elmo-filter.el (elmo-folder-delete-messages): Call
1960         `elmo-folder-detach-messages'.
1961         (elmo-folder-detach-messages): Don't call
1962         `elmo-folder-detach-messages' for target folder.
1963
1964         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1965         message deletion is succeeded.
1966
1967         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1968
1969         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1970         from `elmo-folder-delete-messages'.
1971
1972         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1973
1974         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1975
1976         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1977
1978         * elmo-version.el (elmo-version): Up to 2.11.32.
1979
1980 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1981
1982         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1983         (elmo-global-flag-list): Added obsolete variable setting.
1984
1985         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1986
1987         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1988         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1989         `elmo-mime-display-header-analysis' is nil.
1990
1991         * elmo-flag.el (elmo-global-flags): Renamed from
1992         `elmo-global-flag-list' (All other related portions are changed).
1993         (elmo-local-flags): New variable.
1994         (elmo-local-flag-p): New function.
1995         (elmo-global-flag-set-internal): Cause an error when flag is not
1996         global.
1997
1998 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1999
2000         * elmo-util.el (elmo-concat-path): Treat empty path.
2001
2002 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2003
2004         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2005         field-or-fields).
2006         (elmo-split-address-match): Ditto.
2007         (elmo-split-equal): Ditto.
2008         (elmo-split-match): Ditto.
2009
2010 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2011
2012         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2013         (elmo-generic-folder-append-messages): If src message exists but
2014         has no flag, pass (read) for the FLAG argument of
2015         `elmo-folder-append-buffer'. Otherwise, pass nil.
2016
2017         * elmo-split.el (elmo-split-subr): Likewise.
2018
2019         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2020
2021         * elmo-multi.el (elmo-message-flags): Ditto.
2022
2023         * elmo-filter.el (elmo-message-flags): Ditto.
2024
2025         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2026         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2027         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2028         
2029 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2030
2031         * elmo-split.el (elmo-split-rule): Update comment.
2032         (elmo-split-address-equal): Allow 2nd argument to be a list.
2033         (elmo-split-address-match): Ditto.
2034         (elmo-split-equal): Ditto.
2035         (elmo-split-match): Ditto.
2036
2037 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2038
2039         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2040         (elmo-folder-append-msgdb): Don't treat `read'.
2041         (elmo-message-flags): Don't return `read'.
2042
2043         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2044         (elmo-folder-unset-read-delayed): Ditto.
2045
2046         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2047
2048 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2049
2050         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2051         deletion.
2052
2053 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2054
2055         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2056         header.
2057
2058 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2059
2060         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2061         here.
2062         (elmo-msgdb-save): Bind inhibit-quit.
2063         (modb-standard-message-entity): Ditto.
2064
2065 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2066
2067         * elmo-database.el: No need to require elmo-msgdb.
2068
2069 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2070
2071         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2072         instead of `elmo-list-subdirectories'.
2073
2074 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2075
2076         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2077         group entry.
2078         (elmo-folder-exists-p): "[" is empty.
2079         (elmo-folder-list-subfolders): Define.
2080         (elmo-folder-have-subfolder-p): Ditto.
2081
2082 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2083
2084         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2085
2086 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2087
2088         * elmo-filter.el (elmo-folder-local-p): Define.
2089
2090 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2091
2092         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2093         when entity is garbaged.
2094         (modb-standard-save-entity-1): Don't modify the original entity.
2095
2096 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2097
2098         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2099
2100 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2101
2102         * elmo.el (elmo-strict-folder-diff): Use
2103         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2104
2105 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2106
2107         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2108         (elmo-msgdb-message-number): Ditto.
2109         (elmo-msgdb-message-field): Ditto.
2110
2111         * modb-standard.el (modb-standard-economize-entity-size): New user
2112         option.
2113         (modb-standard-loaded-message-id): New inline function.
2114         (modb-standard-load-entity): Use it.
2115         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2116         throw message-id string away.
2117         (elmo-msgdb-flag-available-p): Define.
2118         (elmo-msgdb-message-number): Ditto.
2119         (elmo-msgdb-message-field): Ditto.
2120
2121         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2122         (suppoted -> supported).
2123         (modb-legacy-supported-flag-p): Ditto.
2124         (elmo-msgdb-set-flag): Ditto.
2125         (elmo-msgdb-unset-flag): Ditto.
2126         (elmo-msgdb-flag-available-p): Define.
2127
2128         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2129         is `t', treat it as legacy entity.
2130         
2131         * elmo.el (elmo-message-flag-available-p): New generic function.
2132         (elmo-message-number): Ditto.
2133         (elmo-message-field): Use `elmo-msgdb-message-field'.
2134
2135         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2136
2137         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2138         (elmo-message-number): Ditto.
2139
2140         * elmo-multi.el (elmo-message-number): Define.
2141         (elmo-message-flag-available-p): Ditto.
2142
2143         * elmo-filter.el (elmo-message-flag-available-p): Define.
2144         (elmo-message-number): Ditto.
2145
2146         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2147         (elmo-folder-initialize): Load `max-number'.
2148         (elmo-folder-commit): Save it.
2149         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2150         (elmo-global-flag-set-internal): Set up max-number slot.
2151
2152 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2153
2154         * elmo-version.el (elmo-version): Up to 2.11.31.
2155
2156 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2157
2158         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2159         unibyte string of the current buffer for the argument of `md5'
2160         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2161
2162 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2163
2164         * modb-legacy.el (modb-legacy-flag-list): New constant.
2165         (modb-legacy-suppoted-flag-p): New internal function.
2166         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2167         (elmo-msgdb-unset-flag): Ditto.
2168
2169 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2170
2171         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2172
2173         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2174         from msgdb.
2175
2176 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2177
2178         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2179         (follow the API change).
2180
2181         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2182
2183 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2184
2185         * modb-standard.el (modb-standard-digest-flags): Abolish.
2186         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2187
2188         * elmo-vars.el (elmo-digest-flags): New variable.
2189         (elmo-preserved-flags): Moved from elmo-flag.el.
2190
2191         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2192         (elmo-imap4-flag-to-imap-criteria): Ditto.
2193         (elmo-imap4-folder-list-flagged): Use it.
2194
2195         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2196
2197         * elmo.el (elmo-folder-count-flags): Changed return value.
2198
2199         * elmo-flag.el (elmo-preserved-flags): New variable.
2200         (elmo-get-global-flags): Use it.
2201
2202         * modb-standard.el (modb-standard-digest-flags): New variable.
2203         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2204         Changed behavior of `any'.
2205
2206         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2207         which are defined the Internet draft
2208         (draft-melnikov-imap-keywords-03.txt).
2209         (elmo-imap4-flags-to-imap): New function.
2210         (elmo-folder-append-buffer): Use it.
2211
2212         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2213         in the docstring.
2214
2215         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2216         avoid the bug of Emacs 21.3.
2217
2218 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2219
2220         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2221         function find-coding-system does not exist.
2222
2223 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2224
2225         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2226         parsing.
2227
2228 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2229
2230         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2231         response codes.
2232
2233 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2234
2235         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2236         (elmo-network-close-session): Follow the changes in
2237         `elmo-pop3-read-response'.
2238         (elmo-pop3-auth-user): Ditto.
2239         (elmo-pop3-auth-apop): Ditto.
2240         (elmo-network-initialize-session): Ditto.
2241         (elmo-network-authenticate-session): Ditto.
2242         (elmo-network-setup-session): Ditto.
2243         (elmo-folder-status): Ditto.
2244         (elmo-message-fetch-plugged): Ditto.
2245         (elmo-pop3-delete-msg): Ditto.
2246
2247 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2248
2249         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2250         on failure.
2251
2252 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2253
2254         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2255         style.
2256         (elmo-bind-directory): Ditto.
2257
2258 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2259
2260         * elmo.el (elmo-folder-append-messages): Note on return value.
2261         * elmo-archive.el (elmo-folder-append-messages): Don't return
2262         message numbers which could not be appended.
2263
2264 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2265
2266         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2267
2268 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2269
2270         * elmo-version.el (elmo-version): Up to 2.11.30.
2271
2272 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2273
2274         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2275         `mask'.
2276
2277         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2278
2279         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2280         (elmo-multi-split-numbers): Add elmo-folder object into each
2281         element of return value at first.
2282         (elmo-folder-delete-messages): Follow the above change.
2283         (elmo-folder-detach-messages): Ditto.
2284
2285         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2286         number which is synchronized in target folder.
2287
2288 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2289
2290         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2291         Change default value to symbol `all'.
2292         (elmo-map-message-fetch): Change condition to update overview
2293         follow the above.
2294
2295 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2296
2297         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2298         behavior to update overview.
2299         (elmo-shimbun-update-overview-folder-list): Note it.
2300
2301 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2302
2303         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2304         recursive call.
2305
2306 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2307
2308         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2309         buffer-disable-undo, it is unnecessary.
2310         (elmo-spam-register-good-messages): Ditto.
2311
2312         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2313         Ditto.
2314
2315         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2316
2317 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2318
2319         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2320         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2321         elmo-set-buffer-multibyte.
2322         (elmo-object-load): Ditto.
2323         (elmo-save-buffer): Ditto.
2324         (elmo-delete-char): Ditto.
2325         (elmo-file-field-primitive-condition-match): Ditto.
2326         (elmo-mime-string): Ditto.
2327
2328         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2329         (elmo-archive-field-condition-match): Ditto.
2330
2331         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2332
2333         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2334
2335         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2336         (elmo-nntp-msgdb-create-message): Ditto.
2337
2338         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2339
2340         * elmo.el (elmo-message-match-condition): Ditto.
2341         (elmo-message-match-condition): Ditto.
2342
2343         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2344         Ditto.
2345
2346         * elmo-version.el (elmo-version): Up to 2.11.29.
2347
2348         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2349         (elsp-header): New backend.
2350
2351         * elmo-util.el (elmo-decoded-field-body): New function.
2352
2353 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2354
2355         * elmo-version.el (elmo-version): Up to 2.11.28.
2356
2357 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2358
2359         * elmo-filter.el: Rewrite.
2360
2361         * elmo-version.el (elmo-version): Up to 2.11.27.
2362
2363 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2364
2365         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2366         msgdb path for the localdir folder with absolute path.
2367
2368         * utf7.el: Synch up with latest gnus/utf7.el;
2369         Modified for latest Emacs.
2370
2371 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2372
2373         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2374         shimbun backend couldn't open.
2375
2376 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2377
2378         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2379         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2380         when a destination folder is a filter folder.
2381
2382 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2383
2384         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2385         (elmo-generic-folder-append-messages): Call elmo-message-flags
2386         with argument `msgid'.
2387
2388         * elmo-split.el (elmo-split-subr): Ditto.
2389
2390         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2391
2392         * elmo-multi.el (elmo-message-flags): Ditto.
2393
2394 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2395
2396         * elmo.el (elmo-folder): Add new slot `flag-table'.
2397         (elmo-folder-flag-table): New API.
2398         (elmo-folder-close-flag-table): Ditto.
2399         (elmo-folder-preserve-flags): New function.
2400         (elmo-generic-folder-append-messages): Use
2401         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2402         Flag of a non-registered message, it sets to nil.
2403         Does not set flag to flag-table.
2404
2405         * elmo-maildir.el (elmo-folder-append-buffer): Use
2406         `elmo-folder-preserve-flags'.
2407         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2408         `elmo-folder-close-flag-table'.
2409
2410         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2411         (elmo-archive-folder-append-buffer): Use
2412         `elmo-folder-preserve-flags'.
2413
2414         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2415
2416         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2417
2418         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2419         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2420         `elmo-folder-close-flag-table'.
2421
2422         * elmo-version.el (elmo-version): Up to 2.11.26.
2423
2424 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2425
2426         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2427
2428         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2429         md5's 4th and 5th argument (non-existent in flim one).
2430
2431 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2432
2433         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2434         message, It sets to nil.
2435
2436 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2437
2438         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2439         list is non-nil.
2440
2441 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2442
2443         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2444
2445         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2446
2447         * elmo-util.el (elmo-uniq-sorted-list): New function.
2448         (elmo-make-number-list): Ditto.
2449         (elmo-number-set-to-number-list): Use elmo-make-number-list
2450         and don't use nreverse.
2451
2452 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2453
2454         * elmo-version.el (elmo-version): Up to 2.11.25.
2455
2456 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2457
2458         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2459         field not exists in message, Use md5 message digest of header.
2460
2461 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2462
2463         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2464         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2465         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2466         * elmo-split.el (elmo-split-subr): Check return value of
2467         elmo-folder-append-buffer.
2468
2469         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2470         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2471
2472         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2473         message-id.
2474
2475 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2476
2477         * elmo-split.el (elmo-split-subr): Append message with flag.
2478
2479         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2480         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2481         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2482
2483 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2484
2485         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2486         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2487         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2488
2489 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2490
2491         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2492         with a function call of `process-buffer'.  All callers are updated.
2493         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2494         Remove redundant `set-buffer' in a while loop.
2495
2496 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2497
2498         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2499         calls.
2500
2501 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2502
2503         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2504         elsp-spamfilter-register-buffer-internal with current buffer.
2505         (elmo-spam-register-spam-buffer): Ditto.
2506         (elmo-spam-register-good-buffer): Ditto.
2507
2508 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2509
2510         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2511         if it is not contained in the response(A workaround for courier-imap).
2512
2513 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2514
2515         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2516         parenthesis.
2517
2518 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2519
2520         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2521         range.
2522
2523 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2524
2525         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2526         of nconc.
2527
2528         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2529         argument handler.
2530         (elmo-msgdb-message-match-condition): Follow the change above.
2531
2532 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2533
2534         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2535         folder name.
2536
2537 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2538
2539         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2540
2541 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2542
2543         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2544
2545 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2546
2547         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2548         not found.
2549
2550 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2551
2552         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2553         value.
2554         (elmo-file-command-argument): Undo last change for cygwin.
2555         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2556         Don't return nil.
2557         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2558
2559 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2560
2561         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2562         value returned from elmo-file-find is nil.
2563
2564 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2565
2566         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2567         to elmo-vars.el.
2568
2569         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2570         instead of insert-file-contents-as-binary.
2571         (elmo-message-set-field): New generic function.
2572
2573         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2574         behavior change on `split-string'.
2575
2576         * elmo-file.el (elmo-file-find): New function.
2577         (elmo-file-command): New user option.
2578         (elmo-file-command-argument): Ditto.
2579         (elmo-file-fetch-max-size): Ditto.
2580         (elmo-file-detect-format): New function.
2581         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2582         Use elmo-file-detect-format.
2583         (elmo-map-folder-list-message-locations): Don't treat directories.
2584
2585 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2586
2587         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2588         (elmo-passwd-alist-clear): Shred password before clear.
2589         (elmo-remove-passwd): Remove all mached pair.
2590
2591 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2592
2593         * elmo.el (elmo-folder-synchronize): Fix description of the return
2594         value.
2595
2596 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2597
2598         * elmo.el (elmo-message-fetch-bodystructure): New method.
2599         (elmo-message-fetch-bodystructure): Define default.
2600
2601         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2602         elmo-message-fetch-bodystructure.
2603         (elmo-message-fetch-bodystructure): Define.
2604
2605         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2606
2607 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2608
2609         * elmo-filter.el (elmo-message-folder): Define.
2610
2611 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2612
2613         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2614         elmo-delete-cr-buffer.
2615
2616         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2617
2618         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2619
2620         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2621
2622         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2623         type seems to be a text.
2624
2625 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2626
2627         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2628         (elmo-spam-register-good-buffer): Ditto.
2629         (elmo-spam-spamassassin-register-messages): Ditto.
2630
2631         * elmo-util.el (elmo-string-member-ignore-case): Define with
2632         static-cond.
2633
2634 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2635
2636         * elmo.el (elmo-folder-type): Undo last change.
2637
2638         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2639
2640         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2641         warnings.
2642
2643         * elmo-file.el: New file.
2644         
2645         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2646
2647         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2648         variable.
2649         (elmo-spam-spamassassin-register-messages): New inline function.
2650         (elmo-spam-register-spam-messages): Define.
2651         (elmo-spam-register-good-messages): Ditto.
2652
2653         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2654         Fixed typo.
2655
2656         * elmo.el (toplevel): Added autoload setting for
2657         `elmo-get-global-flags'.
2658         (elmo-message-has-global-flag-p): New function.
2659         (elmo-message-set-global-flags): Ditto.
2660         (elmo-folder-type): Improvement for name: format.
2661
2662         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2663         availability of keyword flags.
2664         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2665         (elmo-folder-list-flagged-plugged): Renamed from
2666         elmo-folder-list-flagged-unplugged.
2667         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2668         accept any flag as keyword flag.
2669         (elmo-folder-set-flag-plugged): Accept keyword flags.
2670         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2671
2672         * elmo-flag.el (elmo-get-global-flags): New function.
2673
2674         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2675         folders.
2676
2677         * elmo-version.el (elmo-version): Up to 2.11.24.
2678
2679 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2680
2681         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2682         elmo-multiple-field-body instead of std11-field-body to check all
2683         headers.
2684
2685 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2686
2687         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2688         or "size".
2689
2690 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2691
2692         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2693         unintern is unbound.
2694
2695 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2696
2697         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2698         Protect from infinite loop.
2699
2700 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2701
2702         * elsp-bogofilter.el
2703         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2704         (elmo-spam-bogofilter-register-messages): New internal function.
2705         (elmo-spam-register-spam-messages): Define.
2706         (elmo-spam-register-good-messages): Ditto.
2707
2708 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2709
2710         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2711         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2712         (elmo-spam-bogofilter-call): Fixed the last change.
2713         (elmo-spam-bogofilter-arguments): Ditto.
2714
2715         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2716         Follow the options change of latest bogofilter.
2717
2718         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2719         (elmo-spam-bogofilter-good-switch): Ditto.
2720         (elmo-spam-bogofilter-arguments-alist): New user option.
2721         (elmo-spam-bogofilter-debug): Ditto.
2722         (elmo-spam-bogofilter-call): Renamed from
2723         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2724         is non-nil, insert output in buffer for debug.
2725         (elmo-spam-bogofilter-arguments): New macro.
2726         (elmo-spam-buffer-spam-p): Use it.
2727         (elsp-bogofilter-register-buffer): Ditto.
2728
2729 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2730
2731         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2732         regexp.
2733
2734 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2735
2736         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2737         value as "ruby".
2738         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2739         (elmo-spam-bsfilter-program): Set default value as full path for
2740         `bsfilter'.
2741         (elmo-spam-bsfilter-debug): New user option.
2742         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2743         non-nil, insert output in buffer for debug. Fix treating of
2744         argument.
2745
2746 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2747
2748         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2749         `elmo-maildir-flag-specs' element instead of one.
2750         (elmo-map-folder-unset-flag): Ditto.
2751         (Reported by Ken Makimura <macky@astem.or.jp>)
2752
2753         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2754         (elmo-folder-unset-flag-plugged): Ditto.
2755
2756 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2757
2758         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2759         to `reads' slot only if `in-msgdb' is nil.
2760
2761 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2762
2763         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2764         and complement argument list.
2765
2766 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2767
2768         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2769         instead of elmo-folder-list-flagged.
2770
2771 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2772
2773         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2774
2775         * elsp-bsfilter.el: New file.
2776
2777         * elmo-pipe.el (elmo-folder-list-unreads,
2778         elmo-folder-list-answereds,
2779         elmo-folder-list-importants,
2780         elmo-folder-flag-as-important,
2781         elmo-folder-unflag-important,
2782         elmo-folder-flag-as-read,
2783         elmo-folder-unflag-read,
2784         elmo-folder-flag-as-answered,
2785         elmo-folder-unflag-answered): Remove.
2786         (elmo-folder-set-flag): Define.
2787         (elmo-folder-unset-flag): Ditto.
2788
2789         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2790         (elmo-folder-set-flag): Define.
2791         (elmo-folder-unset-flag): Ditto.
2792         (elmo-folder-list-unreads): Remove.
2793         (elmo-folder-list-flagged): Define.
2794
2795         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2796         (elmo-folder-list-unreads,
2797         elmo-folder-list-importants,
2798         elmo-folder-list-answereds,
2799         elmo-folder-list-unreads-plugged,
2800         elmo-folder-list-importants-plugged,
2801         elmo-folder-list-answereds-plugged): Remove.
2802         (elmo-folder-list-flagged-plugged): New method.
2803         (elmo-folder-unflag-important,
2804         elmo-folder-flag-as-important,
2805         elmo-folder-unflag-read,
2806         elmo-folder-flag-as-read,
2807         elmo-folder-unflag-answered,
2808         elmo-folder-flag-as-answered,
2809         elmo-folder-flag-as-read-unplugged,
2810         elmo-folder-unflag-read-unplugged,
2811         elmo-folder-flag-as-important-unplugged,
2812         elmo-folder-unflag-important-unplugged,
2813         elmo-folder-flag-as-answered-unplugged,
2814         elmo-folder-unflag-answered-unplugged): Remove.
2815         (elmo-folder-set-flag): Define.
2816         (elmo-folder-unset-flag): Ditto.
2817         (elmo-folder-set-flag-unplugged): Ditto.
2818         (elmo-folder-unset-flag-unplugged): Ditto.
2819
2820         * elmo-multi.el (elmo-folder-list-unreads,
2821         elmo-folder-list-answereds,
2822         elmo-folder-list-importants,
2823         elmo-folder-flag-as-important,
2824         elmo-folder-unflag-important,
2825         elmo-folder-flag-as-read,
2826         elmo-folder-unflag-read,
2827         elmo-folder-flag-as-answered,
2828         elmo-folder-unflag-answered): Remove.
2829         (elmo-folder-set-flag): Define.
2830         (elmo-folder-unset-flag): Ditto.
2831
2832         * elmo-map.el (elmo-map-folder-unflag-important,
2833         elmo-map-folder-flag-as-important,
2834         elmo-map-folder-unflag-read,
2835         elmo-map-folder-flag-as-read,
2836         elmo-map-folder-unflag-answered,
2837         elmo-map-folder-flag-as-answered): Remove.
2838         (elmo-map-folder-set-flag): New method.
2839         (elmo-map-folder-unset-flag): Ditto.
2840         (elmo-map-folder-list-unreads,
2841         elmo-map-folder-list-importants,
2842         elmo-map-folder-list-answereds): Remove.
2843         (elmo-folder-list-flagged-internal): Define.
2844         (elmo-map-folder-list-flagged): New method.
2845
2846         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2847         (elmo-map-folder-list-unreads,
2848         elmo-map-folder-list-importants,
2849         elmo-map-folder-list-flagged): Remove.
2850         (elmo-map-folder-list-flagged): Define.
2851         (elmo-map-folder-flag-as-important,
2852         elmo-map-folder-unflag-important,
2853         elmo-map-folder-flag-as-read,
2854         elmo-map-folder-unflag-read,
2855         elmo-map-folder-flag-as-answered,
2856         elmo-map-folder-unflag-answered): Remove.
2857         (elmo-maildir-set-mark-messages): New internal function.
2858         (elmo-map-folder-set-flag): Define.
2859         (elmo-map-folder-unset-flag): Ditto.
2860
2861         * elmo.el (toplevel): Added autoload setting for
2862         `elmo-folder-list-global-flag-messages'.
2863         (elmo-folder-list-unreads,
2864         elmo-folder-list-importants,
2865         elmo-folder-list-answereds): Remove.
2866         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2867         Return a list whitch merged with messages have global flag.
2868         (elmo-folder-list-flagged-internal): New method.
2869         (elmo-folder-unflag-important,
2870         elmo-folder-flag-as-important,
2871         elmo-folder-unflag-read,
2872         elmo-folder-flag-as-read,
2873         elmo-folder-unflag-answered,
2874         elmo-folder-flag-as-answered): Remove.
2875         (elmo-folder-set-flag): New method.
2876         (elmo-folder-unset-flag): Ditto.
2877         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2878         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2879
2880         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2881         (elmo-folder-list-unreads-plugged,
2882         elmo-folder-list-importants-plugged,
2883         elmo-folder-list-answereds-plugged,
2884         elmo-folder-list-flagged-unplugged,
2885         elmo-folder-unflag-important-plugged,
2886         elmo-folder-flag-as-important-plugged,
2887         elmo-folder-unflag-read-plugged,
2888         elmo-folder-flag-as-read-plugged,
2889         elmo-folder-unflag-answered-plugged,
2890         elmo-folder-flag-as-answered-plugged): Remove.
2891         (elmo-folder-set-flag-plugged,
2892         elmo-folder-unset-flag-plugged): Define.
2893
2894         * elmo-flag.el (elmo-folder-initialize): Register to
2895         `elmo-global-flag-list' if flag is not global.
2896         (elmo-folder-append-messages): Set flag to source messages.
2897
2898         * elmo-filter.el (elmo-filter-folder-list-unreads,
2899         elmo-folder-list-unreads,
2900         elmo-filter-folder-list-importants,
2901         elmo-folder-list-importants,
2902         elmo-folder-flag-as-read,
2903         elmo-folder-unflag-read,
2904         elmo-folder-flag-as-important,
2905         elmo-folder-unflag-important,
2906         elmo-folder-flag-as-answered,
2907         elmo-folder-unflag-answered): Remove.
2908         (elmo-folder-set-flag): Define.
2909         (elmo-folder-unset-flag): Ditto.
2910
2911         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2912         elmo-folder-unflag-read-dop,
2913         elmo-folder-flag-as-important-dop,
2914         elmo-folder-unflag-important-dop,
2915         elmo-folder-flag-as-answered-dop,
2916         elmo-folder-unflag-answered-dop): Remove.
2917         (elmo-folder-set-flag-dop,
2918         elmo-folder-unset-flag-dop,
2919         elmo-folder-set-important-delayed,
2920         elmo-folder-unset-important-delayed,
2921         elmo-folder-set-read-delayed,
2922         elmo-folder-unset-read-delayed,
2923         elmo-folder-set-answered-delayed,
2924         elmo-folder-unset-answered-delayed): New function.
2925         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2926         (elmo-dop-queue-method-name-alist): Ditto.
2927
2928         * elmo-version.el (elmo-version): Up to 2.11.23.
2929
2930 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2931
2932         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2933
2934         * elsp-sa.el: New file.
2935
2936 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2937
2938         * modb-standard.el (modb-standard-message-entity): New function.
2939         (elmo-msgdb-message-entity): Use it.
2940
2941 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2942
2943         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2944         behavior when one-level is nil.
2945
2946         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2947
2948         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2949
2950 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2951
2952         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2953         get max number.
2954         (elmo-generic-folder-diff): Ditto.
2955
2956         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2957         (elmo-folder-update-number): Ditto.
2958
2959         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2960         (elmo-folder-next-message-number-dop): Ditto.
2961
2962 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2963
2964         * elmo-filter.el (elmo-folder-msgdb-create): Use
2965         `elmo-message-entity' and `elmo-message-flags' instead of
2966         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2967
2968 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2969
2970         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2971         `if-exists'.
2972
2973 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2974
2975         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2976
2977         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2978
2979         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2980
2981 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2982
2983         * elmo-version.el (elmo-version): Up to 2.11.22.
2984
2985 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2986
2987         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2988
2989 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2990
2991         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2992         if the message dose not exist.
2993
2994 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2995
2996         * elmo-version.el (elmo-version): Up to 2.11.21.
2997
2998 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2999
3000         * modb-standard.el (toplevel): Don't require mime.
3001
3002 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3003
3004         * elsp-bogofilter.el (toplevel): Don't require path-util.
3005         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3006         (elmo-spam-bogofilter-header): Abolish.
3007         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3008         (elmo-spam-bogofilter-args): New user option.
3009         (elsp-bogofilter-call-bogofilter): New internal function.
3010         (elmo-spam-buffer-spam-p): Use it.
3011         (elsp-bogofilter-register-buffer): Renamed from
3012         `elmo-spam-bogofilter-register-buffer';
3013         Use `elsp-bogofilter-call-bogofilter'.
3014         (elmo-spam-register-spam-buffer): Follow the change above.
3015         (elmo-spam-register-good-buffer): Ditto.
3016
3017 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3018
3019         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3020         message-id is nil do nothing.
3021
3022 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3023
3024         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3025         Revival.
3026         (elmo-imap4-session): Removed use-flag slot.
3027         (elmo-imap4-session-select-mailbox): Undo last change.
3028         (elmo-folder-use-flag-p): Use
3029         elmo-imap4-disuse-server-flag-mailbox-regexp.
3030
3031 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3032
3033         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3034         (elmo-imap4-session-select-mailbox): Set it up.
3035         (elmo-folder-use-flag-p): Return value of use-flag slot.
3036
3037 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3038
3039         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3040         message-id is nil.
3041         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3042
3043         * modb-entity.el (elmo-message-entity-handler): Likewise.
3044
3045 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3046
3047         * elmo.el (toplevel): Remove setting of autoloding for
3048         elmo-global-flag-initialize.
3049         (elmo-init): Don't call elmo-global-flag-initialize.
3050         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3051
3052         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3053         (elmo-global-mark-migrate): Don't call it.
3054         (elmo-global-mark-upgrade): Ditto.
3055
3056 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3057
3058         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3059         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3060
3061         * elmo-vars.el (elmo-init-hook): New user option.
3062
3063         * elmo.el (elmo-init): Run the elmo-init-hook.
3064
3065         * elmo-flag.el (elmo-global-mark-migrate): New function.
3066
3067 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3068
3069         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3070         Undo last change (move to elmo-msgdb-unset-flag).
3071         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3072         flag is unset.
3073
3074 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3075
3076         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3077         read flag is set.
3078         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3079         (elmo-msgdb-unset-flag): Ditto.
3080
3081 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3082
3083         * elmo-split.el (elmo-split): Return split message count.
3084
3085 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3086
3087         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3088         is nil.
3089
3090 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3091
3092         * elmo.el (elmo-folder-unflag-important): Call
3093         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3094         a symbol `always'.
3095
3096         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3097         before unset flag.
3098         (elmo-global-flag-detach): Delete the message from flag folder, if
3099         `delete-if-none' is a symbol `always'.
3100
3101 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3102
3103         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3104         `elmo-spam-spamfilter-decode-buffer'.
3105         (elsp-spamfilter-register-buffer-internal): New internal function.
3106         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3107         (elmo-spam-register-spam-buffer): Ditto.
3108         (elmo-spam-register-good-buffer): Ditto.
3109
3110         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3111         change.
3112         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3113         (elmo-spam-register-spam-buffer): Follow the API change.
3114         (elmo-spam-register-good-buffer): Ditto.
3115
3116         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3117         (elmo-split-spam-p): Added argument plist; Call
3118         `elmo-spam-buffer-spam-p' with new argument register.
3119
3120         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3121         `register'.
3122         (elmo-spam-message-spam-p): Ditto.
3123         (elmo-spam-register-spam-buffer): Added optional argument
3124         `restore'.
3125         (elmo-spam-register-good-buffer): Ditto.
3126         (elmo-spam-register-spam-messages): Ditto.
3127         (elmo-spam-register-good-messages): Ditto.
3128
3129 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3130
3131         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3132         register into good corpus.
3133         (elmo-spam-register-good-buffer): Fixed to register into bad
3134         corpus.
3135
3136 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3137
3138         * elmo-version.el (elmo-version): Up to 2.11.20.
3139
3140         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3141         change.
3142
3143         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3144         flag without depending on \Recent flag.
3145
3146 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3147
3148         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3149         (elmo-spam-modified-p): Defined.
3150         (elmo-spam-save-status): Set `modified' slot to nil.
3151         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3152         (elmo-spam-register-good-buffer): Ditto.
3153
3154         * elmo-spam.el (elmo-spam-modified-p): New API.
3155
3156 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3157
3158         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3159         duplicate definition.
3160
3161         * elmo-util.el (elmo-unfold-field-body): New function.
3162         (elmo-msgdb-get-message-id-from-buffer): Use it.
3163
3164         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3165         Fixed the last change; Use elmo-unfold-field-body.
3166
3167 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3168
3169         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3170         Unfold date value.
3171
3172 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3173
3174         * elmo-spam.el (elmo-spam-save-status): New API.
3175
3176         * elsp-spamfilter.el: New file.
3177
3178 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3179
3180         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3181
3182 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3183
3184         * elmo-split.el (elmo-split-spam-p): New function.
3185
3186         * elmo-spam.el: New file.
3187
3188         * elsp-bogofilter.el: Ditto.
3189
3190 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3191
3192         * elmo.el (elmo-folder-next-message-number): New API.
3193         (elmo-folder-next-message-number): Define.
3194         (elmo-message-field): Don't check folder length.
3195
3196         * elmo-net.el (elmo-folder-next-message-number): Define.
3197         (elmo-folder-next-message-number-unplugged): Define.
3198
3199         * elmo-map.el (elmo-folder-next-message-number): Define.
3200         (elmo-folder-delete-messages): Clear hash value.
3201
3202         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3203
3204         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3205         (elmo-folder-delete-messages-dop-delayed): Always return t.
3206
3207         * elmo-version.el (elmo-version): Up to 2.11.19.
3208
3209 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3210
3211         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3212         change.
3213
3214         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3215         identical cons cell into the mark-alist and the hash table.
3216
3217 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3218
3219         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3220         elmo-folder-list-messages with argument `visible-only' as t.
3221
3222         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3223         (elmo-folder-msgdb-create): Check the target folder.
3224
3225 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3226
3227         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3228         `permanentflag' instead of `flags'.
3229         (elmo-folder-open): Ditto.
3230         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3231         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3232         (elmo-folder-use-flag-p): Always return t.
3233         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3234         `permanentflags' does not exist.
3235         (elmo-folder-open): Ditto.
3236
3237 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3238
3239         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3240         is nil.
3241         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3242
3243         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3244         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3245         response.
3246         (elmo-folder-open): Ditto.
3247         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3248         slot of the session includes the flag.
3249         (elmo-imap4-session-flag-available-p): New function.
3250         (elmo-imap4-folder-list-flagged): Ditto.
3251         (elmo-folder-list-unreads-plugged): Use it.
3252         (elmo-folder-list-importants-plugged): Ditto.
3253         (elmo-folder-list-answereds-plugged): Ditto.
3254         (elmo-imap4-search-internal-primitive): Ditto.
3255         (elmo-imap4-folder-list-any-plugged,
3256         elmo-imap4-folder-list-digest-plugged): Abolish.
3257
3258         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3259         if numbers is nil.
3260
3261 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3262
3263         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3264
3265 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3266
3267         * elmo-util.el (elmo-get-hash-val): Simplify.
3268         (elmo-set-hash-val): Rewrite.
3269
3270 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3271
3272         * elmo.el (elmo-folder-list-messages): Append killed messages into
3273         result if `visible-only' is nil and `in-msgdb' is non-nil.
3274
3275         * elmo-util.el (elmo-uniq-list): Added optional argument
3276         `delete-function'.
3277
3278         * modb.el (elmo-msgdb-flag-count): New API.
3279
3280         * modb-standard.el (modb-standard): Added slot flag-count.
3281         (modb-standard-countup-flags): New function.
3282         (modb-standard-load-flag): Call it.
3283         (elmo-msgdb-append): Ditto.
3284         (elmo-msgdb-clear): Clear slot flag-count.
3285         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3286         (elmo-msgdb-unset-flag): Treat `all' flag and call
3287         modb-standard-countup-flags.
3288         (elmo-msgdb-flag-count): Define.
3289         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3290         (elmo-msgdb-delete-messages): Ditto.
3291
3292         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3293         (elmo-msgdb-flag-count): Define.
3294
3295         * elmo.el (elmo-folder-list-messages): Undo last change.
3296         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3297         (elmo-folder-kill-messages): Unset all flags to numbers.
3298
3299         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3300         elmo-folder-kill-messages.
3301
3302         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3303         (elmo-nntp-folder-delete-messages): Abolish.
3304
3305         * elmo-version.el (elmo-version): Up to 2.11.18.
3306
3307 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3308
3309         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3310         (elmo-folder-kill-messages-range): New function.
3311         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3312         instead of elmo-folder-kill-messages-before.
3313
3314 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3315
3316         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3317         elmo-imap4-current-msgdb to decide entity handler.
3318
3319 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3320
3321         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3322
3323         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3324         inline function.
3325         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3326         (elmo-msgdb-overview-entity-set-number,
3327         elmo-msgdb-overview-entity-get-references,
3328         elmo-msgdb-overview-entity-set-references,
3329         elmo-msgdb-overview-entity-get-from-no-decode,
3330         elmo-msgdb-overview-entity-get-from,
3331         elmo-msgdb-overview-entity-set-from,
3332         elmo-msgdb-overview-entity-get-subject,
3333         elmo-msgdb-overview-entity-get-subject-no-decode,
3334         elmo-msgdb-overview-entity-set-subject,
3335         elmo-msgdb-overview-entity-get-date,
3336         elmo-msgdb-overview-entity-set-date,
3337         elmo-msgdb-overview-entity-get-to,
3338         elmo-msgdb-overview-entity-get-cc,
3339         elmo-msgdb-overview-entity-get-size,
3340         elmo-msgdb-overview-entity-set-size,
3341         elmo-msgdb-overview-entity-get-extra,
3342         elmo-msgdb-overview-entity-set-extra,
3343         elmo-msgdb-overview-entity-get-extra-field,
3344         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3345         (elmo-msgdb-make-index): Use
3346         `elmo-msgdb-overview-entity-get-number-internal'.
3347         (elmo-msgdb-clear-index): Ditto.
3348         (elmo-msgdb-append-entity): Ditto;
3349         Use `elmo-msgdb-overview-entity-get-id-internal'.
3350
3351         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3352         elmo-msgdb-overview-entity-set-number,
3353         elmo-msgdb-overview-entity-get-references,
3354         elmo-msgdb-overview-entity-set-references,
3355         elmo-msgdb-overview-entity-get-from-no-decode,
3356         elmo-msgdb-overview-entity-get-from,
3357         elmo-msgdb-overview-entity-set-from,
3358         elmo-msgdb-overview-entity-get-subject,
3359         elmo-msgdb-overview-entity-get-subject-no-decode,
3360         elmo-msgdb-overview-entity-set-subject,
3361         elmo-msgdb-overview-entity-get-date,
3362         elmo-msgdb-overview-entity-set-date,
3363         elmo-msgdb-overview-entity-get-to,
3364         elmo-msgdb-overview-entity-get-cc,
3365         elmo-msgdb-overview-entity-get-size,
3366         elmo-msgdb-overview-entity-set-size,
3367         elmo-msgdb-overview-entity-get-extra,
3368         elmo-msgdb-overview-entity-set-extra,
3369         elmo-msgdb-overview-entity-get-extra-field,
3370         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3371         and rewrote for backward compatibility.
3372
3373 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3374
3375         * elmo.el (elmo-message-entity-number,
3376         elmo-message-entity-set-number,
3377         elmo-message-entity-field,
3378         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3379
3380         * elmo-msgdb.el (elmo-message-entity-number,
3381         elmo-message-entity-set-number,
3382         elmo-message-entity-field,
3383         elmo-message-entity-set-field): Moved from elmo.el.
3384
3385 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3386
3387         * elmo.el (toplevel): Changed definition orders.
3388
3389 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3390
3391         * modb.el (elmo-msgdb-search): New API .
3392         (elmo-msgdb-match-condition): Ditto.
3393
3394         * modb-standard.el (elmo-msgdb-search): Define.
3395
3396         * modb-legacy.el (elmo-msgdb-search): Ditto.
3397
3398         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3399         from elmo-msgdb-match-condition-internal.
3400
3401         * elmo.el (elmo-folder-search-fast): Abolish.
3402         (elmo-folder-search): Use elmo-msgdb-search and
3403         elmo-with-progress-display.
3404
3405         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3406         as msgdb API.
3407
3408         * elmo.el (elmo-folder): Remove slot message-modified and
3409         flag-modified.
3410         (elmo-folder-set-message-modified): Abolish.
3411         (elmo-generic-folder-commit): Follow the change above.
3412         (elmo-folder-synchronize): Ditto.
3413
3414         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3415
3416         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3417
3418         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3419
3420 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3421
3422         * modb-standard.el (modb-standard-make-message-entity,
3423         elmo-msgdb-make-message-entity,
3424         elmo-msgdb-create-message-entity-from-buffer,
3425         elmo-msgdb-message-entity-number,
3426         elmo-msgdb-message-entity-set-number,
3427         elmo-msgdb-message-entity-field,
3428         elmo-msgdb-message-entity-set-field,
3429         elmo-msgdb-copy-message-entity,
3430         elmo-msgdb-match-condition-internal): Remove.
3431
3432         * modb-entity.el: New file (again).
3433
3434         * modb.el (toplevel): Require modb-entity.
3435         (elmo-msgdb-message-entity-handler): New method.
3436
3437         * modb-standard.el (modb-standard-entity-id): Use
3438         elmo-message-entity-handler.
3439         (modb-standard-load-entity): Ditto.
3440         (elmo-msgdb-append-entity): Ditto.
3441         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3442
3443         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3444         elmo-msgdb-decoded-cache-hashtb,
3445         (modb-legacy-make-message-entity,
3446         elmo-msgdb-make-message-entity,
3447         elmo-msgdb-create-message-entity-from-buffer,
3448         elmo-msgdb-message-entity-number,
3449         elmo-msgdb-message-entity-set-number,
3450         elmo-msgdb-message-entity-field,
3451         elmo-msgdb-message-entity-set-field,
3452         elmo-msgdb-copy-message-entity,
3453         elmo-msgdb-match-condition-internal,
3454         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3455
3456         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3457         (elmo-message-entity-set-number): Ditto.
3458         (elmo-message-entity-field): Ditto.
3459         (elmo-message-entity-set-field): Ditto.
3460
3461         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3462
3463         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3464
3465         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3466
3467         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3468         (elmo-nntp-msgdb-create-message): Ditto.
3469
3470         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3471         (elmo-folder-msgdb-create): Add unread flag.
3472
3473         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3474
3475         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3476
3477         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3478
3479         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3480
3481         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3482         elmo-msgdb-messge-entity-handler.
3483         * elmo-version.el (elmo-version): Up to 2.11.17.
3484
3485 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3486
3487         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3488         change.
3489
3490 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3491
3492         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3493
3494         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3495         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3496         (elmo-msgdb-flag-table): Ditto.
3497         (elmo-msgdb-sort-by-date): Ditto.
3498
3499         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3500
3501         * modb-standard.el (toplevel): Require mime.
3502         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3503         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3504         elmo-msgdb-message-entity-number.
3505         (elmo-msgdb-append-entity): Ditto.
3506         (elmo-msgdb-create-message-entity-from-file): Remove.
3507         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3508         corresponds to the entity.
3509         (elmo-msgdb-message-entity-number): Do nothing currently.
3510         (elmo-msgdb-message-entity-field): Ditto.
3511         (elmo-msgdb-message-entity-set-field): Ditto.
3512         (elmo-msgdb-copy-message-entity): Ditto.
3513         (elmo-msgdb-match-condition-internal): Ditto.
3514
3515         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3516         elmo-util.el.
3517         (elmo-msgdb-create-message-entity-from-file): Remove.
3518
3519         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3520         modb-legacy.el.
3521         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3522
3523         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3524
3525 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3526
3527         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3528         (elmo-msgdb-message-entity-field): Ditto.
3529         (elmo-msgdb-message-entity-number): Ditto.
3530
3531 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3532
3533         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3534         Fixed how to set extra field into entity.
3535         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3536         symbol.
3537
3538         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3539         Fixed how to set extra field into entity.
3540         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3541         symbol.
3542
3543 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3544
3545         * modb.el (elmo-message-entity-db): New function.
3546         (elmo-msgdb-make-message-entity): New API.
3547         (elmo-msgdb-message-entity-number): Ditto.
3548         (elmo-msgdb-message-entity-set-number): Ditto.
3549         (elmo-msgdb-message-entity-field): Ditto.
3550         (elmo-msgdb-message-entity-set-field): Ditto.
3551         (elmo-msgdb-copy-message-entity): Ditto.
3552         (elmo-msgdb-create-message-entity-from-file): Ditto.
3553         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3554         (elmo-msgdb-match-condition-internal): Ditto.
3555
3556         * modb-standard.el (modb-legacy): Require modb-legacy.
3557         (modb-standard-make-message-entity): New inline function.
3558         (elmo-msgdb-make-message-entity): Define.
3559         (elmo-msgdb-create-message-entity-from-file): Ditto.
3560         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3561         (elmo-msgdb-message-entity-field): Ditto.
3562         (elmo-msgdb-message-entity-set-field): Ditto.
3563         (elmo-msgdb-copy-message-entity): Ditto.
3564         (elmo-msgdb-match-condition-internal): Ditto.
3565
3566         * modb-legacy.el: Don't require modb-entity.
3567         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3568         (elmo-msgdb-match-condition-primitive): Ditto.
3569         (elmo-msgdb-get-decoded-cache): Ditto.
3570         (elmo-msgdb-overview-entity-get-id): Ditto.
3571         (elmo-msgdb-overview-entity-get-number): Ditto.
3572         (elmo-msgdb-overview-entity-set-number): Ditto.
3573         (elmo-msgdb-overview-entity-get-references): Ditto.
3574         (elmo-msgdb-overview-entity-set-references): Ditto.
3575         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3576         (elmo-msgdb-overview-entity-get-from): Ditto.
3577         (elmo-msgdb-overview-entity-set-from): Ditto.
3578         (elmo-msgdb-overview-entity-get-subject): Ditto.
3579         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3580         (elmo-msgdb-overview-entity-set-subject): Ditto.
3581         (elmo-msgdb-overview-entity-get-date): Ditto.
3582         (elmo-msgdb-overview-entity-set-date): Ditto.
3583         (elmo-msgdb-overview-entity-get-to): Ditto.
3584         (elmo-msgdb-overview-entity-get-cc): Ditto.
3585         (elmo-msgdb-overview-entity-get-size): Ditto.
3586         (elmo-msgdb-overview-entity-set-size): Ditto.
3587         (elmo-msgdb-overview-entity-get-extra): Ditto.
3588         (elmo-msgdb-overview-entity-set-extra): Ditto.
3589         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3590         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3591         (elmo-msgdb-number-load): Ditto.
3592         (elmo-msgdb-overview-load): Ditto.
3593         (elmo-msgdb-mark-load): Ditto.
3594         (elmo-msgdb-number-save): Ditto.
3595         (elmo-msgdb-mark-save): Ditto.
3596         (elmo-msgdb-overview-save): Ditto.
3597         (modb-legacy-make-message-entity): New inline function.
3598         (elmo-msgdb-insert-file-header): Ditto.
3599         (elmo-msgdb-make-message-entity): Define.
3600         (elmo-msgdb-create-message-entity-from-file): Ditto.
3601         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3602         (elmo-msgdb-message-entity-number): Ditto.
3603         (elmo-msgdb-message-entity-set-number): Ditto.
3604         (elmo-msgdb-message-entity-field): Ditto.
3605         (elmo-msgdb-message-entity-set-field): Ditto.
3606         (elmo-msgdb-copy-message-entity): Ditto.
3607         (elmo-msgdb-match-condition-internal): Ditto.
3608
3609         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3610         (elmo-message-copy-entity): Rewrite.
3611         (elmo-message-entity-number): Ditto.
3612         (elmo-message-entity-set-number): Ditto.
3613         (elmo-message-entity-field): Use elmo-message-entity-db.
3614         (elmo-message-entity-set-field): Ditto.
3615         (elmo-message-field): Rewrite.
3616
3617         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3618         elmo-msgdb.el
3619         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3620
3621         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3622         elmo-message-entity-field.
3623         (elmo-shimbun-folder-shimbun-header): Ditto.
3624         (elmo-shimbun-entity-to-header): Ditto.
3625         (elmo-folder-msgdb-create): Ditto.
3626         (elmo-shimbun-msgdb-create-entity): Ditto;
3627         Use elmo-msgdb-create-message-entity-from-buffer.
3628         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3629         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3630
3631         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3632         elmo-msgdb-create-message-entity-from-file and 
3633         elmo-message-entity-field.
3634
3635         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3636         elmo-message-entity-number.
3637         (elmo-pop3-msgdb-create-message): Use
3638         elmo-msgdb-create-message-entity-from-buffer,
3639         elmo-message-entity-set-field, elmo-message-entity-number and
3640         elmo-message-entity-set-number.
3641
3642         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3643         the API change in elmo-msgdb-make-message-entity.
3644         (elmo-nntp-msgdb-create-message): Use
3645         elmo-msgdb-create-message-entity-from-buffer.
3646
3647         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3648         elmo-message-entity-field and
3649         elmo-msgdb-create-message-entity-from-file.
3650
3651         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3652         (elmo-msgdb-get-field): Abolish.
3653         (elmo-msgdb-get-number): Rewrite.
3654         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3655         (elmo-msgdb-flag-table): Ditto.
3656         (elmo-msgdb-get-last-message-id,
3657         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3658         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3659         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3660         (elmo-msgdb-create-overview-from-buffer,
3661         elmo-msgdb-overview-get-parent-entity): Abolish.
3662
3663         * elmo-mime.el (elmo-mime-display-as-is): Use
3664         elmo-message-entity-field.
3665
3666         * elmo-map.el (elmo-folder-pack-numbers): Use
3667         elmo-message-entity-set-number.
3668
3669         * elmo-maildir.el (elmo-folder-msgdb-create): 
3670         elmo-msgdb-create-message-entity-from-file instead of
3671         elmo-msgdb-create-overview-entity-from-file.
3672
3673         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3674         msgdb.
3675         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3676         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3677
3678         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3679         elmo-messge-entity-field and elmo-message-entity-number.
3680         (elmo-imap4-fetch-callback-1): Call
3681         elmo-msgdb-create-message-entity-from-buffer instead of
3682         elmo-msgdb-create-overview-from-buffer. 
3683         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3684         (elmo-find-fetch-strategy): Likewise.
3685
3686         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3687         elmo-localdir-msgdb-create-entity with argument msgdb.
3688
3689         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3690         and elmo-message-entity-set-number.
3691
3692         * elmo-cache.el (elmo-folder-msgdb-create): Use
3693         elmo-message-entity-field.
3694         (elmo-folder-msgdb-create): Call
3695         elmo-msgdb-create-message-entity-from-file instead of
3696         elmo-msgdb-create-overview-entity-from-file.
3697
3698         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3699         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3700         instead of elmo-msgdb-create-overview-from-buffer.
3701         (elmo-archive-msgdb-create-entity): Ditto.
3702         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3703         elmo-message-entity-field.
3704         (elmo-archive-parse-mmdf): Ditto.
3705
3706         * modb-entity.el: Removed.
3707
3708         * elmo-version.el (elmo-version): Up to 2.11.16.
3709
3710 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3711
3712         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3713         `is-local'.
3714         (elmo-folder-flag-as-answered): Ditto.
3715
3716 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3717
3718         * modb-standard.el: New file.
3719
3720         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3721         elmo-msgdb-convert-type is `sync'.
3722
3723         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3724         (elmo-msgdb-convert-type): New user option.
3725
3726         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3727         (elmo-load-msgdb): Auto detect saved type.
3728
3729         * elmo-version.el (elmo-version): Up to 2.11.15.
3730
3731 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3732
3733         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3734
3735         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3736         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3737         with argument `delete-if-none' when dst-folder is 'null.
3738
3739         * elmo-flag.el (elmo-folder-append-messages): Defined.
3740         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3741
3742 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3743
3744         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3745
3746 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3747
3748         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3749         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3750         (elmo-folder-commit): Ditto.
3751
3752 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3753
3754         * elmo-flag.el: New file.
3755
3756         * elmo-mark.el: Removed.
3757
3758         * modb-legacy.el (modb-legacy-new-mark,
3759         modb-legacy-unread-uncached-mark,
3760         modb-legacy-unread-cached-mark,
3761         modb-legacy-read-uncached-mark,
3762         modb-legacy-answered-cached-mark,
3763         modb-legacy-answered-uncached-mark,
3764         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3765         All other related portions are changed.
3766
3767         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3768         (elmo-folder-list-messages-with-global-mark): Abolish.
3769         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3770         (elmo-folder-flag-as-important): Ditto.
3771         (elmo-folder-unflag-read): Ditto.
3772         (elmo-folder-flag-as-read): Ditto.
3773         (elmo-folder-unflag-answered): Ditto.
3774         (elmo-folder-flag-as-answered): Ditto.
3775         (elmo-message-encache): Return the cache path.
3776         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3777         (elmo-message-set-flag): Transitional implementation.
3778         (elmo-message-unset-flag): Ditto.
3779         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3780         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3781         (elmo-init): Call elmo-global-flag-initialize.
3782         (toplevel): Added autoload settings for elmo-flag.
3783
3784         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3785
3786         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3787         (elmo-file-cache-delete): Don't treat global-mark.
3788
3789         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3790
3791         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3792
3793         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3794         `elmo-global-flags-set'.
3795
3796         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3797         `flag'.
3798         (elmo-folder-unflag-read): Ditto.
3799         (elmo-folder-unflag-important): Ditto.
3800         (elmo-folder-flag-as-important): Ditto.
3801         (elmo-folder-unflag-answered): Ditto.
3802         (elmo-folder-flag-as-answered): Ditto.
3803
3804         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3805         `elmo-global-flags-set'.
3806         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3807
3808         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3809
3810         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3811         `flag'.
3812         (elmo-folder-flag-as-important): Ditto.
3813         (elmo-folder-unflag-important): Ditto.
3814         (elmo-folder-flag-as-important): Ditto.
3815         (elmo-folder-unflag-read): Ditto.
3816         (elmo-folder-flag-as-read): Ditto.
3817         (elmo-folder-unflag-answered): Ditto.
3818         (elmo-folder-flag-as-answered): Ditto.
3819
3820         * elmo-multi.el (elmo-folder-list-importants): Don't call
3821         elmo-folder-list-messages-with-global-mark.
3822         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3823         (elmo-folder-unflag-important): Ditto.
3824         (elmo-folder-flag-as-read): Ditto.
3825         (elmo-folder-unflag-read): Ditto.
3826         (elmo-folder-flag-as-answered): Ditto.
3827         (elmo-folder-unflag-answered): Ditto.
3828
3829         * elmo-msgdb.el (elmo-msgdb-new-mark,
3830         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3831         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3832         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3833         (Moved to modb-legacy.el).
3834         (elmo-flag-table-get): Treat important flag too.
3835
3836         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3837         `mark' to `flag'.
3838         (elmo-map-folder-flag-as-important): Ditto.
3839         (elmo-map-folder-unflag-read): Ditto.
3840         (elmo-map-folder-flag-as-read): Ditto.
3841         (elmo-map-folder-unflag-answered): Ditto.
3842         (elmo-map-folder-flag-as-answered): Ditto.
3843         (elmo-folder-unflag-important): Ditto.
3844         (elmo-folder-flag-as-important): Ditto.
3845         (elmo-folder-unflag-read): Ditto.
3846         (elmo-folder-flag-as-read): Ditto.
3847         (elmo-folder-unflag-answered): Ditto.
3848         (elmo-folder-flag-as-answered): Ditto.
3849
3850         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3851         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3852         `flag'.
3853         (elmo-map-folder-unflag-important): Ditto.
3854         (elmo-map-folder-flag-as-read): Ditto.
3855         (elmo-map-folder-unflag-read): Ditto.
3856         (elmo-map-folder-flag-as-answered): Ditto.
3857         (elmo-map-folder-unflag-answered): Ditto.
3858
3859         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3860         `elmo-global-flags-set'.
3861         (elmo-global-flags-set): Added autoload setting.
3862
3863         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3864         `flag'.
3865
3866         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3867         `elmo-msgdb-global-mark-set'.
3868         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3869         Call `elmo-global-flags-set'.
3870         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3871         `flag'.
3872         (elmo-folder-flag-as-important-plugged): Ditto.
3873         (elmo-folder-unflag-read-plugged): Ditto.
3874         (elmo-folder-flag-as-read-plugged): Ditto.
3875         (elmo-folder-unflag-answered-plugged): Ditto.
3876         (elmo-folder-flag-as-answered-plugged): Ditto.
3877         (elmo-global-flags-set): Added autoload setting.
3878
3879         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3880         `flag'.
3881         (elmo-folder-unflag-read): Ditto.
3882         (elmo-folder-flag-as-important): Ditto.
3883         (elmo-folder-unflag-important): Ditto.
3884         (elmo-folder-flag-as-answered): Ditto.
3885         (elmo-folder-unflag-answered): Ditto.
3886
3887         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3888         change of `mark'->`flag'.
3889         (elmo-dop-queue-method-name-alist): Ditto.
3890         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3891         (elmo-folder-unflag-read-dop): Ditto.
3892         (elmo-folder-flag-as-important-dop): Ditto.
3893         (elmo-folder-unflag-important-dop): Ditto.
3894         (elmo-folder-flag-as-answered-dop): Ditto.
3895         (elmo-folder-unflag-answered-dop): Ditto.
3896
3897         * elmo-cache.el (elmo-folder-msgdb-create): Call
3898         `elmo-global-flags-set'.
3899
3900         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3901         Call `elmo-global-flags-set'.
3902         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3903         elmo-archive-parse-mmdf with argument `folder'.
3904         (elmo-archive-parse-mmdf): Added argument `folder';
3905         Call `elmo-global-flags-set'.
3906
3907         * elmo-version.el (elmo-version): Up to 2.11.14.
3908
3909 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3910
3911         * modb.el (elmo-msgdb-length): Define.
3912
3913         * elmo.el (elmo-make-folder): Fixed.
3914         (elmo-generic-folder-append-messages): Follow the API change.
3915
3916         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3917         API change.
3918
3919 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3920
3921         * modb.el: New file.
3922
3923         * modb-entity.el: Ditto.
3924
3925         * modb-legacy.el: Ditto.
3926
3927         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3928         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3929         of `elmo-msgdb-overview-get-entity'.
3930         (elmo-msgdb-get-field): Ditto.
3931         (elmo-msgdb-merge): Moved to `elmo.el'.
3932         (elmo-msgdb-length): Removed; redefine as modb method.
3933         (elmo-msgdb-change-mark): Abolish.
3934         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3935         (elmo-msgdb-match-condition): Don't use mark.
3936         (elmo-msgdb-overview-get-entity): Abolish.
3937         Split modb part into `modb*.el'.
3938
3939         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3940
3941         * elmo-shimbun.el (shimbun-mua-search-id): Use
3942         `elmo-msgdb-message-entity' instead of
3943         `elmo-msgdb-overview-get-entity'.
3944         (elmo-shimbun-folder-shimbun-header): Ditto.
3945         (elmo-shimbun-get-headers): Ditto.
3946         (elmo-shimbun-update-overview): Ditto.
3947
3948         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3949
3950         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3951
3952         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3953         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3954
3955         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3956         `elmo-msgdb-mark-to-flags'.
3957
3958         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3959         `elmo-msgdb-set-path'.
3960
3961         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3962  
3963         * elmo-version.el (elmo-version): Up to 2.11.13.
3964
3965         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3966
3967         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3968         of mark.
3969
3970 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3971
3972         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3973         mismatch.
3974
3975 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3976
3977         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3978         instead of `elmo-msgdb-get-cached'.
3979         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3980
3981         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3982         (elmo-msgdb-set-cached): Ditto.
3983         (elmo-msgdb-set-flag): Rewrite.
3984         (elmo-msgdb-unset-flag): Ditto.
3985
3986         * elmo-msgdb.el: Rewrite with luna.
3987
3988         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3989         (elmo-folder-msgdb): Follow the change above.
3990         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3991         (elmo-folder-unmark-important): Follow the API change.
3992         (elmo-folder-mark-as-important): Ditto.
3993         (elmo-folder-unmark-read): Ditto.
3994         (elmo-folder-mark-as-read): Ditto.
3995         (elmo-folder-unmark-answered): Ditto.
3996         (elmo-folder-mark-as-answered): Ditto.
3997         (elmo-folder-clear): Likewise.
3998
3999         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4000         instead of `elmo-msgdb-load' (renamed).
4001
4002         * elmo-version.el (elmo-version): Up to 2.11.12.
4003
4004 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4005
4006         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4007         change.
4008         (elmo-message-mark): Abolish.
4009         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4010         instead of `elmo-msgdb-change-mark'.
4011
4012         * elmo-pipe.el (elmo-message-mark): Abolish.
4013
4014         * elmo-multi.el (elmo-message-mark): Ditto.
4015
4016         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4017         (elmo-msgdb-unread-uncached-mark): Ditto.
4018         (elmo-msgdb-unread-cached-mark): Ditto.
4019         (elmo-msgdb-read-uncached-mark): Ditto.
4020         (elmo-msgdb-answered-cached-mark): Ditto.
4021         (elmo-msgdb-answered-uncached-mark): Ditto.
4022         (elmo-msgdb-important-mark): Ditto.
4023         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4024         `use-cache'.
4025         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4026         `flags'.
4027         (elmo-flag-table-load): Changed flag to list of flag.
4028         (elmo-flag-table-set): If flags is nil, set read flag.
4029         (elmo-flag-table-get): Return derived flags from global mark,
4030         cache status and saved flags.
4031         (elmo-msgdb-flag-table): Follow the change above.
4032         (elmo-msgdb-out-of-date-messages): New function.
4033
4034         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4035
4036         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4037
4038         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4039
4040         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4041         (elmo-nntp-msgdb-create-message): Ditto.
4042
4043         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4044
4045         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4046         independent.
4047         (elmo-folder-msgdb-create): Follow the API change.
4048
4049         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4050         (elmo-folder-append-messages): Ditto.
4051
4052         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4053         (elmo-folder-append-buffer): Ditto.
4054
4055         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4056
4057         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4058
4059         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4060         (elmo-archive-parse-mmdf): Ditto.
4061
4062         * elmo-version.el (elmo-version): Up to 2.11.11.
4063
4064 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4065
4066         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4067         `elmo-msgdb-mark'.
4068
4069         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4070
4071         * elmo-pipe.el (elmo-message-flags): Defined.
4072
4073         * elmo-multi.el (elmo-message-flags): Ditto.
4074
4075 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4076
4077         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4078         `elmo-msgdb-delete-msgs'.
4079
4080         * elmo.el (elmo-folder-count-flags): Don't use
4081         `elmo-msgdb-get-mark-alist'.
4082         (elmo-folder-detach-messages): Follow the API change.
4083
4084         * elmo.el (elmo-folder-list-messages): Append killed messages into
4085         result if `visible-only' is nil.
4086
4087         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4088         canceled messages.
4089         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4090         (elmo-folder-update-number): Likewise.
4091
4092         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4093         (elmo-pop3-sort-msgdb-by-original-number): Use
4094         `elmo-msgdb-sort-entities'.
4095
4096         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4097         (elmo-msgdb-sort-by-date): Use it.
4098         (elmo-msgdb-overview-sort-by-date): Abolish.
4099
4100         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4101
4102         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4103         (elmo-msgdb-flags): New function.
4104         (elmo-msgdb-merge): Use elmo-msgdb-append.
4105
4106         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4107         change.
4108
4109         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4110
4111         * elmo-dop.el (elmo-folder-status-dop): Use
4112         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4113
4114 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4115
4116         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4117
4118         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4119
4120         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4121
4122         * elmo-util.el (elmo-with-progress-display): New macro.
4123
4124         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4125
4126 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4127
4128         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4129         `elmo-folder-list-message-entities' instead of
4130         `elmo-msgdb-get-overview'.
4131         (elmo-map-folder-list-message-locations): Ditto.
4132
4133         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4134         methods instead of treat directly).
4135         (elmo-msgdb-clear): Ditto.
4136         (elmo-msgdb-delete-msgs): Ditto.
4137         (elmo-msgdb-sort-by-date): Ditto.
4138
4139         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4140         local variables.
4141         (elmo-nntp-folder-msgdb-create): Follow the API change.
4142
4143         * elmo-version.el (elmo-version): Up to 2.11.10.
4144
4145 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4146
4147         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4148         (elmo-msgdb-flags-to-mark): Ditto.
4149         (elmo-msgdb-append-entity): Ditto.
4150
4151         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4152         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4153         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4154         (elmo-archive-parse-mmdf): Ditto.
4155
4156         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4157
4158         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4159
4160         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4161
4162         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4163
4164         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4165
4166         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4167
4168         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4169
4170         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4171
4172         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4173         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4174         to empty msgdb.
4175
4176         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4177         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4178         instead of directly construction.
4179         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4180         instead of construct msgdb.
4181
4182         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4183         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4184         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4185         instead of construct msgdb.
4186
4187 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4188
4189         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4190         when field is from or subject.
4191
4192 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4193
4194         * elmo-multi.el (elmo-message-entity-parent): Define.
4195         (elmo-folder-search): Rewrite.
4196
4197 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4198
4199         * elmo-multi.el (elmo-message-cached-p): Define.
4200
4201         * elmo.el (elmo-message-cached-p): New method.
4202         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4203         (elmo-message-flags): New method.
4204         (elmo-message-flagged-p): New function.
4205
4206         * elmo-version.el (elmo-version): Up to 2.11.9.
4207
4208 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4209
4210         * elmo-version.el (elmo-version): Up to 2.11.8.
4211
4212         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4213
4214         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4215
4216 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4217
4218         * elmo.el (elmo-folder-detach-messages): Undo last change.
4219
4220 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4221
4222         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4223
4224         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4225         only when src folder type is pop3.
4226
4227 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4228
4229         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4230         elmo-msgdb-overview-entity-get-number instead of
4231         elmo-message-entity-number.
4232
4233 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4234
4235         * elmo-version.el (elmo-version): Up to 2.11.7.
4236
4237 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4238
4239         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4240         function.
4241
4242         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4243         (elmo-msgdb-merge): New function.
4244         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4245         (elmo-msgdb-make-index): Rewrite.
4246
4247         * elmo-version.el (elmo-version): Up to 2.11.6.
4248
4249         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4250         use it as a the path for loading message entities.
4251
4252         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4253
4254 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4255
4256         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4257         message-modified slot of itself if it does not require target msgdb.
4258
4259         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4260         if folder length is zero.
4261         (elmo-mime-display-as-is): Ditto.
4262
4263         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4264
4265         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4266
4267 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4268
4269         * elmo.el (elmo-folder-set-message-modified): New method.
4270         (elmo-generic-folder-commit): Use it.
4271         (elmo-folder-synchronize): Ditto.
4272
4273         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4274         (elmo-folder-commit): Remove duplicate definition.
4275
4276 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4277
4278         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4279
4280 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4281
4282         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4283         (elmo-strict-folder-diff): Ditto.
4284         (elmo-folder-set-info-max-by-numdb): Simplify.
4285
4286         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4287         elmo-msgdb-list-messages.
4288
4289         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4290         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4291
4292 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4293
4294         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4295         visible-only is non-nil.
4296         (elmo-folder-confirm-appends): Changed message.
4297         (elmo-folder-synchronize): Added argument disable-killed.
4298
4299         * elmo-multi.el (elmo-folder-synchronize): Added argument
4300         disable-killed.
4301
4302         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4303
4304         * elmo-version.el (elmo-version): Up to 2.11.5.
4305
4306         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4307         elmo-list-filter.
4308
4309         * elmo-util.el (elmo-list-filter): Simplify.
4310
4311         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4312         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4313         (elmo-generic-folder-diff): Abolish argument.
4314         (elmo-msgdb-load): Don't use number-alist.
4315
4316         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4317
4318         * elmo-pipe.el (elmo-folder-diff): Ditto.
4319
4320         * elmo-nmz.el (elmo-folder-diff): Ditto.
4321
4322         * elmo-net.el (elmo-folder-diff): Ditto.
4323
4324         * elmo-maildir.el (elmo-folder-diff): Ditto.
4325
4326         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4327
4328         * elmo-multi.el (elmo-folder-diff): Ditto
4329         (elmo-multi-folder-diff): Rewrite.
4330
4331 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4332
4333         * elmo-pipe.el (elmo-folder-msgdb): Define.
4334
4335 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4336
4337         * elmo.el (elmo-message-set-cached): Define as a method.
4338
4339         * elmo-pipe.el (elmo-message-set-cached): Define.
4340         (elmo-find-fetch-strategy): Ditto.
4341
4342         * elmo-multi.el (elmo-message-set-cached): Define.
4343         (elmo-find-fetch-strategy): Rewrite.
4344
4345         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4346
4347         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4348
4349 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4350
4351         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4352         instead of number-alist.
4353
4354         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4355         mark nor message-id when msgdb of source folder is not loaded.
4356
4357         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4358
4359         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4360
4361 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4362
4363         * elmo.el (elmo-folder-length): Don't require msgdb.
4364
4365 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4366
4367         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4368         (elmo-message-field): Ditto.
4369
4370         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4371         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4372         slot.
4373         (elmo-map-folder-list-answereds): Define.
4374         (elmo-maildir-list-location): Treat 'R' info.
4375         (elmo-folder-msgdb-create): Treat flag-table.
4376         (elmo-folder-append-messages): Save flag-table.
4377
4378 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4379
4380         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4381         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4382
4383 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4384
4385         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4386
4387         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4388         'read when mark is null.
4389
4390 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4391
4392         * elmo-version.el (elmo-version): Up to 2.11.4.
4393
4394 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4395
4396         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4397         (elmo-folder-mark-as-answered): Ditto.
4398
4399 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4400
4401         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4402         (elmo-pop3-get-session): Make msgdb directory after session.
4403         (elmo-folder-exists-p): Check exactly at the first time even when the
4404         elmo-pop3-exists-exactly is nil.
4405
4406         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4407         (elmo-folder-list-messages): Define instead of
4408         elmo-folder-list-messages-internal.
4409         (elmo-folder-check): Check destination folder.
4410         (elmo-folder-synchronize): Drain the pipe.
4411
4412         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4413         when msgdb is not loaded.
4414
4415         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4416
4417         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4418         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4419         messages.
4420
4421         * elmo.el (elmo-folder-kill-messages-before): New function.
4422         (elmo-folder-kill-messages): Ditto.
4423         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4424
4425         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4426         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4427         killed not by synchronize (e.g. scoring).
4428
4429 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4430
4431         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4432         treated.
4433         (elmo-folder-search): Follow the change above.
4434
4435         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4436         into the candidates of search field.
4437
4438 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4439
4440         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4441         (elmo-msgdb-unset-flag): Ditto.
4442
4443         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4444
4445 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4446
4447         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4448         (elmo-folder-commit): Define.
4449         (elmo-folder-synchronize): Ditto.
4450         (elmo-folder-list-flagged): Ditto.
4451         (elmo-folder-commit): Ditto.
4452         (elmo-folder-length): Ditto.
4453         (elmo-folder-count-flags): Ditto.
4454         (elmo-message-mark): Ditto.
4455         (elmo-message-field): Ditto.
4456         (elmo-message-entity): Ditto.
4457         (elmo-message-folder): Ditto.
4458
4459 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4460
4461         * elmo.el (elmo-message-field): Define as a method.
4462
4463         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4464         (elmo-message-field): Define.
4465
4466         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4467         (elmo-folder-list-importants): Ditto.
4468         (elmo-folder-list-answereds): Ditto.
4469
4470         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4471         qualifier.
4472         (elmo-folder-mark-as-read): Ditto.
4473         (elmo-folder-unmark-read): Ditto.
4474         (elmo-folder-mark-as-answered): Ditto.
4475         (elmo-folder-unmark-answered): Ditto.
4476         (elmo-folder-list-flagged): Define.
4477         (elmo-folder-commit): Ditto.
4478         (elmo-folder-length): Ditto.
4479         (elmo-folder-count-flags): Ditto.
4480
4481 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4482
4483         * elmo.el (elmo-folder-detach-messages): New method.
4484         (elmo-folder-move-messages): Use it.
4485         (elmo-folder-synchronize): Ditto.
4486
4487         * elmo-multi.el (elmo-folder-detach-messages): Define.
4488
4489         * elmo.el (elmo-message-copy-entity): New function.
4490         (elmo-message-entity-set-number): Ditto.
4491         (elmo-message-mark): Define as method.
4492
4493         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4494         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4495         (elmo-message-entity): Fixed last change.
4496         (elmo-message-mark): Define.
4497         (elmo-folder-msgdb-create): Abolish.
4498         (elmo-multi-folder-append-msgdb): Ditto.
4499         (elmo-multi-folder-diff): Fixed.
4500         (elmo-multi-split-number-alist): Removed.
4501         (elmo-multi-split-mark-alist): Removed.
4502         (elmo-folder-list-messages): Define.
4503         (elmo-folder-list-messages-internal): Removed.
4504
4505         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4506         local file messages.
4507         (elmo-folder-msgdb-create): Fixed read mark.
4508
4509 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4510
4511         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4512         if mark is nil.
4513
4514 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4515
4516         * elmo.el (elmo-folder-list-message-entities): Define as inline
4517         function.
4518         (elmo-folder-messages): Abolish.
4519
4520         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4521         folder.
4522         (elmo-folder-synchronize): Define.
4523         (elmo-message-entity): Define.
4524
4525 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4526
4527         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4528         elmo-imap4-session-select-mailbox.
4529
4530         * elmo.el (elmo-folder-move-messages): Don't display any message.
4531
4532         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4533         parsing.
4534         (elmo-imap4-session-check): Don't wait CHECK response.
4535         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4536
4537 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4538
4539         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4540
4541 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4542
4543         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4544         API.
4545         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4546
4547
4548         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4549         (elmo-folder-list-message-entities): Added argument in-msgdb and
4550         numbers.
4551         (elmo-folder-synchronize): Define as a method.
4552
4553         * elmo-nntp.el (elmo-folder-initialize): Don't use
4554         elmo-nntp-default-user if zero-length username is specified
4555         explicitly.
4556
4557 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4558
4559         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4560         server name in case with username.
4561         (XXX: this is ad-hoc fix against username includes "@", it
4562         should be solved fundamentally)
4563
4564 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4565
4566         * elmo-nntp.el (elmo-nntp-debug): New function.
4567         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4568         (elmo-network-authenticate-session): Hide auth-info from the log.
4569
4570         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4571         user name if it is equal to elmo-nntp-default-user.
4572
4573 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4574
4575         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4576         instead of shimbun-server-internal;
4577         Use shimbun-current-group instead of shimbun-current-group-internal.
4578         (elmo-folder-plugged-p): Use shimbun-server instead of
4579         shimbun-server-internal.
4580         (elmo-folder-set-plugged): Ditto.
4581         (elmo-net-port-info): Ditto.
4582         (elmo-folder-check): Ditto.
4583         (elmo-folder-expand-msgdb-path): Ditto.
4584         (elmo-folder-list-subfolders): Ditto.
4585
4586 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4587
4588         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4589         Convert field-name to lower case.
4590         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4591
4592 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4593
4594         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4595         `message' and `error' take format string.
4596
4597 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4598
4599         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4600
4601 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4602
4603         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4604         recursive call (can't byte compile on emacs 20.7).
4605
4606 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4607
4608         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4609         (elmo-folder-list-message-entities): New API.
4610         (elmo-message-entity): Ditto.
4611         (elmo-message-entity-parent): Ditto.
4612         (elmo-folder-do-each-message-entity): Ditto.
4613         (elmo-message-entity-number): Ditto.
4614         (elmo-message-entity-field): Ditto.
4615         (elmo-message-entity-set-field): Ditto.
4616         (elmo-folder-count-flags): Ditto.
4617         (elmo-folder-length): Ditto.
4618
4619         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4620         not.
4621
4622         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4623         (elmo-msgdb-count-marks): Abolish.
4624         (elmo-msgdb-make-entity): Ditto.
4625         (elmo-msgdb-do-each-entity): Ditto.
4626         (elmo-msgdb-message-entity): New inline function.
4627         (elmo-msgdb-message-entity-field): Ditto.
4628         (elmo-msgdb-message-entity-set-field): Ditto.
4629         (elmo-msgdb-make-message-entity): New function.
4630
4631 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4632
4633         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4634         to flag. (All other related portions are changed.)
4635         (elmo-folder-msgdb-create): Likewise.
4636         (elmo-generic-folder-append-messages): Use flag-table instead of
4637         seen-list.
4638         (elmo-folder-move-messages): Removed redundant process.
4639         (elmo-folder-synchronize): Likewise.
4640
4641         * elmo-msgdb.el (elmo-flag-table-get): New function.
4642         (elmo-flag-table-save): Fixed.
4643         (elmo-msgdb-length): New inline function.
4644         (elmo-msgdb-flag-table): New function.
4645         (elmo-msgdb-mark): Add optional argument new.
4646         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4647         (elmo-msgdb-seen-list): Ditto.
4648         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4649
4650
4651 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4652
4653         * elmo.el (elmo-message-set-mark): Abolish.
4654         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4655         (All related portions are changed.)
4656
4657         * elmo-msgdb.el (toplevel): Added comment.
4658         (elmo-load-msgdb): Added 4th element `path'.
4659         (elmo-msgdb-append): Follow the change above.
4660         (elmo-msgdb-clear): Ditto.
4661         (elmo-msgdb-delete-msgs): Ditto.
4662         (elmo-msgdb-get-path): New inline function.
4663         (elmo-msgdb-set-path): Ditto.
4664         (elmo-flag-table-filename): New variable.
4665         (elmo-flag-table-load): New function.
4666         (elmo-flag-table-set): Ditto.
4667         (elmo-flag-table-save): Ditto.
4668         (elmo-msgdb-get-field-value): Abolish.
4669         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4670
4671 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4672
4673         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4674         the folder has been deleted successfully.
4675         * elmo-imap4.el (elmo-folder-delete): Ditto.
4676         * elmo-archive.el (elmo-folder-delete): Ditto.
4677         * elmo-localdir.el (elmo-folder-delete): Ditto.
4678         * elmo-maildir.el (elmo-folder-delete): Ditto.
4679
4680 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4681
4682         * elmo-util.el (elmo-string-member-ignore-case): New function.
4683         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4684         (elmo-imap4-fetch-callback-1-subr): Likewise.
4685
4686 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4687
4688         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4689         the case of the name attribute "\Noselect".
4690
4691 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4692
4693         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4694
4695         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4696         flist, is not always a member of onum-alist.
4697
4698 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4699
4700         * elmo-version.el (elmo-version): Up to 2.11.3.
4701
4702 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4703
4704         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4705         copied from localdir's one.
4706
4707         * elmo-pipe.el (elmo-folder-rename): New method, rename
4708         destination folder with leaving source folder as it is.
4709
4710 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4711
4712         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4713         replace-regexp.
4714
4715 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4716
4717         * elmo-version.el (elmo-version): Up to 2.11.2.
4718
4719 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4720
4721         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4722         shimbun-open in case of "@".
4723         (elmo-folder-open-internal): Cope with shimbun = nil case.
4724         (elmo-folder-plugged-p): Ditto.
4725         (elmo-folder-list-subfolders): Make list for "@/" group.
4726
4727 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4728
4729         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4730         mailbox (e.g. for %~/something).
4731
4732 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4733
4734         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4735         Replace nested conditional with guard clauses.
4736
4737 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4738
4739         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4740         error [wl:11327].
4741
4742         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4743         print-depth.
4744
4745 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4746
4747         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4748         Replace nested conditional with guard clauses.
4749
4750 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4751
4752         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4753         (elmo-passwd-alist-save): Ditto.
4754         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4755
4756 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4757
4758         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4759         dir-name only if it is absolute path.
4760         (TODO: distinguish +/something and +something)
4761
4762 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4763
4764         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4765         path for "+~/something".
4766
4767 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4768
4769         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4770         as non-directory, cause error before rename-file.
4771         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4772         apropriately, mimic localdir's one.
4773         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4774
4775 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4776
4777         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4778
4779 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4780
4781         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4782
4783         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4784         
4785         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4786         is included in the global-mark or not.
4787
4788 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4789
4790         * utf7.el (toplevel): Avoid error when the function
4791         find-coding-system does not exist.
4792
4793 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4794
4795         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4796         cache even if the folder is plugged.
4797         (elmo-nntp-search-primitive): Do nothing when body search is
4798         invoked (although it is not used by the change above).
4799         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4800
4801 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4802
4803         * elmo-version.el (elmo-version): Up to 2.11.1.
4804
4805 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4806
4807         * elmo-archive.el: Specify charset.
4808
4809 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4810
4811         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4812         process buffer lives or not.
4813
4814         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4815         while flushing queues (It causes infinite loop).
4816
4817 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4818
4819         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4820
4821 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4822
4823         * utf7.el (toplevel): Check the ucs features dynamically.
4824         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4825
4826         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4827         folder is creatabe or not if it already exists.
4828
4829 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4830
4831         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4832
4833         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4834
4835         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4836         (elmo-imap4-read-response): Take care of garbage response.
4837
4838 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4839
4840         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4841         just return nil instead of error.
4842
4843 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4844
4845         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4846         search-key is "body".
4847
4848 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4849
4850         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4851         of elmo-string-matched-assoc to use match-data.
4852         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4853
4854 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4855
4856         * elmo-split.el (elmo-split->): New function.
4857         (elmo-split-<): Ditto.
4858
4859 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4860
4861         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4862         workaround for invalid message-id.
4863
4864 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4865
4866         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4867         return normal pop3 session or pop3 biff session.
4868
4869 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4870
4871         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4872         info part to the cur files when the new files already have it.
4873         (Adviced by Jared Rhine <jared@wordzoo.com>)
4874
4875 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4876
4877         * elmo-split.el (elmo-split-default-action): New variable.
4878         (elmo-split-subr): Use it if all other conditions are passed.
4879         Extend `fname' and rename it as `action'. (implemented
4880         Teranishi-san's idea in [wl:10800])
4881
4882 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4883
4884         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4885         * elmo-util.el: Ditto.
4886
4887 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4888
4889         * elmo.el (elmo-message-accessible-p): Renamed from
4890         elmo-message-cached-p and rewritten.
4891
4892 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4893
4894         * elmo.el (elmo-folder-list-flagged): New generic function.
4895         (elmo-folder-list-importants): New implementation.
4896         (elmo-folder-list-answereds): Ditto.
4897         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4898         Added 'digest'.
4899         (elmo-message-cached-p): New function.
4900         (elmo-message-set-flag): Ditto (no content).
4901         (elmo-message-unset-flag): Ditto.
4902         (elmo-folder-list-messages-mark-match): Abolish.
4903
4904         * elmo-util.el (elmo-regexp-opt): New function.
4905
4906         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4907         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4908         Added 'digest'.
4909         (elmo-msgdb-list-flagged): New function.
4910
4911         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4912         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4913         Added 'digest'.
4914
4915         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4916
4917 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4918
4919         * elmo-version.el (elmo-version): Up to 2.11.0.
4920
4921 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4922
4923         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4924         `elmo-file-cache-exists-p'; use proper mark that depends on
4925         `use-cache'.
4926         (elmo-msgdb-unset-flag): Ditto.
4927         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4928
4929         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4930         with 4th argument `use-cache'.
4931
4932 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4933
4934         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4935         (elmo-folder-mark-as-important): Ditto.
4936         (elmo-folder-unmark-read): Ditto.
4937         (elmo-folder-mark-as-read): Ditto.
4938         (elmo-folder-unmark-answered): Ditto.
4939         (elmo-folder-mark-as-answered): Ditto.
4940
4941         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4942         message status.
4943         (elmo-msgdb-mark): Likewise.
4944         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4945         (elmo-msgdb-unset-flag): Likewise.
4946
4947         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4948
4949 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4950
4951         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4952         `last:' filter.
4953
4954 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4955
4956         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4957         set spool-length to 0.
4958
4959 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4960
4961         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4962         (elmo-dop-queue-flush): Fixed last change.
4963
4964 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4965
4966         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4967         if require-msgdb slot is nil.
4968         (elmo-folder-list-importants): Likewise.
4969
4970 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4971
4972         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4973         mark is changed.
4974
4975         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4976         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4977         is changed.
4978
4979 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4980
4981         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4982
4983 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4984
4985         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4986
4987         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4988
4989 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4990
4991         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4992         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4993
4994 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4995
4996         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4997         the problem reported by Sean Rima [wl-en:180].
4998
4999 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5000
5001         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5002
5003         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5004
5005         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5006
5007         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5008
5009         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5010
5011         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5012
5013         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5014
5015 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5016
5017         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5018         status number.
5019
5020 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5021
5022         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5023         (elmo-folder-mark-as-read): Follow the API change.
5024         (elmo-message-set-cached): New function.
5025
5026         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5027
5028         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5029
5030         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5031         (elmo-folder-mark-as-important): Ditto.
5032         (elmo-folder-unmark-read): Ditto.
5033         (elmo-folder-mark-as-read): Ditto.
5034         (elmo-folder-unmark-answered): Ditto.
5035         (elmo-folder-mark-as-answered): Ditto.
5036
5037         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5038         (elmo-folder-unmark-important): Ditto.
5039         (elmo-folder-mark-as-read): Ditto.
5040         (elmo-folder-unmark-read): Ditto.
5041         (elmo-folder-mark-as-answered): Ditto.
5042         (elmo-folder-unmark-answered): Ditto.
5043
5044         * elmo-mark.el (toplevel): Removed some mark method definitions.
5045
5046         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5047         (elmo-map-folder-mark-as-answered): Ditto.
5048         (elmo-folder-unmark-important): Add :before qualifier.
5049         (elmo-folder-mark-as-important): Ditto.
5050         (elmo-folder-unmark-read): Ditto.
5051         (elmo-folder-mark-as-read): Ditto.
5052         (elmo-folder-unmark-answered): Define.
5053         (elmo-folder-mark-as-answered): Ditto.
5054
5055         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5056         (elmo-map-folder-unmark-answered): Ditto.
5057
5058         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5059
5060         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5061         (elmo-folder-mark-as-important): Ditto.
5062         (elmo-folder-unmark-read): Ditto.
5063         (elmo-folder-mark-as-read): Ditto.
5064         (elmo-folder-unmark-answered): Ditto.
5065         (elmo-folder-mark-as-answered): Ditto.
5066
5067         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5068         `mark'; evaluate mark condition.
5069         (elmo-msgdb-match-condition-internal): New function.
5070         (elmo-msgdb-match-condition): Call it; changed argument.
5071
5072         * elmo.el (elmo-folder-search): Follow the API change on
5073         `elmo-msgdb-match-condition'.
5074
5075 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5076
5077         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5078         original mark is non-nil.
5079
5080 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5081
5082         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5083         (elmo-map-folder-list-answereds): New method.
5084         (elmo-folder-list-unreads): Add :around qualifier.
5085         (elmo-folder-list-importants): Ditto.
5086         (elmo-folder-list-answereds): Ditto.
5087
5088 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5089
5090         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5091
5092         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5093         method if msgdb is not required.
5094         (elmo-filter-folder-list-importants): Don't treat global-mark.
5095
5096         * elmo.el (elmo-folder-list-importants): Ditto.
5097
5098         * elmo-net.el (elmo-folder-list-importants): Ditto.
5099
5100         * elmo-map.el (elmo-folder-list-importants): Ditto.
5101
5102         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5103
5104         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5105         (elmo-imap4-folder-list-any-plugged): New function.
5106         (elmo-imap4-search-internal-primitive): Use it.
5107
5108         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5109         only when require-msgdb slot is non-nil.
5110         (elmo-folder-close): Clear target folder's msgdb.
5111
5112 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5113
5114         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5115         (elmo-pop3-msgdb-create-by-header): Ditto.
5116         (elmo-pop3-msgdb-create-message): Ditto.
5117
5118         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5119
5120         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5121
5122         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5123
5124         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5125         (elmo-folder-msgdb-create): Ditto.
5126         (elmo-nntp-folder-msgdb-create): Ditto.
5127         (elmo-nntp-msgdb-create-by-header): Ditto.
5128         (elmo-nntp-msgdb-create-message): Ditto.
5129         (elmo-folder-list-unreads): Define.
5130
5131         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5132         (elmo-folder-append-messages): Ditto.
5133         (elmo-folder-list-unreads): Define.
5134         (elmo-folder-list-importants): Ditto.
5135         (elmo-folder-list-answereds): Ditto.
5136
5137         * elmo-net.el (elmo-folder-list-unreads): Define.
5138         (elmo-folder-list-importants): Ditto.
5139         (elmo-folder-list-answereds): Ditto.
5140         (elmo-folder-list-answereds-plugged): Ditto.
5141         (elmo-folder-msgdb-create): Follow the API change.
5142         (elmo-folder-msgdb-create-unplugged): Ditto.
5143         (elmo-folder-unmark-answered): Define.
5144         (elmo-folder-mark-as-answered-unplugged): Ditto.
5145         (elmo-folder-unmark-answered-unplugged): Ditto.
5146
5147         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5148         (elmo-msgdb-unread-uncached-mark): Ditto.
5149         (elmo-msgdb-unread-cached-mark): Ditto.
5150         (elmo-msgdb-read-uncached-mark): Ditto.
5151         (elmo-msgdb-answered-cached-mark): Ditto.
5152         (elmo-msgdb-answered-uncached-mark): Ditto.
5153         (elmo-msgdb-important-mark): Ditto.
5154         (elmo-msgdb-set-mark): Rewrite.
5155         (elmo-msgdb-count-marks): Rewrite.
5156         (elmo-msgdb-mark-alist-set): Abolish.
5157         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5158         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5159
5160         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5161         (elmo-folder-close): Define.
5162         (elmo-folder-msgdb-create): Follow the API change.
5163         (elmo-folder-list-unreads): Rewrite.
5164         (elmo-folder-mark-as-important): Ditto.
5165         (elmo-folder-unmark-important): Ditto.
5166         (elmo-folder-mark-as-read): Ditto.
5167         (elmo-folder-unmark-read): Ditto.
5168         (elmo-folder-mark-as-answered): Define.
5169         (elmo-folder-unmark-answered): Ditto.
5170
5171         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5172         (elmo-folder-append-messages): Ditto.
5173
5174         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5175
5176         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5177         (elmo-folder-list-importants): Ditto.
5178
5179         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5180         (elmo-folder-append-messages): Ditto.
5181
5182         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5183         change.
5184         (elmo-folder-msgdb-create-plugged): Ditto.
5185         (elmo-folder-append-messages): Ditto.
5186         (elmo-folder-list-answereds-plugged): Define.
5187         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5188         (elmo-folder-unmark-answered-plugged): Define.
5189         (elmo-folder-mark-as-answered-plugged): Ditto.
5190         (elmo-folder-search-requires-msgdb-p): Ditto.
5191
5192         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5193         (elmo-folder-initialize): Set it.
5194         (elmo-folder-msgdb): Define.
5195         (elmo-folder-check): Call elmo-folder-synchronize.
5196         (elmo-folder-close): Define.
5197         (elmo-folder-commit): Ditto.
5198         (elmo-folder-msgdb-create): Rewrite.
5199         (elmo-folder-list-unreads): Ditto.
5200         (elmo-folder-list-importants): Ditto.
5201         (elmo-folder-mark-as-read): Ditto.
5202         (elmo-folder-unmark-read): Ditto.
5203         (elmo-folder-mark-as-important): Ditto.
5204         (elmo-folder-unmark-important): Ditto.
5205         (elmo-folder-mark-as-answered): Define.
5206         (elmo-folder-unmark-answered): Ditto.
5207
5208         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5209         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5210         (elmo-dop-queue-method-name-alist): Likewise.
5211         (elmo-folder-mark-as-answered-dop): New inline function.
5212         (elmo-folder-unmark-answered-dop): Ditto.
5213         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5214
5215         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5216         (elmo-folder-msgdb-create): Ditto.
5217         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5218         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5219         (elmo-archive-parse-mmdf): Ditto.
5220
5221         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5222         (elmo-folder-list-unreads-internal): Ditto.
5223
5224         * elmo.el (elmo-folder-msgdb): Define as generic function.
5225         (elmo-folder-list-messages): Added argument `in-msgdb'.
5226         (elmo-folder-list-unreads): Define as generic function.
5227         (elmo-folder-list-importants): Ditto.
5228         (elmo-folder-list-answereds): Ditto.
5229         (elmo-folder-list-messages-with-global-mark): New function.
5230         (elmo-folder-msgdb-create): Removed mark arguments.
5231         (elmo-folder-unmark-answered): New generic function.
5232         (elmo-folder-mark-as-answered): Ditto.
5233         (elmo-folder-append-messages): Removed argunment `unread-marks'
5234         (elmo-folder-list-unreads-internal): Abolish.
5235         (elmo-folder-list-importants-internal): Ditto.
5236         (elmo-folder-search-requires-msgdb-p): New generic function.
5237         (elmo-folder-search-requires-msgdb-p-internal): New function.
5238         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5239         elmo-msgdb-load.
5240         (elmo-folder-search-fast): Added key 'mark'.
5241         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5242         instead of unread-marks argument.
5243         (elmo-folder-move-messages): Removed argunment `unread-marks'
5244         (elmo-folder-unmark-important): Define.
5245         (elmo-folder-mark-as-important): Ditto.
5246         (elmo-folder-unmark-read): Ditto.
5247         (elmo-folder-mark-as-read): Ditto.
5248         (elmo-folder-unmark-answered): Ditto.
5249         (elmo-folder-mark-as-answered): Ditto.
5250         (elmo-folder-replace-marks): Abolish.
5251         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5252         duplicates.
5253         (elmo-folder-synchronize): Removed mark arguments;
5254         return crosspost only number.
5255
5256 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5257
5258         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5259         Remove redundunt connectivity check.
5260
5261 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5262
5263         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5264         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5265
5266 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5267
5268         * pldap.el (ldap-decode-string): Return string as-is if
5269         `ldap-coding-system' is nil.
5270         (ldap-encode-string): Ditto.
5271         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5272         (ldap-default-host): Fixed docstring.
5273
5274 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5275
5276         * elmo-util.el (elmo-warning): Define as a macro which uses
5277         `display-warning' if it is defined as a function.
5278
5279         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5280         (elmo-split-equal): Use it.
5281         (elmo-split-match): Ditto.
5282         (elmo-split-message-entity): New buffer-local variable.
5283         (elmo-split-subr): Set it.
5284
5285         * elmo-version.el (elmo-version): Up to 2.9.15.
5286
5287 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5288
5289         * elmo-imap4.el (elmo-network-initialize-session):
5290         Check capability after starttls.
5291
5292 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5293
5294         * elmo-util.el (elmo-list-delete): Added optional argument
5295         DELETE-FUNCTION.
5296
5297         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5298
5299         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5300
5301         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5302
5303         * elmo-imap4.el (elmo-folder-initialize): Don't use
5304         elmo-imap4-default-mailbox.
5305
5306 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5307
5308         * elmo-split.el (toplevel): Use `product-provide'.
5309         (elmo-split): Checkdoc.
5310
5311 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5312
5313         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5314         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5315         the function `elmo-imap4-debug-1'.
5316
5317 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5318
5319         * elmo-split.el (elmo-split): Moved to run hooks and to show
5320         message from elmo-split-subr.
5321         (elmo-split-subr): Follow the change above.
5322
5323         * elmo-split.el (elmo-split-subr): New function (renamed from
5324         elmo-split-subr).
5325         (elmo-split): Changed to call elmo-split-subr by element of
5326         elmo-split-folder.
5327         (elmo-split-folder): Changed customization type to choice.
5328
5329 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5330
5331         * elmo-split.el (elmo-split-and): Fixed condition.
5332
5333 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5334
5335         * elmo-split.el: New file.
5336         (elmo-split): Fixed logic.
5337         Display "Test:" instead of "Folder:" when reharsal.
5338
5339         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5340         explicitly.
5341
5342         * elmo-version.el (elmo-version): Up to 2.9.14.
5343
5344         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5345         wl-expand-newtext).
5346
5347 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5348
5349         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5350         message with no message-id field.
5351
5352 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5353
5354         * elmo-version.el (elmo-version): Up to 2.9.13.
5355
5356         * elmo-dop.el (elmo-folder-status-dop): Fix.
5357
5358 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5359
5360         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5361
5362         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5363         changing default value of default-mime-charset.
5364         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5365
5366         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5367
5368         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5369         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5370         instead of elmo-dop-queue-method-name-alist to check merging queue.
5371         (elmo-folder-delete-messages-dop): Delete from queue if negative
5372         message number.
5373         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5374         file is already removed.
5375
5376 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5377
5378         * elmo-vars.el: Bind colon keywords for old Emacsen.
5379
5380 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5381
5382         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5383         against non-exsisting charset.
5384
5385 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5386
5387         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5388         Use eword-decode-and-unfold-unstructured-field-body.
5389
5390         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5391         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5392         exists to decode raw subject string.
5393         (toplevel): Require 'mime.
5394
5395         * elmo-version.el (elmo-version): Up to 2.9.12.
5396
5397 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5398
5399         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5400         (elmo-msgdb-set-mark): Ditto.
5401
5402         * elmo-version.el (elmo-version): Up to 2.9.11.
5403
5404 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5405
5406         * elmo-util.el (elmo-delete-match-files): New function.
5407
5408         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5409         instead of elmo-delete-directory.
5410
5411         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5412         elmo-hash-minimun-size as 63.
5413
5414         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5415         elmo-diff-unread is nil.
5416
5417         * elmo-imap4.el (elmo-folder-open): Fix.
5418
5419         * elmo.el (elmo-message-mark): Rewrite.
5420         (elmo-message-field): Ditto.
5421         (elmo-message-set-mark): Ditto.
5422         (elmo-folder-replace-marks): New function.
5423         (elmo-generic-folder-append-msgdb): Removed third argument for
5424         elmo-msgdb-append.
5425         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5426         (elmo-msgdb-load): New implementation.
5427
5428         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5429
5430         * elmo-util.el (elmo-list-insert): New implementation.
5431
5432         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5433         argument for elmo-msgdb-append.
5434         
5435
5436         * elmo-msgdb.el (elmo-load-msgdb): New function.
5437         (elmo-make-msgdb): Ditto.
5438         (elmo-msgdb-get-index): New inline function.
5439         (elmo-msgdb-set-index): Ditto.
5440         (elmo-msgdb-get-entity-hashtb): Ditto.
5441         (elmo-msgdb-get-mark-hashtb): Ditto.
5442         (elmo-msgdb-get-mark): Ditto.
5443         (elmo-msgdb-set-mark): Ditto.
5444         (elmo-msgdb-count-marks): Ditto.
5445         (elmo-msgdb-get-number): Ditto.
5446         (elmo-msgdb-get-field): Ditto.
5447         (elmo-msgdb-seen-list): Ditto.
5448         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5449         (elmo-msgdb-delete-msgs): Follow the changes above.
5450         (elmo-msgdb-overview-get-entity): Ditto.
5451         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5452         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5453         and rewritten.
5454         (elmo-msgdb-make-index): Likewise.
5455         (elmo-msgdb-append): Removed third argument.
5456         (elmo-msgdb-clear): Clear index as nil.
5457         (elmo-folder-set-info-hashtb): Removed.
5458         (elmo-folder-set-info-max-by-numdb): Ditto.
5459         (elmo-folder-info-make-hashtb): Ditto.
5460
5461         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5462
5463         * elmo-map.el (elmo-folder-pack-number): Ditto.
5464
5465 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5466
5467         * elmo-version.el (elmo-version): Up to 2.9.10.
5468
5469         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5470
5471         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5472
5473 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5474
5475         * elmo-utils.el (elmo-make-directory): Add option.
5476         Default file mode is 700.
5477
5478 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5479
5480         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5481
5482 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5483
5484         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5485         mime-charset.
5486
5487         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5488         and "smaller".
5489
5490 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5491
5492         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5493         (elmo-shimbun-folder-entity-hash): New function.
5494         (elmo-shimbun-folder-shimbun-header): Ditto.
5495         (elmo-shimbun-entity-to-header): Ditto.
5496         (elmo-shimbun-msgdb-to-headers): Removed.
5497         (elmo-shimbun-folder-setup): Ditto.
5498         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5499         for hash key.
5500         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5501         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5502         Removed useless local bind.
5503         (elmo-folder-open-internal): Don't call
5504         `elmo-shimbun-folder-setup'.
5505         (elmo-folder-close-internal): Clear entity-hash slot.
5506         (elmo-folder-clear): Ditto.
5507         (elmo-shimbun-msgdb-create-entity): Use
5508         `elmo-shimbun-folder-shimbun-header'.
5509         (elmo-map-message-fetch): Ditto.
5510         (elmo-shimbun-update-overview): Use overview entity instead of
5511         shimbun header to lookup id by references.
5512         (elmo-map-folder-list-message-locations): Use not only headers but
5513         also overviews to list locations.
5514
5515 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5516
5517         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5518         msgdb path.
5519
5520         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5521
5522 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5523
5524         * elmo-util.el (elmo-read-search-condition-internal): Give default
5525         value for date.
5526
5527 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5528
5529         * elmo-util.el (elmo-condition-parse-search-value): Accept
5530         YYYY-MM-DD format to search.
5531         * elmo-date.el (elmo-date-get-datevec): Likewise.
5532
5533 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5534
5535         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5536         debugging code.
5537
5538 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5539
5540         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5541         from t.
5542
5543         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5544
5545         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5546         case from `elmo-folder-exists-p'.
5547         (elmo-folder-exists-p): Removed.
5548         (elmo-folder-creatable-p) Ditto.
5549
5550         * elmo-net.el (elmo-folder-create): Defined.
5551         (elmo-folder-create-unplugged): New function.
5552         (elmo-folder-exists-p): Changed default value to nil from t.
5553
5554         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5555         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5556
5557         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5558         `elmo-create-folder-dop' and append queue
5559         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5560         (elmo-folder-create-dop-delayed): New function.
5561
5562         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5563
5564         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5565
5566         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5567         (elmo-folder-writable-p) : Ditto.
5568
5569         * elmo-version.el (elmo-version): Up to 2.9.9.
5570
5571 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5572
5573         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5574         `elmo-message-use-cache-p' returns nil.
5575         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5576         (ignore cache file and refer the substance in local folders)
5577
5578 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5579
5580         * elmo-version.el (elmo-version): Up to 2.9.8.
5581
5582 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5583
5584         * elmo-version.el (elmo-version): Up to 2.9.7.
5585
5586         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5587
5588 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5589
5590         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5591
5592 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5593
5594         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5595         from --early.
5596         (elmo-map-folder-list-message-locations): Reverse location list.
5597
5598 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5599
5600         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5601
5602 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5603
5604         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5605         as a key.
5606         (elmo-nntp-folder-list-subfolders): Follow the change above.
5607
5608 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5609
5610         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5611         name if authentication type is specified.
5612
5613 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5614
5615         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5616         variable.
5617         (elmo-default-nntp-stream-type): Ditto.
5618         (elmo-default-pop3-stream-type): Ditto.
5619
5620 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5621
5622         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5623
5624 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5625
5626         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5627         elmo-vars.el.
5628         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5629
5630         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5631         (elmo-maildir-folder-path): Ditto.
5632         (elmo-maildir-list): Ditto (abolished).
5633
5634 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5635
5636         * elmo-version.el (elmo-version): Up to 2.9.6.
5637
5638 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5639
5640         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5641         (elmo-maildir-folder-path): Ditto.
5642         (elmo-msgdb-directory): Ditto.
5643         (elmo-passwd-life-time): Ditto.
5644         (elmo-msgdb-extra-fields): Ditto.
5645         (elmo-enable-disconnected-operation): Ditto.
5646
5647 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5648
5649         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5650         other choices.
5651         (elmo-pop3-default-authenticate-type): Ditto.
5652
5653 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5654
5655         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5656         choices for custom.
5657         (elmo-pop3-default-authenticate-type): Ditto.
5658
5659 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5660
5661         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5662         mailbox to new-folder.
5663
5664 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5665
5666         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5667         less than new, set new as unread.
5668
5669         * elmo-util.el (elmo-string): Don't put text-property if nil.
5670
5671 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5672
5673         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5674         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5675
5676 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5677
5678         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5679         is nil on `completing-read'.
5680
5681 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5682
5683         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5684         for namespace part.
5685         (elmo-imap4-parse-namespace-subr): Ditto.
5686         (elmo-folder-list-subfolders): Append a delimiter when the specified
5687         folder path is a root with namespace and does not end with delimiter.
5688
5689 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5690
5691         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5692         was used.
5693
5694 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5695
5696         * elmo-util.el (elmo-save-buffer): The first argument of message
5697         is a format control string.
5698
5699 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5700
5701         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5702         `elmo-folder-diff').
5703         (elmo-diff-unread): Likewise.
5704
5705 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5706
5707         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5708         is t on `completing-read'.
5709
5710 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5711
5712         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5713         method of target folder with self mark-alist if MARK-ALIST is nil.
5714
5715 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5716
5717         * elmo-version.el (elmo-version): Up to 2.9.5.
5718
5719 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5720
5721         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5722         (elmo-dop-merge-funcs): Remove.
5723
5724 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5725
5726         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5727         Return t if PATH is directory, too.
5728         Use `dolist' instead of while loop.
5729
5730 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5731
5732         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5733         is deleted.
5734
5735 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5736
5737         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5738         return value to t.
5739         (elmo-folder-list-messages-unplugged): Return t if
5740         elmo-enable-disconnected-operation is nil.
5741
5742         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5743         `elmo-folder-list-messages-internal'.
5744
5745 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5746
5747         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5748         Change to looking-at `[23][0-9]+'.
5749         (elmo-network-initialize-session): Use 'error-msg'
5750         * elmo-net.el (elmo-network-open-session): Set unplugged
5751         if elmo-network-initialize-session returns 'elmo-open-err.
5752
5753 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5754
5755         * elmo-version.el (elmo-version): Up to 2.9.4.
5756
5757 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5758
5759         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5760         `elmo-folder-list-messages-internal'.
5761
5762 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5763
5764         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5765         (elmo-message-match-condition): New method.
5766         (elmo-folder-search-fast): New inline function.
5767         (elmo-msgdb-search): Removed.
5768
5769         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5770         target folder if it is unplugged.
5771         (elmo-folder-list-messages-internal): Return t if target folder is
5772         unplugged and itself is persistent; In this case, use list be
5773         searched already.
5774
5775         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5776         (elmo-msgdb-search-internal-primitive): Ditto.
5777         (elmo-msgdb-match-condition): New function.
5778         (elmo-msgdb-match-condition-primitive): Ditto.
5779
5780         * elmo-util.el (elmo-filter-condition-p): New macro.
5781
5782         * elmo-cache.el (elmo-folder-search): Removed.
5783
5784         * elmo-localdir.el (elmo-folder-search): Ditto.
5785
5786         * elmo-maildir.el (elmo-folder-search): Ditto.
5787
5788         * elmo-mark.el (elmo-folder-search): Ditto.
5789
5790         * elmo-nmz.el (elmo-folder-search): Ditto.
5791
5792         * elmo-sendlog.el (elmo-folder-search): Ditto.
5793
5794         * elmo-shimbun.el (elmo-folder-search): Ditto.
5795
5796         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5797         if folder is unplugged.
5798
5799         * elmo-nntp.el (elmo-folder-search): Likewise.
5800         (elmo-nntp-search-internal): New function.
5801
5802         * elmo-version.el (elmo-version): Up to 2.9.3.
5803
5804 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5805
5806         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5807
5808 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5809
5810         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5811
5812 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5813
5814         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5815
5816 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5817
5818         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5819         (elmo-map-folder-list-message-locations): Do drive letter conversion
5820         on Windows environment.
5821         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5822         (elmo-map-message-fetch): Ditto.
5823
5824 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5825
5826         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5827         (elmo-network-initialize-session): Ditto.
5828
5829 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5830
5831         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5832
5833         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5834
5835         * elmo-util.el (elmo-progress-clear): Ditto.
5836
5837         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5838         `DD-Mon-YYYY' type date.
5839
5840 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5841
5842         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5843         `elmo-date-make-sortable-string' instead of
5844         `timezone-make-date-sortable'.
5845
5846         * elmo-date.el (elmo-date-make-sortable-string): Use
5847         `timezone-make-time-string'.
5848
5849 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5850
5851         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5852
5853         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5854         `since'; Fix timezone.
5855
5856         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5857
5858         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5859
5860 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5861
5862         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5863
5864 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5865
5866         * elmo.el (elmo-generic-folder-append-messages): Make
5867         fetch-strategy with `use-cache' as 'maybe. Check return value of
5868         `elmo-message-fetch'.
5869         (elmo-message-fetch): Return return value of
5870         `elmo-message-fetch-with-cache-process'.
5871         (elmo-message-fetch-with-cache-process): Return non-nil if
5872         fetching was succeed. Load cache when fetching was failed and
5873         fetch-strategy-use-cache is 'maybe.
5874
5875         * elmo-util.el (elmo-file-cache-load): New function.
5876
5877         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5878         defun.
5879
5880         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5881         non-nil if fetching was succeed.
5882
5883         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5884
5885         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5886
5887         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5888         (elmo-message-fetch-with-cache-process): Likwise.
5889
5890         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5891
5892         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5893
5894         * elmo-version.el (elmo-version): Up to 2.9.2.
5895
5896 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5897
5898         * elmo.el (elmo-folder-delete): Delete msgdb path.
5899
5900         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5901
5902         * elmo-maildir.el (elmo-folder-delete): Ditto.
5903
5904         * elmo-localdir.el (elmo-folder-delete): Ditto.
5905
5906         * elmo-imap4.el (elmo-folder-delete): Ditto.
5907
5908 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5909
5910         * elmo.el (luna-define-class): Added `biff' slot.
5911
5912         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5913         (elmo-pop3-debug-inhibit-logging): Abolished.
5914         (elmo-network-close-session): Eliminated needless let.
5915         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5916         (elmo-pop3-send-command): Added `no-log' argument.
5917         (elmo-pop3-process-filter): Use `with-current-buffer'.
5918         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5919         if login failure.
5920         (elmo-pop3-auth-apop): Likewise.
5921         (elmo-network-authenticate-session): Likewise.
5922
5923         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5924         if biff folder.
5925
5926         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5927         string to determine protocol.
5928         (elmo-network-session-name-prefix): Abolished.
5929         (elmo-network-session-cache-key): Follow the change above.
5930         (elmo-network-open-session): Ditto.
5931
5932         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5933         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5934
5935         * elmo-version.el (elmo-version): Up to 2.9.1.
5936
5937         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5938         unmatch condition checking.
5939
5940         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5941         condition.
5942
5943 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5944
5945         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5946
5947 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5948
5949         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5950         test for while loop to execute at least one SEARCH command.
5951
5952 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5953
5954         * elmo-version.el (elmo-version): Up to 2.9.0.
5955
5956 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5957
5958         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5959         (elmo-archive-folder-path): Define.
5960         (elmo-folder-initialize): Setup `dir-name' slot.
5961         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5962         Use `dir-name' as prefix of each subfolders.
5963         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5964
5965 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5966
5967         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5968         (elmo-pipe-folder-list-target-messages): New internal function.
5969         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5970         `killed-list'.
5971         (elmo-pipe-folder-copied-list-load): New function.
5972         (elmo-pipe-folder-copied-list-save): Ditto.
5973         (elmo-folder-open-internal): Follow the change above.
5974         (elmo-folder-status): Fixed for copy.
5975
5976 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5977
5978         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5979
5980 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5981
5982         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5983         elmo-copy-file instead of elmo-add-name-to-file.
5984
5985         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5986
5987         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5988         "file://..." index.
5989
5990         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5991         of accept-process-output as 1.
5992         (elmo-pop3-read-contents): Ditto.
5993         (elmo-pop3-read-body): Ditto.
5994
5995 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5996
5997         * elmo-version.el (product-version-as-string): Remove define.
5998
5999 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6000
6001         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6002         (elmo-imap4-copy-messages): Chop number set using
6003         `elmo-imap4-number-set-chop-length'.
6004         (elmo-imap4-set-flag): Ditto.
6005         (elmo-imap4-search-internal-primitive): Ditto.
6006
6007 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6008
6009         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6010         `elmo-folder-make-temp-dir'
6011
6012         * elmo-vars.el (elmo-cache-directory): New variable.
6013         (elmo-cache-dir): Abolished.
6014         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6015
6016         * elmo-version.el (elmo-version): Up to 2.7.7.
6017
6018 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6019
6020         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6021         defcustom; Set default value as t.
6022
6023 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6024
6025         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6026         (ldap-search-program-arguments): Changed default value.
6027         (ldap-search-basic): Accept exit status 4.
6028         (ldap/field-body): Parse options.
6029         (ldap/collect-field): Ditto.
6030         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6031
6032         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6033         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6034         (elmo-imap4-accept-ok): Ditto.
6035         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6036         'notify-bye, only BYE error is reported.
6037         (elmo-folder-exists-p-plugged): Set no-error argument of
6038         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6039
6040         * elmo.el (elmo-imap4-bye-error): Changed message.
6041
6042         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6043         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6044         queues (It causes infinite loop).
6045
6046 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6047
6048         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6049         (RECENT UNSEEN MESSAGES) extension.
6050
6051 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6052
6053         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6054         Check number of overview fields.
6055
6056 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6057
6058         * elmo.el (elmo-folder-confirm-appends): Changed message.
6059         (elmo-folder-confirm-appends): Ditto.
6060
6061         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6062         `with-temp-buffer'.
6063         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6064
6065 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6066
6067         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6068         of elmo-folder-update-threshold is nil, which can be set by
6069         wl-summary-update-confirm-threshold.
6070
6071 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6072
6073         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6074         (elmo-nmz-index-alias-alist): Ditto.
6075         (elmo-map-folder-list-message-locations): Follow the change above.
6076
6077 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6078
6079         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6080
6081         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6082
6083         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6084
6085         * elmo-util.el (elmo-read): Ditto.
6086         (elmo-display-error): Ditto.
6087
6088         * elmo-vars.el (elmo-date-match): Ditto.
6089
6090         * pldap.el (ldap-coding-system): Ditto.
6091
6092         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6093         `elmo-inhibit-number-mapping' as nil.
6094
6095 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6096
6097         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6098         space delimiter for list response.
6099
6100 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6101
6102         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6103
6104 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6105
6106         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6107         (elmo-map-message-fetch): Fix.
6108         * elmo-map.el (elmo-folder-status): Fix for killed.
6109
6110 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6111
6112         * elmo-sendlog.el: New file.
6113         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6114
6115 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6116
6117         * acap.el (acap-logging-out): New buffer local variable.
6118         (acap-close): Set it.
6119         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6120         an error.
6121
6122 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6123
6124         * acap.el (acap-response-bye-p): New function.
6125         (acap-response-bye-message): Ditto.
6126         (acap-wait-for-response): If bye response is received, cause an error.
6127         (acap-parse-response): Make bye response when 'Bye' is received.
6128
6129 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6130
6131         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6132
6133 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6134
6135         * elmo-util.el (elmo-copy-file): Added argument
6136         `ok-if-already-exists'.
6137         (elmo-copy-file): Fixed typo.
6138
6139 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6140
6141         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6142
6143 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6144
6145         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6146
6147 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6148
6149         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6150         to killed-list.
6151
6152 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6153
6154         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6155         (elmo-folder-initialize): Fix for `copy'.
6156         (elmo-pipe-drain): Ditto.
6157         (elmo-folder-open-internal): Ditto.
6158         (elmo-folder-newsgroups): Fix.
6159
6160 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6161
6162         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6163         for each message.
6164
6165         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6166         recent value is returned from imap folder.
6167
6168         * elmo.el (elmo-folder-newsgroups): New generic function.
6169
6170         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6171         (elmo-folder-initialize): Set it.
6172         (elmo-folder-expand-msgdb-path): Use it.
6173         (elmo-folder-newsgroups): Define.
6174
6175         * elmo-filter.el (elmo-folder-newsgroups): Define.
6176
6177         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6178
6179         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6180
6181         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6182
6183 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6184
6185         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6186         user option.
6187         (elmo-shimbun-header-extra-field): New inline function.
6188         (elmo-shimbun-header-set-extra-field): Ditto.
6189         (elmo-shimbun-folder-header-hash-setup): Ditto.
6190         (elmo-shimbun-update-overview): Ditto.
6191         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6192         (elmo-shimbun-folder-setup): Use
6193         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6194         (elmo-shimbun-get-headers): Ditto.
6195         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6196         Insert `X-Shimbun-Id:' header if extra field is set.
6197         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6198         field's value instead of `shimbun-header-id'.
6199
6200         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6201         inline function.
6202         (elmo-msgdb-overview-entity-set-date): Ditto.
6203         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6204
6205 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6206
6207         * mmimap.el (mmimap-entity-section): Changed body node number from
6208         "0" to "1".
6209
6210 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6211
6212         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6213         `elmo-folder-delete-messages'.
6214
6215         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6216         (elmo-folder-initialize): Changed to expand alias into index path.
6217
6218         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6219         `elmo-mime-insert-header-from-buffer' with 6th arg
6220         `sorted-fields'.
6221
6222 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6223
6224         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6225
6226         * elmo.el (elmo-diff-new): New inline function.
6227         (elmo-diff-unread): Ditto.
6228         (elmo-diff-all): Ditto.
6229
6230         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6231         value from responseb.
6232         (elmo-imap4-folder-diff-plugged): Ditto.
6233         (elmo-imap4-server-diff-async): Added recent argument.
6234         (elmo-server-diff-async): Ditto.
6235         (elmo-imap4-folder-diff-plugged): Ditto.
6236
6237         * elmo-version.el (elmo-version): Up to 2.7.6.
6238
6239 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6240
6241         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6242         in quoted-stirng.
6243
6244 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6245
6246         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6247
6248         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6249
6250         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6251
6252         * elmo-multi.el (elmo-folder-initialize): Ditto.
6253
6254         * elmo-util.el (elmo-parse-token): New function.
6255         (elmo-parse-prefixed-element): Ditto.
6256
6257 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6258
6259         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6260         delete process.
6261         (elmo-imap4-accept-ok): Ditto.
6262
6263 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6264
6265         * mmimap.el (mime-imap-entity-header-string): Don't check first
6266         element of node-id is `0' (Follow last change).
6267
6268 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6269
6270         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6271         assigned irregular node-id to nested multipart section.
6272         (initialize-instance): Followed above change.
6273
6274 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6275
6276         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6277         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6278         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6279         `elmo-shimbun-get-headers');
6280         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6281         visible article on summary exists in headers).
6282         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6283
6284 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6285
6286         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6287         definition.
6288
6289 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6290
6291         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6292
6293 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6294
6295         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6296         header separator into loop condition.
6297
6298 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6299
6300         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6301         Return duplicate folder if it has subfolder.
6302
6303 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6304
6305         * elmo.el (elmo-make-folder): Add folder name error check.
6306
6307         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6308         (elmo-nntp-encode-group-string): New inline function.
6309         (elmo-nntp-decode-group-string): Ditto.
6310         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6311         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6312         Use `not' instead of `null';
6313         Use elmo-nntp-decode-group-string.
6314
6315         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6316
6317         * elmo-version.el (elmo-version): Up to 2.7.5.
6318
6319 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6320
6321         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6322         Hide progress gauge if `elmo-folder-move-messages' exits
6323         nonlocally.
6324
6325 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6326
6327         * elmo-imap4.el (elmo-folder-initialize): Use
6328         `elmo-imap4-encode-folder-string' for folder name.
6329
6330 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6331
6332         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6333         `done'.
6334
6335 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6336
6337         * elmo-util.el (elmo-progress-counter-alist): New internal
6338         variable.
6339         (elmo-progress-counter-value): New macro.
6340         (elmo-progress-counter-all-value): Ditto.
6341         (elmo-progress-counter-format): Ditto.
6342         (elmo-progress-counter-set-value): Ditto.
6343         (elmo-progress-set): New function.
6344         (elmo-progress-clear): Ditto.
6345         (elmo-progress-notify): Ditto.
6346
6347         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6348         counter.
6349
6350         * elmo.el (elmo-generic-folder-append-messages): Call
6351         `elmo-progress-notify'.
6352         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6353
6354         * elmo-archive.el (elmo-folder-append-messages): Call
6355         `elmo-progress-notify'.
6356
6357         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6358
6359         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6360
6361         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6362
6363 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6364
6365         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6366         'Create'.
6367         (elmo-message-encache-dop): Added argument `read'.
6368
6369         * elmo-shimbun.el (elmo-message-encache): Ditto.
6370
6371         * elmo-net.el (elmo-message-encache): Ditto.
6372
6373         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6374         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6375         elmo-imap4-seen-messages.
6376         (elmo-folder-msgdb-create-plugged): Initialize
6377         elmo-imap4-seen-messages;
6378         Set seen mark on elmo-imap4-seen-messages.
6379
6380         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6381
6382         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6383         elmo-folder-append-buffer.
6384         (elmo-folder-encache): Added optional argument `read'.
6385         (elmo-message-encache): Ditto.
6386
6387         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6388
6389         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6390
6391         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6392         if append buffer content succeds.
6393
6394 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6395
6396         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6397         elmo-display-progress.
6398
6399         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6400         Set 4th argument of mime-display-message.
6401         (elmo-mime-display-as-is): Ditto.
6402
6403 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6404
6405         * elmo-nmz.el (toplevel): Require 'mime-edit.
6406         (elmo-nmz-content-type-alist): Abolished.
6407         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6408         content is not a message.
6409         (elmo-map-message-fetch): Changed behavior exept for message content;
6410         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6411         content-type, Add From: and Subject: field.
6412
6413 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6414
6415         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6416         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6417         not a message.
6418
6419 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6420
6421         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6422         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6423
6424         * elmo-archive.el (elmo-folder-writable-p): Defined.
6425
6426         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6427
6428         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6429
6430         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6431
6432         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6433
6434         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6435
6436         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6437
6438         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6439
6440         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6441
6442 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6443
6444         * elmo-util.el (elmo-address-quote-specials): New function;
6445         Renamed from `wl-address-quote-specials'.
6446
6447 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6448
6449         * elmo-version.el (elmo-version): Up to 2.7.4.
6450
6451 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6452
6453         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6454
6455 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6456
6457         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6458         both compile-time and run-time to avoid byte-compile warning.
6459
6460 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6461
6462         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6463
6464 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6465
6466         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6467         option.
6468         (elmo-mime-display-as-is-internal): Use it.
6469
6470         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6471         if `read-passwd' is not defined.
6472
6473 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6474
6475         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6476         by original number.
6477         (elmo-folder-status): Call `elmo-folder-open-internal';
6478         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6479         (elmo-folder-close-internal): Set location-alist as nil.
6480         (elmo-folder-clear): Define.
6481         (elmo-folder-check): Don't set location-alist as nil.
6482
6483         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6484
6485 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6486
6487         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6488         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6489
6490         * mmimap.el (mime-imap-entity::requested): New slot.
6491         (mime-imap-location-fetch-entity-p): New generic function.
6492         (mime-decode-parameters): Define using `defun-maybe'.
6493         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6494         content-type structure.
6495         (mime-entity-body): Return empty body if
6496         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6497
6498         * elmo.el (elmo-message-displaying): New variable.
6499
6500         * elmo-mime.el (elmo-mime-message-display): Bind
6501         elmo-message-displaying as t.
6502
6503         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6504
6505 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6506
6507         * acap.el (acap-open): erase buffer before starting network process.
6508         (acap-store): Rewrite.
6509
6510 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6511
6512         * elmo-imap4.el (elmo-imap4-default-mailbox,
6513         elmo-imap4-default-server
6514         elmo-imap4-default-authenticate-type,
6515         elmo-imap4-default-user,
6516         elmo-imap4-default-port,
6517         elmo-imap4-default-stream-type,
6518         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6519
6520         * elmo-pop3.el (elmo-pop3-default-user,
6521         elmo-pop3-default-server,
6522         elmo-pop3-default-authenticate-type,
6523         elmo-pop3-default-port,
6524         elmo-pop3-default-stream-type,
6525         elmo-pop3-stream-type-alist): Ditto.
6526
6527         * elmo-nntp.el (elmo-nntp-default-server,
6528         elmo-nntp-default-user,
6529         elmo-nntp-default-port,
6530         elmo-nntp-default-stream-type,
6531         elmo-nntp-stream-type-alist): Ditto.
6532
6533         * elmo-vars.el: Follow changes above.
6534         (elmo-setting): New custom group; added 'elmo-setting group to
6535         above variables.
6536
6537         * elmo-version.el (elmo-version): Up to 2.7.3.
6538
6539         * acap.el (acap-parse-response): Don't delete process when BYE
6540         response (It causes hang-up on slow network environment).
6541         (toplevel): Added comment.
6542
6543 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6544
6545         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6546
6547         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6548         parsing NIL.
6549         (acap-parse-return-metadata): Ditto.
6550
6551         * slp.el: New file.
6552         (toplevel): Fixed typo.
6553
6554         * acap.el: New file.
6555         (acap-network-stream-open): Show "Connecting..." message.
6556         (acap-parse-response): Fixed problem for BYE untagged response.
6557         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6558         (toplevel): Added tiny comments.
6559
6560 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6561
6562         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6563         space delimiter for uidl response.
6564
6565 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6566
6567         * elmo-vars.el (elmo-use-semi): Eliminated.
6568
6569         * elmo-util.el (elmo-string-assoc-all): New function.
6570
6571 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6572
6573         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6574         property 'mime-preview-situation for `mime-preview-quit'.
6575
6576 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6577
6578         * elmo.el (elmo-message-fetch-with-cache-process): Call
6579         elmo-message-fetch-internal instead of causing an error when fetch
6580         strategy is 'entire but only 'section cache is available.
6581
6582 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6583
6584         * elmo-version.el (elmo-version): Up to 2.7.2.
6585
6586         * elmo.el (elmo-generic-folder-append-messages): Make
6587         fetch-strategy with `use-cache'.
6588
6589         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6590         (elmo-dop-queue-method-name): New macro.
6591
6592 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6593
6594         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6595         unbalanced parenthesis.
6596
6597 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6598
6599         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6600
6601 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6602
6603         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6604         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6605
6606 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6607
6608         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6609         local variables.
6610
6611 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6612
6613         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6614         (elmo-message-use-cache-p): Define.
6615         (elmo-folder-msgdb-create): Treat cache.
6616
6617 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6618
6619         * elmo-nntp.el (elmo-network-initialize-session): Call
6620         `elmo-nntp-send-mode-reader'.
6621         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6622
6623 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6624
6625         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6626         alist.
6627         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6628         assoc.
6629
6630         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6631         for `elmo-plugged-p'.
6632         (elmo-open-network-stream): Fixed stream-type argument.
6633
6634 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6635
6636         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6637         unknown archive type is specified.
6638
6639 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6640
6641         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6642
6643         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6644         while loading msgdb.
6645
6646         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6647         (elmo-folder-open-internal): Rewrite.
6648
6649 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6650
6651         * elmo-mime.el (elmo-mime-display-as-is-internal):
6652         Adjust buffer-multibyte status.
6653
6654 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6655
6656         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6657         of elmo-condition-find-key.
6658
6659         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6660         (elmo-condition-in-msgdb-p): Ditto.
6661         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6662         argument.
6663
6664 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6665
6666         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6667
6668 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6669
6670         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6671         label for elmo-display-progress.
6672
6673 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6674
6675         * elmo.el (elmo-folder-clear): New method.
6676         (elmo-folder-clear): Define.
6677         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6678
6679         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6680         (elmo-folder-clear): Define.
6681
6682         * elmo-map.el (elmo-folder-clear): Define.
6683
6684         * elmo-version.el (elmo-version): Up to 2.7.1.
6685
6686 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6687
6688         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6689         updates.
6690
6691 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6692
6693         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6694         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6695
6696 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6697
6698         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6699
6700         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6701         and re-written.
6702
6703         * elmo-imap4.el (elmo-folder-initialize): Use
6704         elmo-get-network-stream-type.
6705
6706         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6707
6708         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6709
6710 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6711
6712         * elmo.el (elmo-message-encache): Set unread argument for
6713         elmo-message-fetch.
6714
6715         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6716
6717         * elmo.el (elmo-net-port-info): New method.
6718
6719         * elmo-shimbun.el (elmo-net-port-info): Define.
6720         (elmo-message-encache): Ditto.
6721
6722         * elmo-net.el (elmo-net-port-info): Define as method.
6723
6724         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6725         unplugged status when elmo-enable-disconnected-operation is t.
6726
6727         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6728         of spool folder before checking new number.
6729
6730 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6731
6732         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6733         (elmo-network-setup-session): Ditto.
6734         (elmo-message-fetch-plugged): Ditto.
6735         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6736         (elmo-network-initialize-session): Ditto.
6737         (elmo-pop3-read-response): Abolish 3rd argument.
6738         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6739         (elmo-pop3-read-contents): Ditto.
6740         (elmo-pop3-read-body): Ditto.
6741         (elmo-folder-status): Call elmo-folder-close.
6742         (elmo-pop3-lock): Abolish.
6743         (elmo-pop3-unlock): Ditto.
6744         (elmo-pop3-locked-p): Ditto.
6745         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6746
6747 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6748
6749         * elmo-version.el (elmo-version): Up to 2.7.0.
6750
6751         * elmo-pop3.el (elmo-pop3-debug): New variable.
6752         (elmo-pop3-debug-inhibit-logging): Ditto.
6753         (elmo-pop3-debug): New function.
6754         (elmo-pop3-send-command): Call elmo-pop3-debug.
6755         (elmo-pop3-read-response): Added keep-lock optional argument;
6756         Don't unlock if keep-lock is non-nil.
6757         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6758         (elmo-network-authenticate-session): Bind
6759         elmo-pop3-debug-inhibit-logging as t.
6760         (elmo-network-setup-session): Call elmo-pop3-read-response with
6761         keep-lock argument.
6762         (elmo-pop3-read-msg): Ditto.
6763         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6764         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6765         (elmo-network-initialize-session): Call elmo-pop3-lock.
6766         (elmo-folder-close-internal): Don't clear location-alist slot.
6767         (elmo-folder-check): Clear location-alist slot.
6768
6769 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6770
6771         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6772         (elmo-pop3-send-command): Call elmo-pop3-lock.
6773         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6774         (elmo-pop3-read-contents): Ditto.
6775         (elmo-pop3-lock): New function.
6776         (elmo-pop3-unlock): Ditto.
6777         (elmo-pop3-locked-p): Ditto.
6778         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6779         returns t.
6780
6781 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6782
6783         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6784
6785         * elmo-util.el (elmo-file-field-primitive-condition-match):
6786         New inline function (Don't fetch file content if "first" or "last").
6787         (elmo-file-field-condition-match): Use
6788         elmo-file-field-primitive-condition-match.
6789
6790         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6791         "first".
6792
6793         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6794         (elmo-message-fetch-plugged): Fixed.
6795
6796         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6797
6798 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6799
6800         * elmo.el (elmo-folder-move-messages): Bind
6801         elmo-inhibit-display-retrieval-progress as t while moving messages.
6802
6803         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6804         New variable.
6805         (elmo-inhibit-display-retrieval-progress): Ditto.
6806
6807         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6808         for retrieval progress;
6809         Don't display progress when total buffer size is smaller than
6810         elmo-display-retrieval-progress-threshold.
6811         (elmo-message-fetch-plugged): Don't display progress when
6812         elmo-inhibit-display-retrieval-progress is non-nil.
6813
6814         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6815         for retrieval progress;
6816         Don't display progress when literal size is smaller than
6817         elmo-display-retrieval-progress-threshold.
6818         (elmo-imap4-message-fetch): Don't display progress when
6819         elmo-inhibit-display-retrieval-progress is non-nil.
6820
6821 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6822
6823         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6824         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6825         (elmo-imap4-message-fetch): Likewise.
6826
6827         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6828         (elmo-shimbun-index-range-alist): Ditto.
6829         (elmo-shimbun-use-entire-index): Abolish.
6830         (shimbun-mua-use-entire-index): Ditto.
6831         (elmo-shimbun-folder): Added new slot `range'.
6832         (elmo-folder-initialize): Setup slot `range'.
6833
6834 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6835
6836         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6837         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6838         (elmo-shimbun-get-headers): Use return value of
6839         `shimbun-article-expiration-days'.
6840         (elmo-folder-close-internal): Clean up last-check slot.
6841
6842         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6843         (elmo-pop3-total-size): New variable.
6844         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6845
6846         * elmo.el (elmo-folder-reserve-status-p): New method.
6847
6848         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6849         (elmo-shimbun-use-entire-index): New user option.
6850         (shimbun-elmo-mua): New class.
6851         (shimbun-mua-search-id): Define.
6852         (shimbun-mua-use-entire-index): Ditto.
6853         (elmo-shimbun-folder:last-check): New slot.
6854         (elmo-shimbun-headers-cache-header-list): Abolish.
6855         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6856         (elmo-shimbun-headers-cache-header-hash): Ditto.
6857         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6858         (elmo-shimbun-headers-cache-last-check): Ditto.
6859         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6860         (elmo-shimbun-headers-check-p): Rewrite.
6861         (elmo-shimbun-msgdb-to-headers): New function.
6862         (elmo-shimbun-get-headers): Rewrite.
6863         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6864         (elmo-folder-open-internal): Get headers only if
6865         `elmo-shimbun-headers-check-p' is non-nil.
6866         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6867         is non-nil.
6868         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6869         (elmo-quit): Removed.
6870
6871         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6872         function.
6873         (elmo-msgdb-overview-entity-set-extra): Ditto.
6874         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6875
6876         * elmo-map.el (elmo-folder-status): Don't call
6877         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6878         is non-nil.
6879
6880 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6881
6882         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6883         of `elmo-msgdb-search-internal-primitive' when condition's car is
6884         `and' or `or'.
6885
6886 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6887
6888         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6889
6890 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6891
6892         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6893         call `elmo-pipe-drain'.
6894
6895 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6896
6897         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6898         typo. (elmo-cache-folder -> elmo-mark-folder)
6899
6900 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6901
6902         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6903         `elmo-message-fetch'.
6904
6905 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6906
6907         * elmo-net.el (elmo-message-encache): Fixed typo.
6908         (elmo-message-fetch-unplugged): Changed call
6909         `elmo-message-fetch-internal' without argument `outbuf'.
6910
6911 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6912
6913         * elmo.el (elmo-message-encache): Define as generic function.
6914         (elmo-message-fetch-field): New generic function.
6915         (elmo-message-fetch-with-cache-process): Cause an error when
6916         fetch strategy is 'entire but only 'section cache is available.
6917         (toplevel): Fixed nmz folder definition.
6918
6919         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6920         (elmo-msgdb-resume-list-filename): Ditto.
6921         (elmo-queue-filename): Ditto.
6922         (elmo-enable-disconnected-operation): Changed default value to t.
6923
6924         * elmo-util.el (elmo-cache-path-section-p): New function.
6925         (elmo-file-cache-get): Use it.
6926         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6927         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6928         (elmo-dop-queue-save): Ditto.
6929
6930         * elmo-net.el (elmo-folder-status-unplugged): Call
6931         elmo-folder-status-dop.
6932         (elmo-folder-list-messages-unplugged): Implemented.
6933         (elmo-folder-delete-messages-unplugged): Define.
6934         (elmo-folder-msgdb-create): Define.
6935         (elmo-folder-msgdb-create-unplugged): Define.
6936         (elmo-folder-mark-as-read-unplugged): Ditto.
6937         (elmo-folder-unmark-read-unplugged): Ditto.
6938         (elmo-folder-mark-as-important-unplugged): Ditto.
6939         (elmo-folder-unmark-important-unplugged): Ditto.
6940         (elmo-message-encache): Ditto.
6941
6942         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6943         (elmo-dop-queue-save): Ditto.
6944
6945         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6946         `elmo-folder-msgdb-create'.
6947         (elmo-folder-append-buffer): Implemented unplugged operation.
6948         (elmo-folder-append-messages): Call parent method in unplugged status.
6949         (elmo-message-fetch-unplugged): Removed definition.
6950         (elmo-message-fetch-field): Implemented.
6951
6952         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6953         (elmo-dop-folder): Removed variable definition.
6954         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6955         (elmo-dop-queue-flush): Implemented.
6956         (elmo-dop-queue-merge): Removed definition (TODO).
6957         (elmo-dop-spool-folder): New function.
6958         (elmo-dop-spool-folder-append-buffer): Ditto.
6959         (elmo-dop-spool-folder-list-messages): Ditto.
6960         (elmo-dop-list-deleting-messages): Ditto.
6961         (elmo-folder-append-buffer-dop): Ditto.
6962         (elmo-folder-delete-messages-dop): Ditto.
6963         (elmo-message-encache-dop): New inline function.
6964         (elmo-create-folder-dop): Ditto.
6965         (elmo-folder-mark-as-read-dop): Ditto.
6966         (elmo-folder-unmark-read-dop): Ditto.
6967         (elmo-folder-mark-as-important-dop): Ditto.
6968         (elmo-folder-unmark-important-dop): Ditto.
6969         (elmo-folder-status-dop): Fixed.
6970         (elmo-folder-append-buffer-dop-delayed): New function.
6971         (elmo-folder-delete-messages-dop-delayed): Ditto.
6972         (elmo-dop-msgdb): Ditto.
6973
6974 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6975
6976         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6977
6978 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6979
6980         * elmo.el (elmo-folder-move-messages): Fixed problem when
6981         `dst-folder' is 'null.
6982
6983 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6984
6985         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6986         instead of current mark.
6987
6988         * elmo-multi.el (elmo-folder-list-importants-internal): No
6989         operation if importants is not list.
6990
6991         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6992         Return t if importants is not list.
6993
6994         * elmo-map.el (elmo-map-folder-list-importants): Define.
6995         (elmo-folder-list-importants-internal): Check return value of
6996         `elmo-map-folder-list-importants-internal'.
6997
6998         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6999
7000         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7001
7002         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7003
7004         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7005
7006 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7007
7008         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7009         (Patch is provided by <kita@coe.nttdata.co.jp>).
7010
7011 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7012
7013         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7014         mark folder.
7015
7016 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7017
7018         * elmo.el (elmo-message-fetch): Define.
7019         (elmo-message-fetch-with-cache-process): New generic method.
7020         (elmo-message-fetch-internal): New generic method.
7021         (elmo-folder-synchronize):
7022
7023         * elmo-archive.el (elmo-message-fetch-internal): Define.
7024         (elmo-message-fetch): Eliminated.
7025
7026         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7027         (elmo-message-fetch): Eliminated.
7028
7029         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7030         argument OUTBUF.
7031         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7032
7033         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7034         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7035
7036         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7037         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7038
7039         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7040
7041         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7042
7043         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7044
7045         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7046         (elmo-message-fetch-unplugged): New generic method.
7047         (elmo-message-fetch-internal): Remove cache process (Renamed from
7048         `elmo-message-fetch').
7049
7050         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7051         (elmo-message-fetch): Eliminated.
7052         (elmo-message-fetch-unplugged): Ditto.
7053
7054         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7055
7056 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7057
7058         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7059         of `to-be-deleted' from number-alist to number-list.
7060
7061 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7062
7063         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7064         (elmo-folder-mark-as-important): Ditto.
7065
7066 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7067
7068         * elmo.el (elmo-folder): Added process-duplicates slot.
7069
7070         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7071         (elmo-folder-unmark-read): Ditto.
7072         (elmo-folder-unmark-important): Ditto.
7073         (elmo-folder-mark-as-important): Ditto.
7074
7075         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7076         duplicated message processing.
7077
7078         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7079
7080 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7081
7082         * elmo-util.el (elmo-list-subdirectories-1): New function.
7083         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7084         (elmo-mapcar-list-of-list): New function.
7085
7086         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7087         `elmo-mapcar-list-of-list' instead of `mapcar'.
7088
7089         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7090
7091         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7092         `elmo-have-link-count'. Return the fully qualified folder name.
7093
7094 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7095
7096         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7097         (elmo-shimbun-headers-cache): New internal variable.
7098         (elmo-shimbun-headers-cache-header-list): New inline function.
7099         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7100         (elmo-shimbun-headers-cache-header-hash): Ditto.
7101         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7102         (elmo-shimbun-headers-cache-last-check): Ditto.
7103         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7104         (elmo-shimbun-lapse-seconds): Ditto.
7105         (elmo-shimbun-headers-cache-check-p): Ditto.
7106         (elmo-shimbun-get-headers): New function.
7107         (elmo-folder-open-internal): Call it.
7108         (elmo-quit): Define (Clear headers-cache).
7109
7110 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7111
7112         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7113
7114         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7115         (elmo-msgdb-flist-save): Ditto.
7116
7117         * elmo-shimbun.el (elmo-folder-list-subfolders):
7118         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7119         (elmo-folder-exists-p): Ditto.
7120
7121         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7122         argument for `shimbun-header-insert'.
7123
7124 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7125
7126         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7127         at first time.
7128
7129         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7130         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7131
7132 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7133
7134         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7135         (elmo-folder-plugged-p): Define.
7136         (elmo-folder-set-plugged): Ditto.
7137         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7138         (elmo-folder-list-messages-internal): Return t if unplugged.
7139         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7140
7141         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7142         when elmo-folder-list-messages-internal method of children returns t.
7143
7144         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7145         pair is nil.
7146         (elmo-folder-open-internal): Don't update if unplugged status.
7147
7148 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7149
7150         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7151         new message.
7152
7153 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7154
7155         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7156
7157         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7158         saving.
7159
7160 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7161
7162         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7163
7164         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7165         (elmo-folder-open-internal): Set up headers slot.
7166         (elmo-folder-check): Call elmo-folder-close-internal and
7167         elmo-folder-open-internal.
7168         (elmo-folder-close-internal): Clean up headers slot.
7169
7170 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7171
7172         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7173         exactly folder list.
7174         (elmo-folder-append-messages): Fixed append archive with prefix.
7175
7176         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7177         make temp files with start-number.
7178
7179         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7180
7181 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7182
7183         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7184         argument `visible-only'.
7185         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7186         instead of `if'.
7187
7188         * elmo-pop3.el (elmo-folder-open-internal): Check
7189         `elmo-inhibit-number-mapping' is non-nil.
7190
7191         * elmo-pipe.el (elmo-folder-status): Fixed.
7192
7193 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7194
7195         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7196
7197         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7198         (elmo-folder-open-internal): Setup `header-hash' slot.
7199         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7200         information.
7201         (elmo-map-message-fetch): Ditto.
7202
7203 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7204
7205         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7206         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7207         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7208         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7209
7210         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7211
7212 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7213
7214         * sb-airs.el: Added footer.
7215
7216         * shimbun.el (shimbun-article): Define as luna-method.
7217
7218         * sb-tcup.el: New file.
7219
7220         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7221         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7222
7223 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7224
7225         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7226         (shimbun-get-headers): Ditto.
7227
7228         * elmo.el: Moved obsolete variable definitions from
7229         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7230
7231         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7232         groups.
7233
7234         * shimbun.el: New file.
7235
7236         * elmo-shimbun.el: New file.
7237
7238         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7239         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7240         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7241         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7242
7243 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7244
7245         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7246         hierarchy is t.
7247
7248 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7249
7250         * elmo.el (elmo-folder-msgdb): Define as macro.
7251         (elmo-folder-open): Added argument `load-msgdb'.
7252         (elmo-generic-folder-open): Ditto.
7253         (elmo-folder-encache): New function.
7254
7255         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7256
7257         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7258
7259         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7260         Eliminated argument FOLDER and added argument MSGDB.
7261         (elmo-dop-queue-load): Moved from elmo-dop.el.
7262         (elmo-dop-queue-save): Ditto.
7263
7264         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7265
7266         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7267
7268         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7269         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7270         (elmo-filter-folder-list-importants-internal): Ditto.
7271
7272         * elmo-map.el (elmo-folder-pack-number): Ditto.
7273
7274         * elmo-mime.el (elmo-mime-message-display): Ditto.
7275
7276         * elmo.el (elmo-generic-folder-commit): Ditto.
7277         (elmo-folder-list-unreads): Ditto.
7278         (elmo-folder-list-importants): Ditto.
7279         (elmo-generic-folder-commit): Ditto.
7280         (elmo-message-set-mark): Ditto.
7281         (elmo-generic-folder-append-msgdb): Ditto.
7282         (elmo-folder-synchronize): Ditto.
7283         (elmo-folder-messages): Ditto.
7284         (elmo-init): Call elmo-dop-queue-load.
7285         (elmo-folder-list-messages): Ditto.
7286
7287         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7288         (elmo-nntp-folder-process-crosspost): Ditto.
7289         (elmo-folder-list-unreads-internal): Ditto.
7290
7291         * elmo-dop.el: Removed old functions.
7292
7293 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7294
7295         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7296         `folder' to `msgdb'.
7297
7298 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7299
7300         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7301         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7302
7303         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7304         case-fold-search.
7305
7306 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7307
7308         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7309         defined.
7310
7311         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7312         (mmimap-parse-parameters-from-list): Define as alias for
7313         `mime-decode-parameter-plist' if it is defined as function.
7314         (mmimap-make-mime-entity): Added argument `number'.
7315         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7316         as 0.
7317         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7318
7319         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7320
7321         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7322
7323         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7324
7325 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7326
7327         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7328
7329         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7330         when elmo-imap4-default-authenticate-type is nil.
7331         (elmo-folder-list-subfolders): Ditto
7332         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7333         (elmo-imap4-fetch-callback-1-subr): Renamed from
7334         `elmo-imap4-fetch-callback-1' and define as inline function.
7335         (elmo-imap4-fetch-callback-1):
7336         Renamed from `elmo-imap4-fetch-callback'.
7337         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7338
7339         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7340         msgdb path (To keep compatibility with main trunk).
7341
7342         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7343
7344         * elmo-util.el (elmo-make-file-cache): Moved position of
7345         some macros.
7346
7347         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7348         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7349         instead of `elmo-pop3-inhibit-uidl'.
7350         (elmo-folder-exists-p): Ditto.
7351         (elmo-pop3-folder-list-messages): Ditto.
7352
7353         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7354         instead of `elmo-pop3-inhibit-uidl'.
7355         (elmo-folder-status): Ditto.
7356
7357         * elmo-dop.el (elmo-dop-folder): New variable.
7358         (elmo-dop-lock-message): Eliminated.
7359         (elmo-dop-unlock-message): Ditto.
7360         (elmo-dop-lock-list-load): Ditto.
7361         (elmo-dop-lock-list-save): Ditto.
7362         (elmo-dop-delete-folder): Ditto.
7363         (elmo-dop-rename-folder): Ditto.
7364
7365         * elmo.el: Removed incomplete commentary.
7366
7367 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7368
7369         * elmo.el (toplevel): Require 'elmo-version first;
7370         for little `recursive-load-depth' settings.
7371         Fix "ends here" comment.
7372
7373 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7374
7375         * elmo-util.el (toplevel): Require 'poem;
7376         Some functions are moved from elmo-cache.el.
7377
7378         * elmo-net.el (toplevel): Require 'elmo-cache.
7379
7380         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7381
7382         * elmo.el (toplevel): Ditto.
7383
7384         * elmo-cache.el: Rewrite with luna;
7385         Some functions are moved to elmo-util.el.
7386
7387         * elmo-internal.el (elmo-internal-folder-list): New variable.
7388         (elmo-internal-folder-initialize): Rewrite.
7389         (elmo-folder-list-subfolders): Ditto.
7390
7391         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7392         (elmo-cache-collect-sub-directories): Ditto.
7393
7394 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7395
7396         * elmo-version.el (elmo-version): Up to 2.5.8.
7397
7398         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7399
7400         * elmo-util.el (elmo-list-insert): New function.
7401
7402 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7403
7404         * elmo.el (elmo-init): New function.
7405         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7406
7407         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7408         (Renamed from `elmo-localdir-header-chop-length').
7409
7410         * elmo-pop3.el (elmo-pop3-use-cache,
7411         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7412
7413         * elmo-nntp.el (elmo-message-fetch): Define.
7414         (elmo-message-fetch-unplugged): Ditto.
7415         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7416         (elmo-nntp-use-cache): Ditto.
7417         (elmo-nntp-max-number-precedes-list-active): Ditto.
7418
7419         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7420
7421         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7422         `elmo-msgdb-insert-file-header'.
7423         Use `elmo-msgdb-file-header-chop-length'.
7424
7425         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7426         `elmo-vars.el'.
7427
7428         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7429         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7430         `elmo-msgdb-insert-file-header'.
7431
7432         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7433         Use new variable;
7434         Define obsolete variables with `elmo-define-obsolete-variable',
7435
7436         * elmo-util.el (elmo-warning-buffer-name): New constant.
7437         (elmo-warning): New function.
7438         (elmo-obsolete-variable-alist): New variable.
7439         (elmo-obsolete-variable-show-warnings): New variable.
7440         (elmo-define-obsolete-variable): New function.
7441         (elmo-resque-obsolete-variable): Ditto.
7442         (elmo-resque-obsolete-variables): Ditto.
7443
7444 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7445
7446         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7447         Eliminated.
7448
7449         * elmo-pop3.el, elmo-nntp.el: Use custom.
7450
7451 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7452
7453         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7454         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7455
7456 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7457
7458         * Luna-fy Kenichi OKADA's following changes.
7459         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7460         `nohide'.
7461         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7462
7463 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7464
7465         * elmo-util.el (elmo-display-progress): Prefer
7466         `progress-feedback-with-label' to `lprogress-display'.
7467
7468 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7469
7470         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7471
7472 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7473
7474         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7475         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7476         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7477         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7478         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7479         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7480         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7481         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7482         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7483         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7484         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7485         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7486         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7487
7488 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7489
7490         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7491         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7492
7493 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7494
7495         * elmo.el (elmo-folder-process-crosspost): New generic method.
7496         (elmo-folder-writable-p): Ditto.
7497         (elmo-folder-message-appendable-p): Eliminated.
7498         (elmo-generic-folder-append-msgdb): Rewrite.
7499         (elmo-newsgroups-hashtb): New internal variable.
7500         (elmo-crosspost-message-set): Eliminated.
7501         (elmo-crosspost-message-delete): Ditto.
7502         (elmo-setup-subscribed-newsgroups): New function.
7503         (elmo-crosspost-message-alist-modified): New internal variable.
7504         (elmo-crosspost-message-alist-load): New function (Renamed from
7505         `wl-crosspost-alist-load').
7506         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7507         `wl-crosspost-alist-save').
7508
7509         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7510
7511         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7512         `unreads'.
7513         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7514         elmo-newsgroups-hashtb).
7515         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7516         `elmo-nntp-folder-update-crosspost-message-alist'.
7517         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7518         `elmo-nntp-groups-hashtb'.
7519         (elmo-nntp-make-groups-hashtb): Eliminated.
7520         (elmo-nntp-parse-newsgroups): New function (Renamed from
7521         `wl-parse-newsgroups').
7522         (elmo-folder-creatable-p, elmo-folder-writable-p,
7523         elmo-folder-close-internal, elmo-folder-mark-as-read,
7524         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7525         Define.
7526         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7527
7528         * elmo-net.el (elmo-message-fetch): Check buffer size.
7529
7530         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7531
7532         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7533
7534         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7535         before `close' command.
7536
7537         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7538         `mark-alist' (All other related portions are changed).
7539
7540 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7541
7542         * elmo-util.el (elmo-create-hash-size): Eliminated.
7543         (elmo-make-hash) Make a hash with `one less than a power of two'
7544         length.
7545
7546         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7547         (elmo-hash-maximum-size): Changed value.
7548
7549 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7550
7551         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7552         (elmo-mime-message-display-as-is): Ditto.
7553
7554 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7555
7556         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7557         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7558
7559 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7560
7561         * elmo-mark.el: New file.
7562
7563         * elmo-internal.el: Rewrite (Almost empty).
7564
7565 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7566
7567         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7568         (mime-imap-entity-header-string): Ditto.
7569         (mmimap-entity-section): Rewrite.
7570
7571 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7572
7573         * elmo-nmz.el: New file.
7574
7575         * elmo-pipe.el: Rewrite with luna.
7576
7577 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7578
7579         * elmo-archive.el: Rewrite with luna.
7580
7581         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7582         (elmo-folder-list-importants-internal): Ditto.
7583
7584 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7585
7586         * elmo-archive.el (elmo-archive-version): Abolish.
7587         (toplevel) Removed `boso' comment.
7588
7589 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7590
7591         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7592         elmo-msgdb-add-msgs-to-seen-list-subr;
7593         Changed argument seen-marks to unread-marks.
7594
7595         * elmo-nntp.el: Rewrite with luna.
7596
7597 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7598
7599         * elmo-filter.el: Rewrite with luna.
7600
7601 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7602
7603         * elmo-pop3.el: Rewrite with luna.
7604
7605 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7606
7607         * elmo-multi.el: Rewrite with luna.
7608
7609         * elmo-vars.el (elmo-use-killed-list): Abolish.
7610         All other related portions are changed.
7611         (elmo-filename-replace-string-alist): Renamed from
7612         elmo-msgid-replace-string-alist.
7613
7614 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7615
7616         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7617
7618         * elmo-map.el: New file.
7619         * elmo-maildir.el: Rewrite with luna.
7620
7621 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7622
7623         * elmo.el: Changed meaning of `elmo-folder-commit'.
7624         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7625
7626 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7627
7628         * elmo.el (elmo-folder-append-buffer): New function.
7629         (Renamed from `elmo-append-msg')
7630
7631 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7632
7633         * elmo-mime.el: New file.
7634
7635 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7636
7637         * elmo-cache.el: Rewrite.
7638
7639 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7640
7641         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7642
7643 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7644
7645         * elmo-vars.el (elmo): New group.
7646         (elmo-strict-diff-folder-regexp): New variable.
7647
7648         * elmo-util.el (elmo-call-func): Abolish.
7649         (elmo-folder-get-type): Ditto.
7650         (elmo-*-get-spec): Ditto.
7651         (elmo-*-spec-*): Ditto.
7652         (elmo-imap4-identical-name-space-p): Ditto.
7653         (elmo-folder-identical-system-p): Ditto.
7654         (elmo-folder-direct-copy-alist): Ditto.
7655         (elmo-folder-direct-copy-p): Ditto.
7656
7657         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7658         (elmo-folder-initialize): Define.
7659         (elmo-folder-get-primitive-list): Ditto.
7660
7661         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7662         (elmo-folder-initialize): Define.
7663         Renamed `elmo-network-session-host-internal' to
7664         `elmo-network-session-server-internal'.
7665
7666         * elmo-multi.el (elmo-multi-folder): New luna class.
7667         (elmo-folder-initialize): Define.
7668         (elmo-folder-get-primitive-list): Ditto.
7669         (elmo-folder-contains-type): Ditto.
7670         (elmo-message-use-cache-p): Ditto.
7671
7672         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7673         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7674
7675         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7676         (elmo-folder-initialize): Define.
7677
7678         * elmo-filter.el (elmo-filter-folder): New luna class.
7679         (elmo-folder-initialize): Define.
7680         (elmo-folder-get-primitive-list): Ditto.
7681         (elmo-folder-contains-type): Ditto.
7682
7683 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7684
7685         * elmo-imap4.el: Rewrite with luna.
7686
7687         * mmimap.el: New file.
7688
7689         * mmelmo.el, mmelmo-imap4.el: Removed.
7690
7691         * elmo-net.el: Ditto.
7692
7693         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7694         (elmo-folder-initialize): Define.
7695
7696         * elmo-archive.el (elmo-archive-folder): New luna class.
7697         (elmo-folder-initialize): Define.
7698
7699         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7700         `elmo-folder-msgdb-path'.
7701         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7702         `elmo-make-folder'.
7703
7704 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7705
7706         * elmo.el: New file.
7707
7708         * elmo2.el: Renamed to elmo.el.
7709
7710 \f
7711 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7712
7713         * elmo-cache.el (elmo-cache-expire-by-size): Count
7714         a disk usage for a cache file entry in KB even when
7715         its kind is a directory.
7716
7717 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7718
7719         * elmo-version.el (elmo-version): Up to 2.5.7.
7720
7721 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7722
7723         * elmo-version.el (elmo-version): Up to 2.5.6.
7724
7725 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7726
7727         * elmo-version.el (elmo-version): Up to 2.5.5.
7728
7729 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7730
7731         * elmo-imap4.el (elmo-network-authenticate-session):
7732         Fixed a logic for response checking.
7733
7734 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7735
7736         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7737         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7738         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7739         `sasl-mechanisms'.
7740
7741         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7742         for `starttls-open-stream' and `starttls-negotiate'.
7743
7744         * elmo-nntp.el: Remove autoload settings for
7745         `starttls-open-stream' and `starttls-negotiate'.
7746
7747         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7748         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7749         `luna-define-class' with `eval-and-compile'.
7750
7751 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7752
7753         * elmo-util.el (elmo-read-search-condition-internal):
7754         Require an element of table for searching field.
7755
7756 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7757
7758         * elmo-version.el (elmo-version): Up to 2.5.4.
7759
7760 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7761
7762         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7763
7764 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7765
7766         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7767
7768 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7769
7770         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7771         before greeting.
7772
7773 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7774
7775         * elmo-imap4.el (elmo-imap4-delete-folder):
7776         Send "close" before "delete" (Use commented out line).
7777         (elmo-imap4-rename-folder): Ditto.
7778
7779         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7780         folder string itself.
7781         (elmo-dop-list-deleted): New function.
7782         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7783         killed.
7784
7785         * elmo-util.el (elmo-string-rassoc-all): New function.
7786
7787 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7788
7789         * elmo-version.el (elmo-version): Up to 2.5.3.
7790
7791         * elmo-net.el (elmo-network-get-session): Changed logic for
7792         checking process status.
7793
7794         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7795         process is nil;
7796         Changed logic for checking process status.
7797
7798 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7799
7800         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7801         before greeting.
7802         (elmo-network-setup-session): Set UIDL hash size according to
7803         the length of list response.
7804         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7805         according to the length of list response;
7806         Return the length of list response.
7807         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7808
7809 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7810
7811         * elmo-imap4.el (toplevel): Require 'ssl.
7812         Add autoload 'starttls.
7813         * elmo-pop3.el (toplevel): Ditto.
7814         * elmo-nntp.el (toplevel): Ditto.
7815
7816 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7817
7818         * elmo-imap4.el (toplevel): defun at compile time.
7819         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7820         sasl-next-step, sasl-step-data, sasl-step-set-data.
7821         * elmo-pop3.el (toplevel): Ditto.
7822
7823 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7824
7825         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7826
7827 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7828
7829         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7830         if error.
7831         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7832         and `elmo-pop-auth-apop'.
7833
7834 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7835
7836         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7837
7838 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7839
7840         * elmo-pop3.el (elmo-network-authenticate-session): Split
7841         encoded response value.
7842
7843 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7844
7845         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7846         `elmo-pop3-force-login'.
7847         Redefine `sasl-mechanisms'.
7848         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7849
7850 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7851
7852         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7853         Delete `elmo-imap4-authenticator-alist'.
7854         (elmo-imap4-auth-cram-md5): Delete.
7855         (elmo-imap4-auth-digest-md5): Delete.
7856
7857 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7858
7859         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7860         (elmo-pop3-auth-scram-md5): Ditto.
7861         (elmo-pop3-auth-cram-md5): Ditto.
7862
7863 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7864
7865         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7866         Delete `elmo-pop3-authenticator-alist'.
7867
7868 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7869
7870         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7871         new SASL API.
7872         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7873
7874 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7875
7876         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7877
7878 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7879
7880         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7881         Fixed problem when `elmo-pop3-use-uidl' is nil.
7882         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7883
7884 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7885
7886         * elmo-version.el (elmo-version): Up to 2.5.2.
7887
7888 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7889
7890         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7891         New function.
7892         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7893         (elmo-pop3-msgdb-create-as-numlist): Use it.
7894
7895         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7896         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7897
7898         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7899         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7900
7901 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7902
7903         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7904         when elmo-mark-as-read is called with second argument nil.
7905
7906 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7907
7908         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7909         Moved to elmo-util.el.
7910
7911         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7912         Moved from elmo-pipe.el
7913
7914         * elmo-archive.el (elmo-archive-call-process): Enclose with
7915         static-if.
7916
7917         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7918         "RFC822" (because RFC822.PEEK is obsolete).
7919         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7920
7921 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7922
7923         * elmo-archive.el (elmo-archive-call-process): Don't check for
7924         the exit status when Nemacs is running.
7925
7926 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7927
7928         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7929         'plain.
7930
7931         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7932         (elmo-pop3-get-spec): Set default of auth to 'user.
7933
7934         * elmo-imap4.el (elmo-imap4-session-check):
7935         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7936         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7937         (elmo-imap4-auth-login): New function; Revival.
7938         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7939         `elmo-imap4-auth-login'.
7940
7941 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7942
7943         * elmo2.el (toplevel): Move `product-provide' declare.
7944         * mmelmo.el (toplevel): Ditto.
7945
7946 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7947
7948         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7949
7950 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7951
7952         * elmo-util.el (elmo-folder-get-store-type): New function.
7953         (elmo-folder-direct-copy-p): Use it.
7954
7955 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7956
7957         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7958         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7959         and result of `elmo-imap4-use-flag-p'.
7960         (elmo-imap4-fetch-callback-1): Set mark according to
7961         the result of `elmo-imap4-use-flag-p'.
7962
7963 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7964
7965         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7966         (elmo-generic-list-folder-unread): Ditto.
7967         (elmo-folder-get-info): Ditto.
7968         (elmo-folder-set-info-max-by-numdb): Ditto.
7969         (elmo-folder-get-info-max): Ditto.
7970         (elmo-folder-get-info-length): Ditto.
7971         (elmo-folder-get-info-unread): Ditto.
7972         (elmo-folder-info-make-hashtb): Ditto.
7973
7974         * elmo2.el: Removed above functions.
7975
7976 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7977
7978         * elmo-imap4.el (toplevel): Require 'ssl.
7979         Add autoload 'starttls.
7980         * elmo-pop3.el (toplevel): Ditto.
7981         * elmo-nntp.el (toplevel): Ditto.
7982
7983 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7984
7985         * elmo-imap4.el (toplevel): defun at compile time.
7986         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7987         sasl-next-step, sasl-step-data, sasl-step-set-data.
7988         * elmo-pop3.el (toplevel): Ditto.
7989
7990 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7991
7992         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7993
7994 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7995
7996         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7997         if error.
7998         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7999         and `elmo-pop-auth-apop'.
8000
8001 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8002
8003         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8004
8005 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8006
8007         * elmo-pop3.el (elmo-network-authenticate-session): Split
8008         encoded response value.
8009
8010 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8011
8012         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8013         `elmo-pop3-force-login'.
8014         Redefine `sasl-mechanisms'.
8015         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8016
8017 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8018
8019         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8020         Delete `elmo-imap4-authenticator-alist'.
8021         (elmo-imap4-auth-cram-md5): Delete.
8022         (elmo-imap4-auth-digest-md5): Delete.
8023
8024 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8025
8026         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8027         (elmo-pop3-auth-scram-md5): Ditto.
8028         (elmo-pop3-auth-cram-md5): Ditto.
8029
8030 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8031
8032         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8033         Delete `elmo-pop3-authenticator-alist'.
8034
8035 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8036
8037         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8038         new SASL API.
8039         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8040
8041 \f
8042 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8043
8044         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8045
8046 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8047
8048         * elmo-nntp.el (elmo-nntp-get-folders-info):
8049         Fixed problem when '\' character is contained in user-id.
8050         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8051
8052 \f
8053 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8054
8055         * elmo-imap4.el (elmo-imap4-delete-folder):
8056         Send "close" before "delete" (Use commented out line).
8057         (elmo-imap4-rename-folder): Ditto.
8058
8059         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8060         folder string itself.
8061         (elmo-dop-list-deleted): New function.
8062         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8063         killed.
8064
8065         * elmo-util.el (elmo-string-rassoc-all): New function.
8066
8067         * elmo-version.el (elmo-version): Up to 2.5.1.
8068
8069 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8070
8071         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8072
8073         * elmo-internal.el (elmo-internal-search): Fix last change.
8074
8075 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8076
8077         * elmo-internal.el (elmo-internal-search): Rewrite.
8078         (Fixed problem which is pointed out by Akihiro MOTOKI
8079         <motoki@da.jp.nec.com>)
8080
8081         * elmo-version.el (elmo-version): Up to 2.5.0.
8082
8083 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8084
8085         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8086
8087 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8088
8089         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8090         non-nil, make hierarchy.
8091
8092 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8093
8094         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8095         `elmo-pop3-use-uidl' must be bound to nil.
8096         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8097
8098 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8099
8100         * elmo-util.el (elmo-copy-file): Don't cause an error after
8101         `add-name-to-file' failed.
8102
8103         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8104         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8105
8106 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8107
8108         * elmo-version.el (elmo-version): Up to 2.3.93.
8109
8110 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8111
8112         * elmo-util.el (elmo-flatten): New function.
8113
8114 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8115
8116         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8117         sync Author header.
8118         * elmo-cache.el (toplevel): Ditto.
8119         * elmo-database.el (toplevel): Ditto.
8120         * elmo-date.el (toplevel): Ditto.
8121         * elmo-dop.el (toplevel): Ditto.
8122         * elmo-filter.el (toplevel): Ditto.
8123         * elmo-imap4.el (toplevel): Ditto.
8124         * elmo-internal.el (toplevel): Ditto.
8125         * elmo-localdir.el (toplevel): Ditto.
8126         * elmo-localnews.el (toplevel): Ditto.
8127         * elmo-maildir.el (toplevel): Ditto.
8128         * elmo-msgdb.el (toplevel): Ditto.
8129         * elmo-multi.el (toplevel): Ditto.
8130         * elmo-net.el (toplevel): Ditto.
8131         * elmo-nntp.el (toplevel): Ditto.
8132         * elmo-pipe.el (toplevel): Ditto.
8133         * elmo-pop3.el (toplevel): Ditto.
8134         * elmo-util.el (toplevel): Ditto.
8135         * elmo-vars.el (toplevel): Ditto.
8136         * elmo2.el (toplevel): Ditto.
8137         * mmelmo-imap4.el (toplevel): Ditto.
8138         * mmelmo.el (toplevel): Ditto.
8139
8140         * elmo-version.el (elmo-version): Move to top.
8141
8142         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8143         * elmo-imap4.el (toplevel): Ditto.
8144         * elmo-localdir.el (toplevel): Ditto.
8145         * elmo-msgdb.el (toplevel): Ditto.
8146         * elmo-nntp.el (toplevel): Ditto.
8147         * elmo-pop3.el (toplevel): Ditto.
8148         * elmo-version.el (toplevel): Ditto.
8149
8150         * elmo-localnews.el (toplevel): Added Keyword header.
8151
8152 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8153
8154         * elmo-version.el (product-version-as-string): Defined using
8155         `defun-maybe'.
8156         (toplevel): Use it.
8157
8158         * elmo-localdir.el (toplevel): Updated copyright notice.
8159         * elmo-version.el (toplevel): Ditto.
8160         * elmo-msgdb.el (toplevel): Ditto.
8161         * elmo-imap4.el (toplevel): Ditto.
8162         * elmo-nntp.el (toplevel): Ditto.
8163         * elmo-pop3.el (toplevel): Ditto.
8164
8165 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8166
8167         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8168         messages.
8169
8170         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8171         parameter value (It sometimes contains raw kanji).
8172
8173 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8174
8175         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8176         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8177
8178 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8179
8180         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8181
8182 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8183
8184         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8185         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8186
8187 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8188
8189         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8190         value if selecting folder succceeded.
8191         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8192
8193 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8194
8195         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8196         representation.
8197
8198         * elmo-util.el (elmo-string-matched-member): New function.
8199
8200 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8201
8202         * elmo-util.el (elmo-unintern): New macro.
8203         (elmo-number-set-member): Fixed docstring.
8204
8205         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8206         tag token.
8207
8208 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8209
8210         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8211         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8212
8213 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8214
8215         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8216         `no-error'.
8217         Added docstring.
8218         Return non-nil if selecting folder succeeded.
8219         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8220
8221 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8222
8223         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8224         `file-name-completion' returns t.
8225         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8226         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8227         directory if it does not exist.
8228         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8229         for iteration.
8230
8231 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8232
8233         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8234         enclosure (It's harmful in unplugged status).
8235
8236         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8237
8238         * mmelmo-1.el: Removed.
8239
8240         * mmelmo-2.el: Ditto.
8241
8242         * mmelmo-imap4-1.el: Ditto.
8243
8244         * mmelmo-imap4-2.el: Ditto.
8245
8246         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8247
8248         * mmelmo.el: Merged mmelmo-2.el.
8249
8250         * elmo-version.el (elmo-version): Up to 2.3.92.
8251
8252 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8253
8254         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8255         elmo-update-number): Remove last period in "...done." message.
8256         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8257         Ditto.
8258         * elmo-cache.el (elmo-cache-expire-by-size,
8259         elmo-cache-get-sorted-cache-file-list,
8260         elmo-cache-msgdb-create-as-numlist): Ditto.
8261         * elmo-dop.el (elmo-dop-save-pending-messages,
8262         (elmo-dop-flush-pending-append-operations): Ditto.
8263         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8264         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8265         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8266         (elmo-localdir-pack-number): Ditto.
8267         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8268         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8269         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8270         mime-write-entity-content): Ditto.
8271         * pldap.el (ldap-search-basic): Ditto.
8272
8273 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8274
8275         * elmo-version.el (elmo-version): Up to 2.3.91.
8276
8277         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8278         Only when filter is 'last'.
8279
8280         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8281         (elmo-condition-parse-search-value): Use it.
8282         (elmo-read-search-condition-internal): Quote value only when
8283         it is not an atom.
8284
8285 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8286
8287         * elmo2.el (elmo-generic-folder-diff): Fix.
8288
8289 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8290
8291         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8292         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8293         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8294         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8295         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8296         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8297
8298 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8299
8300         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8301         extra-fields.
8302
8303 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8304
8305         * elmo-version.el (elmo-version): Up to 2.3.90.
8306
8307         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8308         (elmo-imap4-list-folder-important): Ditto.
8309
8310 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8311
8312         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8313
8314 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8315
8316         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8317
8318 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8319
8320         * elmo-nntp.el (elmo-network-initialize-session):
8321         Add starttls negotiation.
8322
8323 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8324
8325         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8326         response.
8327         (elmo-network-setup-session): Define.
8328         Call `elmo-nntp-send-mode-reader' when session opened.
8329
8330 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8331
8332         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8333
8334 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8335
8336         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8337         an invalid SPACE character ahead of `SEARCH' command.  Move
8338         a valid SPACE character following `SEARCH' from conditional
8339         `format' arguments to control-strings.
8340
8341 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8342
8343         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8344         was succeeded.
8345
8346         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8347
8348 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8349
8350         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8351         `w32-get-true-file-link-count' as t.
8352
8353         * elmo-imap4.el (elmo-imap4-read): Abolished.
8354         (Renamed to `elmo-read' and moved to elmo-util.el)
8355         All other related portions are changed.
8356
8357         * elmo-util.el (elmo-read): New function.
8358         (elmo-condition-parse-search-value): Use it.
8359
8360 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8361
8362         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8363
8364         * elmo-nntp.el (elmo-nntp-session): Define.
8365         (elmo-nntp-setting): Abolished.
8366         All other related portions are changed.
8367         (elmo-nntp-get-server-command): Changed argument.
8368         (elmo-nntp-set-server-command): Ditto.
8369         (elmo-nntp-xover-p): Ditto.
8370         (elmo-nntp-set-xover): Ditto.
8371         (elmo-nntp-listgroup-p): Ditto.
8372         (elmo-nntp-set-listgroup): Ditto.
8373         (elmo-nntp-list-active-p): Ditto.
8374         (elmo-nntp-set-list-active): Ditto.
8375         (elmo-nntp-xhdr-p): Ditto.
8376         (elmo-nntp-set-xhdr): Ditto.
8377         (elmo-nntp-flush-connection): Abolished.
8378         (elmo-nntp-get-connection): Abolished.
8379         (elmo-nntp-get-session): New function.
8380         (elmo-network-initialize-session): Defined.
8381         (elmo-network-authenticate-session): Ditto.
8382         (elmo-nntp-send-mode-reader): Changed argument.
8383         (elmo-nntp-send-command): Changed argument.
8384         All other related portions are changed.
8385         (elmo-nntp-read-response): Ditto.
8386         (elmo-nntp-read-raw-response): Ditto.
8387         (elmo-nntp-read-contents): Ditto.
8388         (elmo-nntp-read-body): Ditto.
8389         (elmo-nntp-goto-folder): Abolished.
8390         (elmo-nntp-select-group): New function.
8391         All other related portions are changed.
8392         (This function substitutes `elmo-nntp-goto-folder')
8393         (elmo-nntp-msgdb-create-by-header): Rewrite.
8394         (elmo-nntp-get-overview): Eliminated.
8395         (elmo-nntp-get-message): Ditto.
8396         (elmo-nntp-open-connection) Abolished.
8397         (elmo-nntp-read-msg): Rewrite.
8398         (elmo-nntp-post): Ditto.
8399         (elmo-nntp-send-data): Abolished.
8400         (elmo-nntp-send-buffer): New function.
8401         (elmo-nntp-send-data-line): Define as inline function.
8402         (elmo-nntp-get-folders-info-prepare): Use session as key.
8403         (elmo-nntp-groups-read-response): Changed argument.
8404         (elmo-nntp-retrieve-headers): Ditto.
8405         (elmo-nntp-msgdb-create-message): Ditto.
8406
8407         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8408         when searching by 'since' or 'before'.
8409
8410 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8411
8412         * elmo-version.el (toplevel): Use product-version-as-string for set
8413         verstion-string, if defined.
8414
8415 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8416
8417         * elmo-util.el: Doc fixes.
8418
8419 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8420
8421         * elmo-archive.el (toplevel): Use product-provide.
8422         * elmo-cache.el (toplevel): Ditto.
8423         * elmo-database.el (toplevel): Ditto.
8424         * elmo-date.el (toplevel): Ditto.
8425         * elmo-dop.el (toplevel): Ditto.
8426         * elmo-filter.el (toplevel): Ditto.
8427         * elmo-imap4.el (toplevel): Ditto.
8428         * elmo-internal.el (toplevel): Ditto.
8429         * elmo-localdir.el (toplevel): Ditto.
8430         * elmo-localnews.el (toplevel): Ditto.
8431         * elmo-maildir.el (toplevel): Ditto.
8432         * elmo-msgdb.el (toplevel): Ditto.
8433         * elmo-multi.el (toplevel): Ditto.
8434         * elmo-net.el (toplevel): Ditto.
8435         * elmo-nntp.el (toplevel): Ditto.
8436         * elmo-pipe.el (toplevel): Ditto.
8437         * elmo-pop3.el (toplevel): Ditto.
8438         * elmo-util.el (toplevel): Ditto.
8439         * elmo-vars.el (toplevel): Ditto.
8440         * elmo2.el (toplevel): Ditto.
8441         * mmelmo-1.el (toplevel): Ditto.
8442         * mmelmo-2.el (toplevel): Ditto.
8443         * mmelmo-imap4-1.el (toplevel): Ditto.
8444         * mmelmo-imap4-2.el (toplevel): Ditto.
8445         * mmelmo-imap4.el (toplevel): Ditto.
8446         * mmelmo.el (toplevel): Ditto.
8447
8448 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8449
8450         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8451         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8452
8453 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8454
8455         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8456         before splitting.
8457         (elmo-multi-split-number-alist): Ditto.
8458
8459 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8460
8461         * elmo-version.el: New file.  Use product.el.
8462         * elmo2.el: Add (require 'elmo-version).
8463         * elmo-vars.el (elmo-appname, elmo-version): Move to
8464         elmo-version.el
8465
8466 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8467
8468         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8469         `elmo-msgdb-expand-path'.
8470         (elmo-msgdb-load): Ditto.
8471         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8472         (elmo-generic-list-folder-unread): Rewrite.
8473         (elmo-generic-list-folder-important): Changed argument.
8474         (elmo-list-folder-unread): Ditto.
8475         (elmo-list-folder-important): Ditto.
8476         (elmo-folder-diff): Rewrite.
8477         (elmo-generic-folder-diff): New function.
8478         (elmo-multi-get-number-alist-list): Abolished
8479         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8480         (elmo-multi-folder-diff): Moved to elmo-multi.el
8481         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8482
8483         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8484         `elmo-msgdb-expand-path'.
8485         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8486         (elmo-pop3-read-msg): Ditto.
8487         (elmo-pop3-delete-msgs): Ditto.
8488         (elmo-pop3-folder-diff): New alias.
8489
8490         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8491         `elmo-msgdb-expand-path'.
8492         (elmo-pipe-list-folder-unread): Changed arguments.
8493         (elmo-pipe-list-folder-important): Ditto.
8494         (elmo-pipe-folder-diff): New alias.
8495
8496         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8497         `elmo-msgdb-expand-path'.
8498         (elmo-nntp-max-of-folder): Ditto.
8499         (elmo-nntp-msgdb-create): Ditto.
8500         (elmo-nntp-delete-msgs): Ditto.
8501         (elmo-nntp-folder-diff): New alias.
8502
8503         * elmo-multi.el (elmo-multi-folder-diff): New function.
8504         (elmo-multi-split-mark-alist): Ditto.
8505         (elmo-multi-split-number-alist): Ditto.
8506         (elmo-multi-mark-alist-list): Abolished (Renamed to
8507         elmo-multi-split-mark-alist).
8508         (elmo-multi-list-folder-unread): Rewrite.
8509         (elmo-multi-list-folder-important): Ditto.
8510         (elmo-multi-list-folder): Set `spec' as 1st argument for
8511         `elmo-msgdb-expand-path'.
8512         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8513         instead of `elmo-multi-get-number-alist-list'.
8514
8515         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8516         If 1st argument is not string, treat as spec.
8517         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8518         `elmo-msgdb-expand-path'.
8519         (elmo-msgdb-flist-load): Ditto.
8520         (elmo-msgdb-flist-save): Ditto.
8521         (elmo-msgdb-delete-path): Ditto.
8522         (elmo-msgdb-rename-path): Ditto.
8523
8524         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8525         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8526         (elmo-maildir-delete-mark-msgs): Ditto.
8527         (elmo-maildir-msgdb-create): Ditto.
8528         (elmo-maildir-read-msg): Ditto.
8529         (elmo-maildir-delete-msgs): Ditto.
8530         (elmo-maildir-list-folder-subr): Ditto.
8531         (elmo-maildir-search): Ditto.
8532         (elmo-maildir-get-msg-filename): Ditto.
8533         (elmo-maildir-pack-number): Ditto.
8534         (elmo-maildir-folder-diff): New alias.
8535
8536         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8537
8538         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8539         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8540         (elmo-localdir-folder-diff): New alias.
8541
8542         * elmo-internal.el (elmo-internal-list-folder-subr):
8543         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8544         (elmo-internal-list-folder-by-location): Ditto.
8545         (elmo-internal-msgdb-create): Ditto.
8546         (elmo-internal-delete-msgs): Ditto.
8547         (elmo-internal-read-msg): Ditto.
8548         (elmo-internal-folder-diff): New alias.
8549
8550         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8551         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8552         `elmo-msgdb-expand-path'.
8553         (elmo-imap4-list-folder-unread): Changed arguments.
8554         (elmo-imap4-list-folder-important): Ditto.
8555
8556         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8557         (elmo-filter-list-folder-important): Ditto.
8558         (elmo-filter-folder-diff): New function.
8559
8560         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8561
8562         * elmo-cache.el (elmo-cache-list-folder):
8563         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8564         (elmo-cache-copy-msgs): Ditto.
8565         (elmo-cache-folder-diff): New alias.
8566
8567         * elmo-archive.el (elmo-archive-list-folder-subr):
8568         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8569         (elmo-archive-get-archive-name): Ditto.
8570         (elmo-archive-create-file): Ditto.
8571         (elmo-archive-append-msg): Ditto.
8572         (elmo-archive-copy-msgs): Ditto.
8573         (elmo-archive-copy-msgs-froms): Ditto.
8574         (elmo-archive-get-msg-filename): Ditto.
8575         (elmo-archive-folder-diff): New alias.
8576
8577 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8578
8579         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8580         (elmo-pop3-stream-type-alist): New variable.
8581         (elmo-nntp-stream-type-alist): New variable.
8582
8583         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8584         (elmo-kill-buffer): Ditto.
8585         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8586         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8587         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8588         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8589         (elmo-imap4-get-spec): Take into account
8590         `elmo-imap4-stream-type-alist'.
8591
8592 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8593
8594         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8595         (elmo-nntp-list-folders-get-cache): Ditto.
8596
8597 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8598
8599         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8600         character before 'uid'.
8601
8602 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8603
8604         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8605
8606         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8607
8608         * elmo-util.el (elmo-number-set-member): New function.
8609         (elmo-number-set-append-list): Ditto.
8610         (elmo-number-set-append): Ditto.
8611
8612         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8613         Use `elmo-number-set-member'.
8614         (elmo-living-messages): Ditto.
8615         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8616         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8617
8618         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8619         (elmo-imap4-add-to-cont-list): Abolished.
8620         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8621         instead of elmo-imap4-add-to-cont-list.
8622
8623         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8624         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8625
8626         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8627
8628 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8629
8630         * elmo-util.el (elmo-condition-parse-search-value):
8631         Fixed date parsing.
8632
8633 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8634
8635         * elmo-util.el (elmo-condition-find-key-internal): New function.
8636         (elmo-condition-find-key): Ditto.
8637
8638         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8639         (elmo-msgdb-search-internal): Ditto.
8640         (elmo-msgdb-search): Ditto.
8641
8642 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8643
8644         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8645         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8646
8647         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8648         (elmo-nntp-search-primitive): Fixed problem when condition is
8649         'unmatch'.
8650
8651         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8652
8653         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8654         (elmo-nntp-xhdr-p): New macro.
8655         (elmo-nntp-set-xhdr): Ditto.
8656         (elmo-nntp-parse-xhdr-response): New function.
8657         (elmo-nntp-retrieve-field): Ditto.
8658         (elmo-nntp-search-primitive): Ditto.
8659         (elmo-nntp-search): Implemented.
8660
8661         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8662
8663         * elmo-archive.el (elmo-archive-search): Set all number list to
8664         `elmo-archive-field-condition-match'
8665
8666         * elmo-localdir.el (elmo-localdir-search): Likewise.
8667
8668         * elmo-maildir.el (elmo-maildir-search): Likewise.
8669
8670 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8671
8672         * elmo-msgdb.el (elmo-living-messages): New function.
8673         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8674         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8675         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8676         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8677         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8678         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8679         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8680         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8681         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8682         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8683         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8684
8685 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8686
8687         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8688
8689         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8690
8691         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8692
8693         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8694         arguments for `SEARCH' command.
8695         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8696         All other related portions are changed.
8697
8698         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8699
8700         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8701         (elmo-list-folder-unread): Rewrite.
8702         (elmo-list-folder-important): Ditto.
8703
8704         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8705         (elmo-condition-parse-error): New inline function.
8706         (elmo-read-search-condition): New function.
8707         (elmo-read-search-condition-internal): Ditto.
8708         (elmo-parse-search-condition): Rewrite.
8709         (elmo-condition-parse): New function.
8710         (elmo-condition-parse-or-expr): Ditto.
8711         (elmo-condition-parse-and-expr): Ditto.
8712         (elmo-condition-parse-primitive): Ditto.
8713         (elmo-condition-parse-search-value): Ditto.
8714         (elmo-buffer-field-primitive-condition-match): Ditto.
8715         (elmo-buffer-field-condition-match): Rewrite.
8716         (elmo-file-field-condition-match): Ditto.
8717
8718         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8719         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8720
8721         * elmo-internal.el (elmo-internal-search): Set `number' and
8722         `number-list' argument of `elmo-file-field-condition-match'.
8723
8724         * elmo-maildir.el (elmo-maildir-search): Ditto.
8725
8726         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8727         `msgdb' as argument instead of `mark-alist'.
8728         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8729         `overview'.
8730
8731         * elmo-multi.el: Likewise.
8732
8733         * elmo-pipe.el: Likewise.
8734
8735         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8736         (elmo-imap4-search-internal): Rewrite.
8737         (elmo-imap4-search): Ditto.
8738
8739         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8740         (elmo-filter-list-folder-unread): Ditto.
8741         (elmo-filter-list-folder-important): Ditto.
8742         (elmo-filter-search): Rewrite.
8743
8744         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8745         `number-list' argument of `elmo-file-field-condition-match'.
8746         (elmo-cache-search): Ditto.
8747
8748         * elmo-localdir.el: Likewise.
8749
8750         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8751         number-list and pass it to `elmo-buffer-field-condition-match'.
8752         (elmo-archive-field-condition-match): Pass `number-list' to
8753         `elmo-archive-field-condition-match'
8754
8755 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8756
8757         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8758         `listgroup'.
8759
8760         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8761         (elmo-folder-diff-async-callback-data): Ditto.
8762         (elmo-folder-diff-async): New function.
8763
8764         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8765         (elmo-network-session-cache-key): Use it as a prefix of the session
8766         name.
8767         (elmo-network-open-session): Ditto.
8768
8769         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8770         (elmo-imap4-status-callback-data): Ditto.
8771         (elmo-imap4-server-diff-async-callback): New variable.
8772         (elmo-imap4-server-diff-async-callback-data): Ditto.
8773         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8774         `elmo-imap4-status-callback-data'.
8775         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8776         `elmo-imap4-status-callback-data' as nil.
8777         (elmo-imap4-server-diff): Ditto.
8778         (elmo-imap4-server-diff-async-callback-1): New function.
8779         (elmo-imap4-server-diff-async): Ditto.
8780         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8781
8782 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8783
8784         * elmo-util.el (elmo-list-delete): Doc fix.
8785         (elmo-delete-lists): Abolish.
8786         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8787         instead of `elmo-delete-lists'.
8788
8789 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8790
8791         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8792         before `sort'.
8793
8794 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8795
8796         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8797         `elmo-imap4-literal-subr'.
8798         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8799         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8800
8801 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8802
8803         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8804         (elmo-archive-list-folder): Fix.
8805         (elmo-archive-max-of-folder): Fix.
8806
8807 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8808
8809         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8810          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8811         (elmo-localdir-append-msg): Ditto.
8812         (elmo-localdir-list-folder): Fix for `nonsort'.
8813         (elmo-localdir-list-folder-subr): Fix for `killed'.
8814         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8815         (elmo-maildir-list-folder-subr): Ditto.
8816         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8817         (elmo-archive-list-folder-subr): Ditto.
8818         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8819         (elmo-internal-list-folder-subr): Ditto.
8820
8821 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8822
8823         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8824
8825 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8826
8827         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8828
8829 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8830
8831         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8832         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8833
8834         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8835         before greeting.
8836         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8837         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8838
8839 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8840
8841         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8842
8843         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8844         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8845         before STORE command.
8846
8847 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8848
8849         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8850
8851         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8852         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8853         of `response'.
8854         (elmo-imap4-list-folders): Removed unused local variable.
8855         (elmo-network-initialize-session): Ditto.
8856         (elmo-imap4-delete-msg-by-id): Ditto.
8857         (elmo-imap4-parse-fetch): Ditto.
8858         (elmo-imap4-copy-msgs): Ditto.
8859         Use `dst-spec' instead of `dst-folder'.
8860         (elmo-network-authenticate-session): Check authenticate type `plain'.
8861
8862 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8863
8864         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8865         garbage checking.
8866         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8867         `elmo-imap4-response-value'.
8868         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8869
8870 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8871
8872         * elmo-imap4.el (elmo-imap4-send-command):
8873         Cause elmo-imap4-bye-error when current response is BYE.
8874         (elmo-imap4-arrival-filter): Changed greeting response value.
8875
8876         * elmo2.el (elmo-imap4-bye-error): Define.
8877
8878         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8879         (elmo-imap4-server-diff): Ditto.
8880         (elmo-imap4-response-bye-p): New macro.
8881         (elmo-imap4-response-error-text): Get text from BYE response.
8882         (elmo-imap4-read-response): Return if BYE response.
8883         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8884         (elmo-imap4-folder-exists-p): Ditto.
8885         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8886         (elmo-imap4-parse-bye): New function.
8887         (elmo-imap4-parse-response): Remove needless let.
8888         Call `elmo-imap4-parse-bye'.
8889
8890 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8891
8892         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8893         the mailbox does not exist.
8894         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8895
8896 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8897
8898         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8899
8900 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8901
8902         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8903
8904         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8905         (elmo-network-initialize-session-buffer): Defined.
8906
8907         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8908         Abolished.
8909         (mmelmo-imap4-get-mime-entity): Rewrite.
8910
8911         * elmo2.el (elmo-error): Capitalize error message.
8912
8913         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8914         (elmo-network-session-buffer): New macro.
8915         (elmo-network-open-session): Use it.
8916
8917         * elmo-imap4.el: Rewrite.
8918
8919 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8920
8921         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8922
8923 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8924
8925         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8926         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8927         (elmo-imap4-create-msgdb-from-overview-string): Use
8928         `elmo-msgdb-create-overview-from-buffer'.
8929
8930 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8931
8932         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8933         (elmo-imap4-default-hierarchy-delimiter): New variable.
8934         (elmo-imap4-list-folders): Use it.
8935
8936 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8937
8938         * elmo-net.el (elmo-network-open-session): Add user and
8939         stream-type for process-buffer name.
8940
8941         * elmo-pop3.el (elmo-network-initialize-session): Call
8942         buffer-disable-undo.
8943
8944         * elmo-imap4.el (elmo-network-initialize-session):
8945         Set current-buffer as an argument for `buffer-disable-undo'.
8946
8947         * elmo-pop3.el (elmo-network-close-session): Don't use
8948         `process-live-p'.
8949
8950         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8951         Set default as 'user.
8952
8953         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8954
8955         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8956         and `elmo-imap4-flush-connection'.
8957
8958         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8959         (elmo-pop3-get-spec): Assume auth as symbol.
8960         (elmo-open-network-stream): Moved to `elmo-net'.
8961
8962         * elmo-pop3.el (toplevel): Require 'elmo-net.
8963         Define `sasl-cram-md5' to silence byte compilier.
8964         (elmo-pop3-connection-cache) Abolished.
8965         (elmo-pop3-authenticator-alist) New variable.
8966         (elmo-pop3-session): Define.
8967         (elmo-pop3-connection-get-process): Abolished.
8968         (elmo-pop3-connection-get-buffer): Ditto.
8969         (elmo-pop3-close-connection): Ditto.
8970         (elmo-pop3-flush-connection): Ditto.
8971         (elmo-pop3-get-connection): Ditto.
8972         (elmo-pop3-get-session): New function.
8973         (Replacement for `elmo-pop3-get-connection').
8974         All other related modules are changed.
8975         (elmo-network-close-session): Define.
8976         (elmo-pop3-send-command): Abolished argument `buffer'.
8977         All other related modules are changed.
8978         (elmo-pop3-read-response): Likewise.
8979         (elmo-pop3-open-connection): Abolished.
8980         (elmo-pop3-auth-user): New function.
8981         (elmo-pop3-auth-apop): Ditto.
8982         (elmo-pop3-auth-cram-md5): Ditto.
8983         (elmo-pop3-auth-scram-md5): Ditto.
8984         (elmo-pop3-auth-digest-md5): Ditto.
8985         (elmo-network-initialize-session): Define.
8986         (elmo-network-authenticate-session): Ditto.
8987         (elmo-network-setup-session): Ditto.
8988
8989         * elmo-imap4.el (toplevel): Require 'elmo-net.
8990         (elmo-imap4-session): Define.
8991         (elmo-imap4-connection-cache): Abolished.
8992         (elmo-imap4-password-key): Ditto.
8993         (elmo-imap4-flush-connection): Ditto.
8994         (elmo-imap4-get-connection): Ditto.
8995         All other related modules are changed.
8996         (elmo-imap4-get-session): New function
8997         (Replacement for `elmo-imap4-get-connection').
8998         (elmo-imap4-read-response): Abolished argument `buffer'.
8999         All other related modules are changed.
9000         (elmo-imap4-send-command): Likewise.
9001         (elmo-imap4-select-folder): Abolished.
9002         All other related modules are changed.
9003         (elmo-imap4-select-mailbox): New function.
9004         (Replacement for `elmo-imap4-select-folder').
9005         (elmo-imap4-auth-login): Simplify.
9006         (Assume current buffer as process buffer)
9007         (elmo-imap4-auth-cram-md5): Ditto.
9008         (elmo-imap4-auth-digest-md5): Ditto.
9009         (elmo-imap4-login): Ditto.
9010         (elmo-imap4-open-connection): Abolished.
9011         (elmo-imap4-open-connection-1): Abolished.
9012         (elmo-network-initialize-sessoin): Define.
9013         (elmo-network-authenticate-session): Ditto.
9014         (elmo-network-setup-session): Ditto.
9015
9016         * elmo-net.el: New module.
9017
9018 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9019
9020         * elmo-util.el (elmo-define-error): New function.
9021
9022         * elmo2.el (elmo-error): Define.
9023         (elmo-open-error): Define.
9024         (elmo-authenticate-error): Define.
9025
9026         * elmo-imap4.el (elmo-imap4-error): Abolish.
9027         (elmo-imap4-error-type): Abolish.
9028         (elmo-imap4-error-process): Abolish.
9029         (elmo-imap4-error-message): Abolish
9030         (elmo-imap4-list-folders): Don't quote lambda.
9031         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9032         (elmo-imap4-parse-namespace): Ditto.
9033         (elmo-imap4-open-connection): Rewrite.
9034         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9035         (elmo-imap4-get-connection): Abolish local variable `result'.
9036
9037 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9038
9039         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9040         wrong-type-argument error when auth is nil.
9041
9042 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9043
9044         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9045         (elmo-default-nntp-stream-type): Ditto.
9046         (elmo-default-pop3-stream-type): Ditto.
9047         (elmo-network-stream-type-alist): Ditto.
9048         (elmo-default-imap4-ssl): Abolished.
9049         (elmo-default-nntp-ssl): Ditto.
9050         (elmo-default-pop3-ssl): Ditto.
9051
9052         * elmo-util.el: (toplevel): Removed needless requires.
9053         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9054         (elmo-open-network-stream): Open network stream according to
9055         the value of `elmo-network-stream-type-alist'.
9056         (elmo-get-network-stream-type): New function.
9057         (elmo-network-stream-type-spec-string): New macro.
9058         (elmo-network-stream-type-symbol): Ditto.
9059         (elmo-network-stream-type-function): Ditto.
9060
9061         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9062         network-stream-type. All other related portions are changed.
9063         (elmo-pop3-open-connection): Ditto.
9064
9065         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9066         network-stream-type. All other related portions are changed.
9067
9068         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9069         network-stream-type.All other related portions are changed.
9070         (elmo-imap4-error): New macro.
9071         (elmo-imap4-error-type): Ditto.
9072         (elmo-imap4-error-process): Ditto.
9073         (elmo-imap4-error-message): Ditto.
9074         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9075         (elmo-imap4-auth-cram-md5): Ditto.
9076         (elmo-imap4-auth-digest-md5): Ditto.
9077         (elmo-imap4-login): Ditto.
9078         (elmo-imap4-open-connection): Remove password entry if authentication
9079         was in vain.
9080         (elmo-imap4-user-at-host): Abolished.
9081         (elmo-imap4-password-key): New buffer local variable.
9082         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9083         using protocol, port, auth and stream-type.
9084
9085         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9086
9087 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9088
9089         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9090
9091         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9092
9093         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9094         (elmo-imap4-authenticator-alist): New variable.
9095         (elmo-imap4-open-connection-1): Rename from
9096         elmo-imap4-open-connection.
9097         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9098         only wraps elmo-imap4-open-connection-1.
9099         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9100         user-at-host.
9101         (elmo-imap4-auth-login): New function.
9102         (elmo-imap4-auth-cram-md5): New function.
9103         (elmo-imap4-auth-digest-md5): New function.
9104         (elmo-imap4-login): New function.
9105
9106 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9107
9108         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9109         function `error'.
9110
9111 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9112
9113         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9114
9115 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9116
9117         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9118
9119 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9120
9121         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9122         for server responses, quote `*' regardless of where it appears.
9123
9124 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9125
9126         * elmo-maildir.el (elmo-maildir-commit): New alias.
9127
9128 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9129
9130         * elmo-util.el (elmo-display-progress):
9131                 Use `progress-feedback-with-label'.
9132
9133 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9134
9135         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9136         (elmo-imap4-non-atom-char-regex): Ditto.
9137         (elmo-imap4-non-text-char-regex): Ditto.
9138         (elmo-imap4-literal-threshold): Ditto.
9139         (elmo-imap4-atom-p): New function.
9140         (elmo-imap4-quotable-p): Ditto.
9141         (elmo-imap4-nil): Ditto.
9142         (elmo-imap4-atom): Ditto.
9143         (elmo-imap4-quoted): Ditto.
9144         (elmo-imap4-literal-subr): Ditto.
9145         (elmo-imap4-literal): Ditto.
9146         (elmo-imap4-buffer-literal): Ditto.
9147         (elmo-imap4-string-subr): Ditto.
9148         (elmo-imap4-string): Ditto.
9149         (elmo-imap4-buffer-string): Ditto.
9150         (elmo-imap4-astring-subr): Ditto.
9151         (elmo-imap4-astring): Ditto.
9152         (elmo-imap4-buffer-astring): Ditto.
9153         (elmo-imap4-nstring): Ditto.
9154         (elmo-imap4-buffer-nstring): Ditto.
9155         (elmo-imap4-mailbox): New alias.
9156         (elmo-imap4-field-body): Ditto.
9157         (elmo-imap4-userid): Ditto.
9158         (elmo-imap4-password): Ditto.
9159         (elmo-imap4-format-quoted): New function.
9160         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9161         arguments and handle "atom", "quoted" and "literal" string here.
9162         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9163         `elmo-imap4-send-command'.
9164         (elmo-imap4-folder-exists-p): Likewise.
9165         (elmo-imap4-create-folder): Likewise.
9166         (elmo-imap4-delete-folder): Likewise.
9167         (elmo-imap4-rename-folder): Likewise.
9168         (elmo-imap4-max-of-folder): Likewise.
9169         (elmo-imap4-check-validity): Likewise.
9170         (elmo-imap4-sync-validity): Likewise.
9171         (elmo-imap4-server-diff): Likewise.
9172         (elmo-imap4-select-folder): Likewise.
9173         (elmo-imap4-copy-msgs): Likewise.
9174         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9175         (elmo-imap4-mark-set-on-msgs): Likewise.
9176         (elmo-imap4-read-part): Likewise.
9177         (elmo-imap4-read-msg): Likewise.
9178         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9179         `elmo-imap4-password' for `elmo-imap4-send-command'.
9180         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9181         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9182         `elmo-imap4-buffer-literal'.
9183         (elmo-imap4-append-msg): Likewise.
9184
9185         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9186         `delete' for removing dead connection from the connection cache.
9187         Move deletion of the process buffer after that.
9188         (elmo-imap4-list): Change `defsubst' to `defun'.
9189         (elmo-imap4-commit): Make error message verbose.
9190         (elmo-imap4-search): Ditto.
9191         (elmo-imap4-list): Ditto.
9192         (elmo-imap4-select-folder): Ditto.
9193         (elmo-imap4-copy-msgs): Ditto.
9194         (elmo-imap4-delete-msg-by-id): Ditto.
9195         (elmo-imap4-append-msg-by-id): Ditto.
9196         (elmo-imap4-append-msg): Ditto.
9197
9198 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9199
9200         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9201         when dired is used on XEmacs.
9202
9203 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9204
9205         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9206         instead of `append'.
9207         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9208         `elmo-plugged-p' directly.
9209         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9210         of `elmo-plugged-p' directly.
9211
9212         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9213         Eliminate unused variable.  Use `memq' for checking a process status.
9214         Use `cons' instead of `append' for updating the connection cache.
9215         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9216         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9217
9218 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9219
9220         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9221         `elmo-imap4-read-point' exactly.
9222
9223         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9224         the local variable `folder' to `mailbox'.
9225         Rename the argument `fld' to `folder'.
9226
9227 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9228
9229         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9230         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9231
9232 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9233
9234         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9235         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9236         (elmo-pop3-uidl-number-hash): Ditto.
9237         (elmo-pop3-size-hash): Ditto.
9238         (elmo-pop3-uidl-done): Ditto.
9239         (elmo-pop3-list-done): Ditto.
9240         (elmo-pop3-connection-get-process): New defmacro.
9241         (elmo-pop3-connection-get-buffer): Ditto.
9242         (elmo-pop3-close-connection): Delete buffer and process.
9243         (elmo-pop3-flush-connection): Don't delete buffer and process.
9244         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9245         Setup UIDL and size hash.
9246         (elmo-pop3-send-command-no-erase): Deleted
9247         (elmo-pop3-send-command): Added optional argument `no-erase'.
9248         (elmo-pop3-parse-uidl-response): New function.
9249         (elmo-pop3-parse-list-response): Set size hash.
9250         (elmo-pop3-list-location): New function.
9251         (elmo-pop3-list-by-uidl-subr): Ditto.
9252         (elmo-pop3-list-by-list): Ditto.
9253         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9254         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9255         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9256         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9257         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9258         Use uidl.
9259         (elmo-pop3-uidl-to-number): New function.
9260         (elmo-pop3-number-to-uidl): Ditto.
9261         (elmo-pop3-number-to-size): Ditto.
9262         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9263         Set number by use of uidl.
9264         (elmo-pop3-msgdb-create-message): Likewise.
9265         Set size, loc-alist in msgdb.
9266         (elmo-pop3-read-msg): Set number by use of uidl.
9267         Added optional argument `msgdb'.
9268         (elmo-pop3-delete-msg): Ditto.
9269         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9270         (elmo-pop3-commit): Close connection.
9271
9272         * elmo-pipe.el (elmo-pipe-max-of-folder):
9273         Bind `elmo-pop3-use-uidl' as nil.
9274         (elmo-pipe-drain): Ditto.
9275         Call `elmo-commit'.
9276
9277         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9278         (elmo-msgdb-overview-entity-set-size): New defsubst.
9279
9280 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9281
9282         * elmo-vars.el (elmo-use-killed-list): New variable
9283         (Renamed from `elmo-nntp-use-killed-list').
9284         (elmo-nntp-use-killed-list): Eliminated.
9285
9286         * elmo-msgdb.el (elmo-msgdb-expand-path):
9287         Changed expanding msgdb path for elmo-multi.
9288
9289         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9290         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9291         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9292         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9293         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9294         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9295         (toplevel): Deleted time-stamp line.
9296
9297         * elmo2.el (elmo-clear-killed ): Defined as function
9298         (Abolished defining as a backend function).
9299         All other related modules are changed.
9300
9301 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9302
9303         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9304
9305 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9306
9307         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9308
9309 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9310
9311         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9312
9313 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9314
9315         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9316         asynchronous folder check.
9317
9318         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9319
9320         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9321         `elmo-nntp-use-killed-list'.
9322         (elmo-nntp-list-folder): Use killed list.
9323         (elmo-nntp-max-of-folder): Ditto.
9324         (elmo-nntp-msgdb-create): Set killed list.
9325
9326         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9327
9328         * elmo2.el (elmo-clear-killed): New backend function.
9329         All other related modules are changed.
9330
9331 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9332
9333         * elmo-util.el (elmo-imap4-spec-folder): Use
9334         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9335         All callers changed.
9336
9337 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9338
9339         * mmelmo-2.el (initialize-instance):
9340         Use `mime-buffer-entity-buffer-internal' instead of
9341         `mime-entity-buffer'.
9342
9343         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9344         (mime-entity-body): Implemented.
9345         (mime-goto-header-start-point): Deleted.
9346         (mime-goto-body-end-point): Ditto.
9347         (mime-entity-point-min): Ditto.
9348         (mime-entity-point-max): Ditto.
9349         (mime-entity-children): Ditto.
9350         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9351         instead of `mime-entity-buffer'.
9352         (mime-entity-header-buffer): Ditto.
9353         (mime-entity-body-buffer): Ditto.
9354         (mime-write-entity-content): Ditto.
9355
9356         * pldap.el (ldap-static-if): New macro.
9357         (toplevel): Use it instead of `static-if'.
9358
9359 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9360
9361         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9362         included in `attrs' argument.
9363
9364 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9365
9366         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9367
9368         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9369         (ldap-ldif-safe-init-char-regexp): Ditto.
9370         (ldap-ldif-safe-string-regexp): Ditto.
9371         (ldap/ldif-safe-string-p): New macro.
9372         (ldap/ldif-insert-field): Ditto.
9373         (ldap-modify): Use it.
9374         (ldap-add): Ditto.
9375         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9376         (ldap-decode-attribute): Decode only when `attr' is consp.
9377         (ldap-delete): Bind `ret'.
9378         (toplevel): Require 'cl at compile time.
9379         Removed (require 'poe) and (require 'std11).
9380         (pldap-version): Eliminated.
9381         (ldap-search-basic): Removed auth and dn binding.
9382         (ldap-ldif-field-name-regexp): New constant.
9383         (ldap-ldif-field-head-regexp): Ditto.
9384         (ldap-ldif-next-field-head-regexp): Ditto.
9385         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9386         (ldap/field-end): New function.
9387         (ldap/field-body): Use it.
9388         (ldap/collect-field): Ditto.
9389         (ldap-search-basic): Use `ldap/field-body'.
9390
9391 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9392
9393         * pldap.el (ldap-default-attribute-encoder): New user option.
9394         (ldap/field-body): Decode base64 string.
9395         (ldap/collect-field): Ditto.
9396         (ldap-encode-attribute): New function.
9397         (ldap-add-entries): Use it.
9398         (ldap-modify-entries): Ditto.
9399         (ldap-search-entries): Enclosed decoding function with
9400         `with-temp-buffer' and set as unibyte.
9401         (ldap-search-basic): Set process buffer as unibyte.
9402
9403         * elmo-util.el (elmo-folder-identical-system-p):
9404         Eliminated name space checking.
9405
9406         * pldap.el: New module.
9407         toplevel: Changed condition to detect built-in ldap feature.
9408         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9409         (ldap-add): Added error handling.
9410         (ldap-modify): Ditto.
9411         (ldap-delete): Ditto.
9412
9413 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9414
9415         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9416         Initialize local variables with `let'.  Inline a temporary
9417         variable for the progress percentage.  Sort `setq' to reduce
9418         function call in the while-loop.
9419
9420         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9421         into the conditional branch.
9422
9423 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9424
9425         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9426         Move a conditional out of the while-loop.
9427
9428 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9429
9430         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9431         elmo-msgdb-overview-get-entity-by-number.
9432         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9433         throw.
9434
9435 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9436
9437         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9438         the local variable for a packed number self descriptively.
9439
9440 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9441
9442         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9443         * elmo-localdir.el (elmo-localdir-pack-number): Use
9444         `elmo-msgdb-overview-get-entity' instead of
9445         `elmo-msgdb-overview-get-entity-by-number'.
9446         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9447         (elmo-msgdb-search-overview-entity): Removed.
9448         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9449         by message-id or number.
9450         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9451         instead of `elmo-msgdb-overview-get-entity-by-number'.
9452
9453 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9454
9455         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9456         non-nil, use hash table for overview.
9457         (elmo-hash-maximum-size): New variable.
9458         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9459         (elmo-msgdb-make-overview-hashtb): New function.
9460         (elmo-msgdb-clear-overview-hashtb): New function.
9461         (elmo-clear-hash-val): New macro.
9462         All other related modules are changed.
9463
9464 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9465
9466         * elmo2.el (elmo-move-msgs): If there's other message with
9467         same message-id, don't use cache.
9468
9469 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9470
9471         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9472         number is already packed.
9473
9474 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9475
9476         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9477
9478 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9479
9480         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9481         All other related modules are changed.
9482
9483 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9484
9485         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9486         of refiling failure on Maildir.
9487
9488 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9489
9490         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9491         decoded mime-charset with cache.
9492         (elmo-msgdb-overview-entity-get-from): Ditto.
9493         (elmo-msgdb-overview-entity-get-subject): Ditto.
9494         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9495
9496 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9497
9498         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9499         (elmo-remove-passwd): Fill password with 0 before erase.
9500         * elmo-vars.el (elmo-passwd-life-time): New variable.
9501
9502 \f
9503 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9504
9505         * elmo-cache.el (elmo-buffer-cache-add):
9506         Set message cache buffer as unibyte.
9507
9508 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9509
9510         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9511         become nil.
9512
9513 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9514
9515         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9516         when display is finished.
9517         (elmo-nntp-msgdb-create): Ditto.
9518         (elmo-nntp-groups-read-response): Ditto.
9519         (elmo-nntp-retrieve-headers): Ditto.
9520         (elmo-nntp-msgdb-create-message): Ditto.
9521         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9522         (elmo-pop3-msgdb-create-message): Ditto.
9523
9524 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9525
9526         * elmo-maildir.el (elmo-maildir-msgdb-create):
9527         Use `elmo-msgdb-sort-by-date'.
9528
9529 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9530
9531         * elmo2.el (elmo-read-msg-no-cache):
9532         Eliminated arguments after `outbuf'.
9533         Don't use cache even if it exists.
9534         (elmo-read-msg): Don't pass arguments after `outbuf' to
9535         `elmo-read-msg-no-cache'.
9536
9537 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9538
9539         * elmo-archive.el (elmo-archive-list-folders):
9540         Use `file-name-directory' if base folder does not exist.
9541
9542 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9543
9544         * elmo-archive.el (elmo-archive-list-folders): Don't use
9545         `file-name-directory'.
9546
9547 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9548
9549         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9550         If `force' is non-nil, try flushing all operation queues.
9551
9552 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9553
9554         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9555         as-binary-process.
9556
9557 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9558
9559         * elmo-util.el (elmo-display-progress): Fixed.
9560
9561 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9562
9563         * elmo-util.el (elmo-display-progress): New function.
9564         All other related modules are changed.