* elmo-imap4.el (elmo-imap4-folder-list-flagged)
[elisp/wanderlust.git] / elmo / ChangeLog
1 2010-03-17  David Maus  <dmaus@ictsoc.de>
2
3         * elmo-imap4.el (elmo-imap4-folder-list-flagged)
4         (elmo-imap4-search-internal-primitive): Pass filter type to imap
5         search when performing search for flagged messages.
6
7 2010-01-22  Vitaly Mayatskih  <v.mayatskih@gmail.com>
8
9         * modb-standard.el (modb-standard-save-entity): Use
10         `modb-standard-cleanup-stale-entities' to clean up stale entity
11         files in modb cache.
12         * elmo-imap4.el (elmo-network-authenticate-session): Ask for
13         capabilities after login.
14
15 2010-01-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
16
17         * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
18         indent (only cosmetic fix).
19
20 2010-01-15  Vitaly Mayatskih  <v.mayatskih@gmail.com>
21
22         * elmo-version.el (elmo-version): Up to 2.15.9.
23
24         * elmo-imap4.el (elmo-imap4-elist): New function
25         * elmo-imap4.el (elmo-imap4-parse-response): Added support for
26         ESEARCH feature (RFC4731).
27         * elmo-imap4.el (toplevel): Require time-stamp
28         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
29         elmo-imap4-read-response elmo-imap4-read-untagged
30         elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
31         logging format.
32         * elmo-imap4.el (elmo-folder-list-messages-plugged,
33         elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
34         for full uid range on folder entering, retrieve updates only for
35         newly appeared messages.
36         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
37         elmo-imap4-read-response, elmo-imap4-read-untagged,
38         elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
39         to format-time-string.
40         * elmo-vars.el (toplevel): New custom
41         `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
42         flag for some buggy servers.
43         * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
44
45 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
46
47         * acap.el (acap-parse-response): Fix comment-out style. Use three
48         semicolons, that should start at the left margin.
49         See. also (Info-goto-node "(elisp)Comment Tips").
50         * elmo.el (toplevel, elmo-message-match-condition)
51         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
52         Ditto.
53         * elmo-archive.el (elmo-archive-suffix-alist)
54         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
55         (elmo-archive-method-list)
56         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
57         Ditto.
58         * elmo-imap4.el (toplevel)
59         (elmo-imap4-send-command, elmo-imap4-check-validity)
60         (elmo-imap4-fetch-callback-1-subr)
61         (elmo-network-initialize-session, elmo-server-diff-async)
62         (elmo-imap4-folder-diff-plugged): Ditto
63         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
64         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
65         * elmo-net.el (elmo-network-close-session): Ditto.
66         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
67         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
68         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
69         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
70         (elmo-number-set-delete)
71         (elmo-cache-get-oldest-cache-file-entity): Ditto.
72
73 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
74
75         * elmo-version.el (elmo-version): Up to 2.15.8.
76
77         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
78         `with-current-buffer' instead of `save-excursion' (for suppress
79         compile warnings).
80
81         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
82         instead of `int-to-string'.
83         * elmo-archive.el (elmo-archive-message-fetch-internal)
84         (elmo-archive-folder-message-make-temp-files)
85         (elmo-archive-folder-append-buffer)
86         (elmo-folder-delete-messages-internal)
87         (elmo-archive-msgdb-create-entity)
88         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
89         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
90         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
91         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
92         * elmo-imap4.el (elmo-imap4-make-number-set-list)
93         (elmo-folder-list-subfolders): Ditto.
94         * elmo-localdir.el (elmo-message-file-name)
95         (elmo-folder-message-make-temp-files)
96         (elmo-localdir-msgdb-create-entity)
97         (elmo-folder-append-messages-*-localdir)
98         (elmo-folder-pack-numbers): Ditto.
99         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
100         * elmo-map.el (elmo-location-map-key): Ditto.
101         * elmo-nntp.el (elmo-nntp-folder-postfix)
102         (elmo-nntp-folder-list-subfolders)
103         (elmo-nntp-folder-msgdb-create): Ditto.
104
105         * elmo.el (elmo-crosspost-message-alist-save): Don't use
106         `function' for `lambda'.
107         * elmo-archive.el (elmo-archive-folder-list-subfolders)
108         (elmo-folder-append-messages-*-archive)
109         (elmo-folder-delete-messages-internal): Ditto.
110         * elmo-date.el (elmo-replace-in-string): Ditto.
111         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
112         (elmo-folder-list-flagged): Ditto.
113         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
114         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
115         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
116
117 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
118
119         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
120         `elmo-dop-spool-folder' was used before it was defined"; Use
121         `defun' instead.
122
123         * pldap.el (ldap/ldif-safe-string-p): macro to function.
124         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
125
126         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
127         `mapcar'; Suppress compile warning.
128         * elmo-imap4.el (elmo-network-initialize-session-buffer)
129         (elmo-imap4-search-internal-primitive): Ditto.
130         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
131         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
132
133         * elmo-imap4.el (elmo-imap4-parse-address-list)
134         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
135         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
136         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
137         `(string-to-char " ")' instead of `? ', `?\ '.
138
139 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
140
141         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
142         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
143         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
144         `function' for lambda.
145
146         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
147         `string-to-number' instead of `string-to-int'.
148
149         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
150         instead of `save-excursion' (for suppress compile warnings).
151         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
152         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
153         (elmo-nntp-post): Ditto.
154
155 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
156
157         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
158         Mule-UCS (to-utf-16).
159         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
160         Emacs 23.
161
162 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
163
164         * utf7.el (utf7-find-coding-system-without-bom): New Function.
165         (utf7-utf-16-coding-system): use no-BOM coding system.
166         (utf7-get-u16char-converter): remove workaround for BOM.
167
168 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
169
170         * elmo-util.el (elmo-union): New function, make a union of two lists.
171
172         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
173         mime-view when displaying malformed base64 attach.
174
175         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
176         (removed duplicated code)
177
178         * modb-standard.el (modb-standard-cleanup-stale-entities): New
179         function, Remove stale entities from elmo's cache.
180
181 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
182
183         * elmo-version.el (elmo-version): Up to 2.15.7.
184
185 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
186
187         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
188         default value to `--auto-update'.
189
190 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
191
192         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
193         Add `elmo-pop3-read-point' barrier.
194
195 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
196
197         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
198         goto the previous end-point insead of the head-point, and use
199         `search-forward' instead of `re-search-forward'.
200
201 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
202
203         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
204
205 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
206
207         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
208         case-insensitive fashion.
209
210 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
211
212         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
213
214 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
215
216         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
217         `eval-and-compile' for suppress compile warnings.
218
219         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
220         instead of `defun-maybe'
221
222         * elmo-util.el: Add (eval-when-compile (require 'static)).
223
224 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
225
226         * mmimap.el: Remove (require 'static).
227         * acap.el: Ditto.
228
229         * elmo-flag.el: Move ';;; Code:' comment.
230         * elmo-imap4.el: Ditto.
231         * elmo-net.el: Ditto.
232
233         * elmo-version.el (product-provide): Fix comment.
234
235 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
236
237         * slp.el: Add (eval-when-compile (require 'cl)).
238         * elmo-date.el: Ditto.
239         * elmo-pop3.el: Ditto.
240         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
241
242 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
243
244         * modb.el (elmo-msgdb-match-condition-primitive): Use
245         `string-to-number' instead of `string-to-int'.
246
247         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
248         (elmo-msgdb-message-match-condition)
249         (elmo-msgdb-create-message-entity-from-buffer): Use
250         `string-to-number' instead of `string-to-int'.
251
252         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
253         instead of `string-to-int'.
254
255         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
256         instead of `string-to-int'.
257
258         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
259         `string-to-number' instead of `string-to-int'.
260
261         * elmo-nntp.el (elmo-nntp-make-msglist)
262         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
263         (elmo-nntp-create-msgdb-from-overview-string)
264         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
265         (elmo-nntp-search-primitive): Use `string-to-number' instead of
266         `string-to-int'.
267
268         * elmo-net.el (elmo-net-folder-set-parameters): Use
269         `string-to-number' instead of `string-to-int'.
270
271         * elmo-localdir.el (elmo-localdir-list-subr): Use
272         `string-to-number' instead of `string-to-int'.
273
274         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
275         `string-to-number' instead of `string-to-int'.
276
277         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
278         instead of `string-to-int'.
279
280         * elmo-archive.el (elmo-archive-list-folder-subr): Use
281         `string-to-number' instead of `string-to-int'.
282
283 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
284
285         * elmo-util.el (elmo-get-passwd): Fix typo.
286
287         * elmo-nntp.el (elmo-nntp-get-server-command)
288         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
289         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
290         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
291         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
292
293         * elmo-imap4.el (elmo-imap4-debug)
294         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
295         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
296         (elmo-imap4-response-value, elmo-imap4-response-error-text)
297         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
298         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
299         (elmo-imap4-identical-system-p): New backquote style.
300
301 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
302
303         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
304         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
305         (elmo-dop-queue-arguments): Ditto.
306
307         * elmo-date.el (elmo-match-substring): New backquote style.
308         (elmo-match-string, elmo-match-buffer): Ditto.
309         (elmo-date-make-sortable-string): Ditto.
310
311         * elmo-archive.el (elmo-archive-get-method):New backquote style.
312         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
313
314         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
315         style.
316
317         * elmo-net.el (elmo-network-stream-type-spec-string): New
318         backquote style.
319         (elmo-network-stream-type-symbol): Ditto.
320         (elmo-network-stream-type-feature): Ditto.
321         (elmo-network-stream-type-function): Ditto.
322         (elmo-network-session-buffer): Ditto.
323
324         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
325         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
326         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
327         (elmo-bind-directory, elmo-set-work-buf): Ditto.
328
329         * elmo.el (elmo-folder-send): New backquote style.
330
331 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
332
333         * pldap.el (ldap-static-if): New backquote style.
334         (ldap/ldif-safe-string-p): Ditto.
335         (ldap/ldif-insert-field): Ditto.
336
337         * elmo-version.el (elmo-version): Up to 2.15.6.
338
339 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
340
341         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
342         messages with \Deleted flag.
343         (elmo-folder-delete-messages-plugged): Ask before sending expunge
344         command if there are messages with \Deleted flag.
345
346 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
347
348         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
349         http://seclists.org/bugtraq/2007/Apr/0018.html
350         (Suggested by Tatsuya Kinoshita)
351
352 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
353
354         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
355         with \Noselect attribute.
356
357 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
358
359         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
360         hierarchical folder structure with UW-imapd.
361
362 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
363
364         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
365         when the LOGINDISABLED capability is advertised.
366
367 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
368
369         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
370
371 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
372
373         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
374         `entity'.
375         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
376         if the message entity is exists.
377
378 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
379
380         * elmo-util.el (elmo-msgdb-insert-file-header): Call
381         `elmo-delete-cr-buffer'.
382
383         * elmo-localdir.el (elmo-message-fetch-internal): Use
384         `insert-file-contents-as-raw-text' instead of
385         `insert-file-contents-as-binary'.
386
387         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
388
389 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
390
391         * elmo-imap4.el (elmo-network-initialize-session): Check to
392         retrieve a whole greeting message.
393
394 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
395
396         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
397
398 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
399
400         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
401         (elmo-progress-notify): Use it instead of `plist-get'.
402
403 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
404
405         * elmo.el (elmo-generic-folder-append-messages): Remove unused
406         variable `table'.
407
408 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
409
410         * elmo-pipe.el (elmo-folder-set-plugged): Define.
411
412 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
413
414         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
415         (elmo-spam-list-spam-messages): Check it option.
416
417 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
418
419         * elmo-util.el (elmo-with-progress-display): Return the value
420         of the last form in `body'.
421
422 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
423
424         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
425         `elmo-progress-counter' as t when a query callback returns nil.
426         (elmo-progress-clear): New function.
427         (elmo-progress-done): Split into `elmo-progress-clear'.
428         (elmo-progress-notify): Update a total slot when it is nil.
429         (elmo-with-progress-display): Call `elmo-progress-clear' in
430         unwind-protect and move calling `elmo-progress-done' to outside.
431
432         * elmo-imap4.el (elmo-imap4-find-next-line): Call
433         `elmo-progress-notify' with :total parameter instead of
434         `elmo-progress-counter-set-total'.
435
436 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
437
438         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
439         Make it interactive.
440         (elmo-progress-start): Avoid updating `elmo-progress-counter'
441         when a query callback returns nil.  Return a progress counter
442         instead of t whenever a start callback was called.
443
444 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
445
446         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
447         (elmo-imap4-send-command): Use it.
448         (elmo-network-initialize-session): Ditto.
449         (elmo-network-setup-session): Ditto.
450         (elmo-folder-msgdb-create-plugged): Ditto.
451
452 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
453
454         * elmo-util.el (elmo-progress-done): Fix a miss refer to
455         `elmo-progress-counter'.
456
457 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
458
459         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
460         (elsp-bsfilter-list-spam-filter): New function.
461         (elsp-bsfilter-start-list-spam): Ditto.
462         (elsp-bsfilter-read-list-spam): Ditto.
463         (elmo-spam-list-spam-messages): Use async process to display
464         progress message by each message.
465
466 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
467
468         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
469         of flushing previously inserted message contents.
470
471         * elmo-imap4.el (elmo-folder-search): Fix return value.
472
473 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
474
475         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
476         of reporter is enable or not.
477
478 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
479
480         * elmo-util.el (elmo-list-bigger-diff): Abolish.
481         (elmo-display-progress): Ditto.
482         (elmo-progress-counter-alist): Ditto.
483         (elmo-progress-set): Ditto.
484         (elmo-progress-clear): Ditto.
485         (elmo-progress-counter-all-value): Rename to
486         `elmo-progress-counter-total'.
487         (elmo-progress-counter-format): Rename to
488         `elmo-progress-counter-action'.
489         (elmo-progress-counter): New internal variable.
490         (elmo-progress-callback-function): Ditto.
491         (elmo-progress-counter-label): New function.
492         (elmo-progress-counter-set-total): Ditto.
493         (elmo-progress-counter-set-action): Ditto.
494         (elmo-progress-call-callback): Ditto.
495         (elmo-progress-start): Ditto.
496         (elmo-progress-done): Ditto.
497         (elmo-progress-notify): Rewrite.
498         (elmo-with-progress-display): Remove first argument
499         `condition'. Add optional argument `var' in `spec'.
500
501         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
502         (elmo-display-retrieval-progress-threshold): Ditto.
503         (elmo-inhibit-display-retrieval-progress): Ditto.
504
505         * Replace all pair of `elmo-progress-set' and
506         `elmo-progress-clear' into `elmo-with-progress-display'.
507
508         * Replace to call `elmo-display-progress' into pair of
509         `elmo-progress-notify' and `elmo-with-progress-display'.
510
511         * elmo-version.el (elmo-version): Up to 2.15.5.
512
513 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
514
515         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
516         `cond'.
517
518 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
519
520         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
521         cleanup-forms [wl:14027].
522
523 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
524
525         * elmo-flag.el (elmo-global-flag-set-internal): Use
526         `elmo-copy-file' by priority when the message is a file.
527
528 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
529
530         * elmo.el: Fix typo: disptch -> dispatch.
531
532 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
533
534         * elmo.el (elmo-file-tag): New class.
535         (elmo-append-messages-disptch-table): New constant.
536         (elmo-folder-type-p): New function.
537         (elmo-folder-append-messages): Redefine as function.
538
539         * elmo-null.el (elmo-folder-append-messages): Renamed from
540         `elmo-folder-append-messages'.
541
542         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
543         (elmo-folder-append-messages-*-maildir): Renamed from
544         `elmo-folder-append-messages'.
545
546         * elmo-localdir.el (elmo-localdir-folder): Inherit
547         `elmo-file-tag'.
548         (elmo-folder-append-messages-*-localdir): Renamed from
549         `elmo-folder-append-messages'.
550
551         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
552         from `elmo-folder-append-messages'.
553
554         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
555         `elmo-folder-append-messages'.
556
557         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
558         function.
559         (elmo-folder-append-messages-*-filter): Ditto.
560
561         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
562
563         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
564         (elmo-folder-append-messages-*-pipe): Renamed from
565         `elmo-folder-append-messages'.
566
567         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
568
569         * elmo-file.el (elmo-file-folder): Ditto.
570
571         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
572
573         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
574         from `elmo-folder-append-messages'
575
576 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
577
578         * elmo-map.el (elmo-location-map-setup): Change an argument
579         `locations' to optional.
580         (elmo-location-map-clear): Abolish.
581         (elmo-folder-clear): Follow the API change.
582
583         * elmo-pop3.el (elmo-folder-clear): Ditto.
584
585         * elmo-pop3.el (toplevel): Require elmo-map.
586         (elmo-pop3-folder): Inherit elmo-location-map and abolish
587         location-alist slot (All other related portions are changed).
588         (elmo-pop3-folder-use-uidl): New function.
589         (elmo-folder-msgdb-create): Don't sort message entities.
590         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
591         (elmo-pop3-number-to-size): Convert return value to number.
592         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
593         working buffer.
594
595         * elmo-map.el: Use `location-map' as a variable name for instance
596         instead of `mapper'.
597         (elmo-location-map-setup): Return location alist.
598         (elmo-location-map-update): Ditto.
599
600 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
601
602         * elmo-map.el (elmo-location-map): New class; split location and
603         number mapping from elmo-map-folder (All other related portions
604         are changed).
605
606         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
607         change.
608
609         * elmo-version.el (elmo-version): Up to 2.15.4.
610
611 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
612
613         * elmo-vars.el (elmo-use-hardlink): New user option.
614
615         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
616         `elmo-use-hardlink'.
617
618         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
619         killed-list.
620         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
621         instead of `*-internal'. Use `elmo-with-progress-display'.
622
623 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
624
625         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
626         `elmo-spam-process-messages-as-mbox'.
627
628         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
629
630 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
631
632         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
633         argument BUFFER of `call-process'.
634
635 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
636
637         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
638         args.
639         (elsp-bsfilter-list-spam-files): Ditto.
640
641 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
642
643         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
644         (elmo-spam-bsfilter-max-messages-per-process): New use option.
645         (elmo-spam-bsfilter-debug): Fix a group.
646         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
647         `--homedir'.
648         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
649         (elsp-bsfilter-list-spam-files): New function.
650         (elmo-spam-list-spam-messages): Define.
651         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
652         (elmo-spam-bsfilter-register-messages): New function.
653         (elmo-spam-register-spam-messages): Define.
654         (elmo-spam-register-good-messages): Ditto.
655
656         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
657
658         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
659         `nconc' and `consp'.
660
661 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
662
663         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
664         hash table to test whether a location is exists.
665
666 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
667
668         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
669         even if some error occurred.
670
671         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
672         meaningless unwind-protect.
673
674         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
675         start-number correctly.
676         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
677         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
678
679 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
680
681         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
682         (elmo-folder-initialize): Use it.
683         (elmo-global-flag-replace-referrer): New function.
684
685         * elmo.el (toplevel): Added autoload setting for
686         `elmo-global-flag-replace-referrer'.
687         (elmo-folder-rename): Rewrite the last change use
688         `elmo-global-flag-replace-referrer'.
689
690         * elmo-pipe.el (elmo-folder-rename): Call
691         `elmo-global-flag-replace-referrer'.
692
693 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
694
695         * elmo.el (elmo-folder-rename): Set meta data for global flags
696         follow the rename.
697
698 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
699
700         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
701         as 'not-loaded.
702         (elmo-folder-close): Ditto.
703         (elmo-filter-folder-number-list-loaded-p): New function.
704         (elmo-filter-folder-number-list): Check whether loaded or not.
705         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
706         of `elmo-filter-folder-number-list-internal'.
707         (elmo-folder-delete-messages): Ditto.
708         (elmo-folder-length): Check whether number-list is loaded or not.
709
710 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
711
712         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
713         field `real field' into each element of list.
714         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
715         (elmo-msgdb-message-entity-field): Ditto.
716         (modb-entity-ml-info-real-fields): New function.
717
718         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
719
720         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
721         `elmo-msgdb-extra-fields'.
722
723 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
724
725         * elmo-util.el (elmo-passwd-alist-load): Move point to min
726         position before read.
727
728 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
729
730         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
731         (elmo-global-flags-initialize): Ditto.
732
733 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
734
735         * elmo-archive.el (toplevel): Don't require emu, std11
736         and elmo-localdir.
737
738         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
739         definition.
740
741 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
742
743         * elmo.el (elmo-folder-confirm-appends): Display folder name.
744
745 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
746
747         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
748         literals.
749
750 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
751
752         * elmo-maildir.el (elmo-maildir-list-location): Reduce
753         `elmo-get-last-modification-time' call.
754
755 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
756
757         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
758         expression.
759         (elmo-maildir-set-mark): Ditto.
760         (elmo-maildir-delete-mark): Ditto.
761
762 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
763
764         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
765         optional argument `separators'.
766
767 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
768
769         * elmo.el (cache-changed): Abolish.
770         (status-changed): New signal.
771         (elmo-message-killed-p): New generic function and define for
772         elmo-folder.
773         (elmo-folder-recover-messages): Ditto.
774         (elmo-message-set-cached): Emit signal `status-changed' instead of
775         `cache-changed'.
776         (elmo-message-status): New macro.
777         (elmo-message-status-folder): Ditto.
778         (elmo-message-status-number): Ditto.
779         (elmo-message-status-set-flags): Ditto.
780         (elmo-message-status-set-killed): Ditto.
781         (elmo-message-status-flags): New function.
782         (elmo-message-status-cached-p): Ditto.
783         (elmo-message-status-killed-p): Ditto.
784
785         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
786         `status-changed' instead of `cache-changed'.
787         (elmo-folder-recover-messages): Define.
788         (elmo-message-killed-p): Ditto.
789
790         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
791         `status-changed' instead of `cache-changed'.
792
793         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
794         (elmo-message-killed-p): Define.
795         (elmo-folder-recover-messages): Ditto.
796
797         * elmo-version.el (elmo-version): Up to 2.15.3.
798
799 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
800
801         * elmo-signal.el (elmo-signal-bindings): Use cons to append
802         element into list.
803         (elmo-define-signal-handler): Add docstring.
804         (elmo-define-signal-filter): Ditto.
805
806         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
807
808 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
809
810         * elmo-util.el (elmo-flatten): Don't use recursive call.
811
812         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
813         assignment.
814         (elmo-folder-message-make-temp-files): Use `number-to-string'
815         instead of `int-to-string'.
816
817 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
818
819         * elmo-search.el (elmo-folder-delete-messages): Define.
820
821 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
822
823         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
824         customization type.
825         (elmo-mailing-list-count-spec-list): Ditto.
826
827         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
828         for `list-id'.
829
830 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
831
832         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
833         handling.
834
835 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
836
837         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
838         (elmo-mailing-list-count-spec-list): Ditto.
839
840         * elmo-util.el (elmo-map-until-success): New function.
841         (elmo-string-match-substring): Ditto.
842         (elmo-find-list-match-value): Ditto.
843
844         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
845         Removed.
846         (modb-entity-extract-ml-info-from-subject): Ditto.
847         (modb-entity-extract-ml-info-from-return-path): Ditto.
848         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
849         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
850         (modb-entity-extract-ml-info-from-mailman): Ditto.
851         (modb-entity-extract-mailing-list-info-functions): Ditto.
852         (modb-entity-extract-mailing-list-info): Rewrite with
853         `elmo-find-list-match-value'.
854
855 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
856
857         * elmo-net.el (elmo-network-session-retry-count): New user option.
858         (elmo-network-session-buffer-name): New internal function.
859         (elmo-network-session-buffer-create): Ditto.
860         (elmo-network-open-session): Retry open network session
861         `elmo-network-session-retry-count' times.
862
863 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
864
865         * elmo-util.el (elmo-list-filter): Rewritten.
866
867 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
868
869         * elmo-util.el (elmo-string-member): Allow symbol element in list.
870
871 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
872
873         * elmo-search.el (elmo-make-search-engine): Use prefix
874         `elmo-search-' for require symbol instead of `else-'.
875         (elmo-search-engine-extprog): New class.
876         (elmo-search-engine-do-search): Remove nil from argument
877         list. Added argument pattern to evaluate element as function.
878         (elmo-search-engine-local-file): Derived from
879         `elmo-search-engine-extprog'.
880         (elmo-search-engine-create-message-entity): Check existance of file.
881         (elmo-search-engine-fetch-message): Ditto.
882         (elmo-search-namazu-index): Follow the API change.
883         (elmo-search-grep-target): Ditto.
884
885 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
886
887         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
888         characters of working buffer.
889
890         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
891         Does not bind `default-mime-charset'.
892         (elmo-msgdb-create-message-entity-from-buffer): Removed
893         unnecessary local bind.
894
895         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
896         function.
897         (modb-entity-extract-mailing-list-info-functions): Added it.
898
899 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
900
901         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
902         when number and message-id are non-nil.
903
904         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
905
906         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
907         conditional steatment.
908         (elmo-pop3-auth-apop): Likewise.
909         (elmo-network-authenticate-session): Likewise.
910
911 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
912
913         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
914         symbol `fill-column'.
915         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
916         decode field value.
917
918         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
919         (elmo-decoded-field-body): Ditto.
920
921 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
922
923         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
924         `tokens' to `params'.
925
926 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
927
928         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
929         working buffer.
930
931 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
932
933         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
934         decide index.
935
936 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
937
938         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
939         Set default value as nil.
940         (toplevel): Register search engines by
941         `elmo-search-register-engine' if there are not defined.
942
943         * elmo.el (autoload): Added autoload setting for
944         `elmo-search-register-engine'.
945
946 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
947
948         * elmo.el (toplevel): `[' is redefined as the prefix of the search
949         folder instead of nmz folder.
950         (elmo-nmz-default-index-path): Added obsolete variable setting.
951         (elmo-nmz-index-alias-alist): Ditto.
952         (elmo-nmz-use-drive-letter): Ditto.
953
954         * elmo-search.el (elmo-search-register-engine): New function.
955
956         * elmo-nmz.el: Removed.
957
958         * elmo-version.el (elmo-version): Up to 2.15.2.
959
960 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
961
962         * elmo-search.el: New file.
963
964 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
965
966         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
967         condition `larger' and `smaller'.
968
969 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
970
971         * elmo-util.el (elmo-safe-filename): Rewrite to replace
972         `"' (double quote) into "_Q_".
973
974 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
975
976         * elmo-net.el (elmo-net-quote-chars): Abolish.
977         (elmo-net-format-quoted): Ditto.
978
979 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
980
981         * elmo.el (elmo-get-folder-function): New variable.
982         (elmo-get-folder): New function.
983         (elmo-folder-rename): Call `elmo-make-folder' with specified
984         mime-charset.
985
986         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
987         `elmo-make-folder'.
988         (elmo-split-subr): Ditto.
989
990         * elmo-multi.el (elmo-folder-initialize): Ditto.
991
992         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
993
994         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
995         (elmo-flag-get-folder): Ditto.
996
997         * elmo-filter.el (elmo-folder-initialize): Ditto.
998
999         * elmo-access.el (elmo-folder-initialize): Ditto.
1000         (elmo-access-folder-update-children): Ditto.
1001
1002         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1003         (elmo-dop-queue-flush): Ditto.
1004         (elmo-folder-append-buffer-dop-delayed): Ditto.
1005         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1006         mime-charset.
1007
1008         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1009         instead of `elmo-make-folder'.
1010         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
1011         destination folder instead of send `elmo-folder-rename-internal'.
1012
1013         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1014         slot of subfolder instead of create it.
1015
1016 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1017
1018         * elmo-util.el (elmo-collect-separators): New function.
1019         (elmo-collect-separators-internal): Ditto.
1020         (elmo-collect-trail-separators): Ditto.
1021         (elmo-parse-separated-tokens): Ditto.
1022         (elmo-parse-separated-tokens-internal): Ditto.
1023         (elmo-quote-syntactical-element): Ditto.
1024
1025         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1026         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1027
1028         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1029         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1030         (elmo-nntp-folder-list-subfolders): Quote a user name.
1031
1032         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1033         (elmo-net-parse-network): Abolish.
1034         (elmo-net-folder-set-parameters): New function.
1035         (elmo-folder-initialize): Follow the above change.
1036
1037         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1038         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1039         (elmo-folder-list-subfolders): Use
1040         `elmo-quote-syntactical-element' instead of
1041         `elmo-net-format-quoted' to quote mailbox and user name.
1042
1043 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1044
1045         * elmo-util.el (elmo-token-valid-p): New function.
1046         (elmo-parse-token): Add optional argument `requirement'.
1047         (elmo-parse-prefixed-element): Likewise.
1048
1049         * elmo-net.el (elmo-net-quote-chars): Renamed from
1050         `elmo-net-quote-chars-regexp'.
1051         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1052
1053         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1054         by info document. Check token `uidl' is started an alphabet.
1055
1056         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1057         by info document. Check token `user' is started an alphabet.
1058
1059         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1060         (elmo-folder-list-subfolders): Quote user.
1061
1062 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1063
1064         * elmo-util.el (elmo-quoted-specials-list): New constant.
1065         (elmo-quoted-token): New function.
1066
1067         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1068         (elmo-net-format-quoted): New function.
1069         (elmo-net-parse-network): Ditto.
1070         (elmo-folder-initialize): Use it.
1071
1072         * elmo-nntp.el (elmo-folder-initialize): Use
1073         `elmo-net-parse-network' to parse network specification instead of
1074         `elmo-folder-initialize#elmo-net'.
1075
1076         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1077
1078         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1079         (elmo-folder-list-subfolders): Quote folder name by
1080         `elmo-net-format-quoted'.
1081
1082 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1083
1084         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1085         (elmo-folder-search): Use it.
1086
1087 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1088
1089         * modb-standard.el (modb-standard-loaded-message-id): Use
1090         `elmo-msgdb-message-entity-field'.
1091
1092 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1093
1094         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1095         without filename.
1096
1097 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1098
1099         * elmo-util.el (elmo-set-auto-coding): New function.
1100         (elmo-object-load): Use it.
1101
1102 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1103
1104         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1105         (elmo-time<): Define as alias of `elmo-time-less-p'.
1106         (elmo-time-to-datevec): New function.
1107
1108         * elmo-date.el (elmo-time-to-days): New function.
1109
1110 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1111
1112         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1113         is not cons cell.
1114
1115 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1116
1117         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1118         parenthesis.
1119
1120         * elmo-util.el (elmo-map-recursive): New function.
1121
1122         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1123         (modb-entity-encode-string-recursive): Ditto.
1124
1125 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1126
1127         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1128         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1129         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1130         compare sequence number when last modified time is nil.
1131
1132 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1133
1134         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1135
1136         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1137
1138 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1139
1140         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1141         modification time of the file.
1142
1143 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1144
1145         * elmo-util.el (elmo-condition-optimize): Discriminated against
1146         preserved fields, extra fields and the other weight.
1147
1148 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1149
1150         * modb-entity.el (initialize-instance): Define.
1151         (modb-entity-handler-mime-charset): New internal function.
1152         (modb-standard-entity-set-field): Use it.
1153         (elmo-msgdb-message-entity-field): Ditto.
1154         (elmo-msgdb-message-entity-field): Ditto.
1155
1156         * modb.el (elmo-msgdb-match-condition): Rewrite with
1157         `elmo-condition-match'.
1158         (elmo-msgdb-match-condition-primitive): New function.
1159
1160         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1161         arguments `flags' and `numbers'.
1162         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1163         `elmo-msgdb-message-match-condition').
1164         (modb-buffer-entity-handler): New class.
1165
1166         * elmo.el (elmo-folder-search): Optimize condition to use
1167         `elmo-condition-optimize'.
1168         (elmo-message-buffer-match-condition): New function.
1169         (elmo-message-match-condition): Use
1170         `elmo-message-buffer-match-condition' instead of
1171         `elmo-buffer-field-condition-match'.
1172
1173         * elmo-util.el (elmo-condition-match): New function.
1174         (elmo-condition-optimize): Ditto.
1175         (elmo-buffer-field-primitive-condition-match): Abolish.
1176         (elmo-buffer-field-condition-match): Ditto.
1177
1178         * elmo-archive.el (elmo-archive-field-condition-match): Use
1179         `elmo-message-buffer-match-condition' instead of
1180         `elmo-buffer-field-condition-match'.
1181
1182 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1183
1184         * elmo-flag.el (elmo-global-flags-initialize): Check the
1185         existence of the flag directory.
1186
1187 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1188
1189         * elmo-access.el (elmo-folder-initialize): Call
1190         `elmo-multi-connect-signals'.
1191
1192         * elmo-pipe.el (elmo-folder-close): Define.
1193
1194         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1195         children folders.
1196
1197         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1198         with target folder.
1199
1200         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1201         `number'.
1202
1203         * elmo-multi.el (elmo-message-entity): Don't use return value of
1204         `elmo-message-entity-set-number'.
1205
1206 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1207
1208         * modb.el (modb-generic): Added slot `mime-charset'.
1209
1210         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1211         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1212         and `modb-entity-handler-dump-parameters'.
1213         (modb-standard-default-entity-handler): Abolish.
1214         (elmo-msgdb-message-entity-handler): Save created handler by
1215         instance slot.
1216
1217         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1218         (modb-entity-handler-list-parameters): New method.
1219         (modb-entity-handler-equal-p): New function.
1220         (modb-entity-handler-dump-parameters): Ditto.
1221         (modb-entity-parse-address-string): Encode return value.
1222         (modb-entity-make-address-string): Decode argument value.
1223         (modb-entity-decode-string-recursive): New function.
1224         (modb-entity-encode-string-recursive): Ditto.
1225         (modb-standard-entity-normalizer): Set to encode field value.
1226         (modb-standard-entity-specializer): Follow the above change.
1227         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1228         mime-charset of handler.
1229         (elmo-msgdb-message-entity-field): Ditto.
1230         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1231         structure.
1232         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1233
1234         * elmo.el (elmo-folder): Added slot `mime-charset'.
1235         (elmo-make-folder): Added argument `mime-charset'.
1236         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1237         `mime-charest'.
1238
1239         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1240         (elmo-make-msgdb): Likewise.
1241
1242         * elmo-internal.el (elmo-internal-folder-initialize): Call
1243         `luna-make-entity' with :mime-charset parameter.
1244
1245 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1246
1247         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1248         encoded words in `from' and `subject' field.
1249
1250 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1251
1252         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1253         (elmo-msgdb-match-condition): Get handler from entity instead of
1254         msgdb.
1255
1256         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1257         (modb-standard-load-entity): Treat new file format.
1258         (modb-standard-save-entity-1): Save as new file format.
1259         (modb-standard-save-entity): Split messages into section here.
1260         (elmo-msgdb-message-field): Follow the API change.
1261         (modb-standard-default-entity-handler): New internal variable.
1262         (elmo-msgdb-message-entity-handler): Define.
1263
1264         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1265         to `elmo-vars.el'.
1266         (modb-entity-field-extractor-alist): New user option.
1267         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1268         added argument `type'.
1269         (elmo-msgdb-copy-message-entity): Add optional argument
1270         `make-handler'.
1271         (modb-set-field-converter): New function.
1272         (modb-convert-field-value): Ditto.
1273         (modb-entity-string-decoder): Ditto.
1274         (modb-entity-string-encoder): Ditto.
1275         (modb-entity-parse-date-string): Ditto.
1276         (modb-entity-make-date-string): Ditto.
1277         (modb-entity-mime-decoder): Ditto.
1278         (modb-entity-mime-encoder): Ditto.
1279         (modb-entity-address-list-decoder): Ditto.
1280         (modb-entity-address-list-encoder): Ditto.
1281         (modb-entity-parse-address-string): Ditto.
1282         (modb-entity-make-address-string): Ditto.
1283         (modb-entity-create-field-indices): Ditto.
1284         (modb-legacy-entity-field-slots): New constant.
1285         (modb-legacy-entity-field-indices): Ditto.
1286         (modb-legacy-entity-normalizer): New variable.
1287         (modb-legacy-entity-specializer): Ditto.
1288         (modb-legacy-entity-field-index): New macro.
1289         (modb-legacy-entity-set-field): New function.
1290         (modb-legacy-make-message-entity): Rewrite.
1291         (elmo-msgdb-create-message-entity-from-buffer): Use
1292         `elmo-msgdb-get-references-from-buffer'. Use
1293         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1294         Use `modb-legacy-entity-set-field' instead of
1295         `elmo-msgdb-message-entity-set-field'.
1296         (elmo-msgdb-message-entity-field): Rewrite.
1297         (elmo-msgdb-message-entity-set-field): Ditto.
1298         (elmo-msgdb-copy-message-entity): Make new entity by
1299         `make-handler' if it specified.
1300         (elmo-msgdb-message-match-condition): Define a method of
1301         `modb-entity-handler' and follow the API change.
1302         (modb-standard-entity-handler): New class.
1303         (modb-entity-extract-ml-info-from-x-sequence): New function.
1304         (modb-entity-extract-ml-info-from-subject): Ditto.
1305         (modb-entity-extract-ml-info-from-return-path): Ditto.
1306         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1307         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1308         (modb-entity-extract-mailing-list-info): Ditto.
1309         (modb-entity-extract-mailing-list-info-functions): New variable.
1310
1311         * elmo.el (elmo-message-field): Add optional argument `type'.
1312
1313         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1314         from `modb-entity.el'.
1315
1316         * elmo-util.el (elmo-object-load): Decode by coding-system from
1317         `set-auto-coding-function'.
1318         (elmo-object-save): Use `detect-mime-charset-region' and add
1319         coding cookie if encode.
1320         (elmo-msgdb-get-references-from-buffer): New function.
1321         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1322
1323         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1324
1325         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1326         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1327         instead of `shimbun-make-header' and follow the API change.
1328         (elmo-shimbun-update-overview): Follow the API change.
1329         (elmo-map-folder-list-message-locations): Ditto.
1330
1331         * elmo-pipe.el (elmo-message-field): Ditto.
1332
1333         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1334         Ditto.
1335
1336         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1337
1338         * elmo-multi.el (elmo-message-field): Ditto.
1339
1340         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1341         (elmo-msgdb-sort-by-date): Ditto.
1342         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1343         `elmo-message-entity-field'.
1344         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1345         change.
1346         (elmo-msgdb-overview-entity-get-from): Ditto.
1347         (elmo-msgdb-overview-entity-get-subject): Ditto.
1348         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1349         (elmo-msgdb-overview-entity-get-date): Ditto.
1350         (elmo-msgdb-overview-entity-get-to): Ditto.
1351         (elmo-msgdb-overview-entity-get-cc): Ditto.
1352
1353         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1354         (elmo-mime-collect-message/partial-pieces): Ditto.
1355
1356         * elmo-filter.el (elmo-message-field): Ditto.
1357
1358         * elmo-date.el (elmo-datevec-to-time): New function.
1359         (elmo-time-parse-date-string): Ditto.
1360         (elmo-time-make-date-string): Ditto.
1361         (elmo-time<): Ditto.
1362
1363         * elmo-version.el (elmo-version): Up to 2.15.1.
1364
1365 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1366
1367         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1368         member of elmo-local-flags.
1369
1370 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1371
1372         * elmo-version.el (elmo-version): Up to 2.15.0.
1373
1374 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1375
1376         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1377         `ignore-msgdb' is non-nil.
1378
1379 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1380
1381         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1382         (elmo-condition-in-msgdb-p): Ditto.
1383         (elmo-file-field-primitive-condition-match): Ditto.
1384         (elmo-file-field-condition-match): Ditto.
1385
1386         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1387
1388 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1389
1390         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1391         subdirectories here.
1392         (elmo-global-flags-initialize): New function.
1393
1394         * elmo.el (toplevel): Added autoload setting for
1395         `elmo-global-flags-initialize'.
1396
1397 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1398
1399         * elmo.el (message-number-changed): Define new signal.
1400         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1401         message-number-changed signal.
1402         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1403         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1404         Respect `elmo-pack-number-check-strict'.
1405
1406 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1407
1408         * elmo-signal.el (elmo-connect-signal): Document.
1409         (elmo-emit-signal): Ditto.
1410         (elmo-emit-signal): It should pass source argument to filter and
1411         handler, not slot-source.
1412
1413 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1414
1415         * modb.el (elmo-msgdb-update-entity): New API and define generic
1416         implement.
1417
1418         * modb-standard.el (elmo-msgdb-update-entity): Define.
1419
1420         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1421         API and define generic implement.
1422
1423         * elmo.el (update-overview): New singnal.
1424
1425         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1426         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1427         (elmo-message-entity-parent): Define.
1428
1429         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1430         `update-overview'.
1431
1432         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1433
1434         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1435
1436 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1437
1438         * elmo.el (elmo-folder-synchronize): Sort the return value of
1439         `elmo-list-diff'.
1440
1441         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1442         list.
1443
1444 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1445
1446         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1447         `default-enable-multibyte-characters'.
1448         (elmo-object-load): Use `with-temp-buffer' instead of
1449         `elmo-set-work-buf'.
1450         (elmo-object-save): Ditto.
1451         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1452         `elmo-set-work-buf'.
1453         (elmo-decoded-field-body): Ditto.
1454
1455         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1456
1457         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1458         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1459
1460         * elmo-version.el (elmo-version): Up to 2.13.3.
1461
1462 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1463
1464         * elmo-util.el (elmo-list-diff): Fix the last change.
1465         Reverse order of result lists.
1466
1467 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1468
1469         * modb-standard.el (elmo-msgdb-set-flag): Use
1470         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1471         (elmo-msgdb-unset-flag): Ditto.
1472
1473         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1474         `elmo-list-diff'.
1475
1476         * elmo-util.el (elmo-list-diff): Rewrite.
1477         (elmo-list-diff-nonsortable): New function.
1478
1479 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1480
1481         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1482         `elmo-multibypte-buffer-name'.  All referers are updated.
1483
1484 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1485
1486         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1487         (elmo-mime-entity-fragment-p): New function.
1488         (mime-elmo-buffer-entity): Added slot `reassembled'.
1489         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1490         (elmo-message-mime-entity-internal): New function (renamed from
1491         `elmo-message-mime-entity').
1492         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1493         (elmo-mime-make-reassembled-mime-entity): New function.
1494         (elmo-message-reassembled-mime-entity): Ditto.
1495         (elmo-mime-collect-message/partial-pieces): Ditto.
1496
1497 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1498
1499         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1500
1501         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1502         (elmo-with-enable-multibyte): New macro.
1503
1504         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1505
1506 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1507
1508         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1509         argument `number'.
1510         (elmo-filter-connect-signals): Follow the above change.
1511
1512 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1513
1514         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1515
1516         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1517         that only the first flag is used.
1518
1519 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1520
1521         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1522         if available.
1523
1524 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1525
1526         * elmo-signal.el: New file.
1527
1528         * elmo.el (toplevel): Require elmo-signal.
1529         (flag-changing, flag-changed, cache-changed): New signal.
1530         (elmo-folder): Remove slog `handlers'.
1531         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1532         `elmo-folder-notify-event'.
1533         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1534         (elmo-folder-unset-flag): Ditto.
1535         (elmo-event-handler): Abolish.
1536         (elmo-event-handler-flag-changed): Ditto.
1537         (elmo-event-handler-cache-changed): Ditto.
1538         (elmo-folder-add-handler): Ditto.
1539         (elmo-folder-remove-handler): Ditto.
1540         (elmo-folder-notify-event): Ditto.
1541
1542         * elmo-pipe.el (toplevel): Require elmo-signal.
1543         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1544         (elmo-pipe-connect-signals): New function.
1545         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1546         (elmo-folder-set-flag): Ditto.
1547         (elmo-folder-unset-flag): Ditto.
1548         (elmo-message-set-cached): Ditto.
1549
1550         * elmo-multi.el (toplevel): Require elmo-signal.
1551         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1552         (elmo-multi-connect-signals): New function.
1553         (elmo-multi-map-numbers): Ditto.
1554         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1555         (elmo-message-fetch): Ditto.
1556         (elmo-folder-set-flag): Ditto.
1557         (elmo-folder-unset-flag): Ditto.
1558
1559         * elmo-filter.el (toplevel): Require elmo-signal.
1560         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1561         (elmo-filter-connect-signals): New function.
1562         (elmo-filter-add-flag-count): Ditto.
1563         (elmo-message-fetch): Does not call
1564         `elmo-filter-folder-countup-message-flags' and
1565         `elmo-folder-notify-event'.
1566         (elmo-message-set-cached): Ditto.
1567         (elmo-folder-set-flag): Ditto.
1568         (elmo-folder-unset-flag): Ditto.
1569
1570         * elmo-version.el (elmo-version): Up to 2.13.2.
1571
1572 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1573
1574         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1575         `flags'.
1576
1577 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1578
1579         * elmo-filter.el (elmo-message-set-cached): Call
1580         `elmo-folder-notify-event' with event `cache-changed'.
1581
1582         * elmo-multi.el (elmo-message-set-cached): Ditto.
1583
1584         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1585
1586 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1587
1588         * elmo.el (elmo-folder-encache): Abolish.
1589
1590 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1591
1592         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1593         (elmo-folder-next-message-number-dop): Return appropriate negative
1594         integer.
1595
1596 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1597
1598         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1599         clearing pending operations.
1600         (elmo-folder-next-message-number-dop): Return appropriate negative
1601         integer.
1602
1603 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1604
1605         * elmo.el (toplevel): Added autoload setting for `md5'.
1606         (elmo-msgdb-path-encode-threshold): New user option.
1607         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1608         longer than `elmo-msgdb-path-encode-threshold'.
1609
1610         * elmo-flag.el (elmo-global-mark-migrate): Use
1611         `elmo-folder-expand-msgdb-path' instead of
1612         `elmo-folder-msgdb-path'.
1613
1614 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1615
1616         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1617         element of the difference is nil.
1618
1619 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1620
1621         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1622         to the check logic of file systems which are weak in colon character.
1623
1624 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1625
1626         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1627
1628 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1629
1630         * elmo-maildir.el (elmo-maildir-move-file): New function.
1631         (elmo-folder-append-buffer): Use it.
1632         (elmo-folder-append-messages): Ditto.
1633         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1634
1635         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1636         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1637
1638         * elmo-maildir.el (elmo-maildir-separator): New user option.
1639         (elmo-maildir-adjust-separator): New macro.
1640         (elmo-maildir-list-location): Use it.
1641         (elmo-maildir-update-current): Ditto.
1642         (elmo-maildir-set-mark): Ditto.
1643         (elmo-maildir-delete-mark): Ditto.
1644         (These changes are based on Hiroya Murata's patch [wl: 13437])
1645
1646 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1647
1648         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1649
1650 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1651
1652         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1653         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1654         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1655
1656 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1657
1658         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1659         Use `with-temp-buffer'.
1660
1661 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1662
1663         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1664
1665         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1666         `wl-read-search-condition').
1667         (elmo-read-search-condition-internal): Likewise.
1668
1669         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1670         (elmo-flag-valid-p): New function.
1671         (elmo-folder-initialize): Check flag name is valid.
1672
1673 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1674
1675         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1676         delimiter to obtain root mailbox itself.
1677
1678 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1679
1680         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1681         type mismatch.
1682
1683 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1684
1685         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1686         as t.
1687
1688 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1689
1690         * elmo-shimbun.el (toplevel): Require cl at compile.
1691
1692         * elmo-nntp.el (toplevel): Ditto.
1693
1694         * elmo-nmz.el (toplevel): Ditto.
1695
1696         * elmo-multi.el (toplevel): Ditto.
1697
1698         * elmo-file.el (toplevel): Ditto.
1699
1700         * elmo-dop.el (toplevel): Ditto.
1701
1702         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1703
1704 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1705
1706         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1707         as nil.
1708
1709         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1710         size of elmo-message-fetch-internal is 0 byte.
1711
1712 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1713
1714         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1715
1716 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1717
1718         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1719         always plugged.
1720
1721 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1722
1723         * elmo-maildir.el (elmo-map-message-fetch): Call
1724         `elmo-map-folder-set-flag'.
1725
1726         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1727         (elmo-message-fetch): Merge from
1728         `elmo-message-fetch-with-cache-process'.
1729
1730         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1731         (elmo-message-fetch): Define.
1732
1733         * elmo-nntp.el (elmo-message-fetch): Renamed from
1734         `elmo-message-fetch-with-cache-process'.
1735
1736         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1737         (elmo-message-fetch): Define.
1738
1739         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1740         search-key.
1741
1742         * elmo-shimbun.el (shimbun-mua-search-id): Use
1743         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1744         (elmo-shimbun-folder-shimbun-header): Ditto.
1745         (elmo-shimbun-get-headers): Ditto.
1746         (elmo-shimbun-update-overview): Ditto.
1747
1748         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1749
1750         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1751         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1752
1753 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1754
1755         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1756         message is cached.
1757         (elmo-message-fetch-string): Fixed argument.
1758
1759 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1760
1761         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1762         exchange order of arguments `section' and `unread'.
1763         (elmo-message-encache): Follow the API change.
1764         (elmo-message-match-condition): Ditto.
1765         (elmo-generic-folder-append-messages): Ditto.
1766         (elmo-message-fetch-string): New function.
1767
1768         * elmo-split.el (elmo-split-subr): Ditto.
1769
1770         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1771
1772         * elmo-pipe.el (elmo-message-fetch): Ditto.
1773
1774         * elmo-multi.el (elmo-message-fetch): Ditto.
1775
1776         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1777
1778         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1779
1780         * elmo-filter.el (elmo-message-fetch): Ditto.
1781
1782         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1783
1784         * elmo-imap4.el (mime-imap-location-section-body): Use
1785         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1786         follow the API change.
1787
1788 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1789
1790         * elmo-access.el: New file.
1791
1792         * elmo-null.el: Ditto.
1793
1794         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1795
1796 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1797
1798         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1799         (elmo-network-session): New attribute `last-accessed'.
1800         (elmo-network-get-session): Discard network cache if elapsed time
1801         since last-accessed is larger than elmo-network-session-idle-timeout.
1802
1803 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1804
1805         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1806         and added `number', `require-entireness'.
1807         (elmo-find-fetch-strategy): Rewrite.
1808         (elmo-message-fetch): Unset `unread' flag when argument unread is
1809         non-nil.
1810
1811         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1812
1813         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1814         (elmo-message-fetch): Notify event `flag-changed'.
1815
1816         * elmo-pipe.el: Likewise.
1817
1818         * elmo-mime.el (elmo-mime-entity): New class.
1819         (elmo-mime-entity-display-p): New generic function.
1820         (elmo-mime-entity-display): Ditto.
1821         (elmo-mime-entity-display-as-is): Ditto.
1822         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1823         elmo-mime-entity.
1824         (elmo-make-mime-message-location): Removed.
1825         (elmo-mime-message-display): Ditto.
1826         (elmo-mime-display-as-is): Ditto.
1827         (elmo-message-mime-entity): New function.
1828
1829         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1830
1831         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1832         change.
1833         (elmo-message-fetch): Re-count flagged message number and notify
1834         event `flag-changed'.
1835
1836         * elmo-version.el (elmo-version): Up to 2.13.1.
1837
1838 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1839
1840         * elmo-filter.el (elmo-message-field): Define.
1841         (elmo-message-set-field): Ditto.
1842
1843 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1844
1845         * elmo.el (elmo-message-set-cached): Call
1846         `elmo-folder-notify-event' with cache-changed.
1847         (elmo-event-handler-cache-changed): New generic function.
1848
1849 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1850
1851         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1852         instead of elmo-add-name-to-file.
1853         (elmo-folder-append-messages): Ditto.
1854
1855 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1856
1857         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1858
1859 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1860
1861         * elmo-version.el (elmo-version): Up to 2.13.0.
1862
1863         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1864         `auto'.
1865
1866         * modb-standard.el (modb-standard-economize-entity-size): Changed
1867         default value to `t'.
1868
1869         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1870         `standard'.
1871
1872         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1873         after parsing greeting string.
1874
1875 2004-11-23  Daishi Kato <daishi@axlight.com>
1876
1877         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1878         New user option.
1879         (elmo-spam-spamoracle-call): Use it.
1880
1881 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1882
1883         * elmo.el (elmo-message-accessible-p): Message in dop spool
1884         is accessible.
1885
1886 2004-11-23  Daishi Kato <daishi@axlight.com>
1887
1888         * elsp-spamoracle.el: New file.
1889
1890 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1891
1892         * elmo.el (elmo-message-flags-for-append): New function.
1893         (elmo-generic-folder-append-messages): Use it.
1894
1895         * elmo-split.el (elmo-split-subr): Ditto.
1896
1897         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1898         `flags' and use elmo-folder-append-buffer instead of
1899         write-region-as-binary.
1900         (elmo-dop-filter-pending-messages): New function.
1901         (elmo-folder-append-buffer-dop): Call
1902         elmo-dop-spool-folder-append-buffer with `flag'.
1903         (elmo-folder-set-flag-dop): Filter messages by
1904         elmo-dop-filter-pending-messages.
1905         (elmo-folder-unset-flag-dop): Ditto.
1906         (elmo-folder-append-buffer-dop-delayed): Use
1907         elmo-message-flags-for-append to get flags of the message and
1908         simplify.
1909
1910 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1911
1912         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1913
1914 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1915
1916         * elmo.el (elmo-folder): Added handlers slot.
1917         (elmo-event-handler): New class.
1918         (elmo-event-handler-flag-changed): New API.
1919         (elmo-folder-add-handler): New function.
1920         (elmo-folder-remove-handler): Ditto.
1921         (elmo-folder-notify-event): Ditto.
1922         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1923         `flag-changed'.
1924         (elmo-folder-unset-flag): Ditto.
1925
1926         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1927         (elmo-folder-unset-flag): Ditto.
1928
1929         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1930         (elmo-folder-unset-flag): Ditto.
1931
1932         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1933         (elmo-folder-unset-flag): Ditto.
1934
1935         * elmo-version.el (elmo-version): Up to 2.11.33.
1936
1937 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1938
1939         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1940
1941 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1942
1943         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1944
1945         * elmo-flag.el (elmo-folder-unset-flag): Define.
1946         (elmo-global-flag-detach): Do process when the flag is not target
1947         flag.
1948
1949 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1950
1951         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1952         variable.
1953         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1954
1955 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1956
1957         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1958         function.
1959         (elmo-folder-delete-messages): Detach messages before delete
1960         messages from target folder.
1961         (elmo-folder-detach-messages): Set updated number-list to slot.
1962
1963 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1964
1965         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1966
1967 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1968
1969         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1970
1971 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1972
1973         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1974         internal use only).
1975         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1976         not modified.
1977         (elmo-folder-delete-messages): Define.
1978         (elmo-folder-move-messages): Don't call
1979         `elmo-folder-detach-messages'.
1980         (elmo-folder-synchronize): Rewrite.
1981         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1982
1983         * elmo-util.el (elmo-last): New function.
1984         (elmo-set-list): Ditto.
1985         (elmo-number-set-delete-list): Ditto.
1986         (elmo-number-set-delete): Ditto.
1987
1988         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1989
1990         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1991         `elmo-folder-delete-messages' and don't delete location map.
1992         (elmo-folder-detach-messages): Define.
1993
1994         * elmo-imap4.el (elmo-folder-delete): Use
1995         `elmo-folder-delete-messages-internal' instead of
1996         `elmo-folder-delete-messages'.
1997
1998         * elmo-filter.el (elmo-folder-delete-messages): Call
1999         `elmo-folder-detach-messages'.
2000         (elmo-folder-detach-messages): Don't call
2001         `elmo-folder-detach-messages' for target folder.
2002
2003         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2004         message deletion is succeeded.
2005
2006         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2007
2008         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2009         from `elmo-folder-delete-messages'.
2010
2011         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2012
2013         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2014
2015         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2016
2017         * elmo-version.el (elmo-version): Up to 2.11.32.
2018
2019 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2020
2021         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2022         (elmo-global-flag-list): Added obsolete variable setting.
2023
2024         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2025
2026         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2027         (elmo-mime-insert-header-from-buffer): Don't decode header content when
2028         `elmo-mime-display-header-analysis' is nil.
2029
2030         * elmo-flag.el (elmo-global-flags): Renamed from
2031         `elmo-global-flag-list' (All other related portions are changed).
2032         (elmo-local-flags): New variable.
2033         (elmo-local-flag-p): New function.
2034         (elmo-global-flag-set-internal): Cause an error when flag is not
2035         global.
2036
2037 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2038
2039         * elmo-util.el (elmo-concat-path): Treat empty path.
2040
2041 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2042
2043         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2044         field-or-fields).
2045         (elmo-split-address-match): Ditto.
2046         (elmo-split-equal): Ditto.
2047         (elmo-split-match): Ditto.
2048
2049 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2050
2051         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2052         (elmo-generic-folder-append-messages): If src message exists but
2053         has no flag, pass (read) for the FLAG argument of
2054         `elmo-folder-append-buffer'. Otherwise, pass nil.
2055
2056         * elmo-split.el (elmo-split-subr): Likewise.
2057
2058         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2059
2060         * elmo-multi.el (elmo-message-flags): Ditto.
2061
2062         * elmo-filter.el (elmo-message-flags): Ditto.
2063
2064         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2065         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2066         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2067         
2068 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2069
2070         * elmo-split.el (elmo-split-rule): Update comment.
2071         (elmo-split-address-equal): Allow 2nd argument to be a list.
2072         (elmo-split-address-match): Ditto.
2073         (elmo-split-equal): Ditto.
2074         (elmo-split-match): Ditto.
2075
2076 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2077
2078         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2079         (elmo-folder-append-msgdb): Don't treat `read'.
2080         (elmo-message-flags): Don't return `read'.
2081
2082         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2083         (elmo-folder-unset-read-delayed): Ditto.
2084
2085         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2086
2087 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2088
2089         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2090         deletion.
2091
2092 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2093
2094         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2095         header.
2096
2097 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2098
2099         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2100         here.
2101         (elmo-msgdb-save): Bind inhibit-quit.
2102         (modb-standard-message-entity): Ditto.
2103
2104 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2105
2106         * elmo-database.el: No need to require elmo-msgdb.
2107
2108 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2109
2110         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2111         instead of `elmo-list-subdirectories'.
2112
2113 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2114
2115         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2116         group entry.
2117         (elmo-folder-exists-p): "[" is empty.
2118         (elmo-folder-list-subfolders): Define.
2119         (elmo-folder-have-subfolder-p): Ditto.
2120
2121 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2122
2123         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2124
2125 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2126
2127         * elmo-filter.el (elmo-folder-local-p): Define.
2128
2129 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2130
2131         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2132         when entity is garbaged.
2133         (modb-standard-save-entity-1): Don't modify the original entity.
2134
2135 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2136
2137         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2138
2139 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2140
2141         * elmo.el (elmo-strict-folder-diff): Use
2142         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2143
2144 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2145
2146         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2147         (elmo-msgdb-message-number): Ditto.
2148         (elmo-msgdb-message-field): Ditto.
2149
2150         * modb-standard.el (modb-standard-economize-entity-size): New user
2151         option.
2152         (modb-standard-loaded-message-id): New inline function.
2153         (modb-standard-load-entity): Use it.
2154         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2155         throw message-id string away.
2156         (elmo-msgdb-flag-available-p): Define.
2157         (elmo-msgdb-message-number): Ditto.
2158         (elmo-msgdb-message-field): Ditto.
2159
2160         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2161         (suppoted -> supported).
2162         (modb-legacy-supported-flag-p): Ditto.
2163         (elmo-msgdb-set-flag): Ditto.
2164         (elmo-msgdb-unset-flag): Ditto.
2165         (elmo-msgdb-flag-available-p): Define.
2166
2167         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2168         is `t', treat it as legacy entity.
2169         
2170         * elmo.el (elmo-message-flag-available-p): New generic function.
2171         (elmo-message-number): Ditto.
2172         (elmo-message-field): Use `elmo-msgdb-message-field'.
2173
2174         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2175
2176         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2177         (elmo-message-number): Ditto.
2178
2179         * elmo-multi.el (elmo-message-number): Define.
2180         (elmo-message-flag-available-p): Ditto.
2181
2182         * elmo-filter.el (elmo-message-flag-available-p): Define.
2183         (elmo-message-number): Ditto.
2184
2185         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2186         (elmo-folder-initialize): Load `max-number'.
2187         (elmo-folder-commit): Save it.
2188         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2189         (elmo-global-flag-set-internal): Set up max-number slot.
2190
2191 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2192
2193         * elmo-version.el (elmo-version): Up to 2.11.31.
2194
2195 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2196
2197         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2198         unibyte string of the current buffer for the argument of `md5'
2199         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2200
2201 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2202
2203         * modb-legacy.el (modb-legacy-flag-list): New constant.
2204         (modb-legacy-suppoted-flag-p): New internal function.
2205         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2206         (elmo-msgdb-unset-flag): Ditto.
2207
2208 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2209
2210         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2211
2212         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2213         from msgdb.
2214
2215 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2216
2217         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2218         (follow the API change).
2219
2220         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2221
2222 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2223
2224         * modb-standard.el (modb-standard-digest-flags): Abolish.
2225         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2226
2227         * elmo-vars.el (elmo-digest-flags): New variable.
2228         (elmo-preserved-flags): Moved from elmo-flag.el.
2229
2230         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2231         (elmo-imap4-flag-to-imap-criteria): Ditto.
2232         (elmo-imap4-folder-list-flagged): Use it.
2233
2234         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2235
2236         * elmo.el (elmo-folder-count-flags): Changed return value.
2237
2238         * elmo-flag.el (elmo-preserved-flags): New variable.
2239         (elmo-get-global-flags): Use it.
2240
2241         * modb-standard.el (modb-standard-digest-flags): New variable.
2242         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2243         Changed behavior of `any'.
2244
2245         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2246         which are defined the Internet draft
2247         (draft-melnikov-imap-keywords-03.txt).
2248         (elmo-imap4-flags-to-imap): New function.
2249         (elmo-folder-append-buffer): Use it.
2250
2251         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2252         in the docstring.
2253
2254         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2255         avoid the bug of Emacs 21.3.
2256
2257 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2258
2259         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2260         function find-coding-system does not exist.
2261
2262 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2263
2264         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2265         parsing.
2266
2267 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2268
2269         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2270         response codes.
2271
2272 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2273
2274         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2275         (elmo-network-close-session): Follow the changes in
2276         `elmo-pop3-read-response'.
2277         (elmo-pop3-auth-user): Ditto.
2278         (elmo-pop3-auth-apop): Ditto.
2279         (elmo-network-initialize-session): Ditto.
2280         (elmo-network-authenticate-session): Ditto.
2281         (elmo-network-setup-session): Ditto.
2282         (elmo-folder-status): Ditto.
2283         (elmo-message-fetch-plugged): Ditto.
2284         (elmo-pop3-delete-msg): Ditto.
2285
2286 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2287
2288         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2289         on failure.
2290
2291 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2292
2293         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2294         style.
2295         (elmo-bind-directory): Ditto.
2296
2297 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2298
2299         * elmo.el (elmo-folder-append-messages): Note on return value.
2300         * elmo-archive.el (elmo-folder-append-messages): Don't return
2301         message numbers which could not be appended.
2302
2303 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2304
2305         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2306
2307 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2308
2309         * elmo-version.el (elmo-version): Up to 2.11.30.
2310
2311 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2312
2313         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2314         `mask'.
2315
2316         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2317
2318         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2319         (elmo-multi-split-numbers): Add elmo-folder object into each
2320         element of return value at first.
2321         (elmo-folder-delete-messages): Follow the above change.
2322         (elmo-folder-detach-messages): Ditto.
2323
2324         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2325         number which is synchronized in target folder.
2326
2327 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2328
2329         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2330         Change default value to symbol `all'.
2331         (elmo-map-message-fetch): Change condition to update overview
2332         follow the above.
2333
2334 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2335
2336         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2337         behavior to update overview.
2338         (elmo-shimbun-update-overview-folder-list): Note it.
2339
2340 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2341
2342         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2343         recursive call.
2344
2345 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2346
2347         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2348         buffer-disable-undo, it is unnecessary.
2349         (elmo-spam-register-good-messages): Ditto.
2350
2351         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2352         Ditto.
2353
2354         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2355
2356 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2357
2358         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2359         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2360         elmo-set-buffer-multibyte.
2361         (elmo-object-load): Ditto.
2362         (elmo-save-buffer): Ditto.
2363         (elmo-delete-char): Ditto.
2364         (elmo-file-field-primitive-condition-match): Ditto.
2365         (elmo-mime-string): Ditto.
2366
2367         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2368         (elmo-archive-field-condition-match): Ditto.
2369
2370         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2371
2372         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2373
2374         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2375         (elmo-nntp-msgdb-create-message): Ditto.
2376
2377         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2378
2379         * elmo.el (elmo-message-match-condition): Ditto.
2380         (elmo-message-match-condition): Ditto.
2381
2382         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2383         Ditto.
2384
2385         * elmo-version.el (elmo-version): Up to 2.11.29.
2386
2387         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2388         (elsp-header): New backend.
2389
2390         * elmo-util.el (elmo-decoded-field-body): New function.
2391
2392 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2393
2394         * elmo-version.el (elmo-version): Up to 2.11.28.
2395
2396 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2397
2398         * elmo-filter.el: Rewrite.
2399
2400         * elmo-version.el (elmo-version): Up to 2.11.27.
2401
2402 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2403
2404         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2405         msgdb path for the localdir folder with absolute path.
2406
2407         * utf7.el: Synch up with latest gnus/utf7.el;
2408         Modified for latest Emacs.
2409
2410 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2411
2412         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2413         shimbun backend couldn't open.
2414
2415 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2416
2417         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2418         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2419         when a destination folder is a filter folder.
2420
2421 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2422
2423         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2424         (elmo-generic-folder-append-messages): Call elmo-message-flags
2425         with argument `msgid'.
2426
2427         * elmo-split.el (elmo-split-subr): Ditto.
2428
2429         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2430
2431         * elmo-multi.el (elmo-message-flags): Ditto.
2432
2433 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2434
2435         * elmo.el (elmo-folder): Add new slot `flag-table'.
2436         (elmo-folder-flag-table): New API.
2437         (elmo-folder-close-flag-table): Ditto.
2438         (elmo-folder-preserve-flags): New function.
2439         (elmo-generic-folder-append-messages): Use
2440         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2441         Flag of a non-registered message, it sets to nil.
2442         Does not set flag to flag-table.
2443
2444         * elmo-maildir.el (elmo-folder-append-buffer): Use
2445         `elmo-folder-preserve-flags'.
2446         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2447         `elmo-folder-close-flag-table'.
2448
2449         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2450         (elmo-archive-folder-append-buffer): Use
2451         `elmo-folder-preserve-flags'.
2452
2453         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2454
2455         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2456
2457         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2458         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2459         `elmo-folder-close-flag-table'.
2460
2461         * elmo-version.el (elmo-version): Up to 2.11.26.
2462
2463 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2464
2465         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2466
2467         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2468         md5's 4th and 5th argument (non-existent in flim one).
2469
2470 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2471
2472         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2473         message, It sets to nil.
2474
2475 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2476
2477         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2478         list is non-nil.
2479
2480 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2481
2482         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2483
2484         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2485
2486         * elmo-util.el (elmo-uniq-sorted-list): New function.
2487         (elmo-make-number-list): Ditto.
2488         (elmo-number-set-to-number-list): Use elmo-make-number-list
2489         and don't use nreverse.
2490
2491 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2492
2493         * elmo-version.el (elmo-version): Up to 2.11.25.
2494
2495 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2496
2497         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2498         field not exists in message, Use md5 message digest of header.
2499
2500 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2501
2502         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2503         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2504         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2505         * elmo-split.el (elmo-split-subr): Check return value of
2506         elmo-folder-append-buffer.
2507
2508         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2509         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2510
2511         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2512         message-id.
2513
2514 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2515
2516         * elmo-split.el (elmo-split-subr): Append message with flag.
2517
2518         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2519         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2520         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2521
2522 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2523
2524         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2525         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2526         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2527
2528 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2529
2530         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2531         with a function call of `process-buffer'.  All callers are updated.
2532         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2533         Remove redundant `set-buffer' in a while loop.
2534
2535 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2536
2537         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2538         calls.
2539
2540 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2541
2542         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2543         elsp-spamfilter-register-buffer-internal with current buffer.
2544         (elmo-spam-register-spam-buffer): Ditto.
2545         (elmo-spam-register-good-buffer): Ditto.
2546
2547 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2548
2549         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2550         if it is not contained in the response(A workaround for courier-imap).
2551
2552 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2553
2554         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2555         parenthesis.
2556
2557 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2558
2559         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2560         range.
2561
2562 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2563
2564         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2565         of nconc.
2566
2567         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2568         argument handler.
2569         (elmo-msgdb-message-match-condition): Follow the change above.
2570
2571 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2572
2573         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2574         folder name.
2575
2576 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2577
2578         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2579
2580 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2581
2582         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2583
2584 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2585
2586         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2587         not found.
2588
2589 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2590
2591         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2592         value.
2593         (elmo-file-command-argument): Undo last change for cygwin.
2594         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2595         Don't return nil.
2596         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2597
2598 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2599
2600         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2601         value returned from elmo-file-find is nil.
2602
2603 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2604
2605         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2606         to elmo-vars.el.
2607
2608         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2609         instead of insert-file-contents-as-binary.
2610         (elmo-message-set-field): New generic function.
2611
2612         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2613         behavior change on `split-string'.
2614
2615         * elmo-file.el (elmo-file-find): New function.
2616         (elmo-file-command): New user option.
2617         (elmo-file-command-argument): Ditto.
2618         (elmo-file-fetch-max-size): Ditto.
2619         (elmo-file-detect-format): New function.
2620         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2621         Use elmo-file-detect-format.
2622         (elmo-map-folder-list-message-locations): Don't treat directories.
2623
2624 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2625
2626         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2627         (elmo-passwd-alist-clear): Shred password before clear.
2628         (elmo-remove-passwd): Remove all mached pair.
2629
2630 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2631
2632         * elmo.el (elmo-folder-synchronize): Fix description of the return
2633         value.
2634
2635 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2636
2637         * elmo.el (elmo-message-fetch-bodystructure): New method.
2638         (elmo-message-fetch-bodystructure): Define default.
2639
2640         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2641         elmo-message-fetch-bodystructure.
2642         (elmo-message-fetch-bodystructure): Define.
2643
2644         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2645
2646 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2647
2648         * elmo-filter.el (elmo-message-folder): Define.
2649
2650 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2651
2652         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2653         elmo-delete-cr-buffer.
2654
2655         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2656
2657         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2658
2659         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2660
2661         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2662         type seems to be a text.
2663
2664 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2665
2666         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2667         (elmo-spam-register-good-buffer): Ditto.
2668         (elmo-spam-spamassassin-register-messages): Ditto.
2669
2670         * elmo-util.el (elmo-string-member-ignore-case): Define with
2671         static-cond.
2672
2673 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2674
2675         * elmo.el (elmo-folder-type): Undo last change.
2676
2677         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2678
2679         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2680         warnings.
2681
2682         * elmo-file.el: New file.
2683         
2684         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2685
2686         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2687         variable.
2688         (elmo-spam-spamassassin-register-messages): New inline function.
2689         (elmo-spam-register-spam-messages): Define.
2690         (elmo-spam-register-good-messages): Ditto.
2691
2692         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2693         Fixed typo.
2694
2695         * elmo.el (toplevel): Added autoload setting for
2696         `elmo-get-global-flags'.
2697         (elmo-message-has-global-flag-p): New function.
2698         (elmo-message-set-global-flags): Ditto.
2699         (elmo-folder-type): Improvement for name: format.
2700
2701         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2702         availability of keyword flags.
2703         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2704         (elmo-folder-list-flagged-plugged): Renamed from
2705         elmo-folder-list-flagged-unplugged.
2706         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2707         accept any flag as keyword flag.
2708         (elmo-folder-set-flag-plugged): Accept keyword flags.
2709         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2710
2711         * elmo-flag.el (elmo-get-global-flags): New function.
2712
2713         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2714         folders.
2715
2716         * elmo-version.el (elmo-version): Up to 2.11.24.
2717
2718 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2719
2720         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2721         elmo-multiple-field-body instead of std11-field-body to check all
2722         headers.
2723
2724 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2725
2726         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2727         or "size".
2728
2729 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2730
2731         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2732         unintern is unbound.
2733
2734 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2735
2736         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2737         Protect from infinite loop.
2738
2739 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2740
2741         * elsp-bogofilter.el
2742         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2743         (elmo-spam-bogofilter-register-messages): New internal function.
2744         (elmo-spam-register-spam-messages): Define.
2745         (elmo-spam-register-good-messages): Ditto.
2746
2747 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2748
2749         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2750         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2751         (elmo-spam-bogofilter-call): Fixed the last change.
2752         (elmo-spam-bogofilter-arguments): Ditto.
2753
2754         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2755         Follow the options change of latest bogofilter.
2756
2757         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2758         (elmo-spam-bogofilter-good-switch): Ditto.
2759         (elmo-spam-bogofilter-arguments-alist): New user option.
2760         (elmo-spam-bogofilter-debug): Ditto.
2761         (elmo-spam-bogofilter-call): Renamed from
2762         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2763         is non-nil, insert output in buffer for debug.
2764         (elmo-spam-bogofilter-arguments): New macro.
2765         (elmo-spam-buffer-spam-p): Use it.
2766         (elsp-bogofilter-register-buffer): Ditto.
2767
2768 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2769
2770         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2771         regexp.
2772
2773 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2774
2775         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2776         value as "ruby".
2777         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2778         (elmo-spam-bsfilter-program): Set default value as full path for
2779         `bsfilter'.
2780         (elmo-spam-bsfilter-debug): New user option.
2781         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2782         non-nil, insert output in buffer for debug. Fix treating of
2783         argument.
2784
2785 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2786
2787         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2788         `elmo-maildir-flag-specs' element instead of one.
2789         (elmo-map-folder-unset-flag): Ditto.
2790         (Reported by Ken Makimura <macky@astem.or.jp>)
2791
2792         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2793         (elmo-folder-unset-flag-plugged): Ditto.
2794
2795 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2796
2797         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2798         to `reads' slot only if `in-msgdb' is nil.
2799
2800 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2801
2802         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2803         and complement argument list.
2804
2805 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2806
2807         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2808         instead of elmo-folder-list-flagged.
2809
2810 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2811
2812         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2813
2814         * elsp-bsfilter.el: New file.
2815
2816         * elmo-pipe.el (elmo-folder-list-unreads,
2817         elmo-folder-list-answereds,
2818         elmo-folder-list-importants,
2819         elmo-folder-flag-as-important,
2820         elmo-folder-unflag-important,
2821         elmo-folder-flag-as-read,
2822         elmo-folder-unflag-read,
2823         elmo-folder-flag-as-answered,
2824         elmo-folder-unflag-answered): Remove.
2825         (elmo-folder-set-flag): Define.
2826         (elmo-folder-unset-flag): Ditto.
2827
2828         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2829         (elmo-folder-set-flag): Define.
2830         (elmo-folder-unset-flag): Ditto.
2831         (elmo-folder-list-unreads): Remove.
2832         (elmo-folder-list-flagged): Define.
2833
2834         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2835         (elmo-folder-list-unreads,
2836         elmo-folder-list-importants,
2837         elmo-folder-list-answereds,
2838         elmo-folder-list-unreads-plugged,
2839         elmo-folder-list-importants-plugged,
2840         elmo-folder-list-answereds-plugged): Remove.
2841         (elmo-folder-list-flagged-plugged): New method.
2842         (elmo-folder-unflag-important,
2843         elmo-folder-flag-as-important,
2844         elmo-folder-unflag-read,
2845         elmo-folder-flag-as-read,
2846         elmo-folder-unflag-answered,
2847         elmo-folder-flag-as-answered,
2848         elmo-folder-flag-as-read-unplugged,
2849         elmo-folder-unflag-read-unplugged,
2850         elmo-folder-flag-as-important-unplugged,
2851         elmo-folder-unflag-important-unplugged,
2852         elmo-folder-flag-as-answered-unplugged,
2853         elmo-folder-unflag-answered-unplugged): Remove.
2854         (elmo-folder-set-flag): Define.
2855         (elmo-folder-unset-flag): Ditto.
2856         (elmo-folder-set-flag-unplugged): Ditto.
2857         (elmo-folder-unset-flag-unplugged): Ditto.
2858
2859         * elmo-multi.el (elmo-folder-list-unreads,
2860         elmo-folder-list-answereds,
2861         elmo-folder-list-importants,
2862         elmo-folder-flag-as-important,
2863         elmo-folder-unflag-important,
2864         elmo-folder-flag-as-read,
2865         elmo-folder-unflag-read,
2866         elmo-folder-flag-as-answered,
2867         elmo-folder-unflag-answered): Remove.
2868         (elmo-folder-set-flag): Define.
2869         (elmo-folder-unset-flag): Ditto.
2870
2871         * elmo-map.el (elmo-map-folder-unflag-important,
2872         elmo-map-folder-flag-as-important,
2873         elmo-map-folder-unflag-read,
2874         elmo-map-folder-flag-as-read,
2875         elmo-map-folder-unflag-answered,
2876         elmo-map-folder-flag-as-answered): Remove.
2877         (elmo-map-folder-set-flag): New method.
2878         (elmo-map-folder-unset-flag): Ditto.
2879         (elmo-map-folder-list-unreads,
2880         elmo-map-folder-list-importants,
2881         elmo-map-folder-list-answereds): Remove.
2882         (elmo-folder-list-flagged-internal): Define.
2883         (elmo-map-folder-list-flagged): New method.
2884
2885         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2886         (elmo-map-folder-list-unreads,
2887         elmo-map-folder-list-importants,
2888         elmo-map-folder-list-flagged): Remove.
2889         (elmo-map-folder-list-flagged): Define.
2890         (elmo-map-folder-flag-as-important,
2891         elmo-map-folder-unflag-important,
2892         elmo-map-folder-flag-as-read,
2893         elmo-map-folder-unflag-read,
2894         elmo-map-folder-flag-as-answered,
2895         elmo-map-folder-unflag-answered): Remove.
2896         (elmo-maildir-set-mark-messages): New internal function.
2897         (elmo-map-folder-set-flag): Define.
2898         (elmo-map-folder-unset-flag): Ditto.
2899
2900         * elmo.el (toplevel): Added autoload setting for
2901         `elmo-folder-list-global-flag-messages'.
2902         (elmo-folder-list-unreads,
2903         elmo-folder-list-importants,
2904         elmo-folder-list-answereds): Remove.
2905         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2906         Return a list whitch merged with messages have global flag.
2907         (elmo-folder-list-flagged-internal): New method.
2908         (elmo-folder-unflag-important,
2909         elmo-folder-flag-as-important,
2910         elmo-folder-unflag-read,
2911         elmo-folder-flag-as-read,
2912         elmo-folder-unflag-answered,
2913         elmo-folder-flag-as-answered): Remove.
2914         (elmo-folder-set-flag): New method.
2915         (elmo-folder-unset-flag): Ditto.
2916         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2917         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2918
2919         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2920         (elmo-folder-list-unreads-plugged,
2921         elmo-folder-list-importants-plugged,
2922         elmo-folder-list-answereds-plugged,
2923         elmo-folder-list-flagged-unplugged,
2924         elmo-folder-unflag-important-plugged,
2925         elmo-folder-flag-as-important-plugged,
2926         elmo-folder-unflag-read-plugged,
2927         elmo-folder-flag-as-read-plugged,
2928         elmo-folder-unflag-answered-plugged,
2929         elmo-folder-flag-as-answered-plugged): Remove.
2930         (elmo-folder-set-flag-plugged,
2931         elmo-folder-unset-flag-plugged): Define.
2932
2933         * elmo-flag.el (elmo-folder-initialize): Register to
2934         `elmo-global-flag-list' if flag is not global.
2935         (elmo-folder-append-messages): Set flag to source messages.
2936
2937         * elmo-filter.el (elmo-filter-folder-list-unreads,
2938         elmo-folder-list-unreads,
2939         elmo-filter-folder-list-importants,
2940         elmo-folder-list-importants,
2941         elmo-folder-flag-as-read,
2942         elmo-folder-unflag-read,
2943         elmo-folder-flag-as-important,
2944         elmo-folder-unflag-important,
2945         elmo-folder-flag-as-answered,
2946         elmo-folder-unflag-answered): Remove.
2947         (elmo-folder-set-flag): Define.
2948         (elmo-folder-unset-flag): Ditto.
2949
2950         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2951         elmo-folder-unflag-read-dop,
2952         elmo-folder-flag-as-important-dop,
2953         elmo-folder-unflag-important-dop,
2954         elmo-folder-flag-as-answered-dop,
2955         elmo-folder-unflag-answered-dop): Remove.
2956         (elmo-folder-set-flag-dop,
2957         elmo-folder-unset-flag-dop,
2958         elmo-folder-set-important-delayed,
2959         elmo-folder-unset-important-delayed,
2960         elmo-folder-set-read-delayed,
2961         elmo-folder-unset-read-delayed,
2962         elmo-folder-set-answered-delayed,
2963         elmo-folder-unset-answered-delayed): New function.
2964         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2965         (elmo-dop-queue-method-name-alist): Ditto.
2966
2967         * elmo-version.el (elmo-version): Up to 2.11.23.
2968
2969 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2970
2971         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2972
2973         * elsp-sa.el: New file.
2974
2975 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2976
2977         * modb-standard.el (modb-standard-message-entity): New function.
2978         (elmo-msgdb-message-entity): Use it.
2979
2980 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2981
2982         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2983         behavior when one-level is nil.
2984
2985         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2986
2987         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2988
2989 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2990
2991         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2992         get max number.
2993         (elmo-generic-folder-diff): Ditto.
2994
2995         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2996         (elmo-folder-update-number): Ditto.
2997
2998         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2999         (elmo-folder-next-message-number-dop): Ditto.
3000
3001 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3002
3003         * elmo-filter.el (elmo-folder-msgdb-create): Use
3004         `elmo-message-entity' and `elmo-message-flags' instead of
3005         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3006
3007 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3008
3009         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3010         `if-exists'.
3011
3012 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3013
3014         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3015
3016         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3017
3018         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3019
3020 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3021
3022         * elmo-version.el (elmo-version): Up to 2.11.22.
3023
3024 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3025
3026         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3027
3028 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3029
3030         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3031         if the message dose not exist.
3032
3033 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
3034
3035         * elmo-version.el (elmo-version): Up to 2.11.21.
3036
3037 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3038
3039         * modb-standard.el (toplevel): Don't require mime.
3040
3041 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3042
3043         * elsp-bogofilter.el (toplevel): Don't require path-util.
3044         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3045         (elmo-spam-bogofilter-header): Abolish.
3046         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3047         (elmo-spam-bogofilter-args): New user option.
3048         (elsp-bogofilter-call-bogofilter): New internal function.
3049         (elmo-spam-buffer-spam-p): Use it.
3050         (elsp-bogofilter-register-buffer): Renamed from
3051         `elmo-spam-bogofilter-register-buffer';
3052         Use `elsp-bogofilter-call-bogofilter'.
3053         (elmo-spam-register-spam-buffer): Follow the change above.
3054         (elmo-spam-register-good-buffer): Ditto.
3055
3056 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3057
3058         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3059         message-id is nil do nothing.
3060
3061 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3062
3063         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3064         Revival.
3065         (elmo-imap4-session): Removed use-flag slot.
3066         (elmo-imap4-session-select-mailbox): Undo last change.
3067         (elmo-folder-use-flag-p): Use
3068         elmo-imap4-disuse-server-flag-mailbox-regexp.
3069
3070 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3071
3072         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3073         (elmo-imap4-session-select-mailbox): Set it up.
3074         (elmo-folder-use-flag-p): Return value of use-flag slot.
3075
3076 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3077
3078         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3079         message-id is nil.
3080         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3081
3082         * modb-entity.el (elmo-message-entity-handler): Likewise.
3083
3084 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3085
3086         * elmo.el (toplevel): Remove setting of autoloding for
3087         elmo-global-flag-initialize.
3088         (elmo-init): Don't call elmo-global-flag-initialize.
3089         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3090
3091         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3092         (elmo-global-mark-migrate): Don't call it.
3093         (elmo-global-mark-upgrade): Ditto.
3094
3095 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3096
3097         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3098         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3099
3100         * elmo-vars.el (elmo-init-hook): New user option.
3101
3102         * elmo.el (elmo-init): Run the elmo-init-hook.
3103
3104         * elmo-flag.el (elmo-global-mark-migrate): New function.
3105
3106 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3107
3108         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3109         Undo last change (move to elmo-msgdb-unset-flag).
3110         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3111         flag is unset.
3112
3113 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3114
3115         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3116         read flag is set.
3117         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3118         (elmo-msgdb-unset-flag): Ditto.
3119
3120 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3121
3122         * elmo-split.el (elmo-split): Return split message count.
3123
3124 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3125
3126         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3127         is nil.
3128
3129 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3130
3131         * elmo.el (elmo-folder-unflag-important): Call
3132         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3133         a symbol `always'.
3134
3135         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3136         before unset flag.
3137         (elmo-global-flag-detach): Delete the message from flag folder, if
3138         `delete-if-none' is a symbol `always'.
3139
3140 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3141
3142         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3143         `elmo-spam-spamfilter-decode-buffer'.
3144         (elsp-spamfilter-register-buffer-internal): New internal function.
3145         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3146         (elmo-spam-register-spam-buffer): Ditto.
3147         (elmo-spam-register-good-buffer): Ditto.
3148
3149         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3150         change.
3151         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3152         (elmo-spam-register-spam-buffer): Follow the API change.
3153         (elmo-spam-register-good-buffer): Ditto.
3154
3155         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3156         (elmo-split-spam-p): Added argument plist; Call
3157         `elmo-spam-buffer-spam-p' with new argument register.
3158
3159         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3160         `register'.
3161         (elmo-spam-message-spam-p): Ditto.
3162         (elmo-spam-register-spam-buffer): Added optional argument
3163         `restore'.
3164         (elmo-spam-register-good-buffer): Ditto.
3165         (elmo-spam-register-spam-messages): Ditto.
3166         (elmo-spam-register-good-messages): Ditto.
3167
3168 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3169
3170         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3171         register into good corpus.
3172         (elmo-spam-register-good-buffer): Fixed to register into bad
3173         corpus.
3174
3175 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3176
3177         * elmo-version.el (elmo-version): Up to 2.11.20.
3178
3179         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3180         change.
3181
3182         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3183         flag without depending on \Recent flag.
3184
3185 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3186
3187         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3188         (elmo-spam-modified-p): Defined.
3189         (elmo-spam-save-status): Set `modified' slot to nil.
3190         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3191         (elmo-spam-register-good-buffer): Ditto.
3192
3193         * elmo-spam.el (elmo-spam-modified-p): New API.
3194
3195 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3196
3197         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3198         duplicate definition.
3199
3200         * elmo-util.el (elmo-unfold-field-body): New function.
3201         (elmo-msgdb-get-message-id-from-buffer): Use it.
3202
3203         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3204         Fixed the last change; Use elmo-unfold-field-body.
3205
3206 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3207
3208         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3209         Unfold date value.
3210
3211 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3212
3213         * elmo-spam.el (elmo-spam-save-status): New API.
3214
3215         * elsp-spamfilter.el: New file.
3216
3217 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3218
3219         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3220
3221 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3222
3223         * elmo-split.el (elmo-split-spam-p): New function.
3224
3225         * elmo-spam.el: New file.
3226
3227         * elsp-bogofilter.el: Ditto.
3228
3229 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3230
3231         * elmo.el (elmo-folder-next-message-number): New API.
3232         (elmo-folder-next-message-number): Define.
3233         (elmo-message-field): Don't check folder length.
3234
3235         * elmo-net.el (elmo-folder-next-message-number): Define.
3236         (elmo-folder-next-message-number-unplugged): Define.
3237
3238         * elmo-map.el (elmo-folder-next-message-number): Define.
3239         (elmo-folder-delete-messages): Clear hash value.
3240
3241         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3242
3243         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3244         (elmo-folder-delete-messages-dop-delayed): Always return t.
3245
3246         * elmo-version.el (elmo-version): Up to 2.11.19.
3247
3248 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3249
3250         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3251         change.
3252
3253         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3254         identical cons cell into the mark-alist and the hash table.
3255
3256 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3257
3258         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3259         elmo-folder-list-messages with argument `visible-only' as t.
3260
3261         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3262         (elmo-folder-msgdb-create): Check the target folder.
3263
3264 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3265
3266         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3267         `permanentflag' instead of `flags'.
3268         (elmo-folder-open): Ditto.
3269         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3270         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3271         (elmo-folder-use-flag-p): Always return t.
3272         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3273         `permanentflags' does not exist.
3274         (elmo-folder-open): Ditto.
3275
3276 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3277
3278         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3279         is nil.
3280         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3281
3282         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3283         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3284         response.
3285         (elmo-folder-open): Ditto.
3286         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3287         slot of the session includes the flag.
3288         (elmo-imap4-session-flag-available-p): New function.
3289         (elmo-imap4-folder-list-flagged): Ditto.
3290         (elmo-folder-list-unreads-plugged): Use it.
3291         (elmo-folder-list-importants-plugged): Ditto.
3292         (elmo-folder-list-answereds-plugged): Ditto.
3293         (elmo-imap4-search-internal-primitive): Ditto.
3294         (elmo-imap4-folder-list-any-plugged,
3295         elmo-imap4-folder-list-digest-plugged): Abolish.
3296
3297         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3298         if numbers is nil.
3299
3300 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3301
3302         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3303
3304 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3305
3306         * elmo-util.el (elmo-get-hash-val): Simplify.
3307         (elmo-set-hash-val): Rewrite.
3308
3309 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3310
3311         * elmo.el (elmo-folder-list-messages): Append killed messages into
3312         result if `visible-only' is nil and `in-msgdb' is non-nil.
3313
3314         * elmo-util.el (elmo-uniq-list): Added optional argument
3315         `delete-function'.
3316
3317         * modb.el (elmo-msgdb-flag-count): New API.
3318
3319         * modb-standard.el (modb-standard): Added slot flag-count.
3320         (modb-standard-countup-flags): New function.
3321         (modb-standard-load-flag): Call it.
3322         (elmo-msgdb-append): Ditto.
3323         (elmo-msgdb-clear): Clear slot flag-count.
3324         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3325         (elmo-msgdb-unset-flag): Treat `all' flag and call
3326         modb-standard-countup-flags.
3327         (elmo-msgdb-flag-count): Define.
3328         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3329         (elmo-msgdb-delete-messages): Ditto.
3330
3331         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3332         (elmo-msgdb-flag-count): Define.
3333
3334         * elmo.el (elmo-folder-list-messages): Undo last change.
3335         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3336         (elmo-folder-kill-messages): Unset all flags to numbers.
3337
3338         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3339         elmo-folder-kill-messages.
3340
3341         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3342         (elmo-nntp-folder-delete-messages): Abolish.
3343
3344         * elmo-version.el (elmo-version): Up to 2.11.18.
3345
3346 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3347
3348         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3349         (elmo-folder-kill-messages-range): New function.
3350         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3351         instead of elmo-folder-kill-messages-before.
3352
3353 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3354
3355         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3356         elmo-imap4-current-msgdb to decide entity handler.
3357
3358 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3359
3360         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3361
3362         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3363         inline function.
3364         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3365         (elmo-msgdb-overview-entity-set-number,
3366         elmo-msgdb-overview-entity-get-references,
3367         elmo-msgdb-overview-entity-set-references,
3368         elmo-msgdb-overview-entity-get-from-no-decode,
3369         elmo-msgdb-overview-entity-get-from,
3370         elmo-msgdb-overview-entity-set-from,
3371         elmo-msgdb-overview-entity-get-subject,
3372         elmo-msgdb-overview-entity-get-subject-no-decode,
3373         elmo-msgdb-overview-entity-set-subject,
3374         elmo-msgdb-overview-entity-get-date,
3375         elmo-msgdb-overview-entity-set-date,
3376         elmo-msgdb-overview-entity-get-to,
3377         elmo-msgdb-overview-entity-get-cc,
3378         elmo-msgdb-overview-entity-get-size,
3379         elmo-msgdb-overview-entity-set-size,
3380         elmo-msgdb-overview-entity-get-extra,
3381         elmo-msgdb-overview-entity-set-extra,
3382         elmo-msgdb-overview-entity-get-extra-field,
3383         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3384         (elmo-msgdb-make-index): Use
3385         `elmo-msgdb-overview-entity-get-number-internal'.
3386         (elmo-msgdb-clear-index): Ditto.
3387         (elmo-msgdb-append-entity): Ditto;
3388         Use `elmo-msgdb-overview-entity-get-id-internal'.
3389
3390         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3391         elmo-msgdb-overview-entity-set-number,
3392         elmo-msgdb-overview-entity-get-references,
3393         elmo-msgdb-overview-entity-set-references,
3394         elmo-msgdb-overview-entity-get-from-no-decode,
3395         elmo-msgdb-overview-entity-get-from,
3396         elmo-msgdb-overview-entity-set-from,
3397         elmo-msgdb-overview-entity-get-subject,
3398         elmo-msgdb-overview-entity-get-subject-no-decode,
3399         elmo-msgdb-overview-entity-set-subject,
3400         elmo-msgdb-overview-entity-get-date,
3401         elmo-msgdb-overview-entity-set-date,
3402         elmo-msgdb-overview-entity-get-to,
3403         elmo-msgdb-overview-entity-get-cc,
3404         elmo-msgdb-overview-entity-get-size,
3405         elmo-msgdb-overview-entity-set-size,
3406         elmo-msgdb-overview-entity-get-extra,
3407         elmo-msgdb-overview-entity-set-extra,
3408         elmo-msgdb-overview-entity-get-extra-field,
3409         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3410         and rewrote for backward compatibility.
3411
3412 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3413
3414         * elmo.el (elmo-message-entity-number,
3415         elmo-message-entity-set-number,
3416         elmo-message-entity-field,
3417         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3418
3419         * elmo-msgdb.el (elmo-message-entity-number,
3420         elmo-message-entity-set-number,
3421         elmo-message-entity-field,
3422         elmo-message-entity-set-field): Moved from elmo.el.
3423
3424 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3425
3426         * elmo.el (toplevel): Changed definition orders.
3427
3428 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3429
3430         * modb.el (elmo-msgdb-search): New API .
3431         (elmo-msgdb-match-condition): Ditto.
3432
3433         * modb-standard.el (elmo-msgdb-search): Define.
3434
3435         * modb-legacy.el (elmo-msgdb-search): Ditto.
3436
3437         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3438         from elmo-msgdb-match-condition-internal.
3439
3440         * elmo.el (elmo-folder-search-fast): Abolish.
3441         (elmo-folder-search): Use elmo-msgdb-search and
3442         elmo-with-progress-display.
3443
3444         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3445         as msgdb API.
3446
3447         * elmo.el (elmo-folder): Remove slot message-modified and
3448         flag-modified.
3449         (elmo-folder-set-message-modified): Abolish.
3450         (elmo-generic-folder-commit): Follow the change above.
3451         (elmo-folder-synchronize): Ditto.
3452
3453         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3454
3455         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3456
3457         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3458
3459 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3460
3461         * modb-standard.el (modb-standard-make-message-entity,
3462         elmo-msgdb-make-message-entity,
3463         elmo-msgdb-create-message-entity-from-buffer,
3464         elmo-msgdb-message-entity-number,
3465         elmo-msgdb-message-entity-set-number,
3466         elmo-msgdb-message-entity-field,
3467         elmo-msgdb-message-entity-set-field,
3468         elmo-msgdb-copy-message-entity,
3469         elmo-msgdb-match-condition-internal): Remove.
3470
3471         * modb-entity.el: New file (again).
3472
3473         * modb.el (toplevel): Require modb-entity.
3474         (elmo-msgdb-message-entity-handler): New method.
3475
3476         * modb-standard.el (modb-standard-entity-id): Use
3477         elmo-message-entity-handler.
3478         (modb-standard-load-entity): Ditto.
3479         (elmo-msgdb-append-entity): Ditto.
3480         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3481
3482         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3483         elmo-msgdb-decoded-cache-hashtb,
3484         (modb-legacy-make-message-entity,
3485         elmo-msgdb-make-message-entity,
3486         elmo-msgdb-create-message-entity-from-buffer,
3487         elmo-msgdb-message-entity-number,
3488         elmo-msgdb-message-entity-set-number,
3489         elmo-msgdb-message-entity-field,
3490         elmo-msgdb-message-entity-set-field,
3491         elmo-msgdb-copy-message-entity,
3492         elmo-msgdb-match-condition-internal,
3493         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3494
3495         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3496         (elmo-message-entity-set-number): Ditto.
3497         (elmo-message-entity-field): Ditto.
3498         (elmo-message-entity-set-field): Ditto.
3499
3500         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3501
3502         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3503
3504         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3505
3506         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3507         (elmo-nntp-msgdb-create-message): Ditto.
3508
3509         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3510         (elmo-folder-msgdb-create): Add unread flag.
3511
3512         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3513
3514         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3515
3516         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3517
3518         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3519
3520         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3521         elmo-msgdb-messge-entity-handler.
3522         * elmo-version.el (elmo-version): Up to 2.11.17.
3523
3524 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3525
3526         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3527         change.
3528
3529 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3530
3531         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3532
3533         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3534         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3535         (elmo-msgdb-flag-table): Ditto.
3536         (elmo-msgdb-sort-by-date): Ditto.
3537
3538         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3539
3540         * modb-standard.el (toplevel): Require mime.
3541         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3542         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3543         elmo-msgdb-message-entity-number.
3544         (elmo-msgdb-append-entity): Ditto.
3545         (elmo-msgdb-create-message-entity-from-file): Remove.
3546         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3547         corresponds to the entity.
3548         (elmo-msgdb-message-entity-number): Do nothing currently.
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-match-condition-internal): Ditto.
3553
3554         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3555         elmo-util.el.
3556         (elmo-msgdb-create-message-entity-from-file): Remove.
3557
3558         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3559         modb-legacy.el.
3560         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3561
3562         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3563
3564 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3565
3566         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3567         (elmo-msgdb-message-entity-field): Ditto.
3568         (elmo-msgdb-message-entity-number): Ditto.
3569
3570 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3571
3572         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3573         Fixed how to set extra field into entity.
3574         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3575         symbol.
3576
3577         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3578         Fixed how to set extra field into entity.
3579         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3580         symbol.
3581
3582 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3583
3584         * modb.el (elmo-message-entity-db): New function.
3585         (elmo-msgdb-make-message-entity): New API.
3586         (elmo-msgdb-message-entity-number): Ditto.
3587         (elmo-msgdb-message-entity-set-number): Ditto.
3588         (elmo-msgdb-message-entity-field): Ditto.
3589         (elmo-msgdb-message-entity-set-field): Ditto.
3590         (elmo-msgdb-copy-message-entity): Ditto.
3591         (elmo-msgdb-create-message-entity-from-file): Ditto.
3592         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3593         (elmo-msgdb-match-condition-internal): Ditto.
3594
3595         * modb-standard.el (modb-legacy): Require modb-legacy.
3596         (modb-standard-make-message-entity): New inline function.
3597         (elmo-msgdb-make-message-entity): Define.
3598         (elmo-msgdb-create-message-entity-from-file): Ditto.
3599         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3600         (elmo-msgdb-message-entity-field): Ditto.
3601         (elmo-msgdb-message-entity-set-field): Ditto.
3602         (elmo-msgdb-copy-message-entity): Ditto.
3603         (elmo-msgdb-match-condition-internal): Ditto.
3604
3605         * modb-legacy.el: Don't require modb-entity.
3606         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3607         (elmo-msgdb-match-condition-primitive): Ditto.
3608         (elmo-msgdb-get-decoded-cache): Ditto.
3609         (elmo-msgdb-overview-entity-get-id): Ditto.
3610         (elmo-msgdb-overview-entity-get-number): Ditto.
3611         (elmo-msgdb-overview-entity-set-number): Ditto.
3612         (elmo-msgdb-overview-entity-get-references): Ditto.
3613         (elmo-msgdb-overview-entity-set-references): Ditto.
3614         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3615         (elmo-msgdb-overview-entity-get-from): Ditto.
3616         (elmo-msgdb-overview-entity-set-from): Ditto.
3617         (elmo-msgdb-overview-entity-get-subject): Ditto.
3618         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3619         (elmo-msgdb-overview-entity-set-subject): Ditto.
3620         (elmo-msgdb-overview-entity-get-date): Ditto.
3621         (elmo-msgdb-overview-entity-set-date): Ditto.
3622         (elmo-msgdb-overview-entity-get-to): Ditto.
3623         (elmo-msgdb-overview-entity-get-cc): Ditto.
3624         (elmo-msgdb-overview-entity-get-size): Ditto.
3625         (elmo-msgdb-overview-entity-set-size): Ditto.
3626         (elmo-msgdb-overview-entity-get-extra): Ditto.
3627         (elmo-msgdb-overview-entity-set-extra): Ditto.
3628         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3629         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3630         (elmo-msgdb-number-load): Ditto.
3631         (elmo-msgdb-overview-load): Ditto.
3632         (elmo-msgdb-mark-load): Ditto.
3633         (elmo-msgdb-number-save): Ditto.
3634         (elmo-msgdb-mark-save): Ditto.
3635         (elmo-msgdb-overview-save): Ditto.
3636         (modb-legacy-make-message-entity): New inline function.
3637         (elmo-msgdb-insert-file-header): Ditto.
3638         (elmo-msgdb-make-message-entity): Define.
3639         (elmo-msgdb-create-message-entity-from-file): Ditto.
3640         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3641         (elmo-msgdb-message-entity-number): Ditto.
3642         (elmo-msgdb-message-entity-set-number): Ditto.
3643         (elmo-msgdb-message-entity-field): Ditto.
3644         (elmo-msgdb-message-entity-set-field): Ditto.
3645         (elmo-msgdb-copy-message-entity): Ditto.
3646         (elmo-msgdb-match-condition-internal): Ditto.
3647
3648         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3649         (elmo-message-copy-entity): Rewrite.
3650         (elmo-message-entity-number): Ditto.
3651         (elmo-message-entity-set-number): Ditto.
3652         (elmo-message-entity-field): Use elmo-message-entity-db.
3653         (elmo-message-entity-set-field): Ditto.
3654         (elmo-message-field): Rewrite.
3655
3656         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3657         elmo-msgdb.el
3658         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3659
3660         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3661         elmo-message-entity-field.
3662         (elmo-shimbun-folder-shimbun-header): Ditto.
3663         (elmo-shimbun-entity-to-header): Ditto.
3664         (elmo-folder-msgdb-create): Ditto.
3665         (elmo-shimbun-msgdb-create-entity): Ditto;
3666         Use elmo-msgdb-create-message-entity-from-buffer.
3667         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3668         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3669
3670         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3671         elmo-msgdb-create-message-entity-from-file and 
3672         elmo-message-entity-field.
3673
3674         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3675         elmo-message-entity-number.
3676         (elmo-pop3-msgdb-create-message): Use
3677         elmo-msgdb-create-message-entity-from-buffer,
3678         elmo-message-entity-set-field, elmo-message-entity-number and
3679         elmo-message-entity-set-number.
3680
3681         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3682         the API change in elmo-msgdb-make-message-entity.
3683         (elmo-nntp-msgdb-create-message): Use
3684         elmo-msgdb-create-message-entity-from-buffer.
3685
3686         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3687         elmo-message-entity-field and
3688         elmo-msgdb-create-message-entity-from-file.
3689
3690         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3691         (elmo-msgdb-get-field): Abolish.
3692         (elmo-msgdb-get-number): Rewrite.
3693         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3694         (elmo-msgdb-flag-table): Ditto.
3695         (elmo-msgdb-get-last-message-id,
3696         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3697         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3698         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3699         (elmo-msgdb-create-overview-from-buffer,
3700         elmo-msgdb-overview-get-parent-entity): Abolish.
3701
3702         * elmo-mime.el (elmo-mime-display-as-is): Use
3703         elmo-message-entity-field.
3704
3705         * elmo-map.el (elmo-folder-pack-numbers): Use
3706         elmo-message-entity-set-number.
3707
3708         * elmo-maildir.el (elmo-folder-msgdb-create): 
3709         elmo-msgdb-create-message-entity-from-file instead of
3710         elmo-msgdb-create-overview-entity-from-file.
3711
3712         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3713         msgdb.
3714         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3715         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3716
3717         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3718         elmo-messge-entity-field and elmo-message-entity-number.
3719         (elmo-imap4-fetch-callback-1): Call
3720         elmo-msgdb-create-message-entity-from-buffer instead of
3721         elmo-msgdb-create-overview-from-buffer. 
3722         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3723         (elmo-find-fetch-strategy): Likewise.
3724
3725         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3726         elmo-localdir-msgdb-create-entity with argument msgdb.
3727
3728         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3729         and elmo-message-entity-set-number.
3730
3731         * elmo-cache.el (elmo-folder-msgdb-create): Use
3732         elmo-message-entity-field.
3733         (elmo-folder-msgdb-create): Call
3734         elmo-msgdb-create-message-entity-from-file instead of
3735         elmo-msgdb-create-overview-entity-from-file.
3736
3737         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3738         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3739         instead of elmo-msgdb-create-overview-from-buffer.
3740         (elmo-archive-msgdb-create-entity): Ditto.
3741         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3742         elmo-message-entity-field.
3743         (elmo-archive-parse-mmdf): Ditto.
3744
3745         * modb-entity.el: Removed.
3746
3747         * elmo-version.el (elmo-version): Up to 2.11.16.
3748
3749 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3750
3751         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3752         `is-local'.
3753         (elmo-folder-flag-as-answered): Ditto.
3754
3755 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3756
3757         * modb-standard.el: New file.
3758
3759         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3760         elmo-msgdb-convert-type is `sync'.
3761
3762         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3763         (elmo-msgdb-convert-type): New user option.
3764
3765         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3766         (elmo-load-msgdb): Auto detect saved type.
3767
3768         * elmo-version.el (elmo-version): Up to 2.11.15.
3769
3770 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3771
3772         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3773
3774         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3775         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3776         with argument `delete-if-none' when dst-folder is 'null.
3777
3778         * elmo-flag.el (elmo-folder-append-messages): Defined.
3779         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3780
3781 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3782
3783         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3784
3785 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3786
3787         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3788         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3789         (elmo-folder-commit): Ditto.
3790
3791 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3792
3793         * elmo-flag.el: New file.
3794
3795         * elmo-mark.el: Removed.
3796
3797         * modb-legacy.el (modb-legacy-new-mark,
3798         modb-legacy-unread-uncached-mark,
3799         modb-legacy-unread-cached-mark,
3800         modb-legacy-read-uncached-mark,
3801         modb-legacy-answered-cached-mark,
3802         modb-legacy-answered-uncached-mark,
3803         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3804         All other related portions are changed.
3805
3806         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3807         (elmo-folder-list-messages-with-global-mark): Abolish.
3808         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3809         (elmo-folder-flag-as-important): Ditto.
3810         (elmo-folder-unflag-read): Ditto.
3811         (elmo-folder-flag-as-read): Ditto.
3812         (elmo-folder-unflag-answered): Ditto.
3813         (elmo-folder-flag-as-answered): Ditto.
3814         (elmo-message-encache): Return the cache path.
3815         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3816         (elmo-message-set-flag): Transitional implementation.
3817         (elmo-message-unset-flag): Ditto.
3818         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3819         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3820         (elmo-init): Call elmo-global-flag-initialize.
3821         (toplevel): Added autoload settings for elmo-flag.
3822
3823         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3824
3825         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3826         (elmo-file-cache-delete): Don't treat global-mark.
3827
3828         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3829
3830         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3831
3832         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3833         `elmo-global-flags-set'.
3834
3835         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3836         `flag'.
3837         (elmo-folder-unflag-read): Ditto.
3838         (elmo-folder-unflag-important): Ditto.
3839         (elmo-folder-flag-as-important): Ditto.
3840         (elmo-folder-unflag-answered): Ditto.
3841         (elmo-folder-flag-as-answered): Ditto.
3842
3843         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3844         `elmo-global-flags-set'.
3845         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3846
3847         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3848
3849         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3850         `flag'.
3851         (elmo-folder-flag-as-important): Ditto.
3852         (elmo-folder-unflag-important): Ditto.
3853         (elmo-folder-flag-as-important): Ditto.
3854         (elmo-folder-unflag-read): Ditto.
3855         (elmo-folder-flag-as-read): Ditto.
3856         (elmo-folder-unflag-answered): Ditto.
3857         (elmo-folder-flag-as-answered): Ditto.
3858
3859         * elmo-multi.el (elmo-folder-list-importants): Don't call
3860         elmo-folder-list-messages-with-global-mark.
3861         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3862         (elmo-folder-unflag-important): Ditto.
3863         (elmo-folder-flag-as-read): Ditto.
3864         (elmo-folder-unflag-read): Ditto.
3865         (elmo-folder-flag-as-answered): Ditto.
3866         (elmo-folder-unflag-answered): Ditto.
3867
3868         * elmo-msgdb.el (elmo-msgdb-new-mark,
3869         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3870         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3871         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3872         (Moved to modb-legacy.el).
3873         (elmo-flag-table-get): Treat important flag too.
3874
3875         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3876         `mark' to `flag'.
3877         (elmo-map-folder-flag-as-important): Ditto.
3878         (elmo-map-folder-unflag-read): Ditto.
3879         (elmo-map-folder-flag-as-read): Ditto.
3880         (elmo-map-folder-unflag-answered): Ditto.
3881         (elmo-map-folder-flag-as-answered): Ditto.
3882         (elmo-folder-unflag-important): Ditto.
3883         (elmo-folder-flag-as-important): Ditto.
3884         (elmo-folder-unflag-read): Ditto.
3885         (elmo-folder-flag-as-read): Ditto.
3886         (elmo-folder-unflag-answered): Ditto.
3887         (elmo-folder-flag-as-answered): Ditto.
3888
3889         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3890         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3891         `flag'.
3892         (elmo-map-folder-unflag-important): Ditto.
3893         (elmo-map-folder-flag-as-read): Ditto.
3894         (elmo-map-folder-unflag-read): Ditto.
3895         (elmo-map-folder-flag-as-answered): Ditto.
3896         (elmo-map-folder-unflag-answered): Ditto.
3897
3898         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3899         `elmo-global-flags-set'.
3900         (elmo-global-flags-set): Added autoload setting.
3901
3902         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3903         `flag'.
3904
3905         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3906         `elmo-msgdb-global-mark-set'.
3907         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3908         Call `elmo-global-flags-set'.
3909         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3910         `flag'.
3911         (elmo-folder-flag-as-important-plugged): Ditto.
3912         (elmo-folder-unflag-read-plugged): Ditto.
3913         (elmo-folder-flag-as-read-plugged): Ditto.
3914         (elmo-folder-unflag-answered-plugged): Ditto.
3915         (elmo-folder-flag-as-answered-plugged): Ditto.
3916         (elmo-global-flags-set): Added autoload setting.
3917
3918         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3919         `flag'.
3920         (elmo-folder-unflag-read): Ditto.
3921         (elmo-folder-flag-as-important): Ditto.
3922         (elmo-folder-unflag-important): Ditto.
3923         (elmo-folder-flag-as-answered): Ditto.
3924         (elmo-folder-unflag-answered): Ditto.
3925
3926         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3927         change of `mark'->`flag'.
3928         (elmo-dop-queue-method-name-alist): Ditto.
3929         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3930         (elmo-folder-unflag-read-dop): Ditto.
3931         (elmo-folder-flag-as-important-dop): Ditto.
3932         (elmo-folder-unflag-important-dop): Ditto.
3933         (elmo-folder-flag-as-answered-dop): Ditto.
3934         (elmo-folder-unflag-answered-dop): Ditto.
3935
3936         * elmo-cache.el (elmo-folder-msgdb-create): Call
3937         `elmo-global-flags-set'.
3938
3939         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3940         Call `elmo-global-flags-set'.
3941         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3942         elmo-archive-parse-mmdf with argument `folder'.
3943         (elmo-archive-parse-mmdf): Added argument `folder';
3944         Call `elmo-global-flags-set'.
3945
3946         * elmo-version.el (elmo-version): Up to 2.11.14.
3947
3948 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3949
3950         * modb.el (elmo-msgdb-length): Define.
3951
3952         * elmo.el (elmo-make-folder): Fixed.
3953         (elmo-generic-folder-append-messages): Follow the API change.
3954
3955         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3956         API change.
3957
3958 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3959
3960         * modb.el: New file.
3961
3962         * modb-entity.el: Ditto.
3963
3964         * modb-legacy.el: Ditto.
3965
3966         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3967         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3968         of `elmo-msgdb-overview-get-entity'.
3969         (elmo-msgdb-get-field): Ditto.
3970         (elmo-msgdb-merge): Moved to `elmo.el'.
3971         (elmo-msgdb-length): Removed; redefine as modb method.
3972         (elmo-msgdb-change-mark): Abolish.
3973         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3974         (elmo-msgdb-match-condition): Don't use mark.
3975         (elmo-msgdb-overview-get-entity): Abolish.
3976         Split modb part into `modb*.el'.
3977
3978         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3979
3980         * elmo-shimbun.el (shimbun-mua-search-id): Use
3981         `elmo-msgdb-message-entity' instead of
3982         `elmo-msgdb-overview-get-entity'.
3983         (elmo-shimbun-folder-shimbun-header): Ditto.
3984         (elmo-shimbun-get-headers): Ditto.
3985         (elmo-shimbun-update-overview): Ditto.
3986
3987         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3988
3989         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3990
3991         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3992         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3993
3994         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3995         `elmo-msgdb-mark-to-flags'.
3996
3997         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3998         `elmo-msgdb-set-path'.
3999
4000         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4001  
4002         * elmo-version.el (elmo-version): Up to 2.11.13.
4003
4004         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4005
4006         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4007         of mark.
4008
4009 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4010
4011         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4012         mismatch.
4013
4014 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4015
4016         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4017         instead of `elmo-msgdb-get-cached'.
4018         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4019
4020         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4021         (elmo-msgdb-set-cached): Ditto.
4022         (elmo-msgdb-set-flag): Rewrite.
4023         (elmo-msgdb-unset-flag): Ditto.
4024
4025         * elmo-msgdb.el: Rewrite with luna.
4026
4027         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4028         (elmo-folder-msgdb): Follow the change above.
4029         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4030         (elmo-folder-unmark-important): Follow the API change.
4031         (elmo-folder-mark-as-important): Ditto.
4032         (elmo-folder-unmark-read): Ditto.
4033         (elmo-folder-mark-as-read): Ditto.
4034         (elmo-folder-unmark-answered): Ditto.
4035         (elmo-folder-mark-as-answered): Ditto.
4036         (elmo-folder-clear): Likewise.
4037
4038         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4039         instead of `elmo-msgdb-load' (renamed).
4040
4041         * elmo-version.el (elmo-version): Up to 2.11.12.
4042
4043 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4044
4045         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4046         change.
4047         (elmo-message-mark): Abolish.
4048         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4049         instead of `elmo-msgdb-change-mark'.
4050
4051         * elmo-pipe.el (elmo-message-mark): Abolish.
4052
4053         * elmo-multi.el (elmo-message-mark): Ditto.
4054
4055         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4056         (elmo-msgdb-unread-uncached-mark): Ditto.
4057         (elmo-msgdb-unread-cached-mark): Ditto.
4058         (elmo-msgdb-read-uncached-mark): Ditto.
4059         (elmo-msgdb-answered-cached-mark): Ditto.
4060         (elmo-msgdb-answered-uncached-mark): Ditto.
4061         (elmo-msgdb-important-mark): Ditto.
4062         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4063         `use-cache'.
4064         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4065         `flags'.
4066         (elmo-flag-table-load): Changed flag to list of flag.
4067         (elmo-flag-table-set): If flags is nil, set read flag.
4068         (elmo-flag-table-get): Return derived flags from global mark,
4069         cache status and saved flags.
4070         (elmo-msgdb-flag-table): Follow the change above.
4071         (elmo-msgdb-out-of-date-messages): New function.
4072
4073         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4074
4075         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4076
4077         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4078
4079         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4080         (elmo-nntp-msgdb-create-message): Ditto.
4081
4082         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4083
4084         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4085         independent.
4086         (elmo-folder-msgdb-create): Follow the API change.
4087
4088         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4089         (elmo-folder-append-messages): Ditto.
4090
4091         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4092         (elmo-folder-append-buffer): Ditto.
4093
4094         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4095
4096         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4097
4098         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4099         (elmo-archive-parse-mmdf): Ditto.
4100
4101         * elmo-version.el (elmo-version): Up to 2.11.11.
4102
4103 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4104
4105         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4106         `elmo-msgdb-mark'.
4107
4108         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4109
4110         * elmo-pipe.el (elmo-message-flags): Defined.
4111
4112         * elmo-multi.el (elmo-message-flags): Ditto.
4113
4114 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4115
4116         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4117         `elmo-msgdb-delete-msgs'.
4118
4119         * elmo.el (elmo-folder-count-flags): Don't use
4120         `elmo-msgdb-get-mark-alist'.
4121         (elmo-folder-detach-messages): Follow the API change.
4122
4123         * elmo.el (elmo-folder-list-messages): Append killed messages into
4124         result if `visible-only' is nil.
4125
4126         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4127         canceled messages.
4128         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4129         (elmo-folder-update-number): Likewise.
4130
4131         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4132         (elmo-pop3-sort-msgdb-by-original-number): Use
4133         `elmo-msgdb-sort-entities'.
4134
4135         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4136         (elmo-msgdb-sort-by-date): Use it.
4137         (elmo-msgdb-overview-sort-by-date): Abolish.
4138
4139         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4140
4141         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4142         (elmo-msgdb-flags): New function.
4143         (elmo-msgdb-merge): Use elmo-msgdb-append.
4144
4145         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4146         change.
4147
4148         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4149
4150         * elmo-dop.el (elmo-folder-status-dop): Use
4151         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4152
4153 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4154
4155         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4156
4157         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4158
4159         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4160
4161         * elmo-util.el (elmo-with-progress-display): New macro.
4162
4163         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4164
4165 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4166
4167         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4168         `elmo-folder-list-message-entities' instead of
4169         `elmo-msgdb-get-overview'.
4170         (elmo-map-folder-list-message-locations): Ditto.
4171
4172         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4173         methods instead of treat directly).
4174         (elmo-msgdb-clear): Ditto.
4175         (elmo-msgdb-delete-msgs): Ditto.
4176         (elmo-msgdb-sort-by-date): Ditto.
4177
4178         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4179         local variables.
4180         (elmo-nntp-folder-msgdb-create): Follow the API change.
4181
4182         * elmo-version.el (elmo-version): Up to 2.11.10.
4183
4184 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4185
4186         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4187         (elmo-msgdb-flags-to-mark): Ditto.
4188         (elmo-msgdb-append-entity): Ditto.
4189
4190         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4191         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4192         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4193         (elmo-archive-parse-mmdf): Ditto.
4194
4195         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4196
4197         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4198
4199         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4200
4201         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4202
4203         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4204
4205         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4206
4207         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4208
4209         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4210
4211         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4212         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4213         to empty msgdb.
4214
4215         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4216         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4217         instead of directly construction.
4218         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4219         instead of construct msgdb.
4220
4221         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4222         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4223         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4224         instead of construct msgdb.
4225
4226 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4227
4228         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4229         when field is from or subject.
4230
4231 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4232
4233         * elmo-multi.el (elmo-message-entity-parent): Define.
4234         (elmo-folder-search): Rewrite.
4235
4236 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4237
4238         * elmo-multi.el (elmo-message-cached-p): Define.
4239
4240         * elmo.el (elmo-message-cached-p): New method.
4241         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4242         (elmo-message-flags): New method.
4243         (elmo-message-flagged-p): New function.
4244
4245         * elmo-version.el (elmo-version): Up to 2.11.9.
4246
4247 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4248
4249         * elmo-version.el (elmo-version): Up to 2.11.8.
4250
4251         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4252
4253         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4254
4255 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4256
4257         * elmo.el (elmo-folder-detach-messages): Undo last change.
4258
4259 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4260
4261         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4262
4263         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4264         only when src folder type is pop3.
4265
4266 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4267
4268         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4269         elmo-msgdb-overview-entity-get-number instead of
4270         elmo-message-entity-number.
4271
4272 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4273
4274         * elmo-version.el (elmo-version): Up to 2.11.7.
4275
4276 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4277
4278         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4279         function.
4280
4281         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4282         (elmo-msgdb-merge): New function.
4283         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4284         (elmo-msgdb-make-index): Rewrite.
4285
4286         * elmo-version.el (elmo-version): Up to 2.11.6.
4287
4288         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4289         use it as a the path for loading message entities.
4290
4291         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4292
4293 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4294
4295         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4296         message-modified slot of itself if it does not require target msgdb.
4297
4298         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4299         if folder length is zero.
4300         (elmo-mime-display-as-is): Ditto.
4301
4302         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4303
4304         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4305
4306 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4307
4308         * elmo.el (elmo-folder-set-message-modified): New method.
4309         (elmo-generic-folder-commit): Use it.
4310         (elmo-folder-synchronize): Ditto.
4311
4312         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4313         (elmo-folder-commit): Remove duplicate definition.
4314
4315 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4316
4317         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4318
4319 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4320
4321         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4322         (elmo-strict-folder-diff): Ditto.
4323         (elmo-folder-set-info-max-by-numdb): Simplify.
4324
4325         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4326         elmo-msgdb-list-messages.
4327
4328         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4329         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4330
4331 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4332
4333         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4334         visible-only is non-nil.
4335         (elmo-folder-confirm-appends): Changed message.
4336         (elmo-folder-synchronize): Added argument disable-killed.
4337
4338         * elmo-multi.el (elmo-folder-synchronize): Added argument
4339         disable-killed.
4340
4341         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4342
4343         * elmo-version.el (elmo-version): Up to 2.11.5.
4344
4345         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4346         elmo-list-filter.
4347
4348         * elmo-util.el (elmo-list-filter): Simplify.
4349
4350         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4351         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4352         (elmo-generic-folder-diff): Abolish argument.
4353         (elmo-msgdb-load): Don't use number-alist.
4354
4355         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4356
4357         * elmo-pipe.el (elmo-folder-diff): Ditto.
4358
4359         * elmo-nmz.el (elmo-folder-diff): Ditto.
4360
4361         * elmo-net.el (elmo-folder-diff): Ditto.
4362
4363         * elmo-maildir.el (elmo-folder-diff): Ditto.
4364
4365         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4366
4367         * elmo-multi.el (elmo-folder-diff): Ditto
4368         (elmo-multi-folder-diff): Rewrite.
4369
4370 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4371
4372         * elmo-pipe.el (elmo-folder-msgdb): Define.
4373
4374 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4375
4376         * elmo.el (elmo-message-set-cached): Define as a method.
4377
4378         * elmo-pipe.el (elmo-message-set-cached): Define.
4379         (elmo-find-fetch-strategy): Ditto.
4380
4381         * elmo-multi.el (elmo-message-set-cached): Define.
4382         (elmo-find-fetch-strategy): Rewrite.
4383
4384         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4385
4386         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4387
4388 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4389
4390         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4391         instead of number-alist.
4392
4393         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4394         mark nor message-id when msgdb of source folder is not loaded.
4395
4396         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4397
4398         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4399
4400 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4401
4402         * elmo.el (elmo-folder-length): Don't require msgdb.
4403
4404 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4405
4406         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4407         (elmo-message-field): Ditto.
4408
4409         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4410         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4411         slot.
4412         (elmo-map-folder-list-answereds): Define.
4413         (elmo-maildir-list-location): Treat 'R' info.
4414         (elmo-folder-msgdb-create): Treat flag-table.
4415         (elmo-folder-append-messages): Save flag-table.
4416
4417 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4418
4419         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4420         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4421
4422 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4423
4424         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4425
4426         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4427         'read when mark is null.
4428
4429 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4430
4431         * elmo-version.el (elmo-version): Up to 2.11.4.
4432
4433 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4434
4435         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4436         (elmo-folder-mark-as-answered): Ditto.
4437
4438 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4439
4440         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4441         (elmo-pop3-get-session): Make msgdb directory after session.
4442         (elmo-folder-exists-p): Check exactly at the first time even when the
4443         elmo-pop3-exists-exactly is nil.
4444
4445         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4446         (elmo-folder-list-messages): Define instead of
4447         elmo-folder-list-messages-internal.
4448         (elmo-folder-check): Check destination folder.
4449         (elmo-folder-synchronize): Drain the pipe.
4450
4451         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4452         when msgdb is not loaded.
4453
4454         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4455
4456         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4457         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4458         messages.
4459
4460         * elmo.el (elmo-folder-kill-messages-before): New function.
4461         (elmo-folder-kill-messages): Ditto.
4462         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4463
4464         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4465         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4466         killed not by synchronize (e.g. scoring).
4467
4468 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4469
4470         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4471         treated.
4472         (elmo-folder-search): Follow the change above.
4473
4474         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4475         into the candidates of search field.
4476
4477 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4478
4479         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4480         (elmo-msgdb-unset-flag): Ditto.
4481
4482         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4483
4484 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4485
4486         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4487         (elmo-folder-commit): Define.
4488         (elmo-folder-synchronize): Ditto.
4489         (elmo-folder-list-flagged): Ditto.
4490         (elmo-folder-commit): Ditto.
4491         (elmo-folder-length): Ditto.
4492         (elmo-folder-count-flags): Ditto.
4493         (elmo-message-mark): Ditto.
4494         (elmo-message-field): Ditto.
4495         (elmo-message-entity): Ditto.
4496         (elmo-message-folder): Ditto.
4497
4498 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4499
4500         * elmo.el (elmo-message-field): Define as a method.
4501
4502         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4503         (elmo-message-field): Define.
4504
4505         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4506         (elmo-folder-list-importants): Ditto.
4507         (elmo-folder-list-answereds): Ditto.
4508
4509         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4510         qualifier.
4511         (elmo-folder-mark-as-read): Ditto.
4512         (elmo-folder-unmark-read): Ditto.
4513         (elmo-folder-mark-as-answered): Ditto.
4514         (elmo-folder-unmark-answered): Ditto.
4515         (elmo-folder-list-flagged): Define.
4516         (elmo-folder-commit): Ditto.
4517         (elmo-folder-length): Ditto.
4518         (elmo-folder-count-flags): Ditto.
4519
4520 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4521
4522         * elmo.el (elmo-folder-detach-messages): New method.
4523         (elmo-folder-move-messages): Use it.
4524         (elmo-folder-synchronize): Ditto.
4525
4526         * elmo-multi.el (elmo-folder-detach-messages): Define.
4527
4528         * elmo.el (elmo-message-copy-entity): New function.
4529         (elmo-message-entity-set-number): Ditto.
4530         (elmo-message-mark): Define as method.
4531
4532         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4533         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4534         (elmo-message-entity): Fixed last change.
4535         (elmo-message-mark): Define.
4536         (elmo-folder-msgdb-create): Abolish.
4537         (elmo-multi-folder-append-msgdb): Ditto.
4538         (elmo-multi-folder-diff): Fixed.
4539         (elmo-multi-split-number-alist): Removed.
4540         (elmo-multi-split-mark-alist): Removed.
4541         (elmo-folder-list-messages): Define.
4542         (elmo-folder-list-messages-internal): Removed.
4543
4544         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4545         local file messages.
4546         (elmo-folder-msgdb-create): Fixed read mark.
4547
4548 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4549
4550         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4551         if mark is nil.
4552
4553 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4554
4555         * elmo.el (elmo-folder-list-message-entities): Define as inline
4556         function.
4557         (elmo-folder-messages): Abolish.
4558
4559         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4560         folder.
4561         (elmo-folder-synchronize): Define.
4562         (elmo-message-entity): Define.
4563
4564 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4565
4566         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4567         elmo-imap4-session-select-mailbox.
4568
4569         * elmo.el (elmo-folder-move-messages): Don't display any message.
4570
4571         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4572         parsing.
4573         (elmo-imap4-session-check): Don't wait CHECK response.
4574         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4575
4576 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4577
4578         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4579
4580 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4581
4582         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4583         API.
4584         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4585
4586
4587         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4588         (elmo-folder-list-message-entities): Added argument in-msgdb and
4589         numbers.
4590         (elmo-folder-synchronize): Define as a method.
4591
4592         * elmo-nntp.el (elmo-folder-initialize): Don't use
4593         elmo-nntp-default-user if zero-length username is specified
4594         explicitly.
4595
4596 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4597
4598         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4599         server name in case with username.
4600         (XXX: this is ad-hoc fix against username includes "@", it
4601         should be solved fundamentally)
4602
4603 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4604
4605         * elmo-nntp.el (elmo-nntp-debug): New function.
4606         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4607         (elmo-network-authenticate-session): Hide auth-info from the log.
4608
4609         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4610         user name if it is equal to elmo-nntp-default-user.
4611
4612 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4613
4614         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4615         instead of shimbun-server-internal;
4616         Use shimbun-current-group instead of shimbun-current-group-internal.
4617         (elmo-folder-plugged-p): Use shimbun-server instead of
4618         shimbun-server-internal.
4619         (elmo-folder-set-plugged): Ditto.
4620         (elmo-net-port-info): Ditto.
4621         (elmo-folder-check): Ditto.
4622         (elmo-folder-expand-msgdb-path): Ditto.
4623         (elmo-folder-list-subfolders): Ditto.
4624
4625 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4626
4627         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4628         Convert field-name to lower case.
4629         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4630
4631 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4632
4633         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4634         `message' and `error' take format string.
4635
4636 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4637
4638         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4639
4640 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4641
4642         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4643         recursive call (can't byte compile on emacs 20.7).
4644
4645 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4646
4647         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4648         (elmo-folder-list-message-entities): New API.
4649         (elmo-message-entity): Ditto.
4650         (elmo-message-entity-parent): Ditto.
4651         (elmo-folder-do-each-message-entity): Ditto.
4652         (elmo-message-entity-number): Ditto.
4653         (elmo-message-entity-field): Ditto.
4654         (elmo-message-entity-set-field): Ditto.
4655         (elmo-folder-count-flags): Ditto.
4656         (elmo-folder-length): Ditto.
4657
4658         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4659         not.
4660
4661         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4662         (elmo-msgdb-count-marks): Abolish.
4663         (elmo-msgdb-make-entity): Ditto.
4664         (elmo-msgdb-do-each-entity): Ditto.
4665         (elmo-msgdb-message-entity): New inline function.
4666         (elmo-msgdb-message-entity-field): Ditto.
4667         (elmo-msgdb-message-entity-set-field): Ditto.
4668         (elmo-msgdb-make-message-entity): New function.
4669
4670 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4671
4672         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4673         to flag. (All other related portions are changed.)
4674         (elmo-folder-msgdb-create): Likewise.
4675         (elmo-generic-folder-append-messages): Use flag-table instead of
4676         seen-list.
4677         (elmo-folder-move-messages): Removed redundant process.
4678         (elmo-folder-synchronize): Likewise.
4679
4680         * elmo-msgdb.el (elmo-flag-table-get): New function.
4681         (elmo-flag-table-save): Fixed.
4682         (elmo-msgdb-length): New inline function.
4683         (elmo-msgdb-flag-table): New function.
4684         (elmo-msgdb-mark): Add optional argument new.
4685         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4686         (elmo-msgdb-seen-list): Ditto.
4687         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4688
4689
4690 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4691
4692         * elmo.el (elmo-message-set-mark): Abolish.
4693         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4694         (All related portions are changed.)
4695
4696         * elmo-msgdb.el (toplevel): Added comment.
4697         (elmo-load-msgdb): Added 4th element `path'.
4698         (elmo-msgdb-append): Follow the change above.
4699         (elmo-msgdb-clear): Ditto.
4700         (elmo-msgdb-delete-msgs): Ditto.
4701         (elmo-msgdb-get-path): New inline function.
4702         (elmo-msgdb-set-path): Ditto.
4703         (elmo-flag-table-filename): New variable.
4704         (elmo-flag-table-load): New function.
4705         (elmo-flag-table-set): Ditto.
4706         (elmo-flag-table-save): Ditto.
4707         (elmo-msgdb-get-field-value): Abolish.
4708         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4709
4710 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4711
4712         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4713         the folder has been deleted successfully.
4714         * elmo-imap4.el (elmo-folder-delete): Ditto.
4715         * elmo-archive.el (elmo-folder-delete): Ditto.
4716         * elmo-localdir.el (elmo-folder-delete): Ditto.
4717         * elmo-maildir.el (elmo-folder-delete): Ditto.
4718
4719 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4720
4721         * elmo-util.el (elmo-string-member-ignore-case): New function.
4722         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4723         (elmo-imap4-fetch-callback-1-subr): Likewise.
4724
4725 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4726
4727         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4728         the case of the name attribute "\Noselect".
4729
4730 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4731
4732         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4733
4734         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4735         flist, is not always a member of onum-alist.
4736
4737 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4738
4739         * elmo-version.el (elmo-version): Up to 2.11.3.
4740
4741 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4742
4743         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4744         copied from localdir's one.
4745
4746         * elmo-pipe.el (elmo-folder-rename): New method, rename
4747         destination folder with leaving source folder as it is.
4748
4749 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4750
4751         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4752         replace-regexp.
4753
4754 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4755
4756         * elmo-version.el (elmo-version): Up to 2.11.2.
4757
4758 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4759
4760         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4761         shimbun-open in case of "@".
4762         (elmo-folder-open-internal): Cope with shimbun = nil case.
4763         (elmo-folder-plugged-p): Ditto.
4764         (elmo-folder-list-subfolders): Make list for "@/" group.
4765
4766 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4767
4768         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4769         mailbox (e.g. for %~/something).
4770
4771 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4772
4773         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4774         Replace nested conditional with guard clauses.
4775
4776 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4777
4778         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4779         error [wl:11327].
4780
4781         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4782         print-depth.
4783
4784 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4785
4786         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4787         Replace nested conditional with guard clauses.
4788
4789 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4790
4791         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4792         (elmo-passwd-alist-save): Ditto.
4793         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4794
4795 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4796
4797         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4798         dir-name only if it is absolute path.
4799         (TODO: distinguish +/something and +something)
4800
4801 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4802
4803         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4804         path for "+~/something".
4805
4806 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4807
4808         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4809         as non-directory, cause error before rename-file.
4810         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4811         apropriately, mimic localdir's one.
4812         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4813
4814 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4815
4816         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4817
4818 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4819
4820         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4821
4822         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4823         
4824         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4825         is included in the global-mark or not.
4826
4827 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4828
4829         * utf7.el (toplevel): Avoid error when the function
4830         find-coding-system does not exist.
4831
4832 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4833
4834         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4835         cache even if the folder is plugged.
4836         (elmo-nntp-search-primitive): Do nothing when body search is
4837         invoked (although it is not used by the change above).
4838         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4839
4840 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4841
4842         * elmo-version.el (elmo-version): Up to 2.11.1.
4843
4844 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4845
4846         * elmo-archive.el: Specify charset.
4847
4848 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4849
4850         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4851         process buffer lives or not.
4852
4853         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4854         while flushing queues (It causes infinite loop).
4855
4856 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4857
4858         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4859
4860 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4861
4862         * utf7.el (toplevel): Check the ucs features dynamically.
4863         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4864
4865         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4866         folder is creatabe or not if it already exists.
4867
4868 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4869
4870         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4871
4872         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4873
4874         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4875         (elmo-imap4-read-response): Take care of garbage response.
4876
4877 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4878
4879         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4880         just return nil instead of error.
4881
4882 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4883
4884         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4885         search-key is "body".
4886
4887 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4888
4889         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4890         of elmo-string-matched-assoc to use match-data.
4891         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4892
4893 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4894
4895         * elmo-split.el (elmo-split->): New function.
4896         (elmo-split-<): Ditto.
4897
4898 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4899
4900         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4901         workaround for invalid message-id.
4902
4903 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4904
4905         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4906         return normal pop3 session or pop3 biff session.
4907
4908 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4909
4910         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4911         info part to the cur files when the new files already have it.
4912         (Adviced by Jared Rhine <jared@wordzoo.com>)
4913
4914 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4915
4916         * elmo-split.el (elmo-split-default-action): New variable.
4917         (elmo-split-subr): Use it if all other conditions are passed.
4918         Extend `fname' and rename it as `action'. (implemented
4919         Teranishi-san's idea in [wl:10800])
4920
4921 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4922
4923         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4924         * elmo-util.el: Ditto.
4925
4926 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4927
4928         * elmo.el (elmo-message-accessible-p): Renamed from
4929         elmo-message-cached-p and rewritten.
4930
4931 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4932
4933         * elmo.el (elmo-folder-list-flagged): New generic function.
4934         (elmo-folder-list-importants): New implementation.
4935         (elmo-folder-list-answereds): Ditto.
4936         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4937         Added 'digest'.
4938         (elmo-message-cached-p): New function.
4939         (elmo-message-set-flag): Ditto (no content).
4940         (elmo-message-unset-flag): Ditto.
4941         (elmo-folder-list-messages-mark-match): Abolish.
4942
4943         * elmo-util.el (elmo-regexp-opt): New function.
4944
4945         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4946         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4947         Added 'digest'.
4948         (elmo-msgdb-list-flagged): New function.
4949
4950         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4951         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4952         Added 'digest'.
4953
4954         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4955
4956 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4957
4958         * elmo-version.el (elmo-version): Up to 2.11.0.
4959
4960 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4961
4962         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4963         `elmo-file-cache-exists-p'; use proper mark that depends on
4964         `use-cache'.
4965         (elmo-msgdb-unset-flag): Ditto.
4966         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4967
4968         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4969         with 4th argument `use-cache'.
4970
4971 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4972
4973         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4974         (elmo-folder-mark-as-important): Ditto.
4975         (elmo-folder-unmark-read): Ditto.
4976         (elmo-folder-mark-as-read): Ditto.
4977         (elmo-folder-unmark-answered): Ditto.
4978         (elmo-folder-mark-as-answered): Ditto.
4979
4980         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4981         message status.
4982         (elmo-msgdb-mark): Likewise.
4983         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4984         (elmo-msgdb-unset-flag): Likewise.
4985
4986         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4987
4988 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4989
4990         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4991         `last:' filter.
4992
4993 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4994
4995         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4996         set spool-length to 0.
4997
4998 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4999
5000         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5001         (elmo-dop-queue-flush): Fixed last change.
5002
5003 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5004
5005         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5006         if require-msgdb slot is nil.
5007         (elmo-folder-list-importants): Likewise.
5008
5009 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5010
5011         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5012         mark is changed.
5013
5014         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5015         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5016         is changed.
5017
5018 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5019
5020         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5021
5022 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
5023
5024         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5025
5026         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5027
5028 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5029
5030         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5031         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5032
5033 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5034
5035         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5036         the problem reported by Sean Rima [wl-en:180].
5037
5038 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5039
5040         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5041
5042         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5043
5044         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5045
5046         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5047
5048         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5049
5050         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5051
5052         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5053
5054 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5055
5056         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5057         status number.
5058
5059 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5060
5061         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5062         (elmo-folder-mark-as-read): Follow the API change.
5063         (elmo-message-set-cached): New function.
5064
5065         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5066
5067         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5068
5069         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5070         (elmo-folder-mark-as-important): Ditto.
5071         (elmo-folder-unmark-read): Ditto.
5072         (elmo-folder-mark-as-read): Ditto.
5073         (elmo-folder-unmark-answered): Ditto.
5074         (elmo-folder-mark-as-answered): Ditto.
5075
5076         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5077         (elmo-folder-unmark-important): Ditto.
5078         (elmo-folder-mark-as-read): Ditto.
5079         (elmo-folder-unmark-read): Ditto.
5080         (elmo-folder-mark-as-answered): Ditto.
5081         (elmo-folder-unmark-answered): Ditto.
5082
5083         * elmo-mark.el (toplevel): Removed some mark method definitions.
5084
5085         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5086         (elmo-map-folder-mark-as-answered): Ditto.
5087         (elmo-folder-unmark-important): Add :before qualifier.
5088         (elmo-folder-mark-as-important): Ditto.
5089         (elmo-folder-unmark-read): Ditto.
5090         (elmo-folder-mark-as-read): Ditto.
5091         (elmo-folder-unmark-answered): Define.
5092         (elmo-folder-mark-as-answered): Ditto.
5093
5094         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5095         (elmo-map-folder-unmark-answered): Ditto.
5096
5097         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5098
5099         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5100         (elmo-folder-mark-as-important): Ditto.
5101         (elmo-folder-unmark-read): Ditto.
5102         (elmo-folder-mark-as-read): Ditto.
5103         (elmo-folder-unmark-answered): Ditto.
5104         (elmo-folder-mark-as-answered): Ditto.
5105
5106         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5107         `mark'; evaluate mark condition.
5108         (elmo-msgdb-match-condition-internal): New function.
5109         (elmo-msgdb-match-condition): Call it; changed argument.
5110
5111         * elmo.el (elmo-folder-search): Follow the API change on
5112         `elmo-msgdb-match-condition'.
5113
5114 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5115
5116         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5117         original mark is non-nil.
5118
5119 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5120
5121         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5122         (elmo-map-folder-list-answereds): New method.
5123         (elmo-folder-list-unreads): Add :around qualifier.
5124         (elmo-folder-list-importants): Ditto.
5125         (elmo-folder-list-answereds): Ditto.
5126
5127 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5128
5129         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5130
5131         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5132         method if msgdb is not required.
5133         (elmo-filter-folder-list-importants): Don't treat global-mark.
5134
5135         * elmo.el (elmo-folder-list-importants): Ditto.
5136
5137         * elmo-net.el (elmo-folder-list-importants): Ditto.
5138
5139         * elmo-map.el (elmo-folder-list-importants): Ditto.
5140
5141         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5142
5143         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5144         (elmo-imap4-folder-list-any-plugged): New function.
5145         (elmo-imap4-search-internal-primitive): Use it.
5146
5147         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5148         only when require-msgdb slot is non-nil.
5149         (elmo-folder-close): Clear target folder's msgdb.
5150
5151 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5152
5153         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5154         (elmo-pop3-msgdb-create-by-header): Ditto.
5155         (elmo-pop3-msgdb-create-message): Ditto.
5156
5157         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5158
5159         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5160
5161         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5162
5163         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5164         (elmo-folder-msgdb-create): Ditto.
5165         (elmo-nntp-folder-msgdb-create): Ditto.
5166         (elmo-nntp-msgdb-create-by-header): Ditto.
5167         (elmo-nntp-msgdb-create-message): Ditto.
5168         (elmo-folder-list-unreads): Define.
5169
5170         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5171         (elmo-folder-append-messages): Ditto.
5172         (elmo-folder-list-unreads): Define.
5173         (elmo-folder-list-importants): Ditto.
5174         (elmo-folder-list-answereds): Ditto.
5175
5176         * elmo-net.el (elmo-folder-list-unreads): Define.
5177         (elmo-folder-list-importants): Ditto.
5178         (elmo-folder-list-answereds): Ditto.
5179         (elmo-folder-list-answereds-plugged): Ditto.
5180         (elmo-folder-msgdb-create): Follow the API change.
5181         (elmo-folder-msgdb-create-unplugged): Ditto.
5182         (elmo-folder-unmark-answered): Define.
5183         (elmo-folder-mark-as-answered-unplugged): Ditto.
5184         (elmo-folder-unmark-answered-unplugged): Ditto.
5185
5186         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5187         (elmo-msgdb-unread-uncached-mark): Ditto.
5188         (elmo-msgdb-unread-cached-mark): Ditto.
5189         (elmo-msgdb-read-uncached-mark): Ditto.
5190         (elmo-msgdb-answered-cached-mark): Ditto.
5191         (elmo-msgdb-answered-uncached-mark): Ditto.
5192         (elmo-msgdb-important-mark): Ditto.
5193         (elmo-msgdb-set-mark): Rewrite.
5194         (elmo-msgdb-count-marks): Rewrite.
5195         (elmo-msgdb-mark-alist-set): Abolish.
5196         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5197         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5198
5199         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5200         (elmo-folder-close): Define.
5201         (elmo-folder-msgdb-create): Follow the API change.
5202         (elmo-folder-list-unreads): Rewrite.
5203         (elmo-folder-mark-as-important): Ditto.
5204         (elmo-folder-unmark-important): Ditto.
5205         (elmo-folder-mark-as-read): Ditto.
5206         (elmo-folder-unmark-read): Ditto.
5207         (elmo-folder-mark-as-answered): Define.
5208         (elmo-folder-unmark-answered): Ditto.
5209
5210         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5211         (elmo-folder-append-messages): Ditto.
5212
5213         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5214
5215         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5216         (elmo-folder-list-importants): Ditto.
5217
5218         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5219         (elmo-folder-append-messages): Ditto.
5220
5221         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5222         change.
5223         (elmo-folder-msgdb-create-plugged): Ditto.
5224         (elmo-folder-append-messages): Ditto.
5225         (elmo-folder-list-answereds-plugged): Define.
5226         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5227         (elmo-folder-unmark-answered-plugged): Define.
5228         (elmo-folder-mark-as-answered-plugged): Ditto.
5229         (elmo-folder-search-requires-msgdb-p): Ditto.
5230
5231         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5232         (elmo-folder-initialize): Set it.
5233         (elmo-folder-msgdb): Define.
5234         (elmo-folder-check): Call elmo-folder-synchronize.
5235         (elmo-folder-close): Define.
5236         (elmo-folder-commit): Ditto.
5237         (elmo-folder-msgdb-create): Rewrite.
5238         (elmo-folder-list-unreads): Ditto.
5239         (elmo-folder-list-importants): Ditto.
5240         (elmo-folder-mark-as-read): Ditto.
5241         (elmo-folder-unmark-read): Ditto.
5242         (elmo-folder-mark-as-important): Ditto.
5243         (elmo-folder-unmark-important): Ditto.
5244         (elmo-folder-mark-as-answered): Define.
5245         (elmo-folder-unmark-answered): Ditto.
5246
5247         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5248         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5249         (elmo-dop-queue-method-name-alist): Likewise.
5250         (elmo-folder-mark-as-answered-dop): New inline function.
5251         (elmo-folder-unmark-answered-dop): Ditto.
5252         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5253
5254         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5255         (elmo-folder-msgdb-create): Ditto.
5256         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5257         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5258         (elmo-archive-parse-mmdf): Ditto.
5259
5260         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5261         (elmo-folder-list-unreads-internal): Ditto.
5262
5263         * elmo.el (elmo-folder-msgdb): Define as generic function.
5264         (elmo-folder-list-messages): Added argument `in-msgdb'.
5265         (elmo-folder-list-unreads): Define as generic function.
5266         (elmo-folder-list-importants): Ditto.
5267         (elmo-folder-list-answereds): Ditto.
5268         (elmo-folder-list-messages-with-global-mark): New function.
5269         (elmo-folder-msgdb-create): Removed mark arguments.
5270         (elmo-folder-unmark-answered): New generic function.
5271         (elmo-folder-mark-as-answered): Ditto.
5272         (elmo-folder-append-messages): Removed argunment `unread-marks'
5273         (elmo-folder-list-unreads-internal): Abolish.
5274         (elmo-folder-list-importants-internal): Ditto.
5275         (elmo-folder-search-requires-msgdb-p): New generic function.
5276         (elmo-folder-search-requires-msgdb-p-internal): New function.
5277         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5278         elmo-msgdb-load.
5279         (elmo-folder-search-fast): Added key 'mark'.
5280         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5281         instead of unread-marks argument.
5282         (elmo-folder-move-messages): Removed argunment `unread-marks'
5283         (elmo-folder-unmark-important): Define.
5284         (elmo-folder-mark-as-important): Ditto.
5285         (elmo-folder-unmark-read): Ditto.
5286         (elmo-folder-mark-as-read): Ditto.
5287         (elmo-folder-unmark-answered): Ditto.
5288         (elmo-folder-mark-as-answered): Ditto.
5289         (elmo-folder-replace-marks): Abolish.
5290         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5291         duplicates.
5292         (elmo-folder-synchronize): Removed mark arguments;
5293         return crosspost only number.
5294
5295 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5296
5297         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5298         Remove redundunt connectivity check.
5299
5300 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5301
5302         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5303         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5304
5305 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5306
5307         * pldap.el (ldap-decode-string): Return string as-is if
5308         `ldap-coding-system' is nil.
5309         (ldap-encode-string): Ditto.
5310         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5311         (ldap-default-host): Fixed docstring.
5312
5313 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5314
5315         * elmo-util.el (elmo-warning): Define as a macro which uses
5316         `display-warning' if it is defined as a function.
5317
5318         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5319         (elmo-split-equal): Use it.
5320         (elmo-split-match): Ditto.
5321         (elmo-split-message-entity): New buffer-local variable.
5322         (elmo-split-subr): Set it.
5323
5324         * elmo-version.el (elmo-version): Up to 2.9.15.
5325
5326 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5327
5328         * elmo-imap4.el (elmo-network-initialize-session):
5329         Check capability after starttls.
5330
5331 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5332
5333         * elmo-util.el (elmo-list-delete): Added optional argument
5334         DELETE-FUNCTION.
5335
5336         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5337
5338         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5339
5340         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5341
5342         * elmo-imap4.el (elmo-folder-initialize): Don't use
5343         elmo-imap4-default-mailbox.
5344
5345 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5346
5347         * elmo-split.el (toplevel): Use `product-provide'.
5348         (elmo-split): Checkdoc.
5349
5350 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5351
5352         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5353         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5354         the function `elmo-imap4-debug-1'.
5355
5356 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5357
5358         * elmo-split.el (elmo-split): Moved to run hooks and to show
5359         message from elmo-split-subr.
5360         (elmo-split-subr): Follow the change above.
5361
5362         * elmo-split.el (elmo-split-subr): New function (renamed from
5363         elmo-split-subr).
5364         (elmo-split): Changed to call elmo-split-subr by element of
5365         elmo-split-folder.
5366         (elmo-split-folder): Changed customization type to choice.
5367
5368 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5369
5370         * elmo-split.el (elmo-split-and): Fixed condition.
5371
5372 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5373
5374         * elmo-split.el: New file.
5375         (elmo-split): Fixed logic.
5376         Display "Test:" instead of "Folder:" when reharsal.
5377
5378         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5379         explicitly.
5380
5381         * elmo-version.el (elmo-version): Up to 2.9.14.
5382
5383         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5384         wl-expand-newtext).
5385
5386 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5387
5388         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5389         message with no message-id field.
5390
5391 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5392
5393         * elmo-version.el (elmo-version): Up to 2.9.13.
5394
5395         * elmo-dop.el (elmo-folder-status-dop): Fix.
5396
5397 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5398
5399         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5400
5401         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5402         changing default value of default-mime-charset.
5403         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5404
5405         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5406
5407         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5408         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5409         instead of elmo-dop-queue-method-name-alist to check merging queue.
5410         (elmo-folder-delete-messages-dop): Delete from queue if negative
5411         message number.
5412         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5413         file is already removed.
5414
5415 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5416
5417         * elmo-vars.el: Bind colon keywords for old Emacsen.
5418
5419 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5420
5421         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5422         against non-exsisting charset.
5423
5424 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5425
5426         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5427         Use eword-decode-and-unfold-unstructured-field-body.
5428
5429         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5430         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5431         exists to decode raw subject string.
5432         (toplevel): Require 'mime.
5433
5434         * elmo-version.el (elmo-version): Up to 2.9.12.
5435
5436 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5437
5438         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5439         (elmo-msgdb-set-mark): Ditto.
5440
5441         * elmo-version.el (elmo-version): Up to 2.9.11.
5442
5443 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5444
5445         * elmo-util.el (elmo-delete-match-files): New function.
5446
5447         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5448         instead of elmo-delete-directory.
5449
5450         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5451         elmo-hash-minimun-size as 63.
5452
5453         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5454         elmo-diff-unread is nil.
5455
5456         * elmo-imap4.el (elmo-folder-open): Fix.
5457
5458         * elmo.el (elmo-message-mark): Rewrite.
5459         (elmo-message-field): Ditto.
5460         (elmo-message-set-mark): Ditto.
5461         (elmo-folder-replace-marks): New function.
5462         (elmo-generic-folder-append-msgdb): Removed third argument for
5463         elmo-msgdb-append.
5464         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5465         (elmo-msgdb-load): New implementation.
5466
5467         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5468
5469         * elmo-util.el (elmo-list-insert): New implementation.
5470
5471         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5472         argument for elmo-msgdb-append.
5473         
5474
5475         * elmo-msgdb.el (elmo-load-msgdb): New function.
5476         (elmo-make-msgdb): Ditto.
5477         (elmo-msgdb-get-index): New inline function.
5478         (elmo-msgdb-set-index): Ditto.
5479         (elmo-msgdb-get-entity-hashtb): Ditto.
5480         (elmo-msgdb-get-mark-hashtb): Ditto.
5481         (elmo-msgdb-get-mark): Ditto.
5482         (elmo-msgdb-set-mark): Ditto.
5483         (elmo-msgdb-count-marks): Ditto.
5484         (elmo-msgdb-get-number): Ditto.
5485         (elmo-msgdb-get-field): Ditto.
5486         (elmo-msgdb-seen-list): Ditto.
5487         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5488         (elmo-msgdb-delete-msgs): Follow the changes above.
5489         (elmo-msgdb-overview-get-entity): Ditto.
5490         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5491         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5492         and rewritten.
5493         (elmo-msgdb-make-index): Likewise.
5494         (elmo-msgdb-append): Removed third argument.
5495         (elmo-msgdb-clear): Clear index as nil.
5496         (elmo-folder-set-info-hashtb): Removed.
5497         (elmo-folder-set-info-max-by-numdb): Ditto.
5498         (elmo-folder-info-make-hashtb): Ditto.
5499
5500         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5501
5502         * elmo-map.el (elmo-folder-pack-number): Ditto.
5503
5504 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5505
5506         * elmo-version.el (elmo-version): Up to 2.9.10.
5507
5508         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5509
5510         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5511
5512 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5513
5514         * elmo-utils.el (elmo-make-directory): Add option.
5515         Default file mode is 700.
5516
5517 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5518
5519         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5520
5521 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5522
5523         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5524         mime-charset.
5525
5526         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5527         and "smaller".
5528
5529 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5530
5531         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5532         (elmo-shimbun-folder-entity-hash): New function.
5533         (elmo-shimbun-folder-shimbun-header): Ditto.
5534         (elmo-shimbun-entity-to-header): Ditto.
5535         (elmo-shimbun-msgdb-to-headers): Removed.
5536         (elmo-shimbun-folder-setup): Ditto.
5537         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5538         for hash key.
5539         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5540         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5541         Removed useless local bind.
5542         (elmo-folder-open-internal): Don't call
5543         `elmo-shimbun-folder-setup'.
5544         (elmo-folder-close-internal): Clear entity-hash slot.
5545         (elmo-folder-clear): Ditto.
5546         (elmo-shimbun-msgdb-create-entity): Use
5547         `elmo-shimbun-folder-shimbun-header'.
5548         (elmo-map-message-fetch): Ditto.
5549         (elmo-shimbun-update-overview): Use overview entity instead of
5550         shimbun header to lookup id by references.
5551         (elmo-map-folder-list-message-locations): Use not only headers but
5552         also overviews to list locations.
5553
5554 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5555
5556         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5557         msgdb path.
5558
5559         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5560
5561 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5562
5563         * elmo-util.el (elmo-read-search-condition-internal): Give default
5564         value for date.
5565
5566 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5567
5568         * elmo-util.el (elmo-condition-parse-search-value): Accept
5569         YYYY-MM-DD format to search.
5570         * elmo-date.el (elmo-date-get-datevec): Likewise.
5571
5572 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5573
5574         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5575         debugging code.
5576
5577 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5578
5579         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5580         from t.
5581
5582         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5583
5584         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5585         case from `elmo-folder-exists-p'.
5586         (elmo-folder-exists-p): Removed.
5587         (elmo-folder-creatable-p) Ditto.
5588
5589         * elmo-net.el (elmo-folder-create): Defined.
5590         (elmo-folder-create-unplugged): New function.
5591         (elmo-folder-exists-p): Changed default value to nil from t.
5592
5593         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5594         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5595
5596         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5597         `elmo-create-folder-dop' and append queue
5598         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5599         (elmo-folder-create-dop-delayed): New function.
5600
5601         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5602
5603         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5604
5605         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5606         (elmo-folder-writable-p) : Ditto.
5607
5608         * elmo-version.el (elmo-version): Up to 2.9.9.
5609
5610 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5611
5612         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5613         `elmo-message-use-cache-p' returns nil.
5614         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5615         (ignore cache file and refer the substance in local folders)
5616
5617 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5618
5619         * elmo-version.el (elmo-version): Up to 2.9.8.
5620
5621 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5622
5623         * elmo-version.el (elmo-version): Up to 2.9.7.
5624
5625         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5626
5627 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5628
5629         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5630
5631 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5632
5633         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5634         from --early.
5635         (elmo-map-folder-list-message-locations): Reverse location list.
5636
5637 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5638
5639         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5640
5641 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5642
5643         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5644         as a key.
5645         (elmo-nntp-folder-list-subfolders): Follow the change above.
5646
5647 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5648
5649         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5650         name if authentication type is specified.
5651
5652 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5653
5654         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5655         variable.
5656         (elmo-default-nntp-stream-type): Ditto.
5657         (elmo-default-pop3-stream-type): Ditto.
5658
5659 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5660
5661         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5662
5663 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5664
5665         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5666         elmo-vars.el.
5667         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5668
5669         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5670         (elmo-maildir-folder-path): Ditto.
5671         (elmo-maildir-list): Ditto (abolished).
5672
5673 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5674
5675         * elmo-version.el (elmo-version): Up to 2.9.6.
5676
5677 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5678
5679         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5680         (elmo-maildir-folder-path): Ditto.
5681         (elmo-msgdb-directory): Ditto.
5682         (elmo-passwd-life-time): Ditto.
5683         (elmo-msgdb-extra-fields): Ditto.
5684         (elmo-enable-disconnected-operation): Ditto.
5685
5686 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5687
5688         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5689         other choices.
5690         (elmo-pop3-default-authenticate-type): Ditto.
5691
5692 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5693
5694         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5695         choices for custom.
5696         (elmo-pop3-default-authenticate-type): Ditto.
5697
5698 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5699
5700         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5701         mailbox to new-folder.
5702
5703 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5704
5705         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5706         less than new, set new as unread.
5707
5708         * elmo-util.el (elmo-string): Don't put text-property if nil.
5709
5710 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5711
5712         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5713         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5714
5715 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5716
5717         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5718         is nil on `completing-read'.
5719
5720 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5721
5722         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5723         for namespace part.
5724         (elmo-imap4-parse-namespace-subr): Ditto.
5725         (elmo-folder-list-subfolders): Append a delimiter when the specified
5726         folder path is a root with namespace and does not end with delimiter.
5727
5728 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5729
5730         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5731         was used.
5732
5733 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5734
5735         * elmo-util.el (elmo-save-buffer): The first argument of message
5736         is a format control string.
5737
5738 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5739
5740         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5741         `elmo-folder-diff').
5742         (elmo-diff-unread): Likewise.
5743
5744 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5745
5746         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5747         is t on `completing-read'.
5748
5749 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5750
5751         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5752         method of target folder with self mark-alist if MARK-ALIST is nil.
5753
5754 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5755
5756         * elmo-version.el (elmo-version): Up to 2.9.5.
5757
5758 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5759
5760         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5761         (elmo-dop-merge-funcs): Remove.
5762
5763 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5764
5765         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5766         Return t if PATH is directory, too.
5767         Use `dolist' instead of while loop.
5768
5769 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5770
5771         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5772         is deleted.
5773
5774 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5775
5776         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5777         return value to t.
5778         (elmo-folder-list-messages-unplugged): Return t if
5779         elmo-enable-disconnected-operation is nil.
5780
5781         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5782         `elmo-folder-list-messages-internal'.
5783
5784 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5785
5786         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5787         Change to looking-at `[23][0-9]+'.
5788         (elmo-network-initialize-session): Use 'error-msg'
5789         * elmo-net.el (elmo-network-open-session): Set unplugged
5790         if elmo-network-initialize-session returns 'elmo-open-err.
5791
5792 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5793
5794         * elmo-version.el (elmo-version): Up to 2.9.4.
5795
5796 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5797
5798         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5799         `elmo-folder-list-messages-internal'.
5800
5801 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5802
5803         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5804         (elmo-message-match-condition): New method.
5805         (elmo-folder-search-fast): New inline function.
5806         (elmo-msgdb-search): Removed.
5807
5808         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5809         target folder if it is unplugged.
5810         (elmo-folder-list-messages-internal): Return t if target folder is
5811         unplugged and itself is persistent; In this case, use list be
5812         searched already.
5813
5814         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5815         (elmo-msgdb-search-internal-primitive): Ditto.
5816         (elmo-msgdb-match-condition): New function.
5817         (elmo-msgdb-match-condition-primitive): Ditto.
5818
5819         * elmo-util.el (elmo-filter-condition-p): New macro.
5820
5821         * elmo-cache.el (elmo-folder-search): Removed.
5822
5823         * elmo-localdir.el (elmo-folder-search): Ditto.
5824
5825         * elmo-maildir.el (elmo-folder-search): Ditto.
5826
5827         * elmo-mark.el (elmo-folder-search): Ditto.
5828
5829         * elmo-nmz.el (elmo-folder-search): Ditto.
5830
5831         * elmo-sendlog.el (elmo-folder-search): Ditto.
5832
5833         * elmo-shimbun.el (elmo-folder-search): Ditto.
5834
5835         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5836         if folder is unplugged.
5837
5838         * elmo-nntp.el (elmo-folder-search): Likewise.
5839         (elmo-nntp-search-internal): New function.
5840
5841         * elmo-version.el (elmo-version): Up to 2.9.3.
5842
5843 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5844
5845         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5846
5847 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5848
5849         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5850
5851 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5852
5853         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5854
5855 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5856
5857         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5858         (elmo-map-folder-list-message-locations): Do drive letter conversion
5859         on Windows environment.
5860         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5861         (elmo-map-message-fetch): Ditto.
5862
5863 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5864
5865         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5866         (elmo-network-initialize-session): Ditto.
5867
5868 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5869
5870         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5871
5872         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5873
5874         * elmo-util.el (elmo-progress-clear): Ditto.
5875
5876         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5877         `DD-Mon-YYYY' type date.
5878
5879 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5880
5881         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5882         `elmo-date-make-sortable-string' instead of
5883         `timezone-make-date-sortable'.
5884
5885         * elmo-date.el (elmo-date-make-sortable-string): Use
5886         `timezone-make-time-string'.
5887
5888 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5889
5890         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5891
5892         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5893         `since'; Fix timezone.
5894
5895         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5896
5897         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5898
5899 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5900
5901         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5902
5903 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5904
5905         * elmo.el (elmo-generic-folder-append-messages): Make
5906         fetch-strategy with `use-cache' as 'maybe. Check return value of
5907         `elmo-message-fetch'.
5908         (elmo-message-fetch): Return return value of
5909         `elmo-message-fetch-with-cache-process'.
5910         (elmo-message-fetch-with-cache-process): Return non-nil if
5911         fetching was succeed. Load cache when fetching was failed and
5912         fetch-strategy-use-cache is 'maybe.
5913
5914         * elmo-util.el (elmo-file-cache-load): New function.
5915
5916         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5917         defun.
5918
5919         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5920         non-nil if fetching was succeed.
5921
5922         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5923
5924         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5925
5926         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5927         (elmo-message-fetch-with-cache-process): Likwise.
5928
5929         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5930
5931         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5932
5933         * elmo-version.el (elmo-version): Up to 2.9.2.
5934
5935 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5936
5937         * elmo.el (elmo-folder-delete): Delete msgdb path.
5938
5939         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5940
5941         * elmo-maildir.el (elmo-folder-delete): Ditto.
5942
5943         * elmo-localdir.el (elmo-folder-delete): Ditto.
5944
5945         * elmo-imap4.el (elmo-folder-delete): Ditto.
5946
5947 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5948
5949         * elmo.el (luna-define-class): Added `biff' slot.
5950
5951         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5952         (elmo-pop3-debug-inhibit-logging): Abolished.
5953         (elmo-network-close-session): Eliminated needless let.
5954         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5955         (elmo-pop3-send-command): Added `no-log' argument.
5956         (elmo-pop3-process-filter): Use `with-current-buffer'.
5957         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5958         if login failure.
5959         (elmo-pop3-auth-apop): Likewise.
5960         (elmo-network-authenticate-session): Likewise.
5961
5962         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5963         if biff folder.
5964
5965         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5966         string to determine protocol.
5967         (elmo-network-session-name-prefix): Abolished.
5968         (elmo-network-session-cache-key): Follow the change above.
5969         (elmo-network-open-session): Ditto.
5970
5971         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5972         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5973
5974         * elmo-version.el (elmo-version): Up to 2.9.1.
5975
5976         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5977         unmatch condition checking.
5978
5979         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5980         condition.
5981
5982 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5983
5984         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5985
5986 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5987
5988         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5989         test for while loop to execute at least one SEARCH command.
5990
5991 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5992
5993         * elmo-version.el (elmo-version): Up to 2.9.0.
5994
5995 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5996
5997         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5998         (elmo-archive-folder-path): Define.
5999         (elmo-folder-initialize): Setup `dir-name' slot.
6000         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6001         Use `dir-name' as prefix of each subfolders.
6002         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6003
6004 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6005
6006         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6007         (elmo-pipe-folder-list-target-messages): New internal function.
6008         (elmo-pipe-drain): Use new argument `ignore-list' instead of
6009         `killed-list'.
6010         (elmo-pipe-folder-copied-list-load): New function.
6011         (elmo-pipe-folder-copied-list-save): Ditto.
6012         (elmo-folder-open-internal): Follow the change above.
6013         (elmo-folder-status): Fixed for copy.
6014
6015 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
6016
6017         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6018
6019 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
6020
6021         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6022         elmo-copy-file instead of elmo-add-name-to-file.
6023
6024         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6025
6026         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6027         "file://..." index.
6028
6029         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6030         of accept-process-output as 1.
6031         (elmo-pop3-read-contents): Ditto.
6032         (elmo-pop3-read-body): Ditto.
6033
6034 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6035
6036         * elmo-version.el (product-version-as-string): Remove define.
6037
6038 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6039
6040         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6041         (elmo-imap4-copy-messages): Chop number set using
6042         `elmo-imap4-number-set-chop-length'.
6043         (elmo-imap4-set-flag): Ditto.
6044         (elmo-imap4-search-internal-primitive): Ditto.
6045
6046 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6047
6048         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6049         `elmo-folder-make-temp-dir'
6050
6051         * elmo-vars.el (elmo-cache-directory): New variable.
6052         (elmo-cache-dir): Abolished.
6053         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6054
6055         * elmo-version.el (elmo-version): Up to 2.7.7.
6056
6057 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6058
6059         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6060         defcustom; Set default value as t.
6061
6062 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6063
6064         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6065         (ldap-search-program-arguments): Changed default value.
6066         (ldap-search-basic): Accept exit status 4.
6067         (ldap/field-body): Parse options.
6068         (ldap/collect-field): Ditto.
6069         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6070
6071         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6072         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6073         (elmo-imap4-accept-ok): Ditto.
6074         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6075         'notify-bye, only BYE error is reported.
6076         (elmo-folder-exists-p-plugged): Set no-error argument of
6077         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6078
6079         * elmo.el (elmo-imap4-bye-error): Changed message.
6080
6081         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6082         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6083         queues (It causes infinite loop).
6084
6085 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6086
6087         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6088         (RECENT UNSEEN MESSAGES) extension.
6089
6090 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6091
6092         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6093         Check number of overview fields.
6094
6095 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6096
6097         * elmo.el (elmo-folder-confirm-appends): Changed message.
6098         (elmo-folder-confirm-appends): Ditto.
6099
6100         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6101         `with-temp-buffer'.
6102         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6103
6104 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6105
6106         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6107         of elmo-folder-update-threshold is nil, which can be set by
6108         wl-summary-update-confirm-threshold.
6109
6110 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6111
6112         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6113         (elmo-nmz-index-alias-alist): Ditto.
6114         (elmo-map-folder-list-message-locations): Follow the change above.
6115
6116 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6117
6118         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6119
6120         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6121
6122         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6123
6124         * elmo-util.el (elmo-read): Ditto.
6125         (elmo-display-error): Ditto.
6126
6127         * elmo-vars.el (elmo-date-match): Ditto.
6128
6129         * pldap.el (ldap-coding-system): Ditto.
6130
6131         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6132         `elmo-inhibit-number-mapping' as nil.
6133
6134 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6135
6136         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6137         space delimiter for list response.
6138
6139 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6140
6141         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6142
6143 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6144
6145         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6146         (elmo-map-message-fetch): Fix.
6147         * elmo-map.el (elmo-folder-status): Fix for killed.
6148
6149 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6150
6151         * elmo-sendlog.el: New file.
6152         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6153
6154 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6155
6156         * acap.el (acap-logging-out): New buffer local variable.
6157         (acap-close): Set it.
6158         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6159         an error.
6160
6161 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6162
6163         * acap.el (acap-response-bye-p): New function.
6164         (acap-response-bye-message): Ditto.
6165         (acap-wait-for-response): If bye response is received, cause an error.
6166         (acap-parse-response): Make bye response when 'Bye' is received.
6167
6168 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6169
6170         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6171
6172 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6173
6174         * elmo-util.el (elmo-copy-file): Added argument
6175         `ok-if-already-exists'.
6176         (elmo-copy-file): Fixed typo.
6177
6178 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6179
6180         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6181
6182 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6183
6184         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6185
6186 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6187
6188         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6189         to killed-list.
6190
6191 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6192
6193         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6194         (elmo-folder-initialize): Fix for `copy'.
6195         (elmo-pipe-drain): Ditto.
6196         (elmo-folder-open-internal): Ditto.
6197         (elmo-folder-newsgroups): Fix.
6198
6199 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6200
6201         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6202         for each message.
6203
6204         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6205         recent value is returned from imap folder.
6206
6207         * elmo.el (elmo-folder-newsgroups): New generic function.
6208
6209         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6210         (elmo-folder-initialize): Set it.
6211         (elmo-folder-expand-msgdb-path): Use it.
6212         (elmo-folder-newsgroups): Define.
6213
6214         * elmo-filter.el (elmo-folder-newsgroups): Define.
6215
6216         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6217
6218         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6219
6220         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6221
6222 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6223
6224         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6225         user option.
6226         (elmo-shimbun-header-extra-field): New inline function.
6227         (elmo-shimbun-header-set-extra-field): Ditto.
6228         (elmo-shimbun-folder-header-hash-setup): Ditto.
6229         (elmo-shimbun-update-overview): Ditto.
6230         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6231         (elmo-shimbun-folder-setup): Use
6232         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6233         (elmo-shimbun-get-headers): Ditto.
6234         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6235         Insert `X-Shimbun-Id:' header if extra field is set.
6236         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6237         field's value instead of `shimbun-header-id'.
6238
6239         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6240         inline function.
6241         (elmo-msgdb-overview-entity-set-date): Ditto.
6242         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6243
6244 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6245
6246         * mmimap.el (mmimap-entity-section): Changed body node number from
6247         "0" to "1".
6248
6249 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6250
6251         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6252         `elmo-folder-delete-messages'.
6253
6254         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6255         (elmo-folder-initialize): Changed to expand alias into index path.
6256
6257         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6258         `elmo-mime-insert-header-from-buffer' with 6th arg
6259         `sorted-fields'.
6260
6261 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6262
6263         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6264
6265         * elmo.el (elmo-diff-new): New inline function.
6266         (elmo-diff-unread): Ditto.
6267         (elmo-diff-all): Ditto.
6268
6269         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6270         value from responseb.
6271         (elmo-imap4-folder-diff-plugged): Ditto.
6272         (elmo-imap4-server-diff-async): Added recent argument.
6273         (elmo-server-diff-async): Ditto.
6274         (elmo-imap4-folder-diff-plugged): Ditto.
6275
6276         * elmo-version.el (elmo-version): Up to 2.7.6.
6277
6278 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6279
6280         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6281         in quoted-stirng.
6282
6283 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6284
6285         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6286
6287         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6288
6289         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6290
6291         * elmo-multi.el (elmo-folder-initialize): Ditto.
6292
6293         * elmo-util.el (elmo-parse-token): New function.
6294         (elmo-parse-prefixed-element): Ditto.
6295
6296 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6297
6298         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6299         delete process.
6300         (elmo-imap4-accept-ok): Ditto.
6301
6302 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6303
6304         * mmimap.el (mime-imap-entity-header-string): Don't check first
6305         element of node-id is `0' (Follow last change).
6306
6307 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6308
6309         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6310         assigned irregular node-id to nested multipart section.
6311         (initialize-instance): Followed above change.
6312
6313 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6314
6315         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6316         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6317         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6318         `elmo-shimbun-get-headers');
6319         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6320         visible article on summary exists in headers).
6321         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6322
6323 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6324
6325         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6326         definition.
6327
6328 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6329
6330         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6331
6332 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6333
6334         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6335         header separator into loop condition.
6336
6337 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6338
6339         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6340         Return duplicate folder if it has subfolder.
6341
6342 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6343
6344         * elmo.el (elmo-make-folder): Add folder name error check.
6345
6346         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6347         (elmo-nntp-encode-group-string): New inline function.
6348         (elmo-nntp-decode-group-string): Ditto.
6349         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6350         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6351         Use `not' instead of `null';
6352         Use elmo-nntp-decode-group-string.
6353
6354         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6355
6356         * elmo-version.el (elmo-version): Up to 2.7.5.
6357
6358 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6359
6360         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6361         Hide progress gauge if `elmo-folder-move-messages' exits
6362         nonlocally.
6363
6364 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6365
6366         * elmo-imap4.el (elmo-folder-initialize): Use
6367         `elmo-imap4-encode-folder-string' for folder name.
6368
6369 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6370
6371         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6372         `done'.
6373
6374 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6375
6376         * elmo-util.el (elmo-progress-counter-alist): New internal
6377         variable.
6378         (elmo-progress-counter-value): New macro.
6379         (elmo-progress-counter-all-value): Ditto.
6380         (elmo-progress-counter-format): Ditto.
6381         (elmo-progress-counter-set-value): Ditto.
6382         (elmo-progress-set): New function.
6383         (elmo-progress-clear): Ditto.
6384         (elmo-progress-notify): Ditto.
6385
6386         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6387         counter.
6388
6389         * elmo.el (elmo-generic-folder-append-messages): Call
6390         `elmo-progress-notify'.
6391         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6392
6393         * elmo-archive.el (elmo-folder-append-messages): Call
6394         `elmo-progress-notify'.
6395
6396         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6397
6398         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6399
6400         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6401
6402 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6403
6404         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6405         'Create'.
6406         (elmo-message-encache-dop): Added argument `read'.
6407
6408         * elmo-shimbun.el (elmo-message-encache): Ditto.
6409
6410         * elmo-net.el (elmo-message-encache): Ditto.
6411
6412         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6413         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6414         elmo-imap4-seen-messages.
6415         (elmo-folder-msgdb-create-plugged): Initialize
6416         elmo-imap4-seen-messages;
6417         Set seen mark on elmo-imap4-seen-messages.
6418
6419         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6420
6421         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6422         elmo-folder-append-buffer.
6423         (elmo-folder-encache): Added optional argument `read'.
6424         (elmo-message-encache): Ditto.
6425
6426         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6427
6428         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6429
6430         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6431         if append buffer content succeds.
6432
6433 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6434
6435         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6436         elmo-display-progress.
6437
6438         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6439         Set 4th argument of mime-display-message.
6440         (elmo-mime-display-as-is): Ditto.
6441
6442 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6443
6444         * elmo-nmz.el (toplevel): Require 'mime-edit.
6445         (elmo-nmz-content-type-alist): Abolished.
6446         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6447         content is not a message.
6448         (elmo-map-message-fetch): Changed behavior exept for message content;
6449         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6450         content-type, Add From: and Subject: field.
6451
6452 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6453
6454         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6455         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6456         not a message.
6457
6458 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6459
6460         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6461         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6462
6463         * elmo-archive.el (elmo-folder-writable-p): Defined.
6464
6465         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6466
6467         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6468
6469         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6470
6471         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6472
6473         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6474
6475         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6476
6477         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6478
6479         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6480
6481 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6482
6483         * elmo-util.el (elmo-address-quote-specials): New function;
6484         Renamed from `wl-address-quote-specials'.
6485
6486 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6487
6488         * elmo-version.el (elmo-version): Up to 2.7.4.
6489
6490 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6491
6492         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6493
6494 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6495
6496         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6497         both compile-time and run-time to avoid byte-compile warning.
6498
6499 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6500
6501         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6502
6503 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6504
6505         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6506         option.
6507         (elmo-mime-display-as-is-internal): Use it.
6508
6509         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6510         if `read-passwd' is not defined.
6511
6512 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6513
6514         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6515         by original number.
6516         (elmo-folder-status): Call `elmo-folder-open-internal';
6517         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6518         (elmo-folder-close-internal): Set location-alist as nil.
6519         (elmo-folder-clear): Define.
6520         (elmo-folder-check): Don't set location-alist as nil.
6521
6522         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6523
6524 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6525
6526         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6527         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6528
6529         * mmimap.el (mime-imap-entity::requested): New slot.
6530         (mime-imap-location-fetch-entity-p): New generic function.
6531         (mime-decode-parameters): Define using `defun-maybe'.
6532         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6533         content-type structure.
6534         (mime-entity-body): Return empty body if
6535         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6536
6537         * elmo.el (elmo-message-displaying): New variable.
6538
6539         * elmo-mime.el (elmo-mime-message-display): Bind
6540         elmo-message-displaying as t.
6541
6542         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6543
6544 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6545
6546         * acap.el (acap-open): erase buffer before starting network process.
6547         (acap-store): Rewrite.
6548
6549 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6550
6551         * elmo-imap4.el (elmo-imap4-default-mailbox,
6552         elmo-imap4-default-server
6553         elmo-imap4-default-authenticate-type,
6554         elmo-imap4-default-user,
6555         elmo-imap4-default-port,
6556         elmo-imap4-default-stream-type,
6557         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6558
6559         * elmo-pop3.el (elmo-pop3-default-user,
6560         elmo-pop3-default-server,
6561         elmo-pop3-default-authenticate-type,
6562         elmo-pop3-default-port,
6563         elmo-pop3-default-stream-type,
6564         elmo-pop3-stream-type-alist): Ditto.
6565
6566         * elmo-nntp.el (elmo-nntp-default-server,
6567         elmo-nntp-default-user,
6568         elmo-nntp-default-port,
6569         elmo-nntp-default-stream-type,
6570         elmo-nntp-stream-type-alist): Ditto.
6571
6572         * elmo-vars.el: Follow changes above.
6573         (elmo-setting): New custom group; added 'elmo-setting group to
6574         above variables.
6575
6576         * elmo-version.el (elmo-version): Up to 2.7.3.
6577
6578         * acap.el (acap-parse-response): Don't delete process when BYE
6579         response (It causes hang-up on slow network environment).
6580         (toplevel): Added comment.
6581
6582 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6583
6584         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6585
6586         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6587         parsing NIL.
6588         (acap-parse-return-metadata): Ditto.
6589
6590         * slp.el: New file.
6591         (toplevel): Fixed typo.
6592
6593         * acap.el: New file.
6594         (acap-network-stream-open): Show "Connecting..." message.
6595         (acap-parse-response): Fixed problem for BYE untagged response.
6596         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6597         (toplevel): Added tiny comments.
6598
6599 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6600
6601         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6602         space delimiter for uidl response.
6603
6604 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6605
6606         * elmo-vars.el (elmo-use-semi): Eliminated.
6607
6608         * elmo-util.el (elmo-string-assoc-all): New function.
6609
6610 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6611
6612         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6613         property 'mime-preview-situation for `mime-preview-quit'.
6614
6615 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6616
6617         * elmo.el (elmo-message-fetch-with-cache-process): Call
6618         elmo-message-fetch-internal instead of causing an error when fetch
6619         strategy is 'entire but only 'section cache is available.
6620
6621 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6622
6623         * elmo-version.el (elmo-version): Up to 2.7.2.
6624
6625         * elmo.el (elmo-generic-folder-append-messages): Make
6626         fetch-strategy with `use-cache'.
6627
6628         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6629         (elmo-dop-queue-method-name): New macro.
6630
6631 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6632
6633         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6634         unbalanced parenthesis.
6635
6636 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6637
6638         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6639
6640 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6641
6642         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6643         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6644
6645 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6646
6647         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6648         local variables.
6649
6650 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6651
6652         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6653         (elmo-message-use-cache-p): Define.
6654         (elmo-folder-msgdb-create): Treat cache.
6655
6656 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6657
6658         * elmo-nntp.el (elmo-network-initialize-session): Call
6659         `elmo-nntp-send-mode-reader'.
6660         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6661
6662 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6663
6664         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6665         alist.
6666         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6667         assoc.
6668
6669         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6670         for `elmo-plugged-p'.
6671         (elmo-open-network-stream): Fixed stream-type argument.
6672
6673 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6674
6675         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6676         unknown archive type is specified.
6677
6678 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6679
6680         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6681
6682         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6683         while loading msgdb.
6684
6685         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6686         (elmo-folder-open-internal): Rewrite.
6687
6688 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6689
6690         * elmo-mime.el (elmo-mime-display-as-is-internal):
6691         Adjust buffer-multibyte status.
6692
6693 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6694
6695         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6696         of elmo-condition-find-key.
6697
6698         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6699         (elmo-condition-in-msgdb-p): Ditto.
6700         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6701         argument.
6702
6703 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6704
6705         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6706
6707 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6708
6709         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6710         label for elmo-display-progress.
6711
6712 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6713
6714         * elmo.el (elmo-folder-clear): New method.
6715         (elmo-folder-clear): Define.
6716         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6717
6718         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6719         (elmo-folder-clear): Define.
6720
6721         * elmo-map.el (elmo-folder-clear): Define.
6722
6723         * elmo-version.el (elmo-version): Up to 2.7.1.
6724
6725 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6726
6727         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6728         updates.
6729
6730 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6731
6732         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6733         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6734
6735 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6736
6737         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6738
6739         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6740         and re-written.
6741
6742         * elmo-imap4.el (elmo-folder-initialize): Use
6743         elmo-get-network-stream-type.
6744
6745         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6746
6747         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6748
6749 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6750
6751         * elmo.el (elmo-message-encache): Set unread argument for
6752         elmo-message-fetch.
6753
6754         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6755
6756         * elmo.el (elmo-net-port-info): New method.
6757
6758         * elmo-shimbun.el (elmo-net-port-info): Define.
6759         (elmo-message-encache): Ditto.
6760
6761         * elmo-net.el (elmo-net-port-info): Define as method.
6762
6763         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6764         unplugged status when elmo-enable-disconnected-operation is t.
6765
6766         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6767         of spool folder before checking new number.
6768
6769 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6770
6771         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6772         (elmo-network-setup-session): Ditto.
6773         (elmo-message-fetch-plugged): Ditto.
6774         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6775         (elmo-network-initialize-session): Ditto.
6776         (elmo-pop3-read-response): Abolish 3rd argument.
6777         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6778         (elmo-pop3-read-contents): Ditto.
6779         (elmo-pop3-read-body): Ditto.
6780         (elmo-folder-status): Call elmo-folder-close.
6781         (elmo-pop3-lock): Abolish.
6782         (elmo-pop3-unlock): Ditto.
6783         (elmo-pop3-locked-p): Ditto.
6784         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6785
6786 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6787
6788         * elmo-version.el (elmo-version): Up to 2.7.0.
6789
6790         * elmo-pop3.el (elmo-pop3-debug): New variable.
6791         (elmo-pop3-debug-inhibit-logging): Ditto.
6792         (elmo-pop3-debug): New function.
6793         (elmo-pop3-send-command): Call elmo-pop3-debug.
6794         (elmo-pop3-read-response): Added keep-lock optional argument;
6795         Don't unlock if keep-lock is non-nil.
6796         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6797         (elmo-network-authenticate-session): Bind
6798         elmo-pop3-debug-inhibit-logging as t.
6799         (elmo-network-setup-session): Call elmo-pop3-read-response with
6800         keep-lock argument.
6801         (elmo-pop3-read-msg): Ditto.
6802         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6803         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6804         (elmo-network-initialize-session): Call elmo-pop3-lock.
6805         (elmo-folder-close-internal): Don't clear location-alist slot.
6806         (elmo-folder-check): Clear location-alist slot.
6807
6808 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6809
6810         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6811         (elmo-pop3-send-command): Call elmo-pop3-lock.
6812         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6813         (elmo-pop3-read-contents): Ditto.
6814         (elmo-pop3-lock): New function.
6815         (elmo-pop3-unlock): Ditto.
6816         (elmo-pop3-locked-p): Ditto.
6817         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6818         returns t.
6819
6820 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6821
6822         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6823
6824         * elmo-util.el (elmo-file-field-primitive-condition-match):
6825         New inline function (Don't fetch file content if "first" or "last").
6826         (elmo-file-field-condition-match): Use
6827         elmo-file-field-primitive-condition-match.
6828
6829         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6830         "first".
6831
6832         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6833         (elmo-message-fetch-plugged): Fixed.
6834
6835         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6836
6837 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6838
6839         * elmo.el (elmo-folder-move-messages): Bind
6840         elmo-inhibit-display-retrieval-progress as t while moving messages.
6841
6842         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6843         New variable.
6844         (elmo-inhibit-display-retrieval-progress): Ditto.
6845
6846         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6847         for retrieval progress;
6848         Don't display progress when total buffer size is smaller than
6849         elmo-display-retrieval-progress-threshold.
6850         (elmo-message-fetch-plugged): Don't display progress when
6851         elmo-inhibit-display-retrieval-progress is non-nil.
6852
6853         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6854         for retrieval progress;
6855         Don't display progress when literal size is smaller than
6856         elmo-display-retrieval-progress-threshold.
6857         (elmo-imap4-message-fetch): Don't display progress when
6858         elmo-inhibit-display-retrieval-progress is non-nil.
6859
6860 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6861
6862         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6863         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6864         (elmo-imap4-message-fetch): Likewise.
6865
6866         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6867         (elmo-shimbun-index-range-alist): Ditto.
6868         (elmo-shimbun-use-entire-index): Abolish.
6869         (shimbun-mua-use-entire-index): Ditto.
6870         (elmo-shimbun-folder): Added new slot `range'.
6871         (elmo-folder-initialize): Setup slot `range'.
6872
6873 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6874
6875         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6876         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6877         (elmo-shimbun-get-headers): Use return value of
6878         `shimbun-article-expiration-days'.
6879         (elmo-folder-close-internal): Clean up last-check slot.
6880
6881         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6882         (elmo-pop3-total-size): New variable.
6883         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6884
6885         * elmo.el (elmo-folder-reserve-status-p): New method.
6886
6887         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6888         (elmo-shimbun-use-entire-index): New user option.
6889         (shimbun-elmo-mua): New class.
6890         (shimbun-mua-search-id): Define.
6891         (shimbun-mua-use-entire-index): Ditto.
6892         (elmo-shimbun-folder:last-check): New slot.
6893         (elmo-shimbun-headers-cache-header-list): Abolish.
6894         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6895         (elmo-shimbun-headers-cache-header-hash): Ditto.
6896         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6897         (elmo-shimbun-headers-cache-last-check): Ditto.
6898         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6899         (elmo-shimbun-headers-check-p): Rewrite.
6900         (elmo-shimbun-msgdb-to-headers): New function.
6901         (elmo-shimbun-get-headers): Rewrite.
6902         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6903         (elmo-folder-open-internal): Get headers only if
6904         `elmo-shimbun-headers-check-p' is non-nil.
6905         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6906         is non-nil.
6907         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6908         (elmo-quit): Removed.
6909
6910         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6911         function.
6912         (elmo-msgdb-overview-entity-set-extra): Ditto.
6913         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6914
6915         * elmo-map.el (elmo-folder-status): Don't call
6916         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6917         is non-nil.
6918
6919 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6920
6921         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6922         of `elmo-msgdb-search-internal-primitive' when condition's car is
6923         `and' or `or'.
6924
6925 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6926
6927         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6928
6929 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6930
6931         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6932         call `elmo-pipe-drain'.
6933
6934 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6935
6936         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6937         typo. (elmo-cache-folder -> elmo-mark-folder)
6938
6939 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6940
6941         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6942         `elmo-message-fetch'.
6943
6944 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6945
6946         * elmo-net.el (elmo-message-encache): Fixed typo.
6947         (elmo-message-fetch-unplugged): Changed call
6948         `elmo-message-fetch-internal' without argument `outbuf'.
6949
6950 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6951
6952         * elmo.el (elmo-message-encache): Define as generic function.
6953         (elmo-message-fetch-field): New generic function.
6954         (elmo-message-fetch-with-cache-process): Cause an error when
6955         fetch strategy is 'entire but only 'section cache is available.
6956         (toplevel): Fixed nmz folder definition.
6957
6958         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6959         (elmo-msgdb-resume-list-filename): Ditto.
6960         (elmo-queue-filename): Ditto.
6961         (elmo-enable-disconnected-operation): Changed default value to t.
6962
6963         * elmo-util.el (elmo-cache-path-section-p): New function.
6964         (elmo-file-cache-get): Use it.
6965         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6966         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6967         (elmo-dop-queue-save): Ditto.
6968
6969         * elmo-net.el (elmo-folder-status-unplugged): Call
6970         elmo-folder-status-dop.
6971         (elmo-folder-list-messages-unplugged): Implemented.
6972         (elmo-folder-delete-messages-unplugged): Define.
6973         (elmo-folder-msgdb-create): Define.
6974         (elmo-folder-msgdb-create-unplugged): Define.
6975         (elmo-folder-mark-as-read-unplugged): Ditto.
6976         (elmo-folder-unmark-read-unplugged): Ditto.
6977         (elmo-folder-mark-as-important-unplugged): Ditto.
6978         (elmo-folder-unmark-important-unplugged): Ditto.
6979         (elmo-message-encache): Ditto.
6980
6981         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6982         (elmo-dop-queue-save): Ditto.
6983
6984         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6985         `elmo-folder-msgdb-create'.
6986         (elmo-folder-append-buffer): Implemented unplugged operation.
6987         (elmo-folder-append-messages): Call parent method in unplugged status.
6988         (elmo-message-fetch-unplugged): Removed definition.
6989         (elmo-message-fetch-field): Implemented.
6990
6991         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6992         (elmo-dop-folder): Removed variable definition.
6993         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6994         (elmo-dop-queue-flush): Implemented.
6995         (elmo-dop-queue-merge): Removed definition (TODO).
6996         (elmo-dop-spool-folder): New function.
6997         (elmo-dop-spool-folder-append-buffer): Ditto.
6998         (elmo-dop-spool-folder-list-messages): Ditto.
6999         (elmo-dop-list-deleting-messages): Ditto.
7000         (elmo-folder-append-buffer-dop): Ditto.
7001         (elmo-folder-delete-messages-dop): Ditto.
7002         (elmo-message-encache-dop): New inline function.
7003         (elmo-create-folder-dop): Ditto.
7004         (elmo-folder-mark-as-read-dop): Ditto.
7005         (elmo-folder-unmark-read-dop): Ditto.
7006         (elmo-folder-mark-as-important-dop): Ditto.
7007         (elmo-folder-unmark-important-dop): Ditto.
7008         (elmo-folder-status-dop): Fixed.
7009         (elmo-folder-append-buffer-dop-delayed): New function.
7010         (elmo-folder-delete-messages-dop-delayed): Ditto.
7011         (elmo-dop-msgdb): Ditto.
7012
7013 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7014
7015         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7016
7017 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7018
7019         * elmo.el (elmo-folder-move-messages): Fixed problem when
7020         `dst-folder' is 'null.
7021
7022 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7023
7024         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7025         instead of current mark.
7026
7027         * elmo-multi.el (elmo-folder-list-importants-internal): No
7028         operation if importants is not list.
7029
7030         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7031         Return t if importants is not list.
7032
7033         * elmo-map.el (elmo-map-folder-list-importants): Define.
7034         (elmo-folder-list-importants-internal): Check return value of
7035         `elmo-map-folder-list-importants-internal'.
7036
7037         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7038
7039         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7040
7041         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7042
7043         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7044
7045 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7046
7047         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7048         (Patch is provided by <kita@coe.nttdata.co.jp>).
7049
7050 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7051
7052         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7053         mark folder.
7054
7055 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7056
7057         * elmo.el (elmo-message-fetch): Define.
7058         (elmo-message-fetch-with-cache-process): New generic method.
7059         (elmo-message-fetch-internal): New generic method.
7060         (elmo-folder-synchronize):
7061
7062         * elmo-archive.el (elmo-message-fetch-internal): Define.
7063         (elmo-message-fetch): Eliminated.
7064
7065         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7066         (elmo-message-fetch): Eliminated.
7067
7068         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7069         argument OUTBUF.
7070         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7071
7072         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7073         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7074
7075         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7076         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7077
7078         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7079
7080         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7081
7082         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7083
7084         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7085         (elmo-message-fetch-unplugged): New generic method.
7086         (elmo-message-fetch-internal): Remove cache process (Renamed from
7087         `elmo-message-fetch').
7088
7089         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7090         (elmo-message-fetch): Eliminated.
7091         (elmo-message-fetch-unplugged): Ditto.
7092
7093         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7094
7095 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7096
7097         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7098         of `to-be-deleted' from number-alist to number-list.
7099
7100 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7101
7102         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7103         (elmo-folder-mark-as-important): Ditto.
7104
7105 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7106
7107         * elmo.el (elmo-folder): Added process-duplicates slot.
7108
7109         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7110         (elmo-folder-unmark-read): Ditto.
7111         (elmo-folder-unmark-important): Ditto.
7112         (elmo-folder-mark-as-important): Ditto.
7113
7114         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7115         duplicated message processing.
7116
7117         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7118
7119 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7120
7121         * elmo-util.el (elmo-list-subdirectories-1): New function.
7122         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7123         (elmo-mapcar-list-of-list): New function.
7124
7125         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7126         `elmo-mapcar-list-of-list' instead of `mapcar'.
7127
7128         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7129
7130         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7131         `elmo-have-link-count'. Return the fully qualified folder name.
7132
7133 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7134
7135         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7136         (elmo-shimbun-headers-cache): New internal variable.
7137         (elmo-shimbun-headers-cache-header-list): New inline function.
7138         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7139         (elmo-shimbun-headers-cache-header-hash): Ditto.
7140         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7141         (elmo-shimbun-headers-cache-last-check): Ditto.
7142         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7143         (elmo-shimbun-lapse-seconds): Ditto.
7144         (elmo-shimbun-headers-cache-check-p): Ditto.
7145         (elmo-shimbun-get-headers): New function.
7146         (elmo-folder-open-internal): Call it.
7147         (elmo-quit): Define (Clear headers-cache).
7148
7149 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7150
7151         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7152
7153         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7154         (elmo-msgdb-flist-save): Ditto.
7155
7156         * elmo-shimbun.el (elmo-folder-list-subfolders):
7157         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7158         (elmo-folder-exists-p): Ditto.
7159
7160         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7161         argument for `shimbun-header-insert'.
7162
7163 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7164
7165         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7166         at first time.
7167
7168         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7169         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7170
7171 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7172
7173         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7174         (elmo-folder-plugged-p): Define.
7175         (elmo-folder-set-plugged): Ditto.
7176         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7177         (elmo-folder-list-messages-internal): Return t if unplugged.
7178         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7179
7180         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7181         when elmo-folder-list-messages-internal method of children returns t.
7182
7183         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7184         pair is nil.
7185         (elmo-folder-open-internal): Don't update if unplugged status.
7186
7187 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7188
7189         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7190         new message.
7191
7192 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7193
7194         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7195
7196         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7197         saving.
7198
7199 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7200
7201         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7202
7203         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7204         (elmo-folder-open-internal): Set up headers slot.
7205         (elmo-folder-check): Call elmo-folder-close-internal and
7206         elmo-folder-open-internal.
7207         (elmo-folder-close-internal): Clean up headers slot.
7208
7209 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7210
7211         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7212         exactly folder list.
7213         (elmo-folder-append-messages): Fixed append archive with prefix.
7214
7215         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7216         make temp files with start-number.
7217
7218         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7219
7220 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7221
7222         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7223         argument `visible-only'.
7224         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7225         instead of `if'.
7226
7227         * elmo-pop3.el (elmo-folder-open-internal): Check
7228         `elmo-inhibit-number-mapping' is non-nil.
7229
7230         * elmo-pipe.el (elmo-folder-status): Fixed.
7231
7232 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7233
7234         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7235
7236         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7237         (elmo-folder-open-internal): Setup `header-hash' slot.
7238         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7239         information.
7240         (elmo-map-message-fetch): Ditto.
7241
7242 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7243
7244         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7245         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7246         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7247         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7248
7249         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7250
7251 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7252
7253         * sb-airs.el: Added footer.
7254
7255         * shimbun.el (shimbun-article): Define as luna-method.
7256
7257         * sb-tcup.el: New file.
7258
7259         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7260         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7261
7262 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7263
7264         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7265         (shimbun-get-headers): Ditto.
7266
7267         * elmo.el: Moved obsolete variable definitions from
7268         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7269
7270         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7271         groups.
7272
7273         * shimbun.el: New file.
7274
7275         * elmo-shimbun.el: New file.
7276
7277         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7278         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7279         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7280         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7281
7282 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7283
7284         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7285         hierarchy is t.
7286
7287 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7288
7289         * elmo.el (elmo-folder-msgdb): Define as macro.
7290         (elmo-folder-open): Added argument `load-msgdb'.
7291         (elmo-generic-folder-open): Ditto.
7292         (elmo-folder-encache): New function.
7293
7294         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7295
7296         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7297
7298         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7299         Eliminated argument FOLDER and added argument MSGDB.
7300         (elmo-dop-queue-load): Moved from elmo-dop.el.
7301         (elmo-dop-queue-save): Ditto.
7302
7303         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7304
7305         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7306
7307         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7308         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7309         (elmo-filter-folder-list-importants-internal): Ditto.
7310
7311         * elmo-map.el (elmo-folder-pack-number): Ditto.
7312
7313         * elmo-mime.el (elmo-mime-message-display): Ditto.
7314
7315         * elmo.el (elmo-generic-folder-commit): Ditto.
7316         (elmo-folder-list-unreads): Ditto.
7317         (elmo-folder-list-importants): Ditto.
7318         (elmo-generic-folder-commit): Ditto.
7319         (elmo-message-set-mark): Ditto.
7320         (elmo-generic-folder-append-msgdb): Ditto.
7321         (elmo-folder-synchronize): Ditto.
7322         (elmo-folder-messages): Ditto.
7323         (elmo-init): Call elmo-dop-queue-load.
7324         (elmo-folder-list-messages): Ditto.
7325
7326         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7327         (elmo-nntp-folder-process-crosspost): Ditto.
7328         (elmo-folder-list-unreads-internal): Ditto.
7329
7330         * elmo-dop.el: Removed old functions.
7331
7332 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7333
7334         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7335         `folder' to `msgdb'.
7336
7337 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7338
7339         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7340         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7341
7342         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7343         case-fold-search.
7344
7345 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7346
7347         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7348         defined.
7349
7350         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7351         (mmimap-parse-parameters-from-list): Define as alias for
7352         `mime-decode-parameter-plist' if it is defined as function.
7353         (mmimap-make-mime-entity): Added argument `number'.
7354         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7355         as 0.
7356         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7357
7358         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7359
7360         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7361
7362         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7363
7364 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7365
7366         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7367
7368         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7369         when elmo-imap4-default-authenticate-type is nil.
7370         (elmo-folder-list-subfolders): Ditto
7371         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7372         (elmo-imap4-fetch-callback-1-subr): Renamed from
7373         `elmo-imap4-fetch-callback-1' and define as inline function.
7374         (elmo-imap4-fetch-callback-1):
7375         Renamed from `elmo-imap4-fetch-callback'.
7376         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7377
7378         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7379         msgdb path (To keep compatibility with main trunk).
7380
7381         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7382
7383         * elmo-util.el (elmo-make-file-cache): Moved position of
7384         some macros.
7385
7386         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7387         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7388         instead of `elmo-pop3-inhibit-uidl'.
7389         (elmo-folder-exists-p): Ditto.
7390         (elmo-pop3-folder-list-messages): Ditto.
7391
7392         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7393         instead of `elmo-pop3-inhibit-uidl'.
7394         (elmo-folder-status): Ditto.
7395
7396         * elmo-dop.el (elmo-dop-folder): New variable.
7397         (elmo-dop-lock-message): Eliminated.
7398         (elmo-dop-unlock-message): Ditto.
7399         (elmo-dop-lock-list-load): Ditto.
7400         (elmo-dop-lock-list-save): Ditto.
7401         (elmo-dop-delete-folder): Ditto.
7402         (elmo-dop-rename-folder): Ditto.
7403
7404         * elmo.el: Removed incomplete commentary.
7405
7406 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7407
7408         * elmo.el (toplevel): Require 'elmo-version first;
7409         for little `recursive-load-depth' settings.
7410         Fix "ends here" comment.
7411
7412 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7413
7414         * elmo-util.el (toplevel): Require 'poem;
7415         Some functions are moved from elmo-cache.el.
7416
7417         * elmo-net.el (toplevel): Require 'elmo-cache.
7418
7419         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7420
7421         * elmo.el (toplevel): Ditto.
7422
7423         * elmo-cache.el: Rewrite with luna;
7424         Some functions are moved to elmo-util.el.
7425
7426         * elmo-internal.el (elmo-internal-folder-list): New variable.
7427         (elmo-internal-folder-initialize): Rewrite.
7428         (elmo-folder-list-subfolders): Ditto.
7429
7430         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7431         (elmo-cache-collect-sub-directories): Ditto.
7432
7433 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7434
7435         * elmo-version.el (elmo-version): Up to 2.5.8.
7436
7437         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7438
7439         * elmo-util.el (elmo-list-insert): New function.
7440
7441 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7442
7443         * elmo.el (elmo-init): New function.
7444         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7445
7446         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7447         (Renamed from `elmo-localdir-header-chop-length').
7448
7449         * elmo-pop3.el (elmo-pop3-use-cache,
7450         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7451
7452         * elmo-nntp.el (elmo-message-fetch): Define.
7453         (elmo-message-fetch-unplugged): Ditto.
7454         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7455         (elmo-nntp-use-cache): Ditto.
7456         (elmo-nntp-max-number-precedes-list-active): Ditto.
7457
7458         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7459
7460         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7461         `elmo-msgdb-insert-file-header'.
7462         Use `elmo-msgdb-file-header-chop-length'.
7463
7464         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7465         `elmo-vars.el'.
7466
7467         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7468         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7469         `elmo-msgdb-insert-file-header'.
7470
7471         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7472         Use new variable;
7473         Define obsolete variables with `elmo-define-obsolete-variable',
7474
7475         * elmo-util.el (elmo-warning-buffer-name): New constant.
7476         (elmo-warning): New function.
7477         (elmo-obsolete-variable-alist): New variable.
7478         (elmo-obsolete-variable-show-warnings): New variable.
7479         (elmo-define-obsolete-variable): New function.
7480         (elmo-resque-obsolete-variable): Ditto.
7481         (elmo-resque-obsolete-variables): Ditto.
7482
7483 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7484
7485         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7486         Eliminated.
7487
7488         * elmo-pop3.el, elmo-nntp.el: Use custom.
7489
7490 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7491
7492         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7493         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7494
7495 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7496
7497         * Luna-fy Kenichi OKADA's following changes.
7498         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7499         `nohide'.
7500         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7501
7502 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7503
7504         * elmo-util.el (elmo-display-progress): Prefer
7505         `progress-feedback-with-label' to `lprogress-display'.
7506
7507 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7508
7509         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7510
7511 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7512
7513         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7514         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7515         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7516         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7517         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7518         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7519         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7520         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7521         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7522         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7523         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7524         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7525         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7526
7527 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7528
7529         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7530         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7531
7532 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7533
7534         * elmo.el (elmo-folder-process-crosspost): New generic method.
7535         (elmo-folder-writable-p): Ditto.
7536         (elmo-folder-message-appendable-p): Eliminated.
7537         (elmo-generic-folder-append-msgdb): Rewrite.
7538         (elmo-newsgroups-hashtb): New internal variable.
7539         (elmo-crosspost-message-set): Eliminated.
7540         (elmo-crosspost-message-delete): Ditto.
7541         (elmo-setup-subscribed-newsgroups): New function.
7542         (elmo-crosspost-message-alist-modified): New internal variable.
7543         (elmo-crosspost-message-alist-load): New function (Renamed from
7544         `wl-crosspost-alist-load').
7545         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7546         `wl-crosspost-alist-save').
7547
7548         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7549
7550         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7551         `unreads'.
7552         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7553         elmo-newsgroups-hashtb).
7554         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7555         `elmo-nntp-folder-update-crosspost-message-alist'.
7556         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7557         `elmo-nntp-groups-hashtb'.
7558         (elmo-nntp-make-groups-hashtb): Eliminated.
7559         (elmo-nntp-parse-newsgroups): New function (Renamed from
7560         `wl-parse-newsgroups').
7561         (elmo-folder-creatable-p, elmo-folder-writable-p,
7562         elmo-folder-close-internal, elmo-folder-mark-as-read,
7563         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7564         Define.
7565         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7566
7567         * elmo-net.el (elmo-message-fetch): Check buffer size.
7568
7569         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7570
7571         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7572
7573         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7574         before `close' command.
7575
7576         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7577         `mark-alist' (All other related portions are changed).
7578
7579 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7580
7581         * elmo-util.el (elmo-create-hash-size): Eliminated.
7582         (elmo-make-hash) Make a hash with `one less than a power of two'
7583         length.
7584
7585         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7586         (elmo-hash-maximum-size): Changed value.
7587
7588 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7589
7590         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7591         (elmo-mime-message-display-as-is): Ditto.
7592
7593 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7594
7595         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7596         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7597
7598 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7599
7600         * elmo-mark.el: New file.
7601
7602         * elmo-internal.el: Rewrite (Almost empty).
7603
7604 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7605
7606         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7607         (mime-imap-entity-header-string): Ditto.
7608         (mmimap-entity-section): Rewrite.
7609
7610 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7611
7612         * elmo-nmz.el: New file.
7613
7614         * elmo-pipe.el: Rewrite with luna.
7615
7616 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7617
7618         * elmo-archive.el: Rewrite with luna.
7619
7620         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7621         (elmo-folder-list-importants-internal): Ditto.
7622
7623 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7624
7625         * elmo-archive.el (elmo-archive-version): Abolish.
7626         (toplevel) Removed `boso' comment.
7627
7628 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7629
7630         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7631         elmo-msgdb-add-msgs-to-seen-list-subr;
7632         Changed argument seen-marks to unread-marks.
7633
7634         * elmo-nntp.el: Rewrite with luna.
7635
7636 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7637
7638         * elmo-filter.el: Rewrite with luna.
7639
7640 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7641
7642         * elmo-pop3.el: Rewrite with luna.
7643
7644 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7645
7646         * elmo-multi.el: Rewrite with luna.
7647
7648         * elmo-vars.el (elmo-use-killed-list): Abolish.
7649         All other related portions are changed.
7650         (elmo-filename-replace-string-alist): Renamed from
7651         elmo-msgid-replace-string-alist.
7652
7653 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7654
7655         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7656
7657         * elmo-map.el: New file.
7658         * elmo-maildir.el: Rewrite with luna.
7659
7660 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7661
7662         * elmo.el: Changed meaning of `elmo-folder-commit'.
7663         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7664
7665 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7666
7667         * elmo.el (elmo-folder-append-buffer): New function.
7668         (Renamed from `elmo-append-msg')
7669
7670 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7671
7672         * elmo-mime.el: New file.
7673
7674 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7675
7676         * elmo-cache.el: Rewrite.
7677
7678 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7679
7680         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7681
7682 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7683
7684         * elmo-vars.el (elmo): New group.
7685         (elmo-strict-diff-folder-regexp): New variable.
7686
7687         * elmo-util.el (elmo-call-func): Abolish.
7688         (elmo-folder-get-type): Ditto.
7689         (elmo-*-get-spec): Ditto.
7690         (elmo-*-spec-*): Ditto.
7691         (elmo-imap4-identical-name-space-p): Ditto.
7692         (elmo-folder-identical-system-p): Ditto.
7693         (elmo-folder-direct-copy-alist): Ditto.
7694         (elmo-folder-direct-copy-p): Ditto.
7695
7696         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7697         (elmo-folder-initialize): Define.
7698         (elmo-folder-get-primitive-list): Ditto.
7699
7700         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7701         (elmo-folder-initialize): Define.
7702         Renamed `elmo-network-session-host-internal' to
7703         `elmo-network-session-server-internal'.
7704
7705         * elmo-multi.el (elmo-multi-folder): New luna class.
7706         (elmo-folder-initialize): Define.
7707         (elmo-folder-get-primitive-list): Ditto.
7708         (elmo-folder-contains-type): Ditto.
7709         (elmo-message-use-cache-p): Ditto.
7710
7711         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7712         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7713
7714         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7715         (elmo-folder-initialize): Define.
7716
7717         * elmo-filter.el (elmo-filter-folder): New luna class.
7718         (elmo-folder-initialize): Define.
7719         (elmo-folder-get-primitive-list): Ditto.
7720         (elmo-folder-contains-type): Ditto.
7721
7722 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7723
7724         * elmo-imap4.el: Rewrite with luna.
7725
7726         * mmimap.el: New file.
7727
7728         * mmelmo.el, mmelmo-imap4.el: Removed.
7729
7730         * elmo-net.el: Ditto.
7731
7732         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7733         (elmo-folder-initialize): Define.
7734
7735         * elmo-archive.el (elmo-archive-folder): New luna class.
7736         (elmo-folder-initialize): Define.
7737
7738         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7739         `elmo-folder-msgdb-path'.
7740         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7741         `elmo-make-folder'.
7742
7743 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7744
7745         * elmo.el: New file.
7746
7747         * elmo2.el: Renamed to elmo.el.
7748
7749 \f
7750 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7751
7752         * elmo-cache.el (elmo-cache-expire-by-size): Count
7753         a disk usage for a cache file entry in KB even when
7754         its kind is a directory.
7755
7756 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7757
7758         * elmo-version.el (elmo-version): Up to 2.5.7.
7759
7760 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7761
7762         * elmo-version.el (elmo-version): Up to 2.5.6.
7763
7764 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7765
7766         * elmo-version.el (elmo-version): Up to 2.5.5.
7767
7768 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7769
7770         * elmo-imap4.el (elmo-network-authenticate-session):
7771         Fixed a logic for response checking.
7772
7773 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7774
7775         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7776         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7777         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7778         `sasl-mechanisms'.
7779
7780         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7781         for `starttls-open-stream' and `starttls-negotiate'.
7782
7783         * elmo-nntp.el: Remove autoload settings for
7784         `starttls-open-stream' and `starttls-negotiate'.
7785
7786         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7787         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7788         `luna-define-class' with `eval-and-compile'.
7789
7790 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7791
7792         * elmo-util.el (elmo-read-search-condition-internal):
7793         Require an element of table for searching field.
7794
7795 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7796
7797         * elmo-version.el (elmo-version): Up to 2.5.4.
7798
7799 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7800
7801         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7802
7803 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7804
7805         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7806
7807 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7808
7809         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7810         before greeting.
7811
7812 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7813
7814         * elmo-imap4.el (elmo-imap4-delete-folder):
7815         Send "close" before "delete" (Use commented out line).
7816         (elmo-imap4-rename-folder): Ditto.
7817
7818         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7819         folder string itself.
7820         (elmo-dop-list-deleted): New function.
7821         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7822         killed.
7823
7824         * elmo-util.el (elmo-string-rassoc-all): New function.
7825
7826 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7827
7828         * elmo-version.el (elmo-version): Up to 2.5.3.
7829
7830         * elmo-net.el (elmo-network-get-session): Changed logic for
7831         checking process status.
7832
7833         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7834         process is nil;
7835         Changed logic for checking process status.
7836
7837 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7838
7839         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7840         before greeting.
7841         (elmo-network-setup-session): Set UIDL hash size according to
7842         the length of list response.
7843         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7844         according to the length of list response;
7845         Return the length of list response.
7846         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7847
7848 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7849
7850         * elmo-imap4.el (toplevel): Require 'ssl.
7851         Add autoload 'starttls.
7852         * elmo-pop3.el (toplevel): Ditto.
7853         * elmo-nntp.el (toplevel): Ditto.
7854
7855 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7856
7857         * elmo-imap4.el (toplevel): defun at compile time.
7858         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7859         sasl-next-step, sasl-step-data, sasl-step-set-data.
7860         * elmo-pop3.el (toplevel): Ditto.
7861
7862 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7863
7864         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7865
7866 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7867
7868         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7869         if error.
7870         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7871         and `elmo-pop-auth-apop'.
7872
7873 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7874
7875         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7876
7877 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7878
7879         * elmo-pop3.el (elmo-network-authenticate-session): Split
7880         encoded response value.
7881
7882 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7883
7884         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7885         `elmo-pop3-force-login'.
7886         Redefine `sasl-mechanisms'.
7887         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7888
7889 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7890
7891         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7892         Delete `elmo-imap4-authenticator-alist'.
7893         (elmo-imap4-auth-cram-md5): Delete.
7894         (elmo-imap4-auth-digest-md5): Delete.
7895
7896 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7897
7898         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7899         (elmo-pop3-auth-scram-md5): Ditto.
7900         (elmo-pop3-auth-cram-md5): Ditto.
7901
7902 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7903
7904         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7905         Delete `elmo-pop3-authenticator-alist'.
7906
7907 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7908
7909         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7910         new SASL API.
7911         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7912
7913 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7914
7915         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7916
7917 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7918
7919         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7920         Fixed problem when `elmo-pop3-use-uidl' is nil.
7921         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7922
7923 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7924
7925         * elmo-version.el (elmo-version): Up to 2.5.2.
7926
7927 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7928
7929         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7930         New function.
7931         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7932         (elmo-pop3-msgdb-create-as-numlist): Use it.
7933
7934         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7935         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7936
7937         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7938         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7939
7940 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7941
7942         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7943         when elmo-mark-as-read is called with second argument nil.
7944
7945 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7946
7947         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7948         Moved to elmo-util.el.
7949
7950         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7951         Moved from elmo-pipe.el
7952
7953         * elmo-archive.el (elmo-archive-call-process): Enclose with
7954         static-if.
7955
7956         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7957         "RFC822" (because RFC822.PEEK is obsolete).
7958         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7959
7960 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7961
7962         * elmo-archive.el (elmo-archive-call-process): Don't check for
7963         the exit status when Nemacs is running.
7964
7965 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7966
7967         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7968         'plain.
7969
7970         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7971         (elmo-pop3-get-spec): Set default of auth to 'user.
7972
7973         * elmo-imap4.el (elmo-imap4-session-check):
7974         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7975         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7976         (elmo-imap4-auth-login): New function; Revival.
7977         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7978         `elmo-imap4-auth-login'.
7979
7980 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7981
7982         * elmo2.el (toplevel): Move `product-provide' declare.
7983         * mmelmo.el (toplevel): Ditto.
7984
7985 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7986
7987         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7988
7989 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7990
7991         * elmo-util.el (elmo-folder-get-store-type): New function.
7992         (elmo-folder-direct-copy-p): Use it.
7993
7994 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7995
7996         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7997         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7998         and result of `elmo-imap4-use-flag-p'.
7999         (elmo-imap4-fetch-callback-1): Set mark according to
8000         the result of `elmo-imap4-use-flag-p'.
8001
8002 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
8003
8004         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8005         (elmo-generic-list-folder-unread): Ditto.
8006         (elmo-folder-get-info): Ditto.
8007         (elmo-folder-set-info-max-by-numdb): Ditto.
8008         (elmo-folder-get-info-max): Ditto.
8009         (elmo-folder-get-info-length): Ditto.
8010         (elmo-folder-get-info-unread): Ditto.
8011         (elmo-folder-info-make-hashtb): Ditto.
8012
8013         * elmo2.el: Removed above functions.
8014
8015 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
8016
8017         * elmo-imap4.el (toplevel): Require 'ssl.
8018         Add autoload 'starttls.
8019         * elmo-pop3.el (toplevel): Ditto.
8020         * elmo-nntp.el (toplevel): Ditto.
8021
8022 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8023
8024         * elmo-imap4.el (toplevel): defun at compile time.
8025         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8026         sasl-next-step, sasl-step-data, sasl-step-set-data.
8027         * elmo-pop3.el (toplevel): Ditto.
8028
8029 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8030
8031         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8032
8033 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8034
8035         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8036         if error.
8037         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8038         and `elmo-pop-auth-apop'.
8039
8040 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8041
8042         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8043
8044 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8045
8046         * elmo-pop3.el (elmo-network-authenticate-session): Split
8047         encoded response value.
8048
8049 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8050
8051         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8052         `elmo-pop3-force-login'.
8053         Redefine `sasl-mechanisms'.
8054         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8055
8056 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8057
8058         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8059         Delete `elmo-imap4-authenticator-alist'.
8060         (elmo-imap4-auth-cram-md5): Delete.
8061         (elmo-imap4-auth-digest-md5): Delete.
8062
8063 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8064
8065         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8066         (elmo-pop3-auth-scram-md5): Ditto.
8067         (elmo-pop3-auth-cram-md5): Ditto.
8068
8069 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8070
8071         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8072         Delete `elmo-pop3-authenticator-alist'.
8073
8074 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8075
8076         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8077         new SASL API.
8078         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8079
8080 \f
8081 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8082
8083         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8084
8085 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8086
8087         * elmo-nntp.el (elmo-nntp-get-folders-info):
8088         Fixed problem when '\' character is contained in user-id.
8089         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8090
8091 \f
8092 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8093
8094         * elmo-imap4.el (elmo-imap4-delete-folder):
8095         Send "close" before "delete" (Use commented out line).
8096         (elmo-imap4-rename-folder): Ditto.
8097
8098         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8099         folder string itself.
8100         (elmo-dop-list-deleted): New function.
8101         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8102         killed.
8103
8104         * elmo-util.el (elmo-string-rassoc-all): New function.
8105
8106         * elmo-version.el (elmo-version): Up to 2.5.1.
8107
8108 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8109
8110         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8111
8112         * elmo-internal.el (elmo-internal-search): Fix last change.
8113
8114 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8115
8116         * elmo-internal.el (elmo-internal-search): Rewrite.
8117         (Fixed problem which is pointed out by Akihiro MOTOKI
8118         <motoki@da.jp.nec.com>)
8119
8120         * elmo-version.el (elmo-version): Up to 2.5.0.
8121
8122 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8123
8124         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8125
8126 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8127
8128         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8129         non-nil, make hierarchy.
8130
8131 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8132
8133         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8134         `elmo-pop3-use-uidl' must be bound to nil.
8135         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8136
8137 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8138
8139         * elmo-util.el (elmo-copy-file): Don't cause an error after
8140         `add-name-to-file' failed.
8141
8142         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8143         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8144
8145 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8146
8147         * elmo-version.el (elmo-version): Up to 2.3.93.
8148
8149 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8150
8151         * elmo-util.el (elmo-flatten): New function.
8152
8153 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8154
8155         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8156         sync Author header.
8157         * elmo-cache.el (toplevel): Ditto.
8158         * elmo-database.el (toplevel): Ditto.
8159         * elmo-date.el (toplevel): Ditto.
8160         * elmo-dop.el (toplevel): Ditto.
8161         * elmo-filter.el (toplevel): Ditto.
8162         * elmo-imap4.el (toplevel): Ditto.
8163         * elmo-internal.el (toplevel): Ditto.
8164         * elmo-localdir.el (toplevel): Ditto.
8165         * elmo-localnews.el (toplevel): Ditto.
8166         * elmo-maildir.el (toplevel): Ditto.
8167         * elmo-msgdb.el (toplevel): Ditto.
8168         * elmo-multi.el (toplevel): Ditto.
8169         * elmo-net.el (toplevel): Ditto.
8170         * elmo-nntp.el (toplevel): Ditto.
8171         * elmo-pipe.el (toplevel): Ditto.
8172         * elmo-pop3.el (toplevel): Ditto.
8173         * elmo-util.el (toplevel): Ditto.
8174         * elmo-vars.el (toplevel): Ditto.
8175         * elmo2.el (toplevel): Ditto.
8176         * mmelmo-imap4.el (toplevel): Ditto.
8177         * mmelmo.el (toplevel): Ditto.
8178
8179         * elmo-version.el (elmo-version): Move to top.
8180
8181         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8182         * elmo-imap4.el (toplevel): Ditto.
8183         * elmo-localdir.el (toplevel): Ditto.
8184         * elmo-msgdb.el (toplevel): Ditto.
8185         * elmo-nntp.el (toplevel): Ditto.
8186         * elmo-pop3.el (toplevel): Ditto.
8187         * elmo-version.el (toplevel): Ditto.
8188
8189         * elmo-localnews.el (toplevel): Added Keyword header.
8190
8191 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8192
8193         * elmo-version.el (product-version-as-string): Defined using
8194         `defun-maybe'.
8195         (toplevel): Use it.
8196
8197         * elmo-localdir.el (toplevel): Updated copyright notice.
8198         * elmo-version.el (toplevel): Ditto.
8199         * elmo-msgdb.el (toplevel): Ditto.
8200         * elmo-imap4.el (toplevel): Ditto.
8201         * elmo-nntp.el (toplevel): Ditto.
8202         * elmo-pop3.el (toplevel): Ditto.
8203
8204 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8205
8206         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8207         messages.
8208
8209         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8210         parameter value (It sometimes contains raw kanji).
8211
8212 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8213
8214         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8215         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8216
8217 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8218
8219         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8220
8221 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8222
8223         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8224         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8225
8226 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8227
8228         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8229         value if selecting folder succceeded.
8230         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8231
8232 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8233
8234         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8235         representation.
8236
8237         * elmo-util.el (elmo-string-matched-member): New function.
8238
8239 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8240
8241         * elmo-util.el (elmo-unintern): New macro.
8242         (elmo-number-set-member): Fixed docstring.
8243
8244         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8245         tag token.
8246
8247 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8248
8249         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8250         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8251
8252 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8253
8254         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8255         `no-error'.
8256         Added docstring.
8257         Return non-nil if selecting folder succeeded.
8258         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8259
8260 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8261
8262         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8263         `file-name-completion' returns t.
8264         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8265         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8266         directory if it does not exist.
8267         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8268         for iteration.
8269
8270 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8271
8272         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8273         enclosure (It's harmful in unplugged status).
8274
8275         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8276
8277         * mmelmo-1.el: Removed.
8278
8279         * mmelmo-2.el: Ditto.
8280
8281         * mmelmo-imap4-1.el: Ditto.
8282
8283         * mmelmo-imap4-2.el: Ditto.
8284
8285         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8286
8287         * mmelmo.el: Merged mmelmo-2.el.
8288
8289         * elmo-version.el (elmo-version): Up to 2.3.92.
8290
8291 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8292
8293         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8294         elmo-update-number): Remove last period in "...done." message.
8295         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8296         Ditto.
8297         * elmo-cache.el (elmo-cache-expire-by-size,
8298         elmo-cache-get-sorted-cache-file-list,
8299         elmo-cache-msgdb-create-as-numlist): Ditto.
8300         * elmo-dop.el (elmo-dop-save-pending-messages,
8301         (elmo-dop-flush-pending-append-operations): Ditto.
8302         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8303         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8304         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8305         (elmo-localdir-pack-number): Ditto.
8306         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8307         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8308         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8309         mime-write-entity-content): Ditto.
8310         * pldap.el (ldap-search-basic): Ditto.
8311
8312 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8313
8314         * elmo-version.el (elmo-version): Up to 2.3.91.
8315
8316         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8317         Only when filter is 'last'.
8318
8319         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8320         (elmo-condition-parse-search-value): Use it.
8321         (elmo-read-search-condition-internal): Quote value only when
8322         it is not an atom.
8323
8324 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8325
8326         * elmo2.el (elmo-generic-folder-diff): Fix.
8327
8328 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8329
8330         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8331         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8332         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8333         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8334         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8335         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8336
8337 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8338
8339         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8340         extra-fields.
8341
8342 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8343
8344         * elmo-version.el (elmo-version): Up to 2.3.90.
8345
8346         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8347         (elmo-imap4-list-folder-important): Ditto.
8348
8349 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8350
8351         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8352
8353 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8354
8355         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8356
8357 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8358
8359         * elmo-nntp.el (elmo-network-initialize-session):
8360         Add starttls negotiation.
8361
8362 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8363
8364         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8365         response.
8366         (elmo-network-setup-session): Define.
8367         Call `elmo-nntp-send-mode-reader' when session opened.
8368
8369 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8370
8371         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8372
8373 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8374
8375         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8376         an invalid SPACE character ahead of `SEARCH' command.  Move
8377         a valid SPACE character following `SEARCH' from conditional
8378         `format' arguments to control-strings.
8379
8380 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8381
8382         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8383         was succeeded.
8384
8385         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8386
8387 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8388
8389         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8390         `w32-get-true-file-link-count' as t.
8391
8392         * elmo-imap4.el (elmo-imap4-read): Abolished.
8393         (Renamed to `elmo-read' and moved to elmo-util.el)
8394         All other related portions are changed.
8395
8396         * elmo-util.el (elmo-read): New function.
8397         (elmo-condition-parse-search-value): Use it.
8398
8399 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8400
8401         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8402
8403         * elmo-nntp.el (elmo-nntp-session): Define.
8404         (elmo-nntp-setting): Abolished.
8405         All other related portions are changed.
8406         (elmo-nntp-get-server-command): Changed argument.
8407         (elmo-nntp-set-server-command): Ditto.
8408         (elmo-nntp-xover-p): Ditto.
8409         (elmo-nntp-set-xover): Ditto.
8410         (elmo-nntp-listgroup-p): Ditto.
8411         (elmo-nntp-set-listgroup): Ditto.
8412         (elmo-nntp-list-active-p): Ditto.
8413         (elmo-nntp-set-list-active): Ditto.
8414         (elmo-nntp-xhdr-p): Ditto.
8415         (elmo-nntp-set-xhdr): Ditto.
8416         (elmo-nntp-flush-connection): Abolished.
8417         (elmo-nntp-get-connection): Abolished.
8418         (elmo-nntp-get-session): New function.
8419         (elmo-network-initialize-session): Defined.
8420         (elmo-network-authenticate-session): Ditto.
8421         (elmo-nntp-send-mode-reader): Changed argument.
8422         (elmo-nntp-send-command): Changed argument.
8423         All other related portions are changed.
8424         (elmo-nntp-read-response): Ditto.
8425         (elmo-nntp-read-raw-response): Ditto.
8426         (elmo-nntp-read-contents): Ditto.
8427         (elmo-nntp-read-body): Ditto.
8428         (elmo-nntp-goto-folder): Abolished.
8429         (elmo-nntp-select-group): New function.
8430         All other related portions are changed.
8431         (This function substitutes `elmo-nntp-goto-folder')
8432         (elmo-nntp-msgdb-create-by-header): Rewrite.
8433         (elmo-nntp-get-overview): Eliminated.
8434         (elmo-nntp-get-message): Ditto.
8435         (elmo-nntp-open-connection) Abolished.
8436         (elmo-nntp-read-msg): Rewrite.
8437         (elmo-nntp-post): Ditto.
8438         (elmo-nntp-send-data): Abolished.
8439         (elmo-nntp-send-buffer): New function.
8440         (elmo-nntp-send-data-line): Define as inline function.
8441         (elmo-nntp-get-folders-info-prepare): Use session as key.
8442         (elmo-nntp-groups-read-response): Changed argument.
8443         (elmo-nntp-retrieve-headers): Ditto.
8444         (elmo-nntp-msgdb-create-message): Ditto.
8445
8446         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8447         when searching by 'since' or 'before'.
8448
8449 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8450
8451         * elmo-version.el (toplevel): Use product-version-as-string for set
8452         verstion-string, if defined.
8453
8454 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8455
8456         * elmo-util.el: Doc fixes.
8457
8458 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8459
8460         * elmo-archive.el (toplevel): Use product-provide.
8461         * elmo-cache.el (toplevel): Ditto.
8462         * elmo-database.el (toplevel): Ditto.
8463         * elmo-date.el (toplevel): Ditto.
8464         * elmo-dop.el (toplevel): Ditto.
8465         * elmo-filter.el (toplevel): Ditto.
8466         * elmo-imap4.el (toplevel): Ditto.
8467         * elmo-internal.el (toplevel): Ditto.
8468         * elmo-localdir.el (toplevel): Ditto.
8469         * elmo-localnews.el (toplevel): Ditto.
8470         * elmo-maildir.el (toplevel): Ditto.
8471         * elmo-msgdb.el (toplevel): Ditto.
8472         * elmo-multi.el (toplevel): Ditto.
8473         * elmo-net.el (toplevel): Ditto.
8474         * elmo-nntp.el (toplevel): Ditto.
8475         * elmo-pipe.el (toplevel): Ditto.
8476         * elmo-pop3.el (toplevel): Ditto.
8477         * elmo-util.el (toplevel): Ditto.
8478         * elmo-vars.el (toplevel): Ditto.
8479         * elmo2.el (toplevel): Ditto.
8480         * mmelmo-1.el (toplevel): Ditto.
8481         * mmelmo-2.el (toplevel): Ditto.
8482         * mmelmo-imap4-1.el (toplevel): Ditto.
8483         * mmelmo-imap4-2.el (toplevel): Ditto.
8484         * mmelmo-imap4.el (toplevel): Ditto.
8485         * mmelmo.el (toplevel): Ditto.
8486
8487 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8488
8489         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8490         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8491
8492 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8493
8494         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8495         before splitting.
8496         (elmo-multi-split-number-alist): Ditto.
8497
8498 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8499
8500         * elmo-version.el: New file.  Use product.el.
8501         * elmo2.el: Add (require 'elmo-version).
8502         * elmo-vars.el (elmo-appname, elmo-version): Move to
8503         elmo-version.el
8504
8505 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8506
8507         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8508         `elmo-msgdb-expand-path'.
8509         (elmo-msgdb-load): Ditto.
8510         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8511         (elmo-generic-list-folder-unread): Rewrite.
8512         (elmo-generic-list-folder-important): Changed argument.
8513         (elmo-list-folder-unread): Ditto.
8514         (elmo-list-folder-important): Ditto.
8515         (elmo-folder-diff): Rewrite.
8516         (elmo-generic-folder-diff): New function.
8517         (elmo-multi-get-number-alist-list): Abolished
8518         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8519         (elmo-multi-folder-diff): Moved to elmo-multi.el
8520         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8521
8522         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8523         `elmo-msgdb-expand-path'.
8524         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8525         (elmo-pop3-read-msg): Ditto.
8526         (elmo-pop3-delete-msgs): Ditto.
8527         (elmo-pop3-folder-diff): New alias.
8528
8529         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8530         `elmo-msgdb-expand-path'.
8531         (elmo-pipe-list-folder-unread): Changed arguments.
8532         (elmo-pipe-list-folder-important): Ditto.
8533         (elmo-pipe-folder-diff): New alias.
8534
8535         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8536         `elmo-msgdb-expand-path'.
8537         (elmo-nntp-max-of-folder): Ditto.
8538         (elmo-nntp-msgdb-create): Ditto.
8539         (elmo-nntp-delete-msgs): Ditto.
8540         (elmo-nntp-folder-diff): New alias.
8541
8542         * elmo-multi.el (elmo-multi-folder-diff): New function.
8543         (elmo-multi-split-mark-alist): Ditto.
8544         (elmo-multi-split-number-alist): Ditto.
8545         (elmo-multi-mark-alist-list): Abolished (Renamed to
8546         elmo-multi-split-mark-alist).
8547         (elmo-multi-list-folder-unread): Rewrite.
8548         (elmo-multi-list-folder-important): Ditto.
8549         (elmo-multi-list-folder): Set `spec' as 1st argument for
8550         `elmo-msgdb-expand-path'.
8551         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8552         instead of `elmo-multi-get-number-alist-list'.
8553
8554         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8555         If 1st argument is not string, treat as spec.
8556         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8557         `elmo-msgdb-expand-path'.
8558         (elmo-msgdb-flist-load): Ditto.
8559         (elmo-msgdb-flist-save): Ditto.
8560         (elmo-msgdb-delete-path): Ditto.
8561         (elmo-msgdb-rename-path): Ditto.
8562
8563         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8564         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8565         (elmo-maildir-delete-mark-msgs): Ditto.
8566         (elmo-maildir-msgdb-create): Ditto.
8567         (elmo-maildir-read-msg): Ditto.
8568         (elmo-maildir-delete-msgs): Ditto.
8569         (elmo-maildir-list-folder-subr): Ditto.
8570         (elmo-maildir-search): Ditto.
8571         (elmo-maildir-get-msg-filename): Ditto.
8572         (elmo-maildir-pack-number): Ditto.
8573         (elmo-maildir-folder-diff): New alias.
8574
8575         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8576
8577         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8578         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8579         (elmo-localdir-folder-diff): New alias.
8580
8581         * elmo-internal.el (elmo-internal-list-folder-subr):
8582         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8583         (elmo-internal-list-folder-by-location): Ditto.
8584         (elmo-internal-msgdb-create): Ditto.
8585         (elmo-internal-delete-msgs): Ditto.
8586         (elmo-internal-read-msg): Ditto.
8587         (elmo-internal-folder-diff): New alias.
8588
8589         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8590         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8591         `elmo-msgdb-expand-path'.
8592         (elmo-imap4-list-folder-unread): Changed arguments.
8593         (elmo-imap4-list-folder-important): Ditto.
8594
8595         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8596         (elmo-filter-list-folder-important): Ditto.
8597         (elmo-filter-folder-diff): New function.
8598
8599         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8600
8601         * elmo-cache.el (elmo-cache-list-folder):
8602         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8603         (elmo-cache-copy-msgs): Ditto.
8604         (elmo-cache-folder-diff): New alias.
8605
8606         * elmo-archive.el (elmo-archive-list-folder-subr):
8607         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8608         (elmo-archive-get-archive-name): Ditto.
8609         (elmo-archive-create-file): Ditto.
8610         (elmo-archive-append-msg): Ditto.
8611         (elmo-archive-copy-msgs): Ditto.
8612         (elmo-archive-copy-msgs-froms): Ditto.
8613         (elmo-archive-get-msg-filename): Ditto.
8614         (elmo-archive-folder-diff): New alias.
8615
8616 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8617
8618         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8619         (elmo-pop3-stream-type-alist): New variable.
8620         (elmo-nntp-stream-type-alist): New variable.
8621
8622         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8623         (elmo-kill-buffer): Ditto.
8624         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8625         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8626         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8627         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8628         (elmo-imap4-get-spec): Take into account
8629         `elmo-imap4-stream-type-alist'.
8630
8631 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8632
8633         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8634         (elmo-nntp-list-folders-get-cache): Ditto.
8635
8636 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8637
8638         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8639         character before 'uid'.
8640
8641 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8642
8643         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8644
8645         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8646
8647         * elmo-util.el (elmo-number-set-member): New function.
8648         (elmo-number-set-append-list): Ditto.
8649         (elmo-number-set-append): Ditto.
8650
8651         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8652         Use `elmo-number-set-member'.
8653         (elmo-living-messages): Ditto.
8654         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8655         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8656
8657         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8658         (elmo-imap4-add-to-cont-list): Abolished.
8659         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8660         instead of elmo-imap4-add-to-cont-list.
8661
8662         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8663         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8664
8665         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8666
8667 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8668
8669         * elmo-util.el (elmo-condition-parse-search-value):
8670         Fixed date parsing.
8671
8672 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8673
8674         * elmo-util.el (elmo-condition-find-key-internal): New function.
8675         (elmo-condition-find-key): Ditto.
8676
8677         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8678         (elmo-msgdb-search-internal): Ditto.
8679         (elmo-msgdb-search): Ditto.
8680
8681 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8682
8683         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8684         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8685
8686         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8687         (elmo-nntp-search-primitive): Fixed problem when condition is
8688         'unmatch'.
8689
8690         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8691
8692         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8693         (elmo-nntp-xhdr-p): New macro.
8694         (elmo-nntp-set-xhdr): Ditto.
8695         (elmo-nntp-parse-xhdr-response): New function.
8696         (elmo-nntp-retrieve-field): Ditto.
8697         (elmo-nntp-search-primitive): Ditto.
8698         (elmo-nntp-search): Implemented.
8699
8700         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8701
8702         * elmo-archive.el (elmo-archive-search): Set all number list to
8703         `elmo-archive-field-condition-match'
8704
8705         * elmo-localdir.el (elmo-localdir-search): Likewise.
8706
8707         * elmo-maildir.el (elmo-maildir-search): Likewise.
8708
8709 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8710
8711         * elmo-msgdb.el (elmo-living-messages): New function.
8712         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8713         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8714         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8715         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8716         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8717         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8718         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8719         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8720         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8721         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8722         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8723
8724 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8725
8726         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8727
8728         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8729
8730         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8731
8732         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8733         arguments for `SEARCH' command.
8734         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8735         All other related portions are changed.
8736
8737         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8738
8739         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8740         (elmo-list-folder-unread): Rewrite.
8741         (elmo-list-folder-important): Ditto.
8742
8743         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8744         (elmo-condition-parse-error): New inline function.
8745         (elmo-read-search-condition): New function.
8746         (elmo-read-search-condition-internal): Ditto.
8747         (elmo-parse-search-condition): Rewrite.
8748         (elmo-condition-parse): New function.
8749         (elmo-condition-parse-or-expr): Ditto.
8750         (elmo-condition-parse-and-expr): Ditto.
8751         (elmo-condition-parse-primitive): Ditto.
8752         (elmo-condition-parse-search-value): Ditto.
8753         (elmo-buffer-field-primitive-condition-match): Ditto.
8754         (elmo-buffer-field-condition-match): Rewrite.
8755         (elmo-file-field-condition-match): Ditto.
8756
8757         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8758         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8759
8760         * elmo-internal.el (elmo-internal-search): Set `number' and
8761         `number-list' argument of `elmo-file-field-condition-match'.
8762
8763         * elmo-maildir.el (elmo-maildir-search): Ditto.
8764
8765         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8766         `msgdb' as argument instead of `mark-alist'.
8767         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8768         `overview'.
8769
8770         * elmo-multi.el: Likewise.
8771
8772         * elmo-pipe.el: Likewise.
8773
8774         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8775         (elmo-imap4-search-internal): Rewrite.
8776         (elmo-imap4-search): Ditto.
8777
8778         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8779         (elmo-filter-list-folder-unread): Ditto.
8780         (elmo-filter-list-folder-important): Ditto.
8781         (elmo-filter-search): Rewrite.
8782
8783         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8784         `number-list' argument of `elmo-file-field-condition-match'.
8785         (elmo-cache-search): Ditto.
8786
8787         * elmo-localdir.el: Likewise.
8788
8789         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8790         number-list and pass it to `elmo-buffer-field-condition-match'.
8791         (elmo-archive-field-condition-match): Pass `number-list' to
8792         `elmo-archive-field-condition-match'
8793
8794 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8795
8796         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8797         `listgroup'.
8798
8799         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8800         (elmo-folder-diff-async-callback-data): Ditto.
8801         (elmo-folder-diff-async): New function.
8802
8803         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8804         (elmo-network-session-cache-key): Use it as a prefix of the session
8805         name.
8806         (elmo-network-open-session): Ditto.
8807
8808         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8809         (elmo-imap4-status-callback-data): Ditto.
8810         (elmo-imap4-server-diff-async-callback): New variable.
8811         (elmo-imap4-server-diff-async-callback-data): Ditto.
8812         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8813         `elmo-imap4-status-callback-data'.
8814         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8815         `elmo-imap4-status-callback-data' as nil.
8816         (elmo-imap4-server-diff): Ditto.
8817         (elmo-imap4-server-diff-async-callback-1): New function.
8818         (elmo-imap4-server-diff-async): Ditto.
8819         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8820
8821 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8822
8823         * elmo-util.el (elmo-list-delete): Doc fix.
8824         (elmo-delete-lists): Abolish.
8825         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8826         instead of `elmo-delete-lists'.
8827
8828 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8829
8830         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8831         before `sort'.
8832
8833 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8834
8835         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8836         `elmo-imap4-literal-subr'.
8837         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8838         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8839
8840 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8841
8842         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8843         (elmo-archive-list-folder): Fix.
8844         (elmo-archive-max-of-folder): Fix.
8845
8846 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8847
8848         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8849          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8850         (elmo-localdir-append-msg): Ditto.
8851         (elmo-localdir-list-folder): Fix for `nonsort'.
8852         (elmo-localdir-list-folder-subr): Fix for `killed'.
8853         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8854         (elmo-maildir-list-folder-subr): Ditto.
8855         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8856         (elmo-archive-list-folder-subr): Ditto.
8857         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8858         (elmo-internal-list-folder-subr): Ditto.
8859
8860 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8861
8862         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8863
8864 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8865
8866         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8867
8868 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8869
8870         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8871         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8872
8873         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8874         before greeting.
8875         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8876         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8877
8878 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8879
8880         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8881
8882         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8883         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8884         before STORE command.
8885
8886 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8887
8888         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8889
8890         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8891         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8892         of `response'.
8893         (elmo-imap4-list-folders): Removed unused local variable.
8894         (elmo-network-initialize-session): Ditto.
8895         (elmo-imap4-delete-msg-by-id): Ditto.
8896         (elmo-imap4-parse-fetch): Ditto.
8897         (elmo-imap4-copy-msgs): Ditto.
8898         Use `dst-spec' instead of `dst-folder'.
8899         (elmo-network-authenticate-session): Check authenticate type `plain'.
8900
8901 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8902
8903         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8904         garbage checking.
8905         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8906         `elmo-imap4-response-value'.
8907         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8908
8909 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8910
8911         * elmo-imap4.el (elmo-imap4-send-command):
8912         Cause elmo-imap4-bye-error when current response is BYE.
8913         (elmo-imap4-arrival-filter): Changed greeting response value.
8914
8915         * elmo2.el (elmo-imap4-bye-error): Define.
8916
8917         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8918         (elmo-imap4-server-diff): Ditto.
8919         (elmo-imap4-response-bye-p): New macro.
8920         (elmo-imap4-response-error-text): Get text from BYE response.
8921         (elmo-imap4-read-response): Return if BYE response.
8922         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8923         (elmo-imap4-folder-exists-p): Ditto.
8924         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8925         (elmo-imap4-parse-bye): New function.
8926         (elmo-imap4-parse-response): Remove needless let.
8927         Call `elmo-imap4-parse-bye'.
8928
8929 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8930
8931         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8932         the mailbox does not exist.
8933         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8934
8935 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8936
8937         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8938
8939 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8940
8941         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8942
8943         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8944         (elmo-network-initialize-session-buffer): Defined.
8945
8946         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8947         Abolished.
8948         (mmelmo-imap4-get-mime-entity): Rewrite.
8949
8950         * elmo2.el (elmo-error): Capitalize error message.
8951
8952         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8953         (elmo-network-session-buffer): New macro.
8954         (elmo-network-open-session): Use it.
8955
8956         * elmo-imap4.el: Rewrite.
8957
8958 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8959
8960         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8961
8962 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8963
8964         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8965         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8966         (elmo-imap4-create-msgdb-from-overview-string): Use
8967         `elmo-msgdb-create-overview-from-buffer'.
8968
8969 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8970
8971         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8972         (elmo-imap4-default-hierarchy-delimiter): New variable.
8973         (elmo-imap4-list-folders): Use it.
8974
8975 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8976
8977         * elmo-net.el (elmo-network-open-session): Add user and
8978         stream-type for process-buffer name.
8979
8980         * elmo-pop3.el (elmo-network-initialize-session): Call
8981         buffer-disable-undo.
8982
8983         * elmo-imap4.el (elmo-network-initialize-session):
8984         Set current-buffer as an argument for `buffer-disable-undo'.
8985
8986         * elmo-pop3.el (elmo-network-close-session): Don't use
8987         `process-live-p'.
8988
8989         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8990         Set default as 'user.
8991
8992         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8993
8994         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8995         and `elmo-imap4-flush-connection'.
8996
8997         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8998         (elmo-pop3-get-spec): Assume auth as symbol.
8999         (elmo-open-network-stream): Moved to `elmo-net'.
9000
9001         * elmo-pop3.el (toplevel): Require 'elmo-net.
9002         Define `sasl-cram-md5' to silence byte compilier.
9003         (elmo-pop3-connection-cache) Abolished.
9004         (elmo-pop3-authenticator-alist) New variable.
9005         (elmo-pop3-session): Define.
9006         (elmo-pop3-connection-get-process): Abolished.
9007         (elmo-pop3-connection-get-buffer): Ditto.
9008         (elmo-pop3-close-connection): Ditto.
9009         (elmo-pop3-flush-connection): Ditto.
9010         (elmo-pop3-get-connection): Ditto.
9011         (elmo-pop3-get-session): New function.
9012         (Replacement for `elmo-pop3-get-connection').
9013         All other related modules are changed.
9014         (elmo-network-close-session): Define.
9015         (elmo-pop3-send-command): Abolished argument `buffer'.
9016         All other related modules are changed.
9017         (elmo-pop3-read-response): Likewise.
9018         (elmo-pop3-open-connection): Abolished.
9019         (elmo-pop3-auth-user): New function.
9020         (elmo-pop3-auth-apop): Ditto.
9021         (elmo-pop3-auth-cram-md5): Ditto.
9022         (elmo-pop3-auth-scram-md5): Ditto.
9023         (elmo-pop3-auth-digest-md5): Ditto.
9024         (elmo-network-initialize-session): Define.
9025         (elmo-network-authenticate-session): Ditto.
9026         (elmo-network-setup-session): Ditto.
9027
9028         * elmo-imap4.el (toplevel): Require 'elmo-net.
9029         (elmo-imap4-session): Define.
9030         (elmo-imap4-connection-cache): Abolished.
9031         (elmo-imap4-password-key): Ditto.
9032         (elmo-imap4-flush-connection): Ditto.
9033         (elmo-imap4-get-connection): Ditto.
9034         All other related modules are changed.
9035         (elmo-imap4-get-session): New function
9036         (Replacement for `elmo-imap4-get-connection').
9037         (elmo-imap4-read-response): Abolished argument `buffer'.
9038         All other related modules are changed.
9039         (elmo-imap4-send-command): Likewise.
9040         (elmo-imap4-select-folder): Abolished.
9041         All other related modules are changed.
9042         (elmo-imap4-select-mailbox): New function.
9043         (Replacement for `elmo-imap4-select-folder').
9044         (elmo-imap4-auth-login): Simplify.
9045         (Assume current buffer as process buffer)
9046         (elmo-imap4-auth-cram-md5): Ditto.
9047         (elmo-imap4-auth-digest-md5): Ditto.
9048         (elmo-imap4-login): Ditto.
9049         (elmo-imap4-open-connection): Abolished.
9050         (elmo-imap4-open-connection-1): Abolished.
9051         (elmo-network-initialize-sessoin): Define.
9052         (elmo-network-authenticate-session): Ditto.
9053         (elmo-network-setup-session): Ditto.
9054
9055         * elmo-net.el: New module.
9056
9057 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9058
9059         * elmo-util.el (elmo-define-error): New function.
9060
9061         * elmo2.el (elmo-error): Define.
9062         (elmo-open-error): Define.
9063         (elmo-authenticate-error): Define.
9064
9065         * elmo-imap4.el (elmo-imap4-error): Abolish.
9066         (elmo-imap4-error-type): Abolish.
9067         (elmo-imap4-error-process): Abolish.
9068         (elmo-imap4-error-message): Abolish
9069         (elmo-imap4-list-folders): Don't quote lambda.
9070         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9071         (elmo-imap4-parse-namespace): Ditto.
9072         (elmo-imap4-open-connection): Rewrite.
9073         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9074         (elmo-imap4-get-connection): Abolish local variable `result'.
9075
9076 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9077
9078         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9079         wrong-type-argument error when auth is nil.
9080
9081 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9082
9083         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9084         (elmo-default-nntp-stream-type): Ditto.
9085         (elmo-default-pop3-stream-type): Ditto.
9086         (elmo-network-stream-type-alist): Ditto.
9087         (elmo-default-imap4-ssl): Abolished.
9088         (elmo-default-nntp-ssl): Ditto.
9089         (elmo-default-pop3-ssl): Ditto.
9090
9091         * elmo-util.el: (toplevel): Removed needless requires.
9092         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9093         (elmo-open-network-stream): Open network stream according to
9094         the value of `elmo-network-stream-type-alist'.
9095         (elmo-get-network-stream-type): New function.
9096         (elmo-network-stream-type-spec-string): New macro.
9097         (elmo-network-stream-type-symbol): Ditto.
9098         (elmo-network-stream-type-function): Ditto.
9099
9100         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9101         network-stream-type. All other related portions are changed.
9102         (elmo-pop3-open-connection): Ditto.
9103
9104         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9105         network-stream-type. All other related portions are changed.
9106
9107         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9108         network-stream-type.All other related portions are changed.
9109         (elmo-imap4-error): New macro.
9110         (elmo-imap4-error-type): Ditto.
9111         (elmo-imap4-error-process): Ditto.
9112         (elmo-imap4-error-message): Ditto.
9113         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9114         (elmo-imap4-auth-cram-md5): Ditto.
9115         (elmo-imap4-auth-digest-md5): Ditto.
9116         (elmo-imap4-login): Ditto.
9117         (elmo-imap4-open-connection): Remove password entry if authentication
9118         was in vain.
9119         (elmo-imap4-user-at-host): Abolished.
9120         (elmo-imap4-password-key): New buffer local variable.
9121         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9122         using protocol, port, auth and stream-type.
9123
9124         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9125
9126 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9127
9128         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9129
9130         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9131
9132         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9133         (elmo-imap4-authenticator-alist): New variable.
9134         (elmo-imap4-open-connection-1): Rename from
9135         elmo-imap4-open-connection.
9136         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9137         only wraps elmo-imap4-open-connection-1.
9138         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9139         user-at-host.
9140         (elmo-imap4-auth-login): New function.
9141         (elmo-imap4-auth-cram-md5): New function.
9142         (elmo-imap4-auth-digest-md5): New function.
9143         (elmo-imap4-login): New function.
9144
9145 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9146
9147         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9148         function `error'.
9149
9150 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9151
9152         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9153
9154 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9155
9156         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9157
9158 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9159
9160         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9161         for server responses, quote `*' regardless of where it appears.
9162
9163 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9164
9165         * elmo-maildir.el (elmo-maildir-commit): New alias.
9166
9167 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9168
9169         * elmo-util.el (elmo-display-progress):
9170                 Use `progress-feedback-with-label'.
9171
9172 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9173
9174         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9175         (elmo-imap4-non-atom-char-regex): Ditto.
9176         (elmo-imap4-non-text-char-regex): Ditto.
9177         (elmo-imap4-literal-threshold): Ditto.
9178         (elmo-imap4-atom-p): New function.
9179         (elmo-imap4-quotable-p): Ditto.
9180         (elmo-imap4-nil): Ditto.
9181         (elmo-imap4-atom): Ditto.
9182         (elmo-imap4-quoted): Ditto.
9183         (elmo-imap4-literal-subr): Ditto.
9184         (elmo-imap4-literal): Ditto.
9185         (elmo-imap4-buffer-literal): Ditto.
9186         (elmo-imap4-string-subr): Ditto.
9187         (elmo-imap4-string): Ditto.
9188         (elmo-imap4-buffer-string): Ditto.
9189         (elmo-imap4-astring-subr): Ditto.
9190         (elmo-imap4-astring): Ditto.
9191         (elmo-imap4-buffer-astring): Ditto.
9192         (elmo-imap4-nstring): Ditto.
9193         (elmo-imap4-buffer-nstring): Ditto.
9194         (elmo-imap4-mailbox): New alias.
9195         (elmo-imap4-field-body): Ditto.
9196         (elmo-imap4-userid): Ditto.
9197         (elmo-imap4-password): Ditto.
9198         (elmo-imap4-format-quoted): New function.
9199         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9200         arguments and handle "atom", "quoted" and "literal" string here.
9201         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9202         `elmo-imap4-send-command'.
9203         (elmo-imap4-folder-exists-p): Likewise.
9204         (elmo-imap4-create-folder): Likewise.
9205         (elmo-imap4-delete-folder): Likewise.
9206         (elmo-imap4-rename-folder): Likewise.
9207         (elmo-imap4-max-of-folder): Likewise.
9208         (elmo-imap4-check-validity): Likewise.
9209         (elmo-imap4-sync-validity): Likewise.
9210         (elmo-imap4-server-diff): Likewise.
9211         (elmo-imap4-select-folder): Likewise.
9212         (elmo-imap4-copy-msgs): Likewise.
9213         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9214         (elmo-imap4-mark-set-on-msgs): Likewise.
9215         (elmo-imap4-read-part): Likewise.
9216         (elmo-imap4-read-msg): Likewise.
9217         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9218         `elmo-imap4-password' for `elmo-imap4-send-command'.
9219         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9220         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9221         `elmo-imap4-buffer-literal'.
9222         (elmo-imap4-append-msg): Likewise.
9223
9224         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9225         `delete' for removing dead connection from the connection cache.
9226         Move deletion of the process buffer after that.
9227         (elmo-imap4-list): Change `defsubst' to `defun'.
9228         (elmo-imap4-commit): Make error message verbose.
9229         (elmo-imap4-search): Ditto.
9230         (elmo-imap4-list): Ditto.
9231         (elmo-imap4-select-folder): Ditto.
9232         (elmo-imap4-copy-msgs): Ditto.
9233         (elmo-imap4-delete-msg-by-id): Ditto.
9234         (elmo-imap4-append-msg-by-id): Ditto.
9235         (elmo-imap4-append-msg): Ditto.
9236
9237 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9238
9239         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9240         when dired is used on XEmacs.
9241
9242 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9243
9244         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9245         instead of `append'.
9246         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9247         `elmo-plugged-p' directly.
9248         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9249         of `elmo-plugged-p' directly.
9250
9251         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9252         Eliminate unused variable.  Use `memq' for checking a process status.
9253         Use `cons' instead of `append' for updating the connection cache.
9254         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9255         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9256
9257 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9258
9259         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9260         `elmo-imap4-read-point' exactly.
9261
9262         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9263         the local variable `folder' to `mailbox'.
9264         Rename the argument `fld' to `folder'.
9265
9266 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9267
9268         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9269         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9270
9271 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9272
9273         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9274         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9275         (elmo-pop3-uidl-number-hash): Ditto.
9276         (elmo-pop3-size-hash): Ditto.
9277         (elmo-pop3-uidl-done): Ditto.
9278         (elmo-pop3-list-done): Ditto.
9279         (elmo-pop3-connection-get-process): New defmacro.
9280         (elmo-pop3-connection-get-buffer): Ditto.
9281         (elmo-pop3-close-connection): Delete buffer and process.
9282         (elmo-pop3-flush-connection): Don't delete buffer and process.
9283         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9284         Setup UIDL and size hash.
9285         (elmo-pop3-send-command-no-erase): Deleted
9286         (elmo-pop3-send-command): Added optional argument `no-erase'.
9287         (elmo-pop3-parse-uidl-response): New function.
9288         (elmo-pop3-parse-list-response): Set size hash.
9289         (elmo-pop3-list-location): New function.
9290         (elmo-pop3-list-by-uidl-subr): Ditto.
9291         (elmo-pop3-list-by-list): Ditto.
9292         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9293         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9294         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9295         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9296         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9297         Use uidl.
9298         (elmo-pop3-uidl-to-number): New function.
9299         (elmo-pop3-number-to-uidl): Ditto.
9300         (elmo-pop3-number-to-size): Ditto.
9301         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9302         Set number by use of uidl.
9303         (elmo-pop3-msgdb-create-message): Likewise.
9304         Set size, loc-alist in msgdb.
9305         (elmo-pop3-read-msg): Set number by use of uidl.
9306         Added optional argument `msgdb'.
9307         (elmo-pop3-delete-msg): Ditto.
9308         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9309         (elmo-pop3-commit): Close connection.
9310
9311         * elmo-pipe.el (elmo-pipe-max-of-folder):
9312         Bind `elmo-pop3-use-uidl' as nil.
9313         (elmo-pipe-drain): Ditto.
9314         Call `elmo-commit'.
9315
9316         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9317         (elmo-msgdb-overview-entity-set-size): New defsubst.
9318
9319 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9320
9321         * elmo-vars.el (elmo-use-killed-list): New variable
9322         (Renamed from `elmo-nntp-use-killed-list').
9323         (elmo-nntp-use-killed-list): Eliminated.
9324
9325         * elmo-msgdb.el (elmo-msgdb-expand-path):
9326         Changed expanding msgdb path for elmo-multi.
9327
9328         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9329         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9330         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9331         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9332         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9333         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9334         (toplevel): Deleted time-stamp line.
9335
9336         * elmo2.el (elmo-clear-killed ): Defined as function
9337         (Abolished defining as a backend function).
9338         All other related modules are changed.
9339
9340 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9341
9342         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9343
9344 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9345
9346         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9347
9348 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9349
9350         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9351
9352 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9353
9354         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9355         asynchronous folder check.
9356
9357         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9358
9359         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9360         `elmo-nntp-use-killed-list'.
9361         (elmo-nntp-list-folder): Use killed list.
9362         (elmo-nntp-max-of-folder): Ditto.
9363         (elmo-nntp-msgdb-create): Set killed list.
9364
9365         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9366
9367         * elmo2.el (elmo-clear-killed): New backend function.
9368         All other related modules are changed.
9369
9370 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9371
9372         * elmo-util.el (elmo-imap4-spec-folder): Use
9373         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9374         All callers changed.
9375
9376 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9377
9378         * mmelmo-2.el (initialize-instance):
9379         Use `mime-buffer-entity-buffer-internal' instead of
9380         `mime-entity-buffer'.
9381
9382         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9383         (mime-entity-body): Implemented.
9384         (mime-goto-header-start-point): Deleted.
9385         (mime-goto-body-end-point): Ditto.
9386         (mime-entity-point-min): Ditto.
9387         (mime-entity-point-max): Ditto.
9388         (mime-entity-children): Ditto.
9389         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9390         instead of `mime-entity-buffer'.
9391         (mime-entity-header-buffer): Ditto.
9392         (mime-entity-body-buffer): Ditto.
9393         (mime-write-entity-content): Ditto.
9394
9395         * pldap.el (ldap-static-if): New macro.
9396         (toplevel): Use it instead of `static-if'.
9397
9398 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9399
9400         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9401         included in `attrs' argument.
9402
9403 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9404
9405         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9406
9407         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9408         (ldap-ldif-safe-init-char-regexp): Ditto.
9409         (ldap-ldif-safe-string-regexp): Ditto.
9410         (ldap/ldif-safe-string-p): New macro.
9411         (ldap/ldif-insert-field): Ditto.
9412         (ldap-modify): Use it.
9413         (ldap-add): Ditto.
9414         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9415         (ldap-decode-attribute): Decode only when `attr' is consp.
9416         (ldap-delete): Bind `ret'.
9417         (toplevel): Require 'cl at compile time.
9418         Removed (require 'poe) and (require 'std11).
9419         (pldap-version): Eliminated.
9420         (ldap-search-basic): Removed auth and dn binding.
9421         (ldap-ldif-field-name-regexp): New constant.
9422         (ldap-ldif-field-head-regexp): Ditto.
9423         (ldap-ldif-next-field-head-regexp): Ditto.
9424         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9425         (ldap/field-end): New function.
9426         (ldap/field-body): Use it.
9427         (ldap/collect-field): Ditto.
9428         (ldap-search-basic): Use `ldap/field-body'.
9429
9430 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9431
9432         * pldap.el (ldap-default-attribute-encoder): New user option.
9433         (ldap/field-body): Decode base64 string.
9434         (ldap/collect-field): Ditto.
9435         (ldap-encode-attribute): New function.
9436         (ldap-add-entries): Use it.
9437         (ldap-modify-entries): Ditto.
9438         (ldap-search-entries): Enclosed decoding function with
9439         `with-temp-buffer' and set as unibyte.
9440         (ldap-search-basic): Set process buffer as unibyte.
9441
9442         * elmo-util.el (elmo-folder-identical-system-p):
9443         Eliminated name space checking.
9444
9445         * pldap.el: New module.
9446         toplevel: Changed condition to detect built-in ldap feature.
9447         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9448         (ldap-add): Added error handling.
9449         (ldap-modify): Ditto.
9450         (ldap-delete): Ditto.
9451
9452 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9453
9454         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9455         Initialize local variables with `let'.  Inline a temporary
9456         variable for the progress percentage.  Sort `setq' to reduce
9457         function call in the while-loop.
9458
9459         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9460         into the conditional branch.
9461
9462 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9463
9464         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9465         Move a conditional out of the while-loop.
9466
9467 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9468
9469         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9470         elmo-msgdb-overview-get-entity-by-number.
9471         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9472         throw.
9473
9474 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9475
9476         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9477         the local variable for a packed number self descriptively.
9478
9479 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9480
9481         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9482         * elmo-localdir.el (elmo-localdir-pack-number): Use
9483         `elmo-msgdb-overview-get-entity' instead of
9484         `elmo-msgdb-overview-get-entity-by-number'.
9485         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9486         (elmo-msgdb-search-overview-entity): Removed.
9487         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9488         by message-id or number.
9489         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9490         instead of `elmo-msgdb-overview-get-entity-by-number'.
9491
9492 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9493
9494         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9495         non-nil, use hash table for overview.
9496         (elmo-hash-maximum-size): New variable.
9497         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9498         (elmo-msgdb-make-overview-hashtb): New function.
9499         (elmo-msgdb-clear-overview-hashtb): New function.
9500         (elmo-clear-hash-val): New macro.
9501         All other related modules are changed.
9502
9503 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9504
9505         * elmo2.el (elmo-move-msgs): If there's other message with
9506         same message-id, don't use cache.
9507
9508 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9509
9510         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9511         number is already packed.
9512
9513 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9514
9515         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9516
9517 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9518
9519         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9520         All other related modules are changed.
9521
9522 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9523
9524         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9525         of refiling failure on Maildir.
9526
9527 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9528
9529         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9530         decoded mime-charset with cache.
9531         (elmo-msgdb-overview-entity-get-from): Ditto.
9532         (elmo-msgdb-overview-entity-get-subject): Ditto.
9533         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9534
9535 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9536
9537         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9538         (elmo-remove-passwd): Fill password with 0 before erase.
9539         * elmo-vars.el (elmo-passwd-life-time): New variable.
9540
9541 \f
9542 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9543
9544         * elmo-cache.el (elmo-buffer-cache-add):
9545         Set message cache buffer as unibyte.
9546
9547 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9548
9549         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9550         become nil.
9551
9552 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9553
9554         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9555         when display is finished.
9556         (elmo-nntp-msgdb-create): Ditto.
9557         (elmo-nntp-groups-read-response): Ditto.
9558         (elmo-nntp-retrieve-headers): Ditto.
9559         (elmo-nntp-msgdb-create-message): Ditto.
9560         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9561         (elmo-pop3-msgdb-create-message): Ditto.
9562
9563 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9564
9565         * elmo-maildir.el (elmo-maildir-msgdb-create):
9566         Use `elmo-msgdb-sort-by-date'.
9567
9568 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9569
9570         * elmo2.el (elmo-read-msg-no-cache):
9571         Eliminated arguments after `outbuf'.
9572         Don't use cache even if it exists.
9573         (elmo-read-msg): Don't pass arguments after `outbuf' to
9574         `elmo-read-msg-no-cache'.
9575
9576 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9577
9578         * elmo-archive.el (elmo-archive-list-folders):
9579         Use `file-name-directory' if base folder does not exist.
9580
9581 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9582
9583         * elmo-archive.el (elmo-archive-list-folders): Don't use
9584         `file-name-directory'.
9585
9586 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9587
9588         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9589         If `force' is non-nil, try flushing all operation queues.
9590
9591 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9592
9593         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9594         as-binary-process.
9595
9596 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9597
9598         * elmo-util.el (elmo-display-progress): Fixed.
9599
9600 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9601
9602         * elmo-util.el (elmo-display-progress): New function.
9603         All other related modules are changed.