* elmo-localdir.el (elmo-folder-pack-numbers): Fix `elmo-bind-directory' indent.
[elisp/wanderlust.git] / elmo / ChangeLog
1 2010-08-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2
3         * elmo-localdir.el (elmo-folder-pack-numbers): Fix
4         `elmo-bind-directory' indent.
5
6         * elmo-imap4.el (elmo-imap4-folder-list-range): Fix indent (only
7         cosmetic fix).
8
9 2010-08-27  TAKAHASHI Kaoru  <kaoru@kaisei.org>
10
11         * elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
12         (elmo-delete-cr, elmo-get-file-string, elmo-save-string)
13         (elmo-string-to-list, elmo-list-to-string): Ditto.
14
15 2010-08-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
16
17         * elmo-archive.el (elmo-archive-field-condition-match)
18         (elmo-archive-suffix-alist)
19         (elmo-archive-create-file, elmo-archive-folder-append-buffer)
20         (elmo-archive-folder-message-make-temp-files)
21         (elmo-archive-append-files)
22         (elmo-archive-field-condition-match): Fix indent.
23
24         * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
25         Avoid `args-out-of-range 0, 1' error.
26
27 2010-08-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
28
29         * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
30         (delete-backward-char X) that deletes region in Emacs 24.
31         See delete-active-region described in NEWS.
32         * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
33         * elmo-util.el (elmo-get-file-string): Ditto.
34         * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
35
36 2010-08-09  David Maus  <dmaus@ictsoc.de>
37
38         * elmo.el (elmo-folder-open-internal-p): New luna method.
39         (elmo-folder-move-messages): Open source folder only if necessary.
40         * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
41         * elmo-multi.el (elmo-folder-open-internal-p): Dto.
42         * elmo-map.el (elmo-folder-open-internal-p): Dto.
43         * elmo-filter.el (elmo-folder-open-internal-p): Dto.
44
45 2010-08-01  David Maus  <dmaus@ictsoc.de>
46
47         * elmo.el (elmo-folder-move-messages): Open source folder before
48         moving messages.
49
50 2010-04-15  David Maus  <dmaus@ictsoc.de>
51
52         * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
53         imap user name.
54
55 2010-04-14  David Maus  <dmaus@ictsoc.de>
56
57         * elmo-imap4.el (elmo-imap4-disabled-extension): New
58         variable. List of server extensions that are disabled on the
59         client side.
60         (elmo-imap4-session-capable-p): Honour list of disabled
61         extensions.
62
63 2010-03-17  David Maus  <dmaus@ictsoc.de>
64
65         * elmo-imap4.el (elmo-imap4-folder-list-flagged)
66         (elmo-imap4-search-internal-primitive): Pass filter type to imap
67         search when performing search for flagged messages.
68
69 2010-01-22  Vitaly Mayatskih  <v.mayatskih@gmail.com>
70
71         * modb-standard.el (modb-standard-save-entity): Use
72         `modb-standard-cleanup-stale-entities' to clean up stale entity
73         files in modb cache.
74         * elmo-imap4.el (elmo-network-authenticate-session): Ask for
75         capabilities after login.
76
77 2010-01-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
78
79         * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
80         indent (only cosmetic fix).
81
82 2010-01-15  Vitaly Mayatskih  <v.mayatskih@gmail.com>
83
84         * elmo-version.el (elmo-version): Up to 2.15.9.
85
86         * elmo-imap4.el (elmo-imap4-elist): New function
87         * elmo-imap4.el (elmo-imap4-parse-response): Added support for
88         ESEARCH feature (RFC4731).
89         * elmo-imap4.el (toplevel): Require time-stamp
90         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
91         elmo-imap4-read-response elmo-imap4-read-untagged
92         elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
93         logging format.
94         * elmo-imap4.el (elmo-folder-list-messages-plugged,
95         elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
96         for full uid range on folder entering, retrieve updates only for
97         newly appeared messages.
98         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
99         elmo-imap4-read-response, elmo-imap4-read-untagged,
100         elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
101         to format-time-string.
102         * elmo-vars.el (toplevel): New custom
103         `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
104         flag for some buggy servers.
105         * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
106
107 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
108
109         * acap.el (acap-parse-response): Fix comment-out style. Use three
110         semicolons, that should start at the left margin.
111         See. also (Info-goto-node "(elisp)Comment Tips").
112         * elmo.el (toplevel, elmo-message-match-condition)
113         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
114         Ditto.
115         * elmo-archive.el (elmo-archive-suffix-alist)
116         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
117         (elmo-archive-method-list)
118         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
119         Ditto.
120         * elmo-imap4.el (toplevel)
121         (elmo-imap4-send-command, elmo-imap4-check-validity)
122         (elmo-imap4-fetch-callback-1-subr)
123         (elmo-network-initialize-session, elmo-server-diff-async)
124         (elmo-imap4-folder-diff-plugged): Ditto
125         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
126         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
127         * elmo-net.el (elmo-network-close-session): Ditto.
128         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
129         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
130         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
131         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
132         (elmo-number-set-delete)
133         (elmo-cache-get-oldest-cache-file-entity): Ditto.
134
135 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
136
137         * elmo-version.el (elmo-version): Up to 2.15.8.
138
139         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
140         `with-current-buffer' instead of `save-excursion' (for suppress
141         compile warnings).
142
143         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
144         instead of `int-to-string'.
145         * elmo-archive.el (elmo-archive-message-fetch-internal)
146         (elmo-archive-folder-message-make-temp-files)
147         (elmo-archive-folder-append-buffer)
148         (elmo-folder-delete-messages-internal)
149         (elmo-archive-msgdb-create-entity)
150         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
151         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
152         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
153         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
154         * elmo-imap4.el (elmo-imap4-make-number-set-list)
155         (elmo-folder-list-subfolders): Ditto.
156         * elmo-localdir.el (elmo-message-file-name)
157         (elmo-folder-message-make-temp-files)
158         (elmo-localdir-msgdb-create-entity)
159         (elmo-folder-append-messages-*-localdir)
160         (elmo-folder-pack-numbers): Ditto.
161         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
162         * elmo-map.el (elmo-location-map-key): Ditto.
163         * elmo-nntp.el (elmo-nntp-folder-postfix)
164         (elmo-nntp-folder-list-subfolders)
165         (elmo-nntp-folder-msgdb-create): Ditto.
166
167         * elmo.el (elmo-crosspost-message-alist-save): Don't use
168         `function' for `lambda'.
169         * elmo-archive.el (elmo-archive-folder-list-subfolders)
170         (elmo-folder-append-messages-*-archive)
171         (elmo-folder-delete-messages-internal): Ditto.
172         * elmo-date.el (elmo-replace-in-string): Ditto.
173         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
174         (elmo-folder-list-flagged): Ditto.
175         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
176         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
177         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
178
179 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
180
181         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
182         `elmo-dop-spool-folder' was used before it was defined"; Use
183         `defun' instead.
184
185         * pldap.el (ldap/ldif-safe-string-p): macro to function.
186         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
187
188         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
189         `mapcar'; Suppress compile warning.
190         * elmo-imap4.el (elmo-network-initialize-session-buffer)
191         (elmo-imap4-search-internal-primitive): Ditto.
192         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
193         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
194
195         * elmo-imap4.el (elmo-imap4-parse-address-list)
196         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
197         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
198         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
199         `(string-to-char " ")' instead of `? ', `?\ '.
200
201 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
202
203         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
204         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
205         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
206         `function' for lambda.
207
208         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
209         `string-to-number' instead of `string-to-int'.
210
211         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
212         instead of `save-excursion' (for suppress compile warnings).
213         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
214         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
215         (elmo-nntp-post): Ditto.
216
217 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
218
219         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
220         Mule-UCS (to-utf-16).
221         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
222         Emacs 23.
223
224 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
225
226         * utf7.el (utf7-find-coding-system-without-bom): New Function.
227         (utf7-utf-16-coding-system): use no-BOM coding system.
228         (utf7-get-u16char-converter): remove workaround for BOM.
229
230 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
231
232         * elmo-util.el (elmo-union): New function, make a union of two lists.
233
234         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
235         mime-view when displaying malformed base64 attach.
236
237         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
238         (removed duplicated code)
239
240         * modb-standard.el (modb-standard-cleanup-stale-entities): New
241         function, Remove stale entities from elmo's cache.
242
243 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
244
245         * elmo-version.el (elmo-version): Up to 2.15.7.
246
247 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
248
249         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
250         default value to `--auto-update'.
251
252 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
253
254         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
255         Add `elmo-pop3-read-point' barrier.
256
257 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
258
259         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
260         goto the previous end-point insead of the head-point, and use
261         `search-forward' instead of `re-search-forward'.
262
263 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
264
265         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
266
267 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
268
269         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
270         case-insensitive fashion.
271
272 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
273
274         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
275
276 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
277
278         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
279         `eval-and-compile' for suppress compile warnings.
280
281         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
282         instead of `defun-maybe'
283
284         * elmo-util.el: Add (eval-when-compile (require 'static)).
285
286 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
287
288         * mmimap.el: Remove (require 'static).
289         * acap.el: Ditto.
290
291         * elmo-flag.el: Move ';;; Code:' comment.
292         * elmo-imap4.el: Ditto.
293         * elmo-net.el: Ditto.
294
295         * elmo-version.el (product-provide): Fix comment.
296
297 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
298
299         * slp.el: Add (eval-when-compile (require 'cl)).
300         * elmo-date.el: Ditto.
301         * elmo-pop3.el: Ditto.
302         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
303
304 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
305
306         * modb.el (elmo-msgdb-match-condition-primitive): Use
307         `string-to-number' instead of `string-to-int'.
308
309         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
310         (elmo-msgdb-message-match-condition)
311         (elmo-msgdb-create-message-entity-from-buffer): Use
312         `string-to-number' instead of `string-to-int'.
313
314         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
315         instead of `string-to-int'.
316
317         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
318         instead of `string-to-int'.
319
320         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
321         `string-to-number' instead of `string-to-int'.
322
323         * elmo-nntp.el (elmo-nntp-make-msglist)
324         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
325         (elmo-nntp-create-msgdb-from-overview-string)
326         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
327         (elmo-nntp-search-primitive): Use `string-to-number' instead of
328         `string-to-int'.
329
330         * elmo-net.el (elmo-net-folder-set-parameters): Use
331         `string-to-number' instead of `string-to-int'.
332
333         * elmo-localdir.el (elmo-localdir-list-subr): Use
334         `string-to-number' instead of `string-to-int'.
335
336         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
337         `string-to-number' instead of `string-to-int'.
338
339         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
340         instead of `string-to-int'.
341
342         * elmo-archive.el (elmo-archive-list-folder-subr): Use
343         `string-to-number' instead of `string-to-int'.
344
345 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
346
347         * elmo-util.el (elmo-get-passwd): Fix typo.
348
349         * elmo-nntp.el (elmo-nntp-get-server-command)
350         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
351         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
352         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
353         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
354
355         * elmo-imap4.el (elmo-imap4-debug)
356         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
357         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
358         (elmo-imap4-response-value, elmo-imap4-response-error-text)
359         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
360         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
361         (elmo-imap4-identical-system-p): New backquote style.
362
363 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
364
365         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
366         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
367         (elmo-dop-queue-arguments): Ditto.
368
369         * elmo-date.el (elmo-match-substring): New backquote style.
370         (elmo-match-string, elmo-match-buffer): Ditto.
371         (elmo-date-make-sortable-string): Ditto.
372
373         * elmo-archive.el (elmo-archive-get-method):New backquote style.
374         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
375
376         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
377         style.
378
379         * elmo-net.el (elmo-network-stream-type-spec-string): New
380         backquote style.
381         (elmo-network-stream-type-symbol): Ditto.
382         (elmo-network-stream-type-feature): Ditto.
383         (elmo-network-stream-type-function): Ditto.
384         (elmo-network-session-buffer): Ditto.
385
386         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
387         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
388         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
389         (elmo-bind-directory, elmo-set-work-buf): Ditto.
390
391         * elmo.el (elmo-folder-send): New backquote style.
392
393 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
394
395         * pldap.el (ldap-static-if): New backquote style.
396         (ldap/ldif-safe-string-p): Ditto.
397         (ldap/ldif-insert-field): Ditto.
398
399         * elmo-version.el (elmo-version): Up to 2.15.6.
400
401 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
402
403         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
404         messages with \Deleted flag.
405         (elmo-folder-delete-messages-plugged): Ask before sending expunge
406         command if there are messages with \Deleted flag.
407
408 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
409
410         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
411         http://seclists.org/bugtraq/2007/Apr/0018.html
412         (Suggested by Tatsuya Kinoshita)
413
414 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
415
416         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
417         with \Noselect attribute.
418
419 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
420
421         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
422         hierarchical folder structure with UW-imapd.
423
424 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
425
426         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
427         when the LOGINDISABLED capability is advertised.
428
429 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
430
431         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
432
433 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
434
435         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
436         `entity'.
437         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
438         if the message entity is exists.
439
440 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
441
442         * elmo-util.el (elmo-msgdb-insert-file-header): Call
443         `elmo-delete-cr-buffer'.
444
445         * elmo-localdir.el (elmo-message-fetch-internal): Use
446         `insert-file-contents-as-raw-text' instead of
447         `insert-file-contents-as-binary'.
448
449         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
450
451 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
452
453         * elmo-imap4.el (elmo-network-initialize-session): Check to
454         retrieve a whole greeting message.
455
456 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
457
458         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
459
460 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
461
462         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
463         (elmo-progress-notify): Use it instead of `plist-get'.
464
465 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
466
467         * elmo.el (elmo-generic-folder-append-messages): Remove unused
468         variable `table'.
469
470 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
471
472         * elmo-pipe.el (elmo-folder-set-plugged): Define.
473
474 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
475
476         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
477         (elmo-spam-list-spam-messages): Check it option.
478
479 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
480
481         * elmo-util.el (elmo-with-progress-display): Return the value
482         of the last form in `body'.
483
484 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
485
486         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
487         `elmo-progress-counter' as t when a query callback returns nil.
488         (elmo-progress-clear): New function.
489         (elmo-progress-done): Split into `elmo-progress-clear'.
490         (elmo-progress-notify): Update a total slot when it is nil.
491         (elmo-with-progress-display): Call `elmo-progress-clear' in
492         unwind-protect and move calling `elmo-progress-done' to outside.
493
494         * elmo-imap4.el (elmo-imap4-find-next-line): Call
495         `elmo-progress-notify' with :total parameter instead of
496         `elmo-progress-counter-set-total'.
497
498 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
499
500         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
501         Make it interactive.
502         (elmo-progress-start): Avoid updating `elmo-progress-counter'
503         when a query callback returns nil.  Return a progress counter
504         instead of t whenever a start callback was called.
505
506 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
507
508         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
509         (elmo-imap4-send-command): Use it.
510         (elmo-network-initialize-session): Ditto.
511         (elmo-network-setup-session): Ditto.
512         (elmo-folder-msgdb-create-plugged): Ditto.
513
514 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
515
516         * elmo-util.el (elmo-progress-done): Fix a miss refer to
517         `elmo-progress-counter'.
518
519 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
520
521         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
522         (elsp-bsfilter-list-spam-filter): New function.
523         (elsp-bsfilter-start-list-spam): Ditto.
524         (elsp-bsfilter-read-list-spam): Ditto.
525         (elmo-spam-list-spam-messages): Use async process to display
526         progress message by each message.
527
528 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
529
530         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
531         of flushing previously inserted message contents.
532
533         * elmo-imap4.el (elmo-folder-search): Fix return value.
534
535 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
536
537         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
538         of reporter is enable or not.
539
540 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
541
542         * elmo-util.el (elmo-list-bigger-diff): Abolish.
543         (elmo-display-progress): Ditto.
544         (elmo-progress-counter-alist): Ditto.
545         (elmo-progress-set): Ditto.
546         (elmo-progress-clear): Ditto.
547         (elmo-progress-counter-all-value): Rename to
548         `elmo-progress-counter-total'.
549         (elmo-progress-counter-format): Rename to
550         `elmo-progress-counter-action'.
551         (elmo-progress-counter): New internal variable.
552         (elmo-progress-callback-function): Ditto.
553         (elmo-progress-counter-label): New function.
554         (elmo-progress-counter-set-total): Ditto.
555         (elmo-progress-counter-set-action): Ditto.
556         (elmo-progress-call-callback): Ditto.
557         (elmo-progress-start): Ditto.
558         (elmo-progress-done): Ditto.
559         (elmo-progress-notify): Rewrite.
560         (elmo-with-progress-display): Remove first argument
561         `condition'. Add optional argument `var' in `spec'.
562
563         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
564         (elmo-display-retrieval-progress-threshold): Ditto.
565         (elmo-inhibit-display-retrieval-progress): Ditto.
566
567         * Replace all pair of `elmo-progress-set' and
568         `elmo-progress-clear' into `elmo-with-progress-display'.
569
570         * Replace to call `elmo-display-progress' into pair of
571         `elmo-progress-notify' and `elmo-with-progress-display'.
572
573         * elmo-version.el (elmo-version): Up to 2.15.5.
574
575 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
576
577         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
578         `cond'.
579
580 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
581
582         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
583         cleanup-forms [wl:14027].
584
585 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
586
587         * elmo-flag.el (elmo-global-flag-set-internal): Use
588         `elmo-copy-file' by priority when the message is a file.
589
590 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
591
592         * elmo.el: Fix typo: disptch -> dispatch.
593
594 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
595
596         * elmo.el (elmo-file-tag): New class.
597         (elmo-append-messages-disptch-table): New constant.
598         (elmo-folder-type-p): New function.
599         (elmo-folder-append-messages): Redefine as function.
600
601         * elmo-null.el (elmo-folder-append-messages): Renamed from
602         `elmo-folder-append-messages'.
603
604         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
605         (elmo-folder-append-messages-*-maildir): Renamed from
606         `elmo-folder-append-messages'.
607
608         * elmo-localdir.el (elmo-localdir-folder): Inherit
609         `elmo-file-tag'.
610         (elmo-folder-append-messages-*-localdir): Renamed from
611         `elmo-folder-append-messages'.
612
613         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
614         from `elmo-folder-append-messages'.
615
616         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
617         `elmo-folder-append-messages'.
618
619         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
620         function.
621         (elmo-folder-append-messages-*-filter): Ditto.
622
623         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
624
625         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
626         (elmo-folder-append-messages-*-pipe): Renamed from
627         `elmo-folder-append-messages'.
628
629         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
630
631         * elmo-file.el (elmo-file-folder): Ditto.
632
633         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
634
635         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
636         from `elmo-folder-append-messages'
637
638 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
639
640         * elmo-map.el (elmo-location-map-setup): Change an argument
641         `locations' to optional.
642         (elmo-location-map-clear): Abolish.
643         (elmo-folder-clear): Follow the API change.
644
645         * elmo-pop3.el (elmo-folder-clear): Ditto.
646
647         * elmo-pop3.el (toplevel): Require elmo-map.
648         (elmo-pop3-folder): Inherit elmo-location-map and abolish
649         location-alist slot (All other related portions are changed).
650         (elmo-pop3-folder-use-uidl): New function.
651         (elmo-folder-msgdb-create): Don't sort message entities.
652         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
653         (elmo-pop3-number-to-size): Convert return value to number.
654         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
655         working buffer.
656
657         * elmo-map.el: Use `location-map' as a variable name for instance
658         instead of `mapper'.
659         (elmo-location-map-setup): Return location alist.
660         (elmo-location-map-update): Ditto.
661
662 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
663
664         * elmo-map.el (elmo-location-map): New class; split location and
665         number mapping from elmo-map-folder (All other related portions
666         are changed).
667
668         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
669         change.
670
671         * elmo-version.el (elmo-version): Up to 2.15.4.
672
673 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
674
675         * elmo-vars.el (elmo-use-hardlink): New user option.
676
677         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
678         `elmo-use-hardlink'.
679
680         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
681         killed-list.
682         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
683         instead of `*-internal'. Use `elmo-with-progress-display'.
684
685 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
686
687         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
688         `elmo-spam-process-messages-as-mbox'.
689
690         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
691
692 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
693
694         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
695         argument BUFFER of `call-process'.
696
697 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
698
699         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
700         args.
701         (elsp-bsfilter-list-spam-files): Ditto.
702
703 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
704
705         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
706         (elmo-spam-bsfilter-max-messages-per-process): New use option.
707         (elmo-spam-bsfilter-debug): Fix a group.
708         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
709         `--homedir'.
710         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
711         (elsp-bsfilter-list-spam-files): New function.
712         (elmo-spam-list-spam-messages): Define.
713         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
714         (elmo-spam-bsfilter-register-messages): New function.
715         (elmo-spam-register-spam-messages): Define.
716         (elmo-spam-register-good-messages): Ditto.
717
718         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
719
720         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
721         `nconc' and `consp'.
722
723 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
724
725         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
726         hash table to test whether a location is exists.
727
728 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
729
730         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
731         even if some error occurred.
732
733         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
734         meaningless unwind-protect.
735
736         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
737         start-number correctly.
738         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
739         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
740
741 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
742
743         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
744         (elmo-folder-initialize): Use it.
745         (elmo-global-flag-replace-referrer): New function.
746
747         * elmo.el (toplevel): Added autoload setting for
748         `elmo-global-flag-replace-referrer'.
749         (elmo-folder-rename): Rewrite the last change use
750         `elmo-global-flag-replace-referrer'.
751
752         * elmo-pipe.el (elmo-folder-rename): Call
753         `elmo-global-flag-replace-referrer'.
754
755 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
756
757         * elmo.el (elmo-folder-rename): Set meta data for global flags
758         follow the rename.
759
760 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
761
762         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
763         as 'not-loaded.
764         (elmo-folder-close): Ditto.
765         (elmo-filter-folder-number-list-loaded-p): New function.
766         (elmo-filter-folder-number-list): Check whether loaded or not.
767         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
768         of `elmo-filter-folder-number-list-internal'.
769         (elmo-folder-delete-messages): Ditto.
770         (elmo-folder-length): Check whether number-list is loaded or not.
771
772 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
773
774         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
775         field `real field' into each element of list.
776         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
777         (elmo-msgdb-message-entity-field): Ditto.
778         (modb-entity-ml-info-real-fields): New function.
779
780         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
781
782         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
783         `elmo-msgdb-extra-fields'.
784
785 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
786
787         * elmo-util.el (elmo-passwd-alist-load): Move point to min
788         position before read.
789
790 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
791
792         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
793         (elmo-global-flags-initialize): Ditto.
794
795 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
796
797         * elmo-archive.el (toplevel): Don't require emu, std11
798         and elmo-localdir.
799
800         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
801         definition.
802
803 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
804
805         * elmo.el (elmo-folder-confirm-appends): Display folder name.
806
807 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
808
809         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
810         literals.
811
812 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
813
814         * elmo-maildir.el (elmo-maildir-list-location): Reduce
815         `elmo-get-last-modification-time' call.
816
817 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
818
819         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
820         expression.
821         (elmo-maildir-set-mark): Ditto.
822         (elmo-maildir-delete-mark): Ditto.
823
824 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
825
826         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
827         optional argument `separators'.
828
829 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
830
831         * elmo.el (cache-changed): Abolish.
832         (status-changed): New signal.
833         (elmo-message-killed-p): New generic function and define for
834         elmo-folder.
835         (elmo-folder-recover-messages): Ditto.
836         (elmo-message-set-cached): Emit signal `status-changed' instead of
837         `cache-changed'.
838         (elmo-message-status): New macro.
839         (elmo-message-status-folder): Ditto.
840         (elmo-message-status-number): Ditto.
841         (elmo-message-status-set-flags): Ditto.
842         (elmo-message-status-set-killed): Ditto.
843         (elmo-message-status-flags): New function.
844         (elmo-message-status-cached-p): Ditto.
845         (elmo-message-status-killed-p): Ditto.
846
847         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
848         `status-changed' instead of `cache-changed'.
849         (elmo-folder-recover-messages): Define.
850         (elmo-message-killed-p): Ditto.
851
852         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
853         `status-changed' instead of `cache-changed'.
854
855         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
856         (elmo-message-killed-p): Define.
857         (elmo-folder-recover-messages): Ditto.
858
859         * elmo-version.el (elmo-version): Up to 2.15.3.
860
861 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
862
863         * elmo-signal.el (elmo-signal-bindings): Use cons to append
864         element into list.
865         (elmo-define-signal-handler): Add docstring.
866         (elmo-define-signal-filter): Ditto.
867
868         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
869
870 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
871
872         * elmo-util.el (elmo-flatten): Don't use recursive call.
873
874         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
875         assignment.
876         (elmo-folder-message-make-temp-files): Use `number-to-string'
877         instead of `int-to-string'.
878
879 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
880
881         * elmo-search.el (elmo-folder-delete-messages): Define.
882
883 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
884
885         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
886         customization type.
887         (elmo-mailing-list-count-spec-list): Ditto.
888
889         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
890         for `list-id'.
891
892 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
893
894         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
895         handling.
896
897 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
898
899         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
900         (elmo-mailing-list-count-spec-list): Ditto.
901
902         * elmo-util.el (elmo-map-until-success): New function.
903         (elmo-string-match-substring): Ditto.
904         (elmo-find-list-match-value): Ditto.
905
906         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
907         Removed.
908         (modb-entity-extract-ml-info-from-subject): Ditto.
909         (modb-entity-extract-ml-info-from-return-path): Ditto.
910         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
911         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
912         (modb-entity-extract-ml-info-from-mailman): Ditto.
913         (modb-entity-extract-mailing-list-info-functions): Ditto.
914         (modb-entity-extract-mailing-list-info): Rewrite with
915         `elmo-find-list-match-value'.
916
917 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
918
919         * elmo-net.el (elmo-network-session-retry-count): New user option.
920         (elmo-network-session-buffer-name): New internal function.
921         (elmo-network-session-buffer-create): Ditto.
922         (elmo-network-open-session): Retry open network session
923         `elmo-network-session-retry-count' times.
924
925 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
926
927         * elmo-util.el (elmo-list-filter): Rewritten.
928
929 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
930
931         * elmo-util.el (elmo-string-member): Allow symbol element in list.
932
933 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
934
935         * elmo-search.el (elmo-make-search-engine): Use prefix
936         `elmo-search-' for require symbol instead of `else-'.
937         (elmo-search-engine-extprog): New class.
938         (elmo-search-engine-do-search): Remove nil from argument
939         list. Added argument pattern to evaluate element as function.
940         (elmo-search-engine-local-file): Derived from
941         `elmo-search-engine-extprog'.
942         (elmo-search-engine-create-message-entity): Check existance of file.
943         (elmo-search-engine-fetch-message): Ditto.
944         (elmo-search-namazu-index): Follow the API change.
945         (elmo-search-grep-target): Ditto.
946
947 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
948
949         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
950         characters of working buffer.
951
952         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
953         Does not bind `default-mime-charset'.
954         (elmo-msgdb-create-message-entity-from-buffer): Removed
955         unnecessary local bind.
956
957         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
958         function.
959         (modb-entity-extract-mailing-list-info-functions): Added it.
960
961 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
962
963         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
964         when number and message-id are non-nil.
965
966         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
967
968         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
969         conditional steatment.
970         (elmo-pop3-auth-apop): Likewise.
971         (elmo-network-authenticate-session): Likewise.
972
973 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
974
975         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
976         symbol `fill-column'.
977         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
978         decode field value.
979
980         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
981         (elmo-decoded-field-body): Ditto.
982
983 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
984
985         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
986         `tokens' to `params'.
987
988 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
989
990         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
991         working buffer.
992
993 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
994
995         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
996         decide index.
997
998 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
999
1000         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
1001         Set default value as nil.
1002         (toplevel): Register search engines by
1003         `elmo-search-register-engine' if there are not defined.
1004
1005         * elmo.el (autoload): Added autoload setting for
1006         `elmo-search-register-engine'.
1007
1008 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1009
1010         * elmo.el (toplevel): `[' is redefined as the prefix of the search
1011         folder instead of nmz folder.
1012         (elmo-nmz-default-index-path): Added obsolete variable setting.
1013         (elmo-nmz-index-alias-alist): Ditto.
1014         (elmo-nmz-use-drive-letter): Ditto.
1015
1016         * elmo-search.el (elmo-search-register-engine): New function.
1017
1018         * elmo-nmz.el: Removed.
1019
1020         * elmo-version.el (elmo-version): Up to 2.15.2.
1021
1022 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1023
1024         * elmo-search.el: New file.
1025
1026 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1027
1028         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1029         condition `larger' and `smaller'.
1030
1031 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1032
1033         * elmo-util.el (elmo-safe-filename): Rewrite to replace
1034         `"' (double quote) into "_Q_".
1035
1036 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1037
1038         * elmo-net.el (elmo-net-quote-chars): Abolish.
1039         (elmo-net-format-quoted): Ditto.
1040
1041 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1042
1043         * elmo.el (elmo-get-folder-function): New variable.
1044         (elmo-get-folder): New function.
1045         (elmo-folder-rename): Call `elmo-make-folder' with specified
1046         mime-charset.
1047
1048         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1049         `elmo-make-folder'.
1050         (elmo-split-subr): Ditto.
1051
1052         * elmo-multi.el (elmo-folder-initialize): Ditto.
1053
1054         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1055
1056         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1057         (elmo-flag-get-folder): Ditto.
1058
1059         * elmo-filter.el (elmo-folder-initialize): Ditto.
1060
1061         * elmo-access.el (elmo-folder-initialize): Ditto.
1062         (elmo-access-folder-update-children): Ditto.
1063
1064         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1065         (elmo-dop-queue-flush): Ditto.
1066         (elmo-folder-append-buffer-dop-delayed): Ditto.
1067         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1068         mime-charset.
1069
1070         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1071         instead of `elmo-make-folder'.
1072         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
1073         destination folder instead of send `elmo-folder-rename-internal'.
1074
1075         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1076         slot of subfolder instead of create it.
1077
1078 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1079
1080         * elmo-util.el (elmo-collect-separators): New function.
1081         (elmo-collect-separators-internal): Ditto.
1082         (elmo-collect-trail-separators): Ditto.
1083         (elmo-parse-separated-tokens): Ditto.
1084         (elmo-parse-separated-tokens-internal): Ditto.
1085         (elmo-quote-syntactical-element): Ditto.
1086
1087         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1088         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1089
1090         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1091         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1092         (elmo-nntp-folder-list-subfolders): Quote a user name.
1093
1094         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1095         (elmo-net-parse-network): Abolish.
1096         (elmo-net-folder-set-parameters): New function.
1097         (elmo-folder-initialize): Follow the above change.
1098
1099         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1100         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1101         (elmo-folder-list-subfolders): Use
1102         `elmo-quote-syntactical-element' instead of
1103         `elmo-net-format-quoted' to quote mailbox and user name.
1104
1105 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1106
1107         * elmo-util.el (elmo-token-valid-p): New function.
1108         (elmo-parse-token): Add optional argument `requirement'.
1109         (elmo-parse-prefixed-element): Likewise.
1110
1111         * elmo-net.el (elmo-net-quote-chars): Renamed from
1112         `elmo-net-quote-chars-regexp'.
1113         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1114
1115         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1116         by info document. Check token `uidl' is started an alphabet.
1117
1118         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1119         by info document. Check token `user' is started an alphabet.
1120
1121         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1122         (elmo-folder-list-subfolders): Quote user.
1123
1124 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1125
1126         * elmo-util.el (elmo-quoted-specials-list): New constant.
1127         (elmo-quoted-token): New function.
1128
1129         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1130         (elmo-net-format-quoted): New function.
1131         (elmo-net-parse-network): Ditto.
1132         (elmo-folder-initialize): Use it.
1133
1134         * elmo-nntp.el (elmo-folder-initialize): Use
1135         `elmo-net-parse-network' to parse network specification instead of
1136         `elmo-folder-initialize#elmo-net'.
1137
1138         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1139
1140         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1141         (elmo-folder-list-subfolders): Quote folder name by
1142         `elmo-net-format-quoted'.
1143
1144 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1145
1146         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1147         (elmo-folder-search): Use it.
1148
1149 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1150
1151         * modb-standard.el (modb-standard-loaded-message-id): Use
1152         `elmo-msgdb-message-entity-field'.
1153
1154 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1155
1156         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1157         without filename.
1158
1159 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1160
1161         * elmo-util.el (elmo-set-auto-coding): New function.
1162         (elmo-object-load): Use it.
1163
1164 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1165
1166         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1167         (elmo-time<): Define as alias of `elmo-time-less-p'.
1168         (elmo-time-to-datevec): New function.
1169
1170         * elmo-date.el (elmo-time-to-days): New function.
1171
1172 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1173
1174         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1175         is not cons cell.
1176
1177 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1178
1179         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1180         parenthesis.
1181
1182         * elmo-util.el (elmo-map-recursive): New function.
1183
1184         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1185         (modb-entity-encode-string-recursive): Ditto.
1186
1187 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1188
1189         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1190         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1191         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1192         compare sequence number when last modified time is nil.
1193
1194 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1195
1196         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1197
1198         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1199
1200 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1201
1202         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1203         modification time of the file.
1204
1205 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1206
1207         * elmo-util.el (elmo-condition-optimize): Discriminated against
1208         preserved fields, extra fields and the other weight.
1209
1210 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1211
1212         * modb-entity.el (initialize-instance): Define.
1213         (modb-entity-handler-mime-charset): New internal function.
1214         (modb-standard-entity-set-field): Use it.
1215         (elmo-msgdb-message-entity-field): Ditto.
1216         (elmo-msgdb-message-entity-field): Ditto.
1217
1218         * modb.el (elmo-msgdb-match-condition): Rewrite with
1219         `elmo-condition-match'.
1220         (elmo-msgdb-match-condition-primitive): New function.
1221
1222         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1223         arguments `flags' and `numbers'.
1224         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1225         `elmo-msgdb-message-match-condition').
1226         (modb-buffer-entity-handler): New class.
1227
1228         * elmo.el (elmo-folder-search): Optimize condition to use
1229         `elmo-condition-optimize'.
1230         (elmo-message-buffer-match-condition): New function.
1231         (elmo-message-match-condition): Use
1232         `elmo-message-buffer-match-condition' instead of
1233         `elmo-buffer-field-condition-match'.
1234
1235         * elmo-util.el (elmo-condition-match): New function.
1236         (elmo-condition-optimize): Ditto.
1237         (elmo-buffer-field-primitive-condition-match): Abolish.
1238         (elmo-buffer-field-condition-match): Ditto.
1239
1240         * elmo-archive.el (elmo-archive-field-condition-match): Use
1241         `elmo-message-buffer-match-condition' instead of
1242         `elmo-buffer-field-condition-match'.
1243
1244 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1245
1246         * elmo-flag.el (elmo-global-flags-initialize): Check the
1247         existence of the flag directory.
1248
1249 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1250
1251         * elmo-access.el (elmo-folder-initialize): Call
1252         `elmo-multi-connect-signals'.
1253
1254         * elmo-pipe.el (elmo-folder-close): Define.
1255
1256         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1257         children folders.
1258
1259         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1260         with target folder.
1261
1262         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1263         `number'.
1264
1265         * elmo-multi.el (elmo-message-entity): Don't use return value of
1266         `elmo-message-entity-set-number'.
1267
1268 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1269
1270         * modb.el (modb-generic): Added slot `mime-charset'.
1271
1272         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1273         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1274         and `modb-entity-handler-dump-parameters'.
1275         (modb-standard-default-entity-handler): Abolish.
1276         (elmo-msgdb-message-entity-handler): Save created handler by
1277         instance slot.
1278
1279         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1280         (modb-entity-handler-list-parameters): New method.
1281         (modb-entity-handler-equal-p): New function.
1282         (modb-entity-handler-dump-parameters): Ditto.
1283         (modb-entity-parse-address-string): Encode return value.
1284         (modb-entity-make-address-string): Decode argument value.
1285         (modb-entity-decode-string-recursive): New function.
1286         (modb-entity-encode-string-recursive): Ditto.
1287         (modb-standard-entity-normalizer): Set to encode field value.
1288         (modb-standard-entity-specializer): Follow the above change.
1289         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1290         mime-charset of handler.
1291         (elmo-msgdb-message-entity-field): Ditto.
1292         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1293         structure.
1294         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1295
1296         * elmo.el (elmo-folder): Added slot `mime-charset'.
1297         (elmo-make-folder): Added argument `mime-charset'.
1298         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1299         `mime-charest'.
1300
1301         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1302         (elmo-make-msgdb): Likewise.
1303
1304         * elmo-internal.el (elmo-internal-folder-initialize): Call
1305         `luna-make-entity' with :mime-charset parameter.
1306
1307 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1308
1309         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1310         encoded words in `from' and `subject' field.
1311
1312 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1313
1314         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1315         (elmo-msgdb-match-condition): Get handler from entity instead of
1316         msgdb.
1317
1318         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1319         (modb-standard-load-entity): Treat new file format.
1320         (modb-standard-save-entity-1): Save as new file format.
1321         (modb-standard-save-entity): Split messages into section here.
1322         (elmo-msgdb-message-field): Follow the API change.
1323         (modb-standard-default-entity-handler): New internal variable.
1324         (elmo-msgdb-message-entity-handler): Define.
1325
1326         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1327         to `elmo-vars.el'.
1328         (modb-entity-field-extractor-alist): New user option.
1329         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1330         added argument `type'.
1331         (elmo-msgdb-copy-message-entity): Add optional argument
1332         `make-handler'.
1333         (modb-set-field-converter): New function.
1334         (modb-convert-field-value): Ditto.
1335         (modb-entity-string-decoder): Ditto.
1336         (modb-entity-string-encoder): Ditto.
1337         (modb-entity-parse-date-string): Ditto.
1338         (modb-entity-make-date-string): Ditto.
1339         (modb-entity-mime-decoder): Ditto.
1340         (modb-entity-mime-encoder): Ditto.
1341         (modb-entity-address-list-decoder): Ditto.
1342         (modb-entity-address-list-encoder): Ditto.
1343         (modb-entity-parse-address-string): Ditto.
1344         (modb-entity-make-address-string): Ditto.
1345         (modb-entity-create-field-indices): Ditto.
1346         (modb-legacy-entity-field-slots): New constant.
1347         (modb-legacy-entity-field-indices): Ditto.
1348         (modb-legacy-entity-normalizer): New variable.
1349         (modb-legacy-entity-specializer): Ditto.
1350         (modb-legacy-entity-field-index): New macro.
1351         (modb-legacy-entity-set-field): New function.
1352         (modb-legacy-make-message-entity): Rewrite.
1353         (elmo-msgdb-create-message-entity-from-buffer): Use
1354         `elmo-msgdb-get-references-from-buffer'. Use
1355         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1356         Use `modb-legacy-entity-set-field' instead of
1357         `elmo-msgdb-message-entity-set-field'.
1358         (elmo-msgdb-message-entity-field): Rewrite.
1359         (elmo-msgdb-message-entity-set-field): Ditto.
1360         (elmo-msgdb-copy-message-entity): Make new entity by
1361         `make-handler' if it specified.
1362         (elmo-msgdb-message-match-condition): Define a method of
1363         `modb-entity-handler' and follow the API change.
1364         (modb-standard-entity-handler): New class.
1365         (modb-entity-extract-ml-info-from-x-sequence): New function.
1366         (modb-entity-extract-ml-info-from-subject): Ditto.
1367         (modb-entity-extract-ml-info-from-return-path): Ditto.
1368         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1369         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1370         (modb-entity-extract-mailing-list-info): Ditto.
1371         (modb-entity-extract-mailing-list-info-functions): New variable.
1372
1373         * elmo.el (elmo-message-field): Add optional argument `type'.
1374
1375         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1376         from `modb-entity.el'.
1377
1378         * elmo-util.el (elmo-object-load): Decode by coding-system from
1379         `set-auto-coding-function'.
1380         (elmo-object-save): Use `detect-mime-charset-region' and add
1381         coding cookie if encode.
1382         (elmo-msgdb-get-references-from-buffer): New function.
1383         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1384
1385         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1386
1387         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1388         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1389         instead of `shimbun-make-header' and follow the API change.
1390         (elmo-shimbun-update-overview): Follow the API change.
1391         (elmo-map-folder-list-message-locations): Ditto.
1392
1393         * elmo-pipe.el (elmo-message-field): Ditto.
1394
1395         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1396         Ditto.
1397
1398         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1399
1400         * elmo-multi.el (elmo-message-field): Ditto.
1401
1402         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1403         (elmo-msgdb-sort-by-date): Ditto.
1404         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1405         `elmo-message-entity-field'.
1406         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1407         change.
1408         (elmo-msgdb-overview-entity-get-from): Ditto.
1409         (elmo-msgdb-overview-entity-get-subject): Ditto.
1410         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1411         (elmo-msgdb-overview-entity-get-date): Ditto.
1412         (elmo-msgdb-overview-entity-get-to): Ditto.
1413         (elmo-msgdb-overview-entity-get-cc): Ditto.
1414
1415         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1416         (elmo-mime-collect-message/partial-pieces): Ditto.
1417
1418         * elmo-filter.el (elmo-message-field): Ditto.
1419
1420         * elmo-date.el (elmo-datevec-to-time): New function.
1421         (elmo-time-parse-date-string): Ditto.
1422         (elmo-time-make-date-string): Ditto.
1423         (elmo-time<): Ditto.
1424
1425         * elmo-version.el (elmo-version): Up to 2.15.1.
1426
1427 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1428
1429         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1430         member of elmo-local-flags.
1431
1432 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1433
1434         * elmo-version.el (elmo-version): Up to 2.15.0.
1435
1436 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1437
1438         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1439         `ignore-msgdb' is non-nil.
1440
1441 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1442
1443         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1444         (elmo-condition-in-msgdb-p): Ditto.
1445         (elmo-file-field-primitive-condition-match): Ditto.
1446         (elmo-file-field-condition-match): Ditto.
1447
1448         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1449
1450 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1451
1452         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1453         subdirectories here.
1454         (elmo-global-flags-initialize): New function.
1455
1456         * elmo.el (toplevel): Added autoload setting for
1457         `elmo-global-flags-initialize'.
1458
1459 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1460
1461         * elmo.el (message-number-changed): Define new signal.
1462         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1463         message-number-changed signal.
1464         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1465         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1466         Respect `elmo-pack-number-check-strict'.
1467
1468 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1469
1470         * elmo-signal.el (elmo-connect-signal): Document.
1471         (elmo-emit-signal): Ditto.
1472         (elmo-emit-signal): It should pass source argument to filter and
1473         handler, not slot-source.
1474
1475 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1476
1477         * modb.el (elmo-msgdb-update-entity): New API and define generic
1478         implement.
1479
1480         * modb-standard.el (elmo-msgdb-update-entity): Define.
1481
1482         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1483         API and define generic implement.
1484
1485         * elmo.el (update-overview): New singnal.
1486
1487         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1488         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1489         (elmo-message-entity-parent): Define.
1490
1491         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1492         `update-overview'.
1493
1494         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1495
1496         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1497
1498 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1499
1500         * elmo.el (elmo-folder-synchronize): Sort the return value of
1501         `elmo-list-diff'.
1502
1503         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1504         list.
1505
1506 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1507
1508         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1509         `default-enable-multibyte-characters'.
1510         (elmo-object-load): Use `with-temp-buffer' instead of
1511         `elmo-set-work-buf'.
1512         (elmo-object-save): Ditto.
1513         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1514         `elmo-set-work-buf'.
1515         (elmo-decoded-field-body): Ditto.
1516
1517         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1518
1519         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1520         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1521
1522         * elmo-version.el (elmo-version): Up to 2.13.3.
1523
1524 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1525
1526         * elmo-util.el (elmo-list-diff): Fix the last change.
1527         Reverse order of result lists.
1528
1529 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1530
1531         * modb-standard.el (elmo-msgdb-set-flag): Use
1532         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1533         (elmo-msgdb-unset-flag): Ditto.
1534
1535         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1536         `elmo-list-diff'.
1537
1538         * elmo-util.el (elmo-list-diff): Rewrite.
1539         (elmo-list-diff-nonsortable): New function.
1540
1541 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1542
1543         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1544         `elmo-multibypte-buffer-name'.  All referers are updated.
1545
1546 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1547
1548         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1549         (elmo-mime-entity-fragment-p): New function.
1550         (mime-elmo-buffer-entity): Added slot `reassembled'.
1551         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1552         (elmo-message-mime-entity-internal): New function (renamed from
1553         `elmo-message-mime-entity').
1554         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1555         (elmo-mime-make-reassembled-mime-entity): New function.
1556         (elmo-message-reassembled-mime-entity): Ditto.
1557         (elmo-mime-collect-message/partial-pieces): Ditto.
1558
1559 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1560
1561         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1562
1563         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1564         (elmo-with-enable-multibyte): New macro.
1565
1566         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1567
1568 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1569
1570         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1571         argument `number'.
1572         (elmo-filter-connect-signals): Follow the above change.
1573
1574 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1575
1576         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1577
1578         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1579         that only the first flag is used.
1580
1581 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1582
1583         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1584         if available.
1585
1586 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1587
1588         * elmo-signal.el: New file.
1589
1590         * elmo.el (toplevel): Require elmo-signal.
1591         (flag-changing, flag-changed, cache-changed): New signal.
1592         (elmo-folder): Remove slog `handlers'.
1593         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1594         `elmo-folder-notify-event'.
1595         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1596         (elmo-folder-unset-flag): Ditto.
1597         (elmo-event-handler): Abolish.
1598         (elmo-event-handler-flag-changed): Ditto.
1599         (elmo-event-handler-cache-changed): Ditto.
1600         (elmo-folder-add-handler): Ditto.
1601         (elmo-folder-remove-handler): Ditto.
1602         (elmo-folder-notify-event): Ditto.
1603
1604         * elmo-pipe.el (toplevel): Require elmo-signal.
1605         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1606         (elmo-pipe-connect-signals): New function.
1607         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1608         (elmo-folder-set-flag): Ditto.
1609         (elmo-folder-unset-flag): Ditto.
1610         (elmo-message-set-cached): Ditto.
1611
1612         * elmo-multi.el (toplevel): Require elmo-signal.
1613         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1614         (elmo-multi-connect-signals): New function.
1615         (elmo-multi-map-numbers): Ditto.
1616         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1617         (elmo-message-fetch): Ditto.
1618         (elmo-folder-set-flag): Ditto.
1619         (elmo-folder-unset-flag): Ditto.
1620
1621         * elmo-filter.el (toplevel): Require elmo-signal.
1622         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1623         (elmo-filter-connect-signals): New function.
1624         (elmo-filter-add-flag-count): Ditto.
1625         (elmo-message-fetch): Does not call
1626         `elmo-filter-folder-countup-message-flags' and
1627         `elmo-folder-notify-event'.
1628         (elmo-message-set-cached): Ditto.
1629         (elmo-folder-set-flag): Ditto.
1630         (elmo-folder-unset-flag): Ditto.
1631
1632         * elmo-version.el (elmo-version): Up to 2.13.2.
1633
1634 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1635
1636         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1637         `flags'.
1638
1639 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1640
1641         * elmo-filter.el (elmo-message-set-cached): Call
1642         `elmo-folder-notify-event' with event `cache-changed'.
1643
1644         * elmo-multi.el (elmo-message-set-cached): Ditto.
1645
1646         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1647
1648 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1649
1650         * elmo.el (elmo-folder-encache): Abolish.
1651
1652 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1653
1654         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1655         (elmo-folder-next-message-number-dop): Return appropriate negative
1656         integer.
1657
1658 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1659
1660         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1661         clearing pending operations.
1662         (elmo-folder-next-message-number-dop): Return appropriate negative
1663         integer.
1664
1665 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1666
1667         * elmo.el (toplevel): Added autoload setting for `md5'.
1668         (elmo-msgdb-path-encode-threshold): New user option.
1669         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1670         longer than `elmo-msgdb-path-encode-threshold'.
1671
1672         * elmo-flag.el (elmo-global-mark-migrate): Use
1673         `elmo-folder-expand-msgdb-path' instead of
1674         `elmo-folder-msgdb-path'.
1675
1676 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1677
1678         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1679         element of the difference is nil.
1680
1681 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1682
1683         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1684         to the check logic of file systems which are weak in colon character.
1685
1686 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1687
1688         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1689
1690 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1691
1692         * elmo-maildir.el (elmo-maildir-move-file): New function.
1693         (elmo-folder-append-buffer): Use it.
1694         (elmo-folder-append-messages): Ditto.
1695         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1696
1697         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1698         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1699
1700         * elmo-maildir.el (elmo-maildir-separator): New user option.
1701         (elmo-maildir-adjust-separator): New macro.
1702         (elmo-maildir-list-location): Use it.
1703         (elmo-maildir-update-current): Ditto.
1704         (elmo-maildir-set-mark): Ditto.
1705         (elmo-maildir-delete-mark): Ditto.
1706         (These changes are based on Hiroya Murata's patch [wl: 13437])
1707
1708 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1709
1710         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1711
1712 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1713
1714         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1715         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1716         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1717
1718 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1719
1720         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1721         Use `with-temp-buffer'.
1722
1723 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1724
1725         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1726
1727         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1728         `wl-read-search-condition').
1729         (elmo-read-search-condition-internal): Likewise.
1730
1731         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1732         (elmo-flag-valid-p): New function.
1733         (elmo-folder-initialize): Check flag name is valid.
1734
1735 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1736
1737         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1738         delimiter to obtain root mailbox itself.
1739
1740 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1741
1742         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1743         type mismatch.
1744
1745 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1746
1747         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1748         as t.
1749
1750 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1751
1752         * elmo-shimbun.el (toplevel): Require cl at compile.
1753
1754         * elmo-nntp.el (toplevel): Ditto.
1755
1756         * elmo-nmz.el (toplevel): Ditto.
1757
1758         * elmo-multi.el (toplevel): Ditto.
1759
1760         * elmo-file.el (toplevel): Ditto.
1761
1762         * elmo-dop.el (toplevel): Ditto.
1763
1764         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1765
1766 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1767
1768         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1769         as nil.
1770
1771         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1772         size of elmo-message-fetch-internal is 0 byte.
1773
1774 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1775
1776         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1777
1778 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1779
1780         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1781         always plugged.
1782
1783 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1784
1785         * elmo-maildir.el (elmo-map-message-fetch): Call
1786         `elmo-map-folder-set-flag'.
1787
1788         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1789         (elmo-message-fetch): Merge from
1790         `elmo-message-fetch-with-cache-process'.
1791
1792         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1793         (elmo-message-fetch): Define.
1794
1795         * elmo-nntp.el (elmo-message-fetch): Renamed from
1796         `elmo-message-fetch-with-cache-process'.
1797
1798         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1799         (elmo-message-fetch): Define.
1800
1801         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1802         search-key.
1803
1804         * elmo-shimbun.el (shimbun-mua-search-id): Use
1805         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1806         (elmo-shimbun-folder-shimbun-header): Ditto.
1807         (elmo-shimbun-get-headers): Ditto.
1808         (elmo-shimbun-update-overview): Ditto.
1809
1810         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1811
1812         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1813         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1814
1815 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1816
1817         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1818         message is cached.
1819         (elmo-message-fetch-string): Fixed argument.
1820
1821 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1822
1823         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1824         exchange order of arguments `section' and `unread'.
1825         (elmo-message-encache): Follow the API change.
1826         (elmo-message-match-condition): Ditto.
1827         (elmo-generic-folder-append-messages): Ditto.
1828         (elmo-message-fetch-string): New function.
1829
1830         * elmo-split.el (elmo-split-subr): Ditto.
1831
1832         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1833
1834         * elmo-pipe.el (elmo-message-fetch): Ditto.
1835
1836         * elmo-multi.el (elmo-message-fetch): Ditto.
1837
1838         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1839
1840         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1841
1842         * elmo-filter.el (elmo-message-fetch): Ditto.
1843
1844         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1845
1846         * elmo-imap4.el (mime-imap-location-section-body): Use
1847         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1848         follow the API change.
1849
1850 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1851
1852         * elmo-access.el: New file.
1853
1854         * elmo-null.el: Ditto.
1855
1856         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1857
1858 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1859
1860         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1861         (elmo-network-session): New attribute `last-accessed'.
1862         (elmo-network-get-session): Discard network cache if elapsed time
1863         since last-accessed is larger than elmo-network-session-idle-timeout.
1864
1865 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1866
1867         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1868         and added `number', `require-entireness'.
1869         (elmo-find-fetch-strategy): Rewrite.
1870         (elmo-message-fetch): Unset `unread' flag when argument unread is
1871         non-nil.
1872
1873         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1874
1875         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1876         (elmo-message-fetch): Notify event `flag-changed'.
1877
1878         * elmo-pipe.el: Likewise.
1879
1880         * elmo-mime.el (elmo-mime-entity): New class.
1881         (elmo-mime-entity-display-p): New generic function.
1882         (elmo-mime-entity-display): Ditto.
1883         (elmo-mime-entity-display-as-is): Ditto.
1884         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1885         elmo-mime-entity.
1886         (elmo-make-mime-message-location): Removed.
1887         (elmo-mime-message-display): Ditto.
1888         (elmo-mime-display-as-is): Ditto.
1889         (elmo-message-mime-entity): New function.
1890
1891         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1892
1893         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1894         change.
1895         (elmo-message-fetch): Re-count flagged message number and notify
1896         event `flag-changed'.
1897
1898         * elmo-version.el (elmo-version): Up to 2.13.1.
1899
1900 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1901
1902         * elmo-filter.el (elmo-message-field): Define.
1903         (elmo-message-set-field): Ditto.
1904
1905 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1906
1907         * elmo.el (elmo-message-set-cached): Call
1908         `elmo-folder-notify-event' with cache-changed.
1909         (elmo-event-handler-cache-changed): New generic function.
1910
1911 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1912
1913         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1914         instead of elmo-add-name-to-file.
1915         (elmo-folder-append-messages): Ditto.
1916
1917 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1918
1919         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1920
1921 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1922
1923         * elmo-version.el (elmo-version): Up to 2.13.0.
1924
1925         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1926         `auto'.
1927
1928         * modb-standard.el (modb-standard-economize-entity-size): Changed
1929         default value to `t'.
1930
1931         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1932         `standard'.
1933
1934         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1935         after parsing greeting string.
1936
1937 2004-11-23  Daishi Kato <daishi@axlight.com>
1938
1939         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1940         New user option.
1941         (elmo-spam-spamoracle-call): Use it.
1942
1943 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1944
1945         * elmo.el (elmo-message-accessible-p): Message in dop spool
1946         is accessible.
1947
1948 2004-11-23  Daishi Kato <daishi@axlight.com>
1949
1950         * elsp-spamoracle.el: New file.
1951
1952 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1953
1954         * elmo.el (elmo-message-flags-for-append): New function.
1955         (elmo-generic-folder-append-messages): Use it.
1956
1957         * elmo-split.el (elmo-split-subr): Ditto.
1958
1959         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1960         `flags' and use elmo-folder-append-buffer instead of
1961         write-region-as-binary.
1962         (elmo-dop-filter-pending-messages): New function.
1963         (elmo-folder-append-buffer-dop): Call
1964         elmo-dop-spool-folder-append-buffer with `flag'.
1965         (elmo-folder-set-flag-dop): Filter messages by
1966         elmo-dop-filter-pending-messages.
1967         (elmo-folder-unset-flag-dop): Ditto.
1968         (elmo-folder-append-buffer-dop-delayed): Use
1969         elmo-message-flags-for-append to get flags of the message and
1970         simplify.
1971
1972 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1973
1974         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1975
1976 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1977
1978         * elmo.el (elmo-folder): Added handlers slot.
1979         (elmo-event-handler): New class.
1980         (elmo-event-handler-flag-changed): New API.
1981         (elmo-folder-add-handler): New function.
1982         (elmo-folder-remove-handler): Ditto.
1983         (elmo-folder-notify-event): Ditto.
1984         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1985         `flag-changed'.
1986         (elmo-folder-unset-flag): Ditto.
1987
1988         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1989         (elmo-folder-unset-flag): Ditto.
1990
1991         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1992         (elmo-folder-unset-flag): Ditto.
1993
1994         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1995         (elmo-folder-unset-flag): Ditto.
1996
1997         * elmo-version.el (elmo-version): Up to 2.11.33.
1998
1999 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2000
2001         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
2002
2003 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2004
2005         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
2006
2007         * elmo-flag.el (elmo-folder-unset-flag): Define.
2008         (elmo-global-flag-detach): Do process when the flag is not target
2009         flag.
2010
2011 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2012
2013         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
2014         variable.
2015         (elmo-msgdb-create-message-entity-from-buffer): Use it.
2016
2017 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2018
2019         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
2020         function.
2021         (elmo-folder-delete-messages): Detach messages before delete
2022         messages from target folder.
2023         (elmo-folder-detach-messages): Set updated number-list to slot.
2024
2025 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2026
2027         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2028
2029 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2030
2031         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2032
2033 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2034
2035         * elmo.el (elmo-folder-delete-messages-internal): New API (for
2036         internal use only).
2037         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2038         not modified.
2039         (elmo-folder-delete-messages): Define.
2040         (elmo-folder-move-messages): Don't call
2041         `elmo-folder-detach-messages'.
2042         (elmo-folder-synchronize): Rewrite.
2043         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2044
2045         * elmo-util.el (elmo-last): New function.
2046         (elmo-set-list): Ditto.
2047         (elmo-number-set-delete-list): Ditto.
2048         (elmo-number-set-delete): Ditto.
2049
2050         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2051
2052         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2053         `elmo-folder-delete-messages' and don't delete location map.
2054         (elmo-folder-detach-messages): Define.
2055
2056         * elmo-imap4.el (elmo-folder-delete): Use
2057         `elmo-folder-delete-messages-internal' instead of
2058         `elmo-folder-delete-messages'.
2059
2060         * elmo-filter.el (elmo-folder-delete-messages): Call
2061         `elmo-folder-detach-messages'.
2062         (elmo-folder-detach-messages): Don't call
2063         `elmo-folder-detach-messages' for target folder.
2064
2065         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2066         message deletion is succeeded.
2067
2068         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2069
2070         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2071         from `elmo-folder-delete-messages'.
2072
2073         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2074
2075         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2076
2077         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2078
2079         * elmo-version.el (elmo-version): Up to 2.11.32.
2080
2081 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2082
2083         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2084         (elmo-global-flag-list): Added obsolete variable setting.
2085
2086         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2087
2088         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2089         (elmo-mime-insert-header-from-buffer): Don't decode header content when
2090         `elmo-mime-display-header-analysis' is nil.
2091
2092         * elmo-flag.el (elmo-global-flags): Renamed from
2093         `elmo-global-flag-list' (All other related portions are changed).
2094         (elmo-local-flags): New variable.
2095         (elmo-local-flag-p): New function.
2096         (elmo-global-flag-set-internal): Cause an error when flag is not
2097         global.
2098
2099 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2100
2101         * elmo-util.el (elmo-concat-path): Treat empty path.
2102
2103 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2104
2105         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2106         field-or-fields).
2107         (elmo-split-address-match): Ditto.
2108         (elmo-split-equal): Ditto.
2109         (elmo-split-match): Ditto.
2110
2111 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2112
2113         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2114         (elmo-generic-folder-append-messages): If src message exists but
2115         has no flag, pass (read) for the FLAG argument of
2116         `elmo-folder-append-buffer'. Otherwise, pass nil.
2117
2118         * elmo-split.el (elmo-split-subr): Likewise.
2119
2120         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2121
2122         * elmo-multi.el (elmo-message-flags): Ditto.
2123
2124         * elmo-filter.el (elmo-message-flags): Ditto.
2125
2126         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2127         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2128         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2129         
2130 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2131
2132         * elmo-split.el (elmo-split-rule): Update comment.
2133         (elmo-split-address-equal): Allow 2nd argument to be a list.
2134         (elmo-split-address-match): Ditto.
2135         (elmo-split-equal): Ditto.
2136         (elmo-split-match): Ditto.
2137
2138 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2139
2140         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2141         (elmo-folder-append-msgdb): Don't treat `read'.
2142         (elmo-message-flags): Don't return `read'.
2143
2144         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2145         (elmo-folder-unset-read-delayed): Ditto.
2146
2147         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2148
2149 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2150
2151         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2152         deletion.
2153
2154 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2155
2156         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2157         header.
2158
2159 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2160
2161         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2162         here.
2163         (elmo-msgdb-save): Bind inhibit-quit.
2164         (modb-standard-message-entity): Ditto.
2165
2166 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2167
2168         * elmo-database.el: No need to require elmo-msgdb.
2169
2170 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2171
2172         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2173         instead of `elmo-list-subdirectories'.
2174
2175 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2176
2177         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2178         group entry.
2179         (elmo-folder-exists-p): "[" is empty.
2180         (elmo-folder-list-subfolders): Define.
2181         (elmo-folder-have-subfolder-p): Ditto.
2182
2183 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2184
2185         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2186
2187 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2188
2189         * elmo-filter.el (elmo-folder-local-p): Define.
2190
2191 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2192
2193         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2194         when entity is garbaged.
2195         (modb-standard-save-entity-1): Don't modify the original entity.
2196
2197 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2198
2199         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2200
2201 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2202
2203         * elmo.el (elmo-strict-folder-diff): Use
2204         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2205
2206 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2207
2208         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2209         (elmo-msgdb-message-number): Ditto.
2210         (elmo-msgdb-message-field): Ditto.
2211
2212         * modb-standard.el (modb-standard-economize-entity-size): New user
2213         option.
2214         (modb-standard-loaded-message-id): New inline function.
2215         (modb-standard-load-entity): Use it.
2216         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2217         throw message-id string away.
2218         (elmo-msgdb-flag-available-p): Define.
2219         (elmo-msgdb-message-number): Ditto.
2220         (elmo-msgdb-message-field): Ditto.
2221
2222         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2223         (suppoted -> supported).
2224         (modb-legacy-supported-flag-p): Ditto.
2225         (elmo-msgdb-set-flag): Ditto.
2226         (elmo-msgdb-unset-flag): Ditto.
2227         (elmo-msgdb-flag-available-p): Define.
2228
2229         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2230         is `t', treat it as legacy entity.
2231         
2232         * elmo.el (elmo-message-flag-available-p): New generic function.
2233         (elmo-message-number): Ditto.
2234         (elmo-message-field): Use `elmo-msgdb-message-field'.
2235
2236         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2237
2238         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2239         (elmo-message-number): Ditto.
2240
2241         * elmo-multi.el (elmo-message-number): Define.
2242         (elmo-message-flag-available-p): Ditto.
2243
2244         * elmo-filter.el (elmo-message-flag-available-p): Define.
2245         (elmo-message-number): Ditto.
2246
2247         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2248         (elmo-folder-initialize): Load `max-number'.
2249         (elmo-folder-commit): Save it.
2250         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2251         (elmo-global-flag-set-internal): Set up max-number slot.
2252
2253 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2254
2255         * elmo-version.el (elmo-version): Up to 2.11.31.
2256
2257 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2258
2259         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2260         unibyte string of the current buffer for the argument of `md5'
2261         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2262
2263 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2264
2265         * modb-legacy.el (modb-legacy-flag-list): New constant.
2266         (modb-legacy-suppoted-flag-p): New internal function.
2267         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2268         (elmo-msgdb-unset-flag): Ditto.
2269
2270 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2271
2272         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2273
2274         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2275         from msgdb.
2276
2277 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2278
2279         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2280         (follow the API change).
2281
2282         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2283
2284 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2285
2286         * modb-standard.el (modb-standard-digest-flags): Abolish.
2287         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2288
2289         * elmo-vars.el (elmo-digest-flags): New variable.
2290         (elmo-preserved-flags): Moved from elmo-flag.el.
2291
2292         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2293         (elmo-imap4-flag-to-imap-criteria): Ditto.
2294         (elmo-imap4-folder-list-flagged): Use it.
2295
2296         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2297
2298         * elmo.el (elmo-folder-count-flags): Changed return value.
2299
2300         * elmo-flag.el (elmo-preserved-flags): New variable.
2301         (elmo-get-global-flags): Use it.
2302
2303         * modb-standard.el (modb-standard-digest-flags): New variable.
2304         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2305         Changed behavior of `any'.
2306
2307         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2308         which are defined the Internet draft
2309         (draft-melnikov-imap-keywords-03.txt).
2310         (elmo-imap4-flags-to-imap): New function.
2311         (elmo-folder-append-buffer): Use it.
2312
2313         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2314         in the docstring.
2315
2316         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2317         avoid the bug of Emacs 21.3.
2318
2319 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2320
2321         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2322         function find-coding-system does not exist.
2323
2324 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2325
2326         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2327         parsing.
2328
2329 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2330
2331         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2332         response codes.
2333
2334 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2335
2336         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2337         (elmo-network-close-session): Follow the changes in
2338         `elmo-pop3-read-response'.
2339         (elmo-pop3-auth-user): Ditto.
2340         (elmo-pop3-auth-apop): Ditto.
2341         (elmo-network-initialize-session): Ditto.
2342         (elmo-network-authenticate-session): Ditto.
2343         (elmo-network-setup-session): Ditto.
2344         (elmo-folder-status): Ditto.
2345         (elmo-message-fetch-plugged): Ditto.
2346         (elmo-pop3-delete-msg): Ditto.
2347
2348 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2349
2350         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2351         on failure.
2352
2353 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2354
2355         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2356         style.
2357         (elmo-bind-directory): Ditto.
2358
2359 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2360
2361         * elmo.el (elmo-folder-append-messages): Note on return value.
2362         * elmo-archive.el (elmo-folder-append-messages): Don't return
2363         message numbers which could not be appended.
2364
2365 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2366
2367         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2368
2369 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2370
2371         * elmo-version.el (elmo-version): Up to 2.11.30.
2372
2373 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2374
2375         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2376         `mask'.
2377
2378         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2379
2380         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2381         (elmo-multi-split-numbers): Add elmo-folder object into each
2382         element of return value at first.
2383         (elmo-folder-delete-messages): Follow the above change.
2384         (elmo-folder-detach-messages): Ditto.
2385
2386         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2387         number which is synchronized in target folder.
2388
2389 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2390
2391         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2392         Change default value to symbol `all'.
2393         (elmo-map-message-fetch): Change condition to update overview
2394         follow the above.
2395
2396 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2397
2398         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2399         behavior to update overview.
2400         (elmo-shimbun-update-overview-folder-list): Note it.
2401
2402 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2403
2404         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2405         recursive call.
2406
2407 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2408
2409         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2410         buffer-disable-undo, it is unnecessary.
2411         (elmo-spam-register-good-messages): Ditto.
2412
2413         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2414         Ditto.
2415
2416         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2417
2418 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2419
2420         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2421         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2422         elmo-set-buffer-multibyte.
2423         (elmo-object-load): Ditto.
2424         (elmo-save-buffer): Ditto.
2425         (elmo-delete-char): Ditto.
2426         (elmo-file-field-primitive-condition-match): Ditto.
2427         (elmo-mime-string): Ditto.
2428
2429         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2430         (elmo-archive-field-condition-match): Ditto.
2431
2432         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2433
2434         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2435
2436         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2437         (elmo-nntp-msgdb-create-message): Ditto.
2438
2439         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2440
2441         * elmo.el (elmo-message-match-condition): Ditto.
2442         (elmo-message-match-condition): Ditto.
2443
2444         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2445         Ditto.
2446
2447         * elmo-version.el (elmo-version): Up to 2.11.29.
2448
2449         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2450         (elsp-header): New backend.
2451
2452         * elmo-util.el (elmo-decoded-field-body): New function.
2453
2454 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2455
2456         * elmo-version.el (elmo-version): Up to 2.11.28.
2457
2458 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2459
2460         * elmo-filter.el: Rewrite.
2461
2462         * elmo-version.el (elmo-version): Up to 2.11.27.
2463
2464 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2465
2466         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2467         msgdb path for the localdir folder with absolute path.
2468
2469         * utf7.el: Synch up with latest gnus/utf7.el;
2470         Modified for latest Emacs.
2471
2472 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2473
2474         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2475         shimbun backend couldn't open.
2476
2477 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2478
2479         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2480         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2481         when a destination folder is a filter folder.
2482
2483 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2484
2485         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2486         (elmo-generic-folder-append-messages): Call elmo-message-flags
2487         with argument `msgid'.
2488
2489         * elmo-split.el (elmo-split-subr): Ditto.
2490
2491         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2492
2493         * elmo-multi.el (elmo-message-flags): Ditto.
2494
2495 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2496
2497         * elmo.el (elmo-folder): Add new slot `flag-table'.
2498         (elmo-folder-flag-table): New API.
2499         (elmo-folder-close-flag-table): Ditto.
2500         (elmo-folder-preserve-flags): New function.
2501         (elmo-generic-folder-append-messages): Use
2502         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2503         Flag of a non-registered message, it sets to nil.
2504         Does not set flag to flag-table.
2505
2506         * elmo-maildir.el (elmo-folder-append-buffer): Use
2507         `elmo-folder-preserve-flags'.
2508         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2509         `elmo-folder-close-flag-table'.
2510
2511         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2512         (elmo-archive-folder-append-buffer): Use
2513         `elmo-folder-preserve-flags'.
2514
2515         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2516
2517         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2518
2519         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2520         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2521         `elmo-folder-close-flag-table'.
2522
2523         * elmo-version.el (elmo-version): Up to 2.11.26.
2524
2525 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2526
2527         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2528
2529         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2530         md5's 4th and 5th argument (non-existent in flim one).
2531
2532 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2533
2534         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2535         message, It sets to nil.
2536
2537 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2538
2539         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2540         list is non-nil.
2541
2542 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2543
2544         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2545
2546         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2547
2548         * elmo-util.el (elmo-uniq-sorted-list): New function.
2549         (elmo-make-number-list): Ditto.
2550         (elmo-number-set-to-number-list): Use elmo-make-number-list
2551         and don't use nreverse.
2552
2553 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2554
2555         * elmo-version.el (elmo-version): Up to 2.11.25.
2556
2557 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2558
2559         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2560         field not exists in message, Use md5 message digest of header.
2561
2562 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2563
2564         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2565         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2566         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2567         * elmo-split.el (elmo-split-subr): Check return value of
2568         elmo-folder-append-buffer.
2569
2570         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2571         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2572
2573         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2574         message-id.
2575
2576 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2577
2578         * elmo-split.el (elmo-split-subr): Append message with flag.
2579
2580         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2581         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2582         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2583
2584 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2585
2586         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2587         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2588         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2589
2590 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2591
2592         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2593         with a function call of `process-buffer'.  All callers are updated.
2594         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2595         Remove redundant `set-buffer' in a while loop.
2596
2597 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2598
2599         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2600         calls.
2601
2602 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2603
2604         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2605         elsp-spamfilter-register-buffer-internal with current buffer.
2606         (elmo-spam-register-spam-buffer): Ditto.
2607         (elmo-spam-register-good-buffer): Ditto.
2608
2609 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2610
2611         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2612         if it is not contained in the response(A workaround for courier-imap).
2613
2614 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2615
2616         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2617         parenthesis.
2618
2619 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2620
2621         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2622         range.
2623
2624 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2625
2626         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2627         of nconc.
2628
2629         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2630         argument handler.
2631         (elmo-msgdb-message-match-condition): Follow the change above.
2632
2633 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2634
2635         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2636         folder name.
2637
2638 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2639
2640         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2641
2642 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2643
2644         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2645
2646 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2647
2648         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2649         not found.
2650
2651 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2652
2653         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2654         value.
2655         (elmo-file-command-argument): Undo last change for cygwin.
2656         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2657         Don't return nil.
2658         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2659
2660 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2661
2662         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2663         value returned from elmo-file-find is nil.
2664
2665 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2666
2667         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2668         to elmo-vars.el.
2669
2670         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2671         instead of insert-file-contents-as-binary.
2672         (elmo-message-set-field): New generic function.
2673
2674         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2675         behavior change on `split-string'.
2676
2677         * elmo-file.el (elmo-file-find): New function.
2678         (elmo-file-command): New user option.
2679         (elmo-file-command-argument): Ditto.
2680         (elmo-file-fetch-max-size): Ditto.
2681         (elmo-file-detect-format): New function.
2682         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2683         Use elmo-file-detect-format.
2684         (elmo-map-folder-list-message-locations): Don't treat directories.
2685
2686 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2687
2688         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2689         (elmo-passwd-alist-clear): Shred password before clear.
2690         (elmo-remove-passwd): Remove all mached pair.
2691
2692 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2693
2694         * elmo.el (elmo-folder-synchronize): Fix description of the return
2695         value.
2696
2697 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2698
2699         * elmo.el (elmo-message-fetch-bodystructure): New method.
2700         (elmo-message-fetch-bodystructure): Define default.
2701
2702         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2703         elmo-message-fetch-bodystructure.
2704         (elmo-message-fetch-bodystructure): Define.
2705
2706         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2707
2708 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2709
2710         * elmo-filter.el (elmo-message-folder): Define.
2711
2712 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2713
2714         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2715         elmo-delete-cr-buffer.
2716
2717         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2718
2719         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2720
2721         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2722
2723         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2724         type seems to be a text.
2725
2726 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2727
2728         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2729         (elmo-spam-register-good-buffer): Ditto.
2730         (elmo-spam-spamassassin-register-messages): Ditto.
2731
2732         * elmo-util.el (elmo-string-member-ignore-case): Define with
2733         static-cond.
2734
2735 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2736
2737         * elmo.el (elmo-folder-type): Undo last change.
2738
2739         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2740
2741         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2742         warnings.
2743
2744         * elmo-file.el: New file.
2745         
2746         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2747
2748         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2749         variable.
2750         (elmo-spam-spamassassin-register-messages): New inline function.
2751         (elmo-spam-register-spam-messages): Define.
2752         (elmo-spam-register-good-messages): Ditto.
2753
2754         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2755         Fixed typo.
2756
2757         * elmo.el (toplevel): Added autoload setting for
2758         `elmo-get-global-flags'.
2759         (elmo-message-has-global-flag-p): New function.
2760         (elmo-message-set-global-flags): Ditto.
2761         (elmo-folder-type): Improvement for name: format.
2762
2763         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2764         availability of keyword flags.
2765         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2766         (elmo-folder-list-flagged-plugged): Renamed from
2767         elmo-folder-list-flagged-unplugged.
2768         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2769         accept any flag as keyword flag.
2770         (elmo-folder-set-flag-plugged): Accept keyword flags.
2771         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2772
2773         * elmo-flag.el (elmo-get-global-flags): New function.
2774
2775         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2776         folders.
2777
2778         * elmo-version.el (elmo-version): Up to 2.11.24.
2779
2780 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2781
2782         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2783         elmo-multiple-field-body instead of std11-field-body to check all
2784         headers.
2785
2786 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2787
2788         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2789         or "size".
2790
2791 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2792
2793         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2794         unintern is unbound.
2795
2796 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2797
2798         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2799         Protect from infinite loop.
2800
2801 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2802
2803         * elsp-bogofilter.el
2804         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2805         (elmo-spam-bogofilter-register-messages): New internal function.
2806         (elmo-spam-register-spam-messages): Define.
2807         (elmo-spam-register-good-messages): Ditto.
2808
2809 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2810
2811         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2812         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2813         (elmo-spam-bogofilter-call): Fixed the last change.
2814         (elmo-spam-bogofilter-arguments): Ditto.
2815
2816         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2817         Follow the options change of latest bogofilter.
2818
2819         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2820         (elmo-spam-bogofilter-good-switch): Ditto.
2821         (elmo-spam-bogofilter-arguments-alist): New user option.
2822         (elmo-spam-bogofilter-debug): Ditto.
2823         (elmo-spam-bogofilter-call): Renamed from
2824         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2825         is non-nil, insert output in buffer for debug.
2826         (elmo-spam-bogofilter-arguments): New macro.
2827         (elmo-spam-buffer-spam-p): Use it.
2828         (elsp-bogofilter-register-buffer): Ditto.
2829
2830 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2831
2832         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2833         regexp.
2834
2835 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2836
2837         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2838         value as "ruby".
2839         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2840         (elmo-spam-bsfilter-program): Set default value as full path for
2841         `bsfilter'.
2842         (elmo-spam-bsfilter-debug): New user option.
2843         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2844         non-nil, insert output in buffer for debug. Fix treating of
2845         argument.
2846
2847 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2848
2849         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2850         `elmo-maildir-flag-specs' element instead of one.
2851         (elmo-map-folder-unset-flag): Ditto.
2852         (Reported by Ken Makimura <macky@astem.or.jp>)
2853
2854         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2855         (elmo-folder-unset-flag-plugged): Ditto.
2856
2857 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2858
2859         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2860         to `reads' slot only if `in-msgdb' is nil.
2861
2862 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2863
2864         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2865         and complement argument list.
2866
2867 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2868
2869         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2870         instead of elmo-folder-list-flagged.
2871
2872 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2873
2874         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2875
2876         * elsp-bsfilter.el: New file.
2877
2878         * elmo-pipe.el (elmo-folder-list-unreads,
2879         elmo-folder-list-answereds,
2880         elmo-folder-list-importants,
2881         elmo-folder-flag-as-important,
2882         elmo-folder-unflag-important,
2883         elmo-folder-flag-as-read,
2884         elmo-folder-unflag-read,
2885         elmo-folder-flag-as-answered,
2886         elmo-folder-unflag-answered): Remove.
2887         (elmo-folder-set-flag): Define.
2888         (elmo-folder-unset-flag): Ditto.
2889
2890         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2891         (elmo-folder-set-flag): Define.
2892         (elmo-folder-unset-flag): Ditto.
2893         (elmo-folder-list-unreads): Remove.
2894         (elmo-folder-list-flagged): Define.
2895
2896         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2897         (elmo-folder-list-unreads,
2898         elmo-folder-list-importants,
2899         elmo-folder-list-answereds,
2900         elmo-folder-list-unreads-plugged,
2901         elmo-folder-list-importants-plugged,
2902         elmo-folder-list-answereds-plugged): Remove.
2903         (elmo-folder-list-flagged-plugged): New method.
2904         (elmo-folder-unflag-important,
2905         elmo-folder-flag-as-important,
2906         elmo-folder-unflag-read,
2907         elmo-folder-flag-as-read,
2908         elmo-folder-unflag-answered,
2909         elmo-folder-flag-as-answered,
2910         elmo-folder-flag-as-read-unplugged,
2911         elmo-folder-unflag-read-unplugged,
2912         elmo-folder-flag-as-important-unplugged,
2913         elmo-folder-unflag-important-unplugged,
2914         elmo-folder-flag-as-answered-unplugged,
2915         elmo-folder-unflag-answered-unplugged): Remove.
2916         (elmo-folder-set-flag): Define.
2917         (elmo-folder-unset-flag): Ditto.
2918         (elmo-folder-set-flag-unplugged): Ditto.
2919         (elmo-folder-unset-flag-unplugged): Ditto.
2920
2921         * elmo-multi.el (elmo-folder-list-unreads,
2922         elmo-folder-list-answereds,
2923         elmo-folder-list-importants,
2924         elmo-folder-flag-as-important,
2925         elmo-folder-unflag-important,
2926         elmo-folder-flag-as-read,
2927         elmo-folder-unflag-read,
2928         elmo-folder-flag-as-answered,
2929         elmo-folder-unflag-answered): Remove.
2930         (elmo-folder-set-flag): Define.
2931         (elmo-folder-unset-flag): Ditto.
2932
2933         * elmo-map.el (elmo-map-folder-unflag-important,
2934         elmo-map-folder-flag-as-important,
2935         elmo-map-folder-unflag-read,
2936         elmo-map-folder-flag-as-read,
2937         elmo-map-folder-unflag-answered,
2938         elmo-map-folder-flag-as-answered): Remove.
2939         (elmo-map-folder-set-flag): New method.
2940         (elmo-map-folder-unset-flag): Ditto.
2941         (elmo-map-folder-list-unreads,
2942         elmo-map-folder-list-importants,
2943         elmo-map-folder-list-answereds): Remove.
2944         (elmo-folder-list-flagged-internal): Define.
2945         (elmo-map-folder-list-flagged): New method.
2946
2947         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2948         (elmo-map-folder-list-unreads,
2949         elmo-map-folder-list-importants,
2950         elmo-map-folder-list-flagged): Remove.
2951         (elmo-map-folder-list-flagged): Define.
2952         (elmo-map-folder-flag-as-important,
2953         elmo-map-folder-unflag-important,
2954         elmo-map-folder-flag-as-read,
2955         elmo-map-folder-unflag-read,
2956         elmo-map-folder-flag-as-answered,
2957         elmo-map-folder-unflag-answered): Remove.
2958         (elmo-maildir-set-mark-messages): New internal function.
2959         (elmo-map-folder-set-flag): Define.
2960         (elmo-map-folder-unset-flag): Ditto.
2961
2962         * elmo.el (toplevel): Added autoload setting for
2963         `elmo-folder-list-global-flag-messages'.
2964         (elmo-folder-list-unreads,
2965         elmo-folder-list-importants,
2966         elmo-folder-list-answereds): Remove.
2967         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2968         Return a list whitch merged with messages have global flag.
2969         (elmo-folder-list-flagged-internal): New method.
2970         (elmo-folder-unflag-important,
2971         elmo-folder-flag-as-important,
2972         elmo-folder-unflag-read,
2973         elmo-folder-flag-as-read,
2974         elmo-folder-unflag-answered,
2975         elmo-folder-flag-as-answered): Remove.
2976         (elmo-folder-set-flag): New method.
2977         (elmo-folder-unset-flag): Ditto.
2978         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2979         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2980
2981         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2982         (elmo-folder-list-unreads-plugged,
2983         elmo-folder-list-importants-plugged,
2984         elmo-folder-list-answereds-plugged,
2985         elmo-folder-list-flagged-unplugged,
2986         elmo-folder-unflag-important-plugged,
2987         elmo-folder-flag-as-important-plugged,
2988         elmo-folder-unflag-read-plugged,
2989         elmo-folder-flag-as-read-plugged,
2990         elmo-folder-unflag-answered-plugged,
2991         elmo-folder-flag-as-answered-plugged): Remove.
2992         (elmo-folder-set-flag-plugged,
2993         elmo-folder-unset-flag-plugged): Define.
2994
2995         * elmo-flag.el (elmo-folder-initialize): Register to
2996         `elmo-global-flag-list' if flag is not global.
2997         (elmo-folder-append-messages): Set flag to source messages.
2998
2999         * elmo-filter.el (elmo-filter-folder-list-unreads,
3000         elmo-folder-list-unreads,
3001         elmo-filter-folder-list-importants,
3002         elmo-folder-list-importants,
3003         elmo-folder-flag-as-read,
3004         elmo-folder-unflag-read,
3005         elmo-folder-flag-as-important,
3006         elmo-folder-unflag-important,
3007         elmo-folder-flag-as-answered,
3008         elmo-folder-unflag-answered): Remove.
3009         (elmo-folder-set-flag): Define.
3010         (elmo-folder-unset-flag): Ditto.
3011
3012         * elmo-dop.el (elmo-folder-flag-as-read-dop,
3013         elmo-folder-unflag-read-dop,
3014         elmo-folder-flag-as-important-dop,
3015         elmo-folder-unflag-important-dop,
3016         elmo-folder-flag-as-answered-dop,
3017         elmo-folder-unflag-answered-dop): Remove.
3018         (elmo-folder-set-flag-dop,
3019         elmo-folder-unset-flag-dop,
3020         elmo-folder-set-important-delayed,
3021         elmo-folder-unset-important-delayed,
3022         elmo-folder-set-read-delayed,
3023         elmo-folder-unset-read-delayed,
3024         elmo-folder-set-answered-delayed,
3025         elmo-folder-unset-answered-delayed): New function.
3026         (elmo-dop-queue-merge-method-list): Follow the above chagned.
3027         (elmo-dop-queue-method-name-alist): Ditto.
3028
3029         * elmo-version.el (elmo-version): Up to 2.11.23.
3030
3031 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
3032
3033         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3034
3035         * elsp-sa.el: New file.
3036
3037 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3038
3039         * modb-standard.el (modb-standard-message-entity): New function.
3040         (elmo-msgdb-message-entity): Use it.
3041
3042 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3043
3044         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3045         behavior when one-level is nil.
3046
3047         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3048
3049         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3050
3051 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3052
3053         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3054         get max number.
3055         (elmo-generic-folder-diff): Ditto.
3056
3057         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3058         (elmo-folder-update-number): Ditto.
3059
3060         * elmo-dop.el (elmo-folder-status-dop): Ditto.
3061         (elmo-folder-next-message-number-dop): Ditto.
3062
3063 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3064
3065         * elmo-filter.el (elmo-folder-msgdb-create): Use
3066         `elmo-message-entity' and `elmo-message-flags' instead of
3067         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3068
3069 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3070
3071         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3072         `if-exists'.
3073
3074 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3075
3076         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3077
3078         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3079
3080         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3081
3082 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3083
3084         * elmo-version.el (elmo-version): Up to 2.11.22.
3085
3086 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3087
3088         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3089
3090 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3091
3092         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3093         if the message dose not exist.
3094
3095 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
3096
3097         * elmo-version.el (elmo-version): Up to 2.11.21.
3098
3099 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3100
3101         * modb-standard.el (toplevel): Don't require mime.
3102
3103 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3104
3105         * elsp-bogofilter.el (toplevel): Don't require path-util.
3106         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3107         (elmo-spam-bogofilter-header): Abolish.
3108         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3109         (elmo-spam-bogofilter-args): New user option.
3110         (elsp-bogofilter-call-bogofilter): New internal function.
3111         (elmo-spam-buffer-spam-p): Use it.
3112         (elsp-bogofilter-register-buffer): Renamed from
3113         `elmo-spam-bogofilter-register-buffer';
3114         Use `elsp-bogofilter-call-bogofilter'.
3115         (elmo-spam-register-spam-buffer): Follow the change above.
3116         (elmo-spam-register-good-buffer): Ditto.
3117
3118 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3119
3120         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3121         message-id is nil do nothing.
3122
3123 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3124
3125         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3126         Revival.
3127         (elmo-imap4-session): Removed use-flag slot.
3128         (elmo-imap4-session-select-mailbox): Undo last change.
3129         (elmo-folder-use-flag-p): Use
3130         elmo-imap4-disuse-server-flag-mailbox-regexp.
3131
3132 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3133
3134         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3135         (elmo-imap4-session-select-mailbox): Set it up.
3136         (elmo-folder-use-flag-p): Return value of use-flag slot.
3137
3138 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3139
3140         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3141         message-id is nil.
3142         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3143
3144         * modb-entity.el (elmo-message-entity-handler): Likewise.
3145
3146 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3147
3148         * elmo.el (toplevel): Remove setting of autoloding for
3149         elmo-global-flag-initialize.
3150         (elmo-init): Don't call elmo-global-flag-initialize.
3151         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3152
3153         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3154         (elmo-global-mark-migrate): Don't call it.
3155         (elmo-global-mark-upgrade): Ditto.
3156
3157 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3158
3159         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3160         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3161
3162         * elmo-vars.el (elmo-init-hook): New user option.
3163
3164         * elmo.el (elmo-init): Run the elmo-init-hook.
3165
3166         * elmo-flag.el (elmo-global-mark-migrate): New function.
3167
3168 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3169
3170         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3171         Undo last change (move to elmo-msgdb-unset-flag).
3172         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3173         flag is unset.
3174
3175 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3176
3177         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3178         read flag is set.
3179         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3180         (elmo-msgdb-unset-flag): Ditto.
3181
3182 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3183
3184         * elmo-split.el (elmo-split): Return split message count.
3185
3186 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3187
3188         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3189         is nil.
3190
3191 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3192
3193         * elmo.el (elmo-folder-unflag-important): Call
3194         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3195         a symbol `always'.
3196
3197         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3198         before unset flag.
3199         (elmo-global-flag-detach): Delete the message from flag folder, if
3200         `delete-if-none' is a symbol `always'.
3201
3202 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3203
3204         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3205         `elmo-spam-spamfilter-decode-buffer'.
3206         (elsp-spamfilter-register-buffer-internal): New internal function.
3207         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3208         (elmo-spam-register-spam-buffer): Ditto.
3209         (elmo-spam-register-good-buffer): Ditto.
3210
3211         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3212         change.
3213         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3214         (elmo-spam-register-spam-buffer): Follow the API change.
3215         (elmo-spam-register-good-buffer): Ditto.
3216
3217         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3218         (elmo-split-spam-p): Added argument plist; Call
3219         `elmo-spam-buffer-spam-p' with new argument register.
3220
3221         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3222         `register'.
3223         (elmo-spam-message-spam-p): Ditto.
3224         (elmo-spam-register-spam-buffer): Added optional argument
3225         `restore'.
3226         (elmo-spam-register-good-buffer): Ditto.
3227         (elmo-spam-register-spam-messages): Ditto.
3228         (elmo-spam-register-good-messages): Ditto.
3229
3230 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3231
3232         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3233         register into good corpus.
3234         (elmo-spam-register-good-buffer): Fixed to register into bad
3235         corpus.
3236
3237 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3238
3239         * elmo-version.el (elmo-version): Up to 2.11.20.
3240
3241         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3242         change.
3243
3244         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3245         flag without depending on \Recent flag.
3246
3247 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3248
3249         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3250         (elmo-spam-modified-p): Defined.
3251         (elmo-spam-save-status): Set `modified' slot to nil.
3252         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3253         (elmo-spam-register-good-buffer): Ditto.
3254
3255         * elmo-spam.el (elmo-spam-modified-p): New API.
3256
3257 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3258
3259         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3260         duplicate definition.
3261
3262         * elmo-util.el (elmo-unfold-field-body): New function.
3263         (elmo-msgdb-get-message-id-from-buffer): Use it.
3264
3265         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3266         Fixed the last change; Use elmo-unfold-field-body.
3267
3268 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3269
3270         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3271         Unfold date value.
3272
3273 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3274
3275         * elmo-spam.el (elmo-spam-save-status): New API.
3276
3277         * elsp-spamfilter.el: New file.
3278
3279 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3280
3281         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3282
3283 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3284
3285         * elmo-split.el (elmo-split-spam-p): New function.
3286
3287         * elmo-spam.el: New file.
3288
3289         * elsp-bogofilter.el: Ditto.
3290
3291 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3292
3293         * elmo.el (elmo-folder-next-message-number): New API.
3294         (elmo-folder-next-message-number): Define.
3295         (elmo-message-field): Don't check folder length.
3296
3297         * elmo-net.el (elmo-folder-next-message-number): Define.
3298         (elmo-folder-next-message-number-unplugged): Define.
3299
3300         * elmo-map.el (elmo-folder-next-message-number): Define.
3301         (elmo-folder-delete-messages): Clear hash value.
3302
3303         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3304
3305         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3306         (elmo-folder-delete-messages-dop-delayed): Always return t.
3307
3308         * elmo-version.el (elmo-version): Up to 2.11.19.
3309
3310 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3311
3312         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3313         change.
3314
3315         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3316         identical cons cell into the mark-alist and the hash table.
3317
3318 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3319
3320         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3321         elmo-folder-list-messages with argument `visible-only' as t.
3322
3323         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3324         (elmo-folder-msgdb-create): Check the target folder.
3325
3326 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3327
3328         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3329         `permanentflag' instead of `flags'.
3330         (elmo-folder-open): Ditto.
3331         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3332         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3333         (elmo-folder-use-flag-p): Always return t.
3334         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3335         `permanentflags' does not exist.
3336         (elmo-folder-open): Ditto.
3337
3338 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3339
3340         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3341         is nil.
3342         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3343
3344         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3345         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3346         response.
3347         (elmo-folder-open): Ditto.
3348         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3349         slot of the session includes the flag.
3350         (elmo-imap4-session-flag-available-p): New function.
3351         (elmo-imap4-folder-list-flagged): Ditto.
3352         (elmo-folder-list-unreads-plugged): Use it.
3353         (elmo-folder-list-importants-plugged): Ditto.
3354         (elmo-folder-list-answereds-plugged): Ditto.
3355         (elmo-imap4-search-internal-primitive): Ditto.
3356         (elmo-imap4-folder-list-any-plugged,
3357         elmo-imap4-folder-list-digest-plugged): Abolish.
3358
3359         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3360         if numbers is nil.
3361
3362 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3363
3364         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3365
3366 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3367
3368         * elmo-util.el (elmo-get-hash-val): Simplify.
3369         (elmo-set-hash-val): Rewrite.
3370
3371 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3372
3373         * elmo.el (elmo-folder-list-messages): Append killed messages into
3374         result if `visible-only' is nil and `in-msgdb' is non-nil.
3375
3376         * elmo-util.el (elmo-uniq-list): Added optional argument
3377         `delete-function'.
3378
3379         * modb.el (elmo-msgdb-flag-count): New API.
3380
3381         * modb-standard.el (modb-standard): Added slot flag-count.
3382         (modb-standard-countup-flags): New function.
3383         (modb-standard-load-flag): Call it.
3384         (elmo-msgdb-append): Ditto.
3385         (elmo-msgdb-clear): Clear slot flag-count.
3386         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3387         (elmo-msgdb-unset-flag): Treat `all' flag and call
3388         modb-standard-countup-flags.
3389         (elmo-msgdb-flag-count): Define.
3390         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3391         (elmo-msgdb-delete-messages): Ditto.
3392
3393         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3394         (elmo-msgdb-flag-count): Define.
3395
3396         * elmo.el (elmo-folder-list-messages): Undo last change.
3397         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3398         (elmo-folder-kill-messages): Unset all flags to numbers.
3399
3400         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3401         elmo-folder-kill-messages.
3402
3403         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3404         (elmo-nntp-folder-delete-messages): Abolish.
3405
3406         * elmo-version.el (elmo-version): Up to 2.11.18.
3407
3408 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3409
3410         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3411         (elmo-folder-kill-messages-range): New function.
3412         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3413         instead of elmo-folder-kill-messages-before.
3414
3415 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3416
3417         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3418         elmo-imap4-current-msgdb to decide entity handler.
3419
3420 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3421
3422         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3423
3424         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3425         inline function.
3426         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3427         (elmo-msgdb-overview-entity-set-number,
3428         elmo-msgdb-overview-entity-get-references,
3429         elmo-msgdb-overview-entity-set-references,
3430         elmo-msgdb-overview-entity-get-from-no-decode,
3431         elmo-msgdb-overview-entity-get-from,
3432         elmo-msgdb-overview-entity-set-from,
3433         elmo-msgdb-overview-entity-get-subject,
3434         elmo-msgdb-overview-entity-get-subject-no-decode,
3435         elmo-msgdb-overview-entity-set-subject,
3436         elmo-msgdb-overview-entity-get-date,
3437         elmo-msgdb-overview-entity-set-date,
3438         elmo-msgdb-overview-entity-get-to,
3439         elmo-msgdb-overview-entity-get-cc,
3440         elmo-msgdb-overview-entity-get-size,
3441         elmo-msgdb-overview-entity-set-size,
3442         elmo-msgdb-overview-entity-get-extra,
3443         elmo-msgdb-overview-entity-set-extra,
3444         elmo-msgdb-overview-entity-get-extra-field,
3445         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3446         (elmo-msgdb-make-index): Use
3447         `elmo-msgdb-overview-entity-get-number-internal'.
3448         (elmo-msgdb-clear-index): Ditto.
3449         (elmo-msgdb-append-entity): Ditto;
3450         Use `elmo-msgdb-overview-entity-get-id-internal'.
3451
3452         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3453         elmo-msgdb-overview-entity-set-number,
3454         elmo-msgdb-overview-entity-get-references,
3455         elmo-msgdb-overview-entity-set-references,
3456         elmo-msgdb-overview-entity-get-from-no-decode,
3457         elmo-msgdb-overview-entity-get-from,
3458         elmo-msgdb-overview-entity-set-from,
3459         elmo-msgdb-overview-entity-get-subject,
3460         elmo-msgdb-overview-entity-get-subject-no-decode,
3461         elmo-msgdb-overview-entity-set-subject,
3462         elmo-msgdb-overview-entity-get-date,
3463         elmo-msgdb-overview-entity-set-date,
3464         elmo-msgdb-overview-entity-get-to,
3465         elmo-msgdb-overview-entity-get-cc,
3466         elmo-msgdb-overview-entity-get-size,
3467         elmo-msgdb-overview-entity-set-size,
3468         elmo-msgdb-overview-entity-get-extra,
3469         elmo-msgdb-overview-entity-set-extra,
3470         elmo-msgdb-overview-entity-get-extra-field,
3471         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3472         and rewrote for backward compatibility.
3473
3474 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3475
3476         * elmo.el (elmo-message-entity-number,
3477         elmo-message-entity-set-number,
3478         elmo-message-entity-field,
3479         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3480
3481         * elmo-msgdb.el (elmo-message-entity-number,
3482         elmo-message-entity-set-number,
3483         elmo-message-entity-field,
3484         elmo-message-entity-set-field): Moved from elmo.el.
3485
3486 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3487
3488         * elmo.el (toplevel): Changed definition orders.
3489
3490 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3491
3492         * modb.el (elmo-msgdb-search): New API .
3493         (elmo-msgdb-match-condition): Ditto.
3494
3495         * modb-standard.el (elmo-msgdb-search): Define.
3496
3497         * modb-legacy.el (elmo-msgdb-search): Ditto.
3498
3499         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3500         from elmo-msgdb-match-condition-internal.
3501
3502         * elmo.el (elmo-folder-search-fast): Abolish.
3503         (elmo-folder-search): Use elmo-msgdb-search and
3504         elmo-with-progress-display.
3505
3506         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3507         as msgdb API.
3508
3509         * elmo.el (elmo-folder): Remove slot message-modified and
3510         flag-modified.
3511         (elmo-folder-set-message-modified): Abolish.
3512         (elmo-generic-folder-commit): Follow the change above.
3513         (elmo-folder-synchronize): Ditto.
3514
3515         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3516
3517         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3518
3519         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3520
3521 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3522
3523         * modb-standard.el (modb-standard-make-message-entity,
3524         elmo-msgdb-make-message-entity,
3525         elmo-msgdb-create-message-entity-from-buffer,
3526         elmo-msgdb-message-entity-number,
3527         elmo-msgdb-message-entity-set-number,
3528         elmo-msgdb-message-entity-field,
3529         elmo-msgdb-message-entity-set-field,
3530         elmo-msgdb-copy-message-entity,
3531         elmo-msgdb-match-condition-internal): Remove.
3532
3533         * modb-entity.el: New file (again).
3534
3535         * modb.el (toplevel): Require modb-entity.
3536         (elmo-msgdb-message-entity-handler): New method.
3537
3538         * modb-standard.el (modb-standard-entity-id): Use
3539         elmo-message-entity-handler.
3540         (modb-standard-load-entity): Ditto.
3541         (elmo-msgdb-append-entity): Ditto.
3542         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3543
3544         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3545         elmo-msgdb-decoded-cache-hashtb,
3546         (modb-legacy-make-message-entity,
3547         elmo-msgdb-make-message-entity,
3548         elmo-msgdb-create-message-entity-from-buffer,
3549         elmo-msgdb-message-entity-number,
3550         elmo-msgdb-message-entity-set-number,
3551         elmo-msgdb-message-entity-field,
3552         elmo-msgdb-message-entity-set-field,
3553         elmo-msgdb-copy-message-entity,
3554         elmo-msgdb-match-condition-internal,
3555         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3556
3557         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3558         (elmo-message-entity-set-number): Ditto.
3559         (elmo-message-entity-field): Ditto.
3560         (elmo-message-entity-set-field): Ditto.
3561
3562         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3563
3564         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3565
3566         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3567
3568         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3569         (elmo-nntp-msgdb-create-message): Ditto.
3570
3571         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3572         (elmo-folder-msgdb-create): Add unread flag.
3573
3574         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3575
3576         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3577
3578         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3579
3580         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3581
3582         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3583         elmo-msgdb-messge-entity-handler.
3584         * elmo-version.el (elmo-version): Up to 2.11.17.
3585
3586 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3587
3588         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3589         change.
3590
3591 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3592
3593         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3594
3595         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3596         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3597         (elmo-msgdb-flag-table): Ditto.
3598         (elmo-msgdb-sort-by-date): Ditto.
3599
3600         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3601
3602         * modb-standard.el (toplevel): Require mime.
3603         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3604         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3605         elmo-msgdb-message-entity-number.
3606         (elmo-msgdb-append-entity): Ditto.
3607         (elmo-msgdb-create-message-entity-from-file): Remove.
3608         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3609         corresponds to the entity.
3610         (elmo-msgdb-message-entity-number): Do nothing currently.
3611         (elmo-msgdb-message-entity-field): Ditto.
3612         (elmo-msgdb-message-entity-set-field): Ditto.
3613         (elmo-msgdb-copy-message-entity): Ditto.
3614         (elmo-msgdb-match-condition-internal): Ditto.
3615
3616         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3617         elmo-util.el.
3618         (elmo-msgdb-create-message-entity-from-file): Remove.
3619
3620         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3621         modb-legacy.el.
3622         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3623
3624         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3625
3626 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3627
3628         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3629         (elmo-msgdb-message-entity-field): Ditto.
3630         (elmo-msgdb-message-entity-number): Ditto.
3631
3632 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3633
3634         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3635         Fixed how to set extra field into entity.
3636         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3637         symbol.
3638
3639         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3640         Fixed how to set extra field into entity.
3641         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3642         symbol.
3643
3644 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3645
3646         * modb.el (elmo-message-entity-db): New function.
3647         (elmo-msgdb-make-message-entity): New API.
3648         (elmo-msgdb-message-entity-number): Ditto.
3649         (elmo-msgdb-message-entity-set-number): Ditto.
3650         (elmo-msgdb-message-entity-field): Ditto.
3651         (elmo-msgdb-message-entity-set-field): Ditto.
3652         (elmo-msgdb-copy-message-entity): Ditto.
3653         (elmo-msgdb-create-message-entity-from-file): Ditto.
3654         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3655         (elmo-msgdb-match-condition-internal): Ditto.
3656
3657         * modb-standard.el (modb-legacy): Require modb-legacy.
3658         (modb-standard-make-message-entity): New inline function.
3659         (elmo-msgdb-make-message-entity): Define.
3660         (elmo-msgdb-create-message-entity-from-file): Ditto.
3661         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3662         (elmo-msgdb-message-entity-field): Ditto.
3663         (elmo-msgdb-message-entity-set-field): Ditto.
3664         (elmo-msgdb-copy-message-entity): Ditto.
3665         (elmo-msgdb-match-condition-internal): Ditto.
3666
3667         * modb-legacy.el: Don't require modb-entity.
3668         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3669         (elmo-msgdb-match-condition-primitive): Ditto.
3670         (elmo-msgdb-get-decoded-cache): Ditto.
3671         (elmo-msgdb-overview-entity-get-id): Ditto.
3672         (elmo-msgdb-overview-entity-get-number): Ditto.
3673         (elmo-msgdb-overview-entity-set-number): Ditto.
3674         (elmo-msgdb-overview-entity-get-references): Ditto.
3675         (elmo-msgdb-overview-entity-set-references): Ditto.
3676         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3677         (elmo-msgdb-overview-entity-get-from): Ditto.
3678         (elmo-msgdb-overview-entity-set-from): Ditto.
3679         (elmo-msgdb-overview-entity-get-subject): Ditto.
3680         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3681         (elmo-msgdb-overview-entity-set-subject): Ditto.
3682         (elmo-msgdb-overview-entity-get-date): Ditto.
3683         (elmo-msgdb-overview-entity-set-date): Ditto.
3684         (elmo-msgdb-overview-entity-get-to): Ditto.
3685         (elmo-msgdb-overview-entity-get-cc): Ditto.
3686         (elmo-msgdb-overview-entity-get-size): Ditto.
3687         (elmo-msgdb-overview-entity-set-size): Ditto.
3688         (elmo-msgdb-overview-entity-get-extra): Ditto.
3689         (elmo-msgdb-overview-entity-set-extra): Ditto.
3690         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3691         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3692         (elmo-msgdb-number-load): Ditto.
3693         (elmo-msgdb-overview-load): Ditto.
3694         (elmo-msgdb-mark-load): Ditto.
3695         (elmo-msgdb-number-save): Ditto.
3696         (elmo-msgdb-mark-save): Ditto.
3697         (elmo-msgdb-overview-save): Ditto.
3698         (modb-legacy-make-message-entity): New inline function.
3699         (elmo-msgdb-insert-file-header): Ditto.
3700         (elmo-msgdb-make-message-entity): Define.
3701         (elmo-msgdb-create-message-entity-from-file): Ditto.
3702         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3703         (elmo-msgdb-message-entity-number): Ditto.
3704         (elmo-msgdb-message-entity-set-number): Ditto.
3705         (elmo-msgdb-message-entity-field): Ditto.
3706         (elmo-msgdb-message-entity-set-field): Ditto.
3707         (elmo-msgdb-copy-message-entity): Ditto.
3708         (elmo-msgdb-match-condition-internal): Ditto.
3709
3710         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3711         (elmo-message-copy-entity): Rewrite.
3712         (elmo-message-entity-number): Ditto.
3713         (elmo-message-entity-set-number): Ditto.
3714         (elmo-message-entity-field): Use elmo-message-entity-db.
3715         (elmo-message-entity-set-field): Ditto.
3716         (elmo-message-field): Rewrite.
3717
3718         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3719         elmo-msgdb.el
3720         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3721
3722         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3723         elmo-message-entity-field.
3724         (elmo-shimbun-folder-shimbun-header): Ditto.
3725         (elmo-shimbun-entity-to-header): Ditto.
3726         (elmo-folder-msgdb-create): Ditto.
3727         (elmo-shimbun-msgdb-create-entity): Ditto;
3728         Use elmo-msgdb-create-message-entity-from-buffer.
3729         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3730         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3731
3732         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3733         elmo-msgdb-create-message-entity-from-file and 
3734         elmo-message-entity-field.
3735
3736         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3737         elmo-message-entity-number.
3738         (elmo-pop3-msgdb-create-message): Use
3739         elmo-msgdb-create-message-entity-from-buffer,
3740         elmo-message-entity-set-field, elmo-message-entity-number and
3741         elmo-message-entity-set-number.
3742
3743         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3744         the API change in elmo-msgdb-make-message-entity.
3745         (elmo-nntp-msgdb-create-message): Use
3746         elmo-msgdb-create-message-entity-from-buffer.
3747
3748         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3749         elmo-message-entity-field and
3750         elmo-msgdb-create-message-entity-from-file.
3751
3752         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3753         (elmo-msgdb-get-field): Abolish.
3754         (elmo-msgdb-get-number): Rewrite.
3755         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3756         (elmo-msgdb-flag-table): Ditto.
3757         (elmo-msgdb-get-last-message-id,
3758         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3759         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3760         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3761         (elmo-msgdb-create-overview-from-buffer,
3762         elmo-msgdb-overview-get-parent-entity): Abolish.
3763
3764         * elmo-mime.el (elmo-mime-display-as-is): Use
3765         elmo-message-entity-field.
3766
3767         * elmo-map.el (elmo-folder-pack-numbers): Use
3768         elmo-message-entity-set-number.
3769
3770         * elmo-maildir.el (elmo-folder-msgdb-create): 
3771         elmo-msgdb-create-message-entity-from-file instead of
3772         elmo-msgdb-create-overview-entity-from-file.
3773
3774         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3775         msgdb.
3776         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3777         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3778
3779         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3780         elmo-messge-entity-field and elmo-message-entity-number.
3781         (elmo-imap4-fetch-callback-1): Call
3782         elmo-msgdb-create-message-entity-from-buffer instead of
3783         elmo-msgdb-create-overview-from-buffer. 
3784         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3785         (elmo-find-fetch-strategy): Likewise.
3786
3787         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3788         elmo-localdir-msgdb-create-entity with argument msgdb.
3789
3790         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3791         and elmo-message-entity-set-number.
3792
3793         * elmo-cache.el (elmo-folder-msgdb-create): Use
3794         elmo-message-entity-field.
3795         (elmo-folder-msgdb-create): Call
3796         elmo-msgdb-create-message-entity-from-file instead of
3797         elmo-msgdb-create-overview-entity-from-file.
3798
3799         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3800         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3801         instead of elmo-msgdb-create-overview-from-buffer.
3802         (elmo-archive-msgdb-create-entity): Ditto.
3803         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3804         elmo-message-entity-field.
3805         (elmo-archive-parse-mmdf): Ditto.
3806
3807         * modb-entity.el: Removed.
3808
3809         * elmo-version.el (elmo-version): Up to 2.11.16.
3810
3811 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3812
3813         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3814         `is-local'.
3815         (elmo-folder-flag-as-answered): Ditto.
3816
3817 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3818
3819         * modb-standard.el: New file.
3820
3821         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3822         elmo-msgdb-convert-type is `sync'.
3823
3824         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3825         (elmo-msgdb-convert-type): New user option.
3826
3827         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3828         (elmo-load-msgdb): Auto detect saved type.
3829
3830         * elmo-version.el (elmo-version): Up to 2.11.15.
3831
3832 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3833
3834         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3835
3836         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3837         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3838         with argument `delete-if-none' when dst-folder is 'null.
3839
3840         * elmo-flag.el (elmo-folder-append-messages): Defined.
3841         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3842
3843 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3844
3845         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3846
3847 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3848
3849         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3850         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3851         (elmo-folder-commit): Ditto.
3852
3853 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3854
3855         * elmo-flag.el: New file.
3856
3857         * elmo-mark.el: Removed.
3858
3859         * modb-legacy.el (modb-legacy-new-mark,
3860         modb-legacy-unread-uncached-mark,
3861         modb-legacy-unread-cached-mark,
3862         modb-legacy-read-uncached-mark,
3863         modb-legacy-answered-cached-mark,
3864         modb-legacy-answered-uncached-mark,
3865         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3866         All other related portions are changed.
3867
3868         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3869         (elmo-folder-list-messages-with-global-mark): Abolish.
3870         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3871         (elmo-folder-flag-as-important): Ditto.
3872         (elmo-folder-unflag-read): Ditto.
3873         (elmo-folder-flag-as-read): Ditto.
3874         (elmo-folder-unflag-answered): Ditto.
3875         (elmo-folder-flag-as-answered): Ditto.
3876         (elmo-message-encache): Return the cache path.
3877         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3878         (elmo-message-set-flag): Transitional implementation.
3879         (elmo-message-unset-flag): Ditto.
3880         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3881         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3882         (elmo-init): Call elmo-global-flag-initialize.
3883         (toplevel): Added autoload settings for elmo-flag.
3884
3885         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3886
3887         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3888         (elmo-file-cache-delete): Don't treat global-mark.
3889
3890         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3891
3892         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3893
3894         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3895         `elmo-global-flags-set'.
3896
3897         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3898         `flag'.
3899         (elmo-folder-unflag-read): Ditto.
3900         (elmo-folder-unflag-important): Ditto.
3901         (elmo-folder-flag-as-important): Ditto.
3902         (elmo-folder-unflag-answered): Ditto.
3903         (elmo-folder-flag-as-answered): Ditto.
3904
3905         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3906         `elmo-global-flags-set'.
3907         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3908
3909         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3910
3911         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3912         `flag'.
3913         (elmo-folder-flag-as-important): Ditto.
3914         (elmo-folder-unflag-important): Ditto.
3915         (elmo-folder-flag-as-important): Ditto.
3916         (elmo-folder-unflag-read): Ditto.
3917         (elmo-folder-flag-as-read): Ditto.
3918         (elmo-folder-unflag-answered): Ditto.
3919         (elmo-folder-flag-as-answered): Ditto.
3920
3921         * elmo-multi.el (elmo-folder-list-importants): Don't call
3922         elmo-folder-list-messages-with-global-mark.
3923         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3924         (elmo-folder-unflag-important): Ditto.
3925         (elmo-folder-flag-as-read): Ditto.
3926         (elmo-folder-unflag-read): Ditto.
3927         (elmo-folder-flag-as-answered): Ditto.
3928         (elmo-folder-unflag-answered): Ditto.
3929
3930         * elmo-msgdb.el (elmo-msgdb-new-mark,
3931         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3932         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3933         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3934         (Moved to modb-legacy.el).
3935         (elmo-flag-table-get): Treat important flag too.
3936
3937         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3938         `mark' to `flag'.
3939         (elmo-map-folder-flag-as-important): Ditto.
3940         (elmo-map-folder-unflag-read): Ditto.
3941         (elmo-map-folder-flag-as-read): Ditto.
3942         (elmo-map-folder-unflag-answered): Ditto.
3943         (elmo-map-folder-flag-as-answered): Ditto.
3944         (elmo-folder-unflag-important): Ditto.
3945         (elmo-folder-flag-as-important): Ditto.
3946         (elmo-folder-unflag-read): Ditto.
3947         (elmo-folder-flag-as-read): Ditto.
3948         (elmo-folder-unflag-answered): Ditto.
3949         (elmo-folder-flag-as-answered): Ditto.
3950
3951         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3952         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3953         `flag'.
3954         (elmo-map-folder-unflag-important): Ditto.
3955         (elmo-map-folder-flag-as-read): Ditto.
3956         (elmo-map-folder-unflag-read): Ditto.
3957         (elmo-map-folder-flag-as-answered): Ditto.
3958         (elmo-map-folder-unflag-answered): Ditto.
3959
3960         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3961         `elmo-global-flags-set'.
3962         (elmo-global-flags-set): Added autoload setting.
3963
3964         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3965         `flag'.
3966
3967         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3968         `elmo-msgdb-global-mark-set'.
3969         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3970         Call `elmo-global-flags-set'.
3971         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3972         `flag'.
3973         (elmo-folder-flag-as-important-plugged): Ditto.
3974         (elmo-folder-unflag-read-plugged): Ditto.
3975         (elmo-folder-flag-as-read-plugged): Ditto.
3976         (elmo-folder-unflag-answered-plugged): Ditto.
3977         (elmo-folder-flag-as-answered-plugged): Ditto.
3978         (elmo-global-flags-set): Added autoload setting.
3979
3980         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3981         `flag'.
3982         (elmo-folder-unflag-read): Ditto.
3983         (elmo-folder-flag-as-important): Ditto.
3984         (elmo-folder-unflag-important): Ditto.
3985         (elmo-folder-flag-as-answered): Ditto.
3986         (elmo-folder-unflag-answered): Ditto.
3987
3988         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3989         change of `mark'->`flag'.
3990         (elmo-dop-queue-method-name-alist): Ditto.
3991         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3992         (elmo-folder-unflag-read-dop): Ditto.
3993         (elmo-folder-flag-as-important-dop): Ditto.
3994         (elmo-folder-unflag-important-dop): Ditto.
3995         (elmo-folder-flag-as-answered-dop): Ditto.
3996         (elmo-folder-unflag-answered-dop): Ditto.
3997
3998         * elmo-cache.el (elmo-folder-msgdb-create): Call
3999         `elmo-global-flags-set'.
4000
4001         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4002         Call `elmo-global-flags-set'.
4003         (elmo-archive-msgdb-create-as-numlist-subr2): Call
4004         elmo-archive-parse-mmdf with argument `folder'.
4005         (elmo-archive-parse-mmdf): Added argument `folder';
4006         Call `elmo-global-flags-set'.
4007
4008         * elmo-version.el (elmo-version): Up to 2.11.14.
4009
4010 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4011
4012         * modb.el (elmo-msgdb-length): Define.
4013
4014         * elmo.el (elmo-make-folder): Fixed.
4015         (elmo-generic-folder-append-messages): Follow the API change.
4016
4017         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
4018         API change.
4019
4020 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4021
4022         * modb.el: New file.
4023
4024         * modb-entity.el: Ditto.
4025
4026         * modb-legacy.el: Ditto.
4027
4028         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4029         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4030         of `elmo-msgdb-overview-get-entity'.
4031         (elmo-msgdb-get-field): Ditto.
4032         (elmo-msgdb-merge): Moved to `elmo.el'.
4033         (elmo-msgdb-length): Removed; redefine as modb method.
4034         (elmo-msgdb-change-mark): Abolish.
4035         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4036         (elmo-msgdb-match-condition): Don't use mark.
4037         (elmo-msgdb-overview-get-entity): Abolish.
4038         Split modb part into `modb*.el'.
4039
4040         * elmo-vars.el (elmo-msgdb-default-type): New user option.
4041
4042         * elmo-shimbun.el (shimbun-mua-search-id): Use
4043         `elmo-msgdb-message-entity' instead of
4044         `elmo-msgdb-overview-get-entity'.
4045         (elmo-shimbun-folder-shimbun-header): Ditto.
4046         (elmo-shimbun-get-headers): Ditto.
4047         (elmo-shimbun-update-overview): Ditto.
4048
4049         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4050
4051         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4052
4053         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4054         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4055
4056         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4057         `elmo-msgdb-mark-to-flags'.
4058
4059         * elmo-map.el (elmo-folder-pack-numbers): Don't use
4060         `elmo-msgdb-set-path'.
4061
4062         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4063  
4064         * elmo-version.el (elmo-version): Up to 2.11.13.
4065
4066         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4067
4068         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4069         of mark.
4070
4071 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4072
4073         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4074         mismatch.
4075
4076 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4077
4078         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4079         instead of `elmo-msgdb-get-cached'.
4080         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4081
4082         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4083         (elmo-msgdb-set-cached): Ditto.
4084         (elmo-msgdb-set-flag): Rewrite.
4085         (elmo-msgdb-unset-flag): Ditto.
4086
4087         * elmo-msgdb.el: Rewrite with luna.
4088
4089         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4090         (elmo-folder-msgdb): Follow the change above.
4091         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4092         (elmo-folder-unmark-important): Follow the API change.
4093         (elmo-folder-mark-as-important): Ditto.
4094         (elmo-folder-unmark-read): Ditto.
4095         (elmo-folder-mark-as-read): Ditto.
4096         (elmo-folder-unmark-answered): Ditto.
4097         (elmo-folder-mark-as-answered): Ditto.
4098         (elmo-folder-clear): Likewise.
4099
4100         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4101         instead of `elmo-msgdb-load' (renamed).
4102
4103         * elmo-version.el (elmo-version): Up to 2.11.12.
4104
4105 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4106
4107         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4108         change.
4109         (elmo-message-mark): Abolish.
4110         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4111         instead of `elmo-msgdb-change-mark'.
4112
4113         * elmo-pipe.el (elmo-message-mark): Abolish.
4114
4115         * elmo-multi.el (elmo-message-mark): Ditto.
4116
4117         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4118         (elmo-msgdb-unread-uncached-mark): Ditto.
4119         (elmo-msgdb-unread-cached-mark): Ditto.
4120         (elmo-msgdb-read-uncached-mark): Ditto.
4121         (elmo-msgdb-answered-cached-mark): Ditto.
4122         (elmo-msgdb-answered-uncached-mark): Ditto.
4123         (elmo-msgdb-important-mark): Ditto.
4124         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4125         `use-cache'.
4126         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4127         `flags'.
4128         (elmo-flag-table-load): Changed flag to list of flag.
4129         (elmo-flag-table-set): If flags is nil, set read flag.
4130         (elmo-flag-table-get): Return derived flags from global mark,
4131         cache status and saved flags.
4132         (elmo-msgdb-flag-table): Follow the change above.
4133         (elmo-msgdb-out-of-date-messages): New function.
4134
4135         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4136
4137         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4138
4139         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4140
4141         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4142         (elmo-nntp-msgdb-create-message): Ditto.
4143
4144         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4145
4146         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4147         independent.
4148         (elmo-folder-msgdb-create): Follow the API change.
4149
4150         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4151         (elmo-folder-append-messages): Ditto.
4152
4153         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4154         (elmo-folder-append-buffer): Ditto.
4155
4156         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4157
4158         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4159
4160         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4161         (elmo-archive-parse-mmdf): Ditto.
4162
4163         * elmo-version.el (elmo-version): Up to 2.11.11.
4164
4165 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4166
4167         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4168         `elmo-msgdb-mark'.
4169
4170         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4171
4172         * elmo-pipe.el (elmo-message-flags): Defined.
4173
4174         * elmo-multi.el (elmo-message-flags): Ditto.
4175
4176 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4177
4178         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4179         `elmo-msgdb-delete-msgs'.
4180
4181         * elmo.el (elmo-folder-count-flags): Don't use
4182         `elmo-msgdb-get-mark-alist'.
4183         (elmo-folder-detach-messages): Follow the API change.
4184
4185         * elmo.el (elmo-folder-list-messages): Append killed messages into
4186         result if `visible-only' is nil.
4187
4188         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4189         canceled messages.
4190         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4191         (elmo-folder-update-number): Likewise.
4192
4193         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4194         (elmo-pop3-sort-msgdb-by-original-number): Use
4195         `elmo-msgdb-sort-entities'.
4196
4197         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4198         (elmo-msgdb-sort-by-date): Use it.
4199         (elmo-msgdb-overview-sort-by-date): Abolish.
4200
4201         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4202
4203         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4204         (elmo-msgdb-flags): New function.
4205         (elmo-msgdb-merge): Use elmo-msgdb-append.
4206
4207         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4208         change.
4209
4210         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4211
4212         * elmo-dop.el (elmo-folder-status-dop): Use
4213         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4214
4215 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4216
4217         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4218
4219         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4220
4221         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4222
4223         * elmo-util.el (elmo-with-progress-display): New macro.
4224
4225         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4226
4227 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4228
4229         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4230         `elmo-folder-list-message-entities' instead of
4231         `elmo-msgdb-get-overview'.
4232         (elmo-map-folder-list-message-locations): Ditto.
4233
4234         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4235         methods instead of treat directly).
4236         (elmo-msgdb-clear): Ditto.
4237         (elmo-msgdb-delete-msgs): Ditto.
4238         (elmo-msgdb-sort-by-date): Ditto.
4239
4240         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4241         local variables.
4242         (elmo-nntp-folder-msgdb-create): Follow the API change.
4243
4244         * elmo-version.el (elmo-version): Up to 2.11.10.
4245
4246 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4247
4248         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4249         (elmo-msgdb-flags-to-mark): Ditto.
4250         (elmo-msgdb-append-entity): Ditto.
4251
4252         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4253         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4254         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4255         (elmo-archive-parse-mmdf): Ditto.
4256
4257         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4258
4259         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4260
4261         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4262
4263         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4264
4265         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4266
4267         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4268
4269         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4270
4271         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4272
4273         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4274         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4275         to empty msgdb.
4276
4277         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4278         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4279         instead of directly construction.
4280         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4281         instead of construct msgdb.
4282
4283         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4284         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4285         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4286         instead of construct msgdb.
4287
4288 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4289
4290         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4291         when field is from or subject.
4292
4293 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4294
4295         * elmo-multi.el (elmo-message-entity-parent): Define.
4296         (elmo-folder-search): Rewrite.
4297
4298 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4299
4300         * elmo-multi.el (elmo-message-cached-p): Define.
4301
4302         * elmo.el (elmo-message-cached-p): New method.
4303         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4304         (elmo-message-flags): New method.
4305         (elmo-message-flagged-p): New function.
4306
4307         * elmo-version.el (elmo-version): Up to 2.11.9.
4308
4309 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4310
4311         * elmo-version.el (elmo-version): Up to 2.11.8.
4312
4313         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4314
4315         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4316
4317 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4318
4319         * elmo.el (elmo-folder-detach-messages): Undo last change.
4320
4321 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4322
4323         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4324
4325         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4326         only when src folder type is pop3.
4327
4328 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4329
4330         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4331         elmo-msgdb-overview-entity-get-number instead of
4332         elmo-message-entity-number.
4333
4334 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4335
4336         * elmo-version.el (elmo-version): Up to 2.11.7.
4337
4338 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4339
4340         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4341         function.
4342
4343         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4344         (elmo-msgdb-merge): New function.
4345         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4346         (elmo-msgdb-make-index): Rewrite.
4347
4348         * elmo-version.el (elmo-version): Up to 2.11.6.
4349
4350         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4351         use it as a the path for loading message entities.
4352
4353         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4354
4355 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4356
4357         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4358         message-modified slot of itself if it does not require target msgdb.
4359
4360         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4361         if folder length is zero.
4362         (elmo-mime-display-as-is): Ditto.
4363
4364         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4365
4366         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4367
4368 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4369
4370         * elmo.el (elmo-folder-set-message-modified): New method.
4371         (elmo-generic-folder-commit): Use it.
4372         (elmo-folder-synchronize): Ditto.
4373
4374         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4375         (elmo-folder-commit): Remove duplicate definition.
4376
4377 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4378
4379         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4380
4381 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4382
4383         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4384         (elmo-strict-folder-diff): Ditto.
4385         (elmo-folder-set-info-max-by-numdb): Simplify.
4386
4387         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4388         elmo-msgdb-list-messages.
4389
4390         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4391         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4392
4393 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4394
4395         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4396         visible-only is non-nil.
4397         (elmo-folder-confirm-appends): Changed message.
4398         (elmo-folder-synchronize): Added argument disable-killed.
4399
4400         * elmo-multi.el (elmo-folder-synchronize): Added argument
4401         disable-killed.
4402
4403         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4404
4405         * elmo-version.el (elmo-version): Up to 2.11.5.
4406
4407         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4408         elmo-list-filter.
4409
4410         * elmo-util.el (elmo-list-filter): Simplify.
4411
4412         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4413         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4414         (elmo-generic-folder-diff): Abolish argument.
4415         (elmo-msgdb-load): Don't use number-alist.
4416
4417         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4418
4419         * elmo-pipe.el (elmo-folder-diff): Ditto.
4420
4421         * elmo-nmz.el (elmo-folder-diff): Ditto.
4422
4423         * elmo-net.el (elmo-folder-diff): Ditto.
4424
4425         * elmo-maildir.el (elmo-folder-diff): Ditto.
4426
4427         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4428
4429         * elmo-multi.el (elmo-folder-diff): Ditto
4430         (elmo-multi-folder-diff): Rewrite.
4431
4432 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4433
4434         * elmo-pipe.el (elmo-folder-msgdb): Define.
4435
4436 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4437
4438         * elmo.el (elmo-message-set-cached): Define as a method.
4439
4440         * elmo-pipe.el (elmo-message-set-cached): Define.
4441         (elmo-find-fetch-strategy): Ditto.
4442
4443         * elmo-multi.el (elmo-message-set-cached): Define.
4444         (elmo-find-fetch-strategy): Rewrite.
4445
4446         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4447
4448         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4449
4450 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4451
4452         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4453         instead of number-alist.
4454
4455         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4456         mark nor message-id when msgdb of source folder is not loaded.
4457
4458         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4459
4460         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4461
4462 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4463
4464         * elmo.el (elmo-folder-length): Don't require msgdb.
4465
4466 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4467
4468         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4469         (elmo-message-field): Ditto.
4470
4471         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4472         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4473         slot.
4474         (elmo-map-folder-list-answereds): Define.
4475         (elmo-maildir-list-location): Treat 'R' info.
4476         (elmo-folder-msgdb-create): Treat flag-table.
4477         (elmo-folder-append-messages): Save flag-table.
4478
4479 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4480
4481         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4482         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4483
4484 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4485
4486         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4487
4488         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4489         'read when mark is null.
4490
4491 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4492
4493         * elmo-version.el (elmo-version): Up to 2.11.4.
4494
4495 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4496
4497         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4498         (elmo-folder-mark-as-answered): Ditto.
4499
4500 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4501
4502         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4503         (elmo-pop3-get-session): Make msgdb directory after session.
4504         (elmo-folder-exists-p): Check exactly at the first time even when the
4505         elmo-pop3-exists-exactly is nil.
4506
4507         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4508         (elmo-folder-list-messages): Define instead of
4509         elmo-folder-list-messages-internal.
4510         (elmo-folder-check): Check destination folder.
4511         (elmo-folder-synchronize): Drain the pipe.
4512
4513         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4514         when msgdb is not loaded.
4515
4516         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4517
4518         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4519         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4520         messages.
4521
4522         * elmo.el (elmo-folder-kill-messages-before): New function.
4523         (elmo-folder-kill-messages): Ditto.
4524         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4525
4526         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4527         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4528         killed not by synchronize (e.g. scoring).
4529
4530 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4531
4532         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4533         treated.
4534         (elmo-folder-search): Follow the change above.
4535
4536         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4537         into the candidates of search field.
4538
4539 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4540
4541         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4542         (elmo-msgdb-unset-flag): Ditto.
4543
4544         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4545
4546 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4547
4548         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4549         (elmo-folder-commit): Define.
4550         (elmo-folder-synchronize): Ditto.
4551         (elmo-folder-list-flagged): Ditto.
4552         (elmo-folder-commit): Ditto.
4553         (elmo-folder-length): Ditto.
4554         (elmo-folder-count-flags): Ditto.
4555         (elmo-message-mark): Ditto.
4556         (elmo-message-field): Ditto.
4557         (elmo-message-entity): Ditto.
4558         (elmo-message-folder): Ditto.
4559
4560 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4561
4562         * elmo.el (elmo-message-field): Define as a method.
4563
4564         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4565         (elmo-message-field): Define.
4566
4567         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4568         (elmo-folder-list-importants): Ditto.
4569         (elmo-folder-list-answereds): Ditto.
4570
4571         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4572         qualifier.
4573         (elmo-folder-mark-as-read): Ditto.
4574         (elmo-folder-unmark-read): Ditto.
4575         (elmo-folder-mark-as-answered): Ditto.
4576         (elmo-folder-unmark-answered): Ditto.
4577         (elmo-folder-list-flagged): Define.
4578         (elmo-folder-commit): Ditto.
4579         (elmo-folder-length): Ditto.
4580         (elmo-folder-count-flags): Ditto.
4581
4582 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4583
4584         * elmo.el (elmo-folder-detach-messages): New method.
4585         (elmo-folder-move-messages): Use it.
4586         (elmo-folder-synchronize): Ditto.
4587
4588         * elmo-multi.el (elmo-folder-detach-messages): Define.
4589
4590         * elmo.el (elmo-message-copy-entity): New function.
4591         (elmo-message-entity-set-number): Ditto.
4592         (elmo-message-mark): Define as method.
4593
4594         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4595         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4596         (elmo-message-entity): Fixed last change.
4597         (elmo-message-mark): Define.
4598         (elmo-folder-msgdb-create): Abolish.
4599         (elmo-multi-folder-append-msgdb): Ditto.
4600         (elmo-multi-folder-diff): Fixed.
4601         (elmo-multi-split-number-alist): Removed.
4602         (elmo-multi-split-mark-alist): Removed.
4603         (elmo-folder-list-messages): Define.
4604         (elmo-folder-list-messages-internal): Removed.
4605
4606         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4607         local file messages.
4608         (elmo-folder-msgdb-create): Fixed read mark.
4609
4610 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4611
4612         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4613         if mark is nil.
4614
4615 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4616
4617         * elmo.el (elmo-folder-list-message-entities): Define as inline
4618         function.
4619         (elmo-folder-messages): Abolish.
4620
4621         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4622         folder.
4623         (elmo-folder-synchronize): Define.
4624         (elmo-message-entity): Define.
4625
4626 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4627
4628         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4629         elmo-imap4-session-select-mailbox.
4630
4631         * elmo.el (elmo-folder-move-messages): Don't display any message.
4632
4633         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4634         parsing.
4635         (elmo-imap4-session-check): Don't wait CHECK response.
4636         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4637
4638 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4639
4640         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4641
4642 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4643
4644         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4645         API.
4646         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4647
4648
4649         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4650         (elmo-folder-list-message-entities): Added argument in-msgdb and
4651         numbers.
4652         (elmo-folder-synchronize): Define as a method.
4653
4654         * elmo-nntp.el (elmo-folder-initialize): Don't use
4655         elmo-nntp-default-user if zero-length username is specified
4656         explicitly.
4657
4658 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4659
4660         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4661         server name in case with username.
4662         (XXX: this is ad-hoc fix against username includes "@", it
4663         should be solved fundamentally)
4664
4665 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4666
4667         * elmo-nntp.el (elmo-nntp-debug): New function.
4668         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4669         (elmo-network-authenticate-session): Hide auth-info from the log.
4670
4671         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4672         user name if it is equal to elmo-nntp-default-user.
4673
4674 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4675
4676         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4677         instead of shimbun-server-internal;
4678         Use shimbun-current-group instead of shimbun-current-group-internal.
4679         (elmo-folder-plugged-p): Use shimbun-server instead of
4680         shimbun-server-internal.
4681         (elmo-folder-set-plugged): Ditto.
4682         (elmo-net-port-info): Ditto.
4683         (elmo-folder-check): Ditto.
4684         (elmo-folder-expand-msgdb-path): Ditto.
4685         (elmo-folder-list-subfolders): Ditto.
4686
4687 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4688
4689         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4690         Convert field-name to lower case.
4691         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4692
4693 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4694
4695         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4696         `message' and `error' take format string.
4697
4698 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4699
4700         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4701
4702 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4703
4704         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4705         recursive call (can't byte compile on emacs 20.7).
4706
4707 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4708
4709         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4710         (elmo-folder-list-message-entities): New API.
4711         (elmo-message-entity): Ditto.
4712         (elmo-message-entity-parent): Ditto.
4713         (elmo-folder-do-each-message-entity): Ditto.
4714         (elmo-message-entity-number): Ditto.
4715         (elmo-message-entity-field): Ditto.
4716         (elmo-message-entity-set-field): Ditto.
4717         (elmo-folder-count-flags): Ditto.
4718         (elmo-folder-length): Ditto.
4719
4720         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4721         not.
4722
4723         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4724         (elmo-msgdb-count-marks): Abolish.
4725         (elmo-msgdb-make-entity): Ditto.
4726         (elmo-msgdb-do-each-entity): Ditto.
4727         (elmo-msgdb-message-entity): New inline function.
4728         (elmo-msgdb-message-entity-field): Ditto.
4729         (elmo-msgdb-message-entity-set-field): Ditto.
4730         (elmo-msgdb-make-message-entity): New function.
4731
4732 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4733
4734         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4735         to flag. (All other related portions are changed.)
4736         (elmo-folder-msgdb-create): Likewise.
4737         (elmo-generic-folder-append-messages): Use flag-table instead of
4738         seen-list.
4739         (elmo-folder-move-messages): Removed redundant process.
4740         (elmo-folder-synchronize): Likewise.
4741
4742         * elmo-msgdb.el (elmo-flag-table-get): New function.
4743         (elmo-flag-table-save): Fixed.
4744         (elmo-msgdb-length): New inline function.
4745         (elmo-msgdb-flag-table): New function.
4746         (elmo-msgdb-mark): Add optional argument new.
4747         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4748         (elmo-msgdb-seen-list): Ditto.
4749         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4750
4751
4752 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4753
4754         * elmo.el (elmo-message-set-mark): Abolish.
4755         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4756         (All related portions are changed.)
4757
4758         * elmo-msgdb.el (toplevel): Added comment.
4759         (elmo-load-msgdb): Added 4th element `path'.
4760         (elmo-msgdb-append): Follow the change above.
4761         (elmo-msgdb-clear): Ditto.
4762         (elmo-msgdb-delete-msgs): Ditto.
4763         (elmo-msgdb-get-path): New inline function.
4764         (elmo-msgdb-set-path): Ditto.
4765         (elmo-flag-table-filename): New variable.
4766         (elmo-flag-table-load): New function.
4767         (elmo-flag-table-set): Ditto.
4768         (elmo-flag-table-save): Ditto.
4769         (elmo-msgdb-get-field-value): Abolish.
4770         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4771
4772 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4773
4774         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4775         the folder has been deleted successfully.
4776         * elmo-imap4.el (elmo-folder-delete): Ditto.
4777         * elmo-archive.el (elmo-folder-delete): Ditto.
4778         * elmo-localdir.el (elmo-folder-delete): Ditto.
4779         * elmo-maildir.el (elmo-folder-delete): Ditto.
4780
4781 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4782
4783         * elmo-util.el (elmo-string-member-ignore-case): New function.
4784         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4785         (elmo-imap4-fetch-callback-1-subr): Likewise.
4786
4787 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4788
4789         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4790         the case of the name attribute "\Noselect".
4791
4792 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4793
4794         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4795
4796         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4797         flist, is not always a member of onum-alist.
4798
4799 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4800
4801         * elmo-version.el (elmo-version): Up to 2.11.3.
4802
4803 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4804
4805         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4806         copied from localdir's one.
4807
4808         * elmo-pipe.el (elmo-folder-rename): New method, rename
4809         destination folder with leaving source folder as it is.
4810
4811 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4812
4813         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4814         replace-regexp.
4815
4816 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4817
4818         * elmo-version.el (elmo-version): Up to 2.11.2.
4819
4820 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4821
4822         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4823         shimbun-open in case of "@".
4824         (elmo-folder-open-internal): Cope with shimbun = nil case.
4825         (elmo-folder-plugged-p): Ditto.
4826         (elmo-folder-list-subfolders): Make list for "@/" group.
4827
4828 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4829
4830         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4831         mailbox (e.g. for %~/something).
4832
4833 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4834
4835         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4836         Replace nested conditional with guard clauses.
4837
4838 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4839
4840         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4841         error [wl:11327].
4842
4843         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4844         print-depth.
4845
4846 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4847
4848         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4849         Replace nested conditional with guard clauses.
4850
4851 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4852
4853         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4854         (elmo-passwd-alist-save): Ditto.
4855         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4856
4857 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4858
4859         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4860         dir-name only if it is absolute path.
4861         (TODO: distinguish +/something and +something)
4862
4863 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4864
4865         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4866         path for "+~/something".
4867
4868 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4869
4870         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4871         as non-directory, cause error before rename-file.
4872         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4873         apropriately, mimic localdir's one.
4874         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4875
4876 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4877
4878         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4879
4880 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4881
4882         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4883
4884         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4885         
4886         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4887         is included in the global-mark or not.
4888
4889 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4890
4891         * utf7.el (toplevel): Avoid error when the function
4892         find-coding-system does not exist.
4893
4894 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4895
4896         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4897         cache even if the folder is plugged.
4898         (elmo-nntp-search-primitive): Do nothing when body search is
4899         invoked (although it is not used by the change above).
4900         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4901
4902 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4903
4904         * elmo-version.el (elmo-version): Up to 2.11.1.
4905
4906 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4907
4908         * elmo-archive.el: Specify charset.
4909
4910 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4911
4912         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4913         process buffer lives or not.
4914
4915         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4916         while flushing queues (It causes infinite loop).
4917
4918 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4919
4920         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4921
4922 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4923
4924         * utf7.el (toplevel): Check the ucs features dynamically.
4925         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4926
4927         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4928         folder is creatabe or not if it already exists.
4929
4930 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4931
4932         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4933
4934         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4935
4936         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4937         (elmo-imap4-read-response): Take care of garbage response.
4938
4939 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4940
4941         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4942         just return nil instead of error.
4943
4944 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4945
4946         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4947         search-key is "body".
4948
4949 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4950
4951         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4952         of elmo-string-matched-assoc to use match-data.
4953         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4954
4955 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4956
4957         * elmo-split.el (elmo-split->): New function.
4958         (elmo-split-<): Ditto.
4959
4960 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4961
4962         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4963         workaround for invalid message-id.
4964
4965 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4966
4967         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4968         return normal pop3 session or pop3 biff session.
4969
4970 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4971
4972         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4973         info part to the cur files when the new files already have it.
4974         (Adviced by Jared Rhine <jared@wordzoo.com>)
4975
4976 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4977
4978         * elmo-split.el (elmo-split-default-action): New variable.
4979         (elmo-split-subr): Use it if all other conditions are passed.
4980         Extend `fname' and rename it as `action'. (implemented
4981         Teranishi-san's idea in [wl:10800])
4982
4983 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4984
4985         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4986         * elmo-util.el: Ditto.
4987
4988 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4989
4990         * elmo.el (elmo-message-accessible-p): Renamed from
4991         elmo-message-cached-p and rewritten.
4992
4993 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4994
4995         * elmo.el (elmo-folder-list-flagged): New generic function.
4996         (elmo-folder-list-importants): New implementation.
4997         (elmo-folder-list-answereds): Ditto.
4998         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4999         Added 'digest'.
5000         (elmo-message-cached-p): New function.
5001         (elmo-message-set-flag): Ditto (no content).
5002         (elmo-message-unset-flag): Ditto.
5003         (elmo-folder-list-messages-mark-match): Abolish.
5004
5005         * elmo-util.el (elmo-regexp-opt): New function.
5006
5007         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
5008         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
5009         Added 'digest'.
5010         (elmo-msgdb-list-flagged): New function.
5011
5012         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
5013         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
5014         Added 'digest'.
5015
5016         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
5017
5018 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
5019
5020         * elmo-version.el (elmo-version): Up to 2.11.0.
5021
5022 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5023
5024         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5025         `elmo-file-cache-exists-p'; use proper mark that depends on
5026         `use-cache'.
5027         (elmo-msgdb-unset-flag): Ditto.
5028         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5029
5030         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5031         with 4th argument `use-cache'.
5032
5033 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
5034
5035         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5036         (elmo-folder-mark-as-important): Ditto.
5037         (elmo-folder-unmark-read): Ditto.
5038         (elmo-folder-mark-as-read): Ditto.
5039         (elmo-folder-unmark-answered): Ditto.
5040         (elmo-folder-mark-as-answered): Ditto.
5041
5042         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5043         message status.
5044         (elmo-msgdb-mark): Likewise.
5045         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5046         (elmo-msgdb-unset-flag): Likewise.
5047
5048         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5049
5050 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5051
5052         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5053         `last:' filter.
5054
5055 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5056
5057         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5058         set spool-length to 0.
5059
5060 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5061
5062         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5063         (elmo-dop-queue-flush): Fixed last change.
5064
5065 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5066
5067         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5068         if require-msgdb slot is nil.
5069         (elmo-folder-list-importants): Likewise.
5070
5071 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5072
5073         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5074         mark is changed.
5075
5076         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5077         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5078         is changed.
5079
5080 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5081
5082         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5083
5084 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
5085
5086         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5087
5088         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5089
5090 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5091
5092         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5093         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5094
5095 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5096
5097         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5098         the problem reported by Sean Rima [wl-en:180].
5099
5100 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5101
5102         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5103
5104         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5105
5106         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5107
5108         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5109
5110         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5111
5112         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5113
5114         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5115
5116 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5117
5118         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5119         status number.
5120
5121 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5122
5123         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5124         (elmo-folder-mark-as-read): Follow the API change.
5125         (elmo-message-set-cached): New function.
5126
5127         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5128
5129         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5130
5131         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5132         (elmo-folder-mark-as-important): Ditto.
5133         (elmo-folder-unmark-read): Ditto.
5134         (elmo-folder-mark-as-read): Ditto.
5135         (elmo-folder-unmark-answered): Ditto.
5136         (elmo-folder-mark-as-answered): Ditto.
5137
5138         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5139         (elmo-folder-unmark-important): Ditto.
5140         (elmo-folder-mark-as-read): Ditto.
5141         (elmo-folder-unmark-read): Ditto.
5142         (elmo-folder-mark-as-answered): Ditto.
5143         (elmo-folder-unmark-answered): Ditto.
5144
5145         * elmo-mark.el (toplevel): Removed some mark method definitions.
5146
5147         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5148         (elmo-map-folder-mark-as-answered): Ditto.
5149         (elmo-folder-unmark-important): Add :before qualifier.
5150         (elmo-folder-mark-as-important): Ditto.
5151         (elmo-folder-unmark-read): Ditto.
5152         (elmo-folder-mark-as-read): Ditto.
5153         (elmo-folder-unmark-answered): Define.
5154         (elmo-folder-mark-as-answered): Ditto.
5155
5156         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5157         (elmo-map-folder-unmark-answered): Ditto.
5158
5159         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5160
5161         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5162         (elmo-folder-mark-as-important): Ditto.
5163         (elmo-folder-unmark-read): Ditto.
5164         (elmo-folder-mark-as-read): Ditto.
5165         (elmo-folder-unmark-answered): Ditto.
5166         (elmo-folder-mark-as-answered): Ditto.
5167
5168         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5169         `mark'; evaluate mark condition.
5170         (elmo-msgdb-match-condition-internal): New function.
5171         (elmo-msgdb-match-condition): Call it; changed argument.
5172
5173         * elmo.el (elmo-folder-search): Follow the API change on
5174         `elmo-msgdb-match-condition'.
5175
5176 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5177
5178         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5179         original mark is non-nil.
5180
5181 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5182
5183         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5184         (elmo-map-folder-list-answereds): New method.
5185         (elmo-folder-list-unreads): Add :around qualifier.
5186         (elmo-folder-list-importants): Ditto.
5187         (elmo-folder-list-answereds): Ditto.
5188
5189 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5190
5191         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5192
5193         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5194         method if msgdb is not required.
5195         (elmo-filter-folder-list-importants): Don't treat global-mark.
5196
5197         * elmo.el (elmo-folder-list-importants): Ditto.
5198
5199         * elmo-net.el (elmo-folder-list-importants): Ditto.
5200
5201         * elmo-map.el (elmo-folder-list-importants): Ditto.
5202
5203         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5204
5205         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5206         (elmo-imap4-folder-list-any-plugged): New function.
5207         (elmo-imap4-search-internal-primitive): Use it.
5208
5209         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5210         only when require-msgdb slot is non-nil.
5211         (elmo-folder-close): Clear target folder's msgdb.
5212
5213 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5214
5215         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5216         (elmo-pop3-msgdb-create-by-header): Ditto.
5217         (elmo-pop3-msgdb-create-message): Ditto.
5218
5219         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5220
5221         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5222
5223         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5224
5225         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5226         (elmo-folder-msgdb-create): Ditto.
5227         (elmo-nntp-folder-msgdb-create): Ditto.
5228         (elmo-nntp-msgdb-create-by-header): Ditto.
5229         (elmo-nntp-msgdb-create-message): Ditto.
5230         (elmo-folder-list-unreads): Define.
5231
5232         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5233         (elmo-folder-append-messages): Ditto.
5234         (elmo-folder-list-unreads): Define.
5235         (elmo-folder-list-importants): Ditto.
5236         (elmo-folder-list-answereds): Ditto.
5237
5238         * elmo-net.el (elmo-folder-list-unreads): Define.
5239         (elmo-folder-list-importants): Ditto.
5240         (elmo-folder-list-answereds): Ditto.
5241         (elmo-folder-list-answereds-plugged): Ditto.
5242         (elmo-folder-msgdb-create): Follow the API change.
5243         (elmo-folder-msgdb-create-unplugged): Ditto.
5244         (elmo-folder-unmark-answered): Define.
5245         (elmo-folder-mark-as-answered-unplugged): Ditto.
5246         (elmo-folder-unmark-answered-unplugged): Ditto.
5247
5248         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5249         (elmo-msgdb-unread-uncached-mark): Ditto.
5250         (elmo-msgdb-unread-cached-mark): Ditto.
5251         (elmo-msgdb-read-uncached-mark): Ditto.
5252         (elmo-msgdb-answered-cached-mark): Ditto.
5253         (elmo-msgdb-answered-uncached-mark): Ditto.
5254         (elmo-msgdb-important-mark): Ditto.
5255         (elmo-msgdb-set-mark): Rewrite.
5256         (elmo-msgdb-count-marks): Rewrite.
5257         (elmo-msgdb-mark-alist-set): Abolish.
5258         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5259         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5260
5261         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5262         (elmo-folder-close): Define.
5263         (elmo-folder-msgdb-create): Follow the API change.
5264         (elmo-folder-list-unreads): Rewrite.
5265         (elmo-folder-mark-as-important): Ditto.
5266         (elmo-folder-unmark-important): Ditto.
5267         (elmo-folder-mark-as-read): Ditto.
5268         (elmo-folder-unmark-read): Ditto.
5269         (elmo-folder-mark-as-answered): Define.
5270         (elmo-folder-unmark-answered): Ditto.
5271
5272         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5273         (elmo-folder-append-messages): Ditto.
5274
5275         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5276
5277         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5278         (elmo-folder-list-importants): Ditto.
5279
5280         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5281         (elmo-folder-append-messages): Ditto.
5282
5283         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5284         change.
5285         (elmo-folder-msgdb-create-plugged): Ditto.
5286         (elmo-folder-append-messages): Ditto.
5287         (elmo-folder-list-answereds-plugged): Define.
5288         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5289         (elmo-folder-unmark-answered-plugged): Define.
5290         (elmo-folder-mark-as-answered-plugged): Ditto.
5291         (elmo-folder-search-requires-msgdb-p): Ditto.
5292
5293         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5294         (elmo-folder-initialize): Set it.
5295         (elmo-folder-msgdb): Define.
5296         (elmo-folder-check): Call elmo-folder-synchronize.
5297         (elmo-folder-close): Define.
5298         (elmo-folder-commit): Ditto.
5299         (elmo-folder-msgdb-create): Rewrite.
5300         (elmo-folder-list-unreads): Ditto.
5301         (elmo-folder-list-importants): Ditto.
5302         (elmo-folder-mark-as-read): Ditto.
5303         (elmo-folder-unmark-read): Ditto.
5304         (elmo-folder-mark-as-important): Ditto.
5305         (elmo-folder-unmark-important): Ditto.
5306         (elmo-folder-mark-as-answered): Define.
5307         (elmo-folder-unmark-answered): Ditto.
5308
5309         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5310         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5311         (elmo-dop-queue-method-name-alist): Likewise.
5312         (elmo-folder-mark-as-answered-dop): New inline function.
5313         (elmo-folder-unmark-answered-dop): Ditto.
5314         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5315
5316         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5317         (elmo-folder-msgdb-create): Ditto.
5318         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5319         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5320         (elmo-archive-parse-mmdf): Ditto.
5321
5322         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5323         (elmo-folder-list-unreads-internal): Ditto.
5324
5325         * elmo.el (elmo-folder-msgdb): Define as generic function.
5326         (elmo-folder-list-messages): Added argument `in-msgdb'.
5327         (elmo-folder-list-unreads): Define as generic function.
5328         (elmo-folder-list-importants): Ditto.
5329         (elmo-folder-list-answereds): Ditto.
5330         (elmo-folder-list-messages-with-global-mark): New function.
5331         (elmo-folder-msgdb-create): Removed mark arguments.
5332         (elmo-folder-unmark-answered): New generic function.
5333         (elmo-folder-mark-as-answered): Ditto.
5334         (elmo-folder-append-messages): Removed argunment `unread-marks'
5335         (elmo-folder-list-unreads-internal): Abolish.
5336         (elmo-folder-list-importants-internal): Ditto.
5337         (elmo-folder-search-requires-msgdb-p): New generic function.
5338         (elmo-folder-search-requires-msgdb-p-internal): New function.
5339         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5340         elmo-msgdb-load.
5341         (elmo-folder-search-fast): Added key 'mark'.
5342         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5343         instead of unread-marks argument.
5344         (elmo-folder-move-messages): Removed argunment `unread-marks'
5345         (elmo-folder-unmark-important): Define.
5346         (elmo-folder-mark-as-important): Ditto.
5347         (elmo-folder-unmark-read): Ditto.
5348         (elmo-folder-mark-as-read): Ditto.
5349         (elmo-folder-unmark-answered): Ditto.
5350         (elmo-folder-mark-as-answered): Ditto.
5351         (elmo-folder-replace-marks): Abolish.
5352         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5353         duplicates.
5354         (elmo-folder-synchronize): Removed mark arguments;
5355         return crosspost only number.
5356
5357 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5358
5359         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5360         Remove redundunt connectivity check.
5361
5362 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5363
5364         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5365         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5366
5367 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5368
5369         * pldap.el (ldap-decode-string): Return string as-is if
5370         `ldap-coding-system' is nil.
5371         (ldap-encode-string): Ditto.
5372         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5373         (ldap-default-host): Fixed docstring.
5374
5375 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5376
5377         * elmo-util.el (elmo-warning): Define as a macro which uses
5378         `display-warning' if it is defined as a function.
5379
5380         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5381         (elmo-split-equal): Use it.
5382         (elmo-split-match): Ditto.
5383         (elmo-split-message-entity): New buffer-local variable.
5384         (elmo-split-subr): Set it.
5385
5386         * elmo-version.el (elmo-version): Up to 2.9.15.
5387
5388 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5389
5390         * elmo-imap4.el (elmo-network-initialize-session):
5391         Check capability after starttls.
5392
5393 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5394
5395         * elmo-util.el (elmo-list-delete): Added optional argument
5396         DELETE-FUNCTION.
5397
5398         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5399
5400         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5401
5402         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5403
5404         * elmo-imap4.el (elmo-folder-initialize): Don't use
5405         elmo-imap4-default-mailbox.
5406
5407 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5408
5409         * elmo-split.el (toplevel): Use `product-provide'.
5410         (elmo-split): Checkdoc.
5411
5412 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5413
5414         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5415         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5416         the function `elmo-imap4-debug-1'.
5417
5418 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5419
5420         * elmo-split.el (elmo-split): Moved to run hooks and to show
5421         message from elmo-split-subr.
5422         (elmo-split-subr): Follow the change above.
5423
5424         * elmo-split.el (elmo-split-subr): New function (renamed from
5425         elmo-split-subr).
5426         (elmo-split): Changed to call elmo-split-subr by element of
5427         elmo-split-folder.
5428         (elmo-split-folder): Changed customization type to choice.
5429
5430 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5431
5432         * elmo-split.el (elmo-split-and): Fixed condition.
5433
5434 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5435
5436         * elmo-split.el: New file.
5437         (elmo-split): Fixed logic.
5438         Display "Test:" instead of "Folder:" when reharsal.
5439
5440         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5441         explicitly.
5442
5443         * elmo-version.el (elmo-version): Up to 2.9.14.
5444
5445         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5446         wl-expand-newtext).
5447
5448 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5449
5450         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5451         message with no message-id field.
5452
5453 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5454
5455         * elmo-version.el (elmo-version): Up to 2.9.13.
5456
5457         * elmo-dop.el (elmo-folder-status-dop): Fix.
5458
5459 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5460
5461         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5462
5463         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5464         changing default value of default-mime-charset.
5465         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5466
5467         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5468
5469         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5470         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5471         instead of elmo-dop-queue-method-name-alist to check merging queue.
5472         (elmo-folder-delete-messages-dop): Delete from queue if negative
5473         message number.
5474         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5475         file is already removed.
5476
5477 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5478
5479         * elmo-vars.el: Bind colon keywords for old Emacsen.
5480
5481 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5482
5483         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5484         against non-exsisting charset.
5485
5486 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5487
5488         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5489         Use eword-decode-and-unfold-unstructured-field-body.
5490
5491         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5492         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5493         exists to decode raw subject string.
5494         (toplevel): Require 'mime.
5495
5496         * elmo-version.el (elmo-version): Up to 2.9.12.
5497
5498 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5499
5500         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5501         (elmo-msgdb-set-mark): Ditto.
5502
5503         * elmo-version.el (elmo-version): Up to 2.9.11.
5504
5505 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5506
5507         * elmo-util.el (elmo-delete-match-files): New function.
5508
5509         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5510         instead of elmo-delete-directory.
5511
5512         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5513         elmo-hash-minimun-size as 63.
5514
5515         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5516         elmo-diff-unread is nil.
5517
5518         * elmo-imap4.el (elmo-folder-open): Fix.
5519
5520         * elmo.el (elmo-message-mark): Rewrite.
5521         (elmo-message-field): Ditto.
5522         (elmo-message-set-mark): Ditto.
5523         (elmo-folder-replace-marks): New function.
5524         (elmo-generic-folder-append-msgdb): Removed third argument for
5525         elmo-msgdb-append.
5526         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5527         (elmo-msgdb-load): New implementation.
5528
5529         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5530
5531         * elmo-util.el (elmo-list-insert): New implementation.
5532
5533         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5534         argument for elmo-msgdb-append.
5535         
5536
5537         * elmo-msgdb.el (elmo-load-msgdb): New function.
5538         (elmo-make-msgdb): Ditto.
5539         (elmo-msgdb-get-index): New inline function.
5540         (elmo-msgdb-set-index): Ditto.
5541         (elmo-msgdb-get-entity-hashtb): Ditto.
5542         (elmo-msgdb-get-mark-hashtb): Ditto.
5543         (elmo-msgdb-get-mark): Ditto.
5544         (elmo-msgdb-set-mark): Ditto.
5545         (elmo-msgdb-count-marks): Ditto.
5546         (elmo-msgdb-get-number): Ditto.
5547         (elmo-msgdb-get-field): Ditto.
5548         (elmo-msgdb-seen-list): Ditto.
5549         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5550         (elmo-msgdb-delete-msgs): Follow the changes above.
5551         (elmo-msgdb-overview-get-entity): Ditto.
5552         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5553         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5554         and rewritten.
5555         (elmo-msgdb-make-index): Likewise.
5556         (elmo-msgdb-append): Removed third argument.
5557         (elmo-msgdb-clear): Clear index as nil.
5558         (elmo-folder-set-info-hashtb): Removed.
5559         (elmo-folder-set-info-max-by-numdb): Ditto.
5560         (elmo-folder-info-make-hashtb): Ditto.
5561
5562         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5563
5564         * elmo-map.el (elmo-folder-pack-number): Ditto.
5565
5566 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5567
5568         * elmo-version.el (elmo-version): Up to 2.9.10.
5569
5570         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5571
5572         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5573
5574 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5575
5576         * elmo-utils.el (elmo-make-directory): Add option.
5577         Default file mode is 700.
5578
5579 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5580
5581         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5582
5583 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5584
5585         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5586         mime-charset.
5587
5588         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5589         and "smaller".
5590
5591 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5592
5593         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5594         (elmo-shimbun-folder-entity-hash): New function.
5595         (elmo-shimbun-folder-shimbun-header): Ditto.
5596         (elmo-shimbun-entity-to-header): Ditto.
5597         (elmo-shimbun-msgdb-to-headers): Removed.
5598         (elmo-shimbun-folder-setup): Ditto.
5599         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5600         for hash key.
5601         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5602         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5603         Removed useless local bind.
5604         (elmo-folder-open-internal): Don't call
5605         `elmo-shimbun-folder-setup'.
5606         (elmo-folder-close-internal): Clear entity-hash slot.
5607         (elmo-folder-clear): Ditto.
5608         (elmo-shimbun-msgdb-create-entity): Use
5609         `elmo-shimbun-folder-shimbun-header'.
5610         (elmo-map-message-fetch): Ditto.
5611         (elmo-shimbun-update-overview): Use overview entity instead of
5612         shimbun header to lookup id by references.
5613         (elmo-map-folder-list-message-locations): Use not only headers but
5614         also overviews to list locations.
5615
5616 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5617
5618         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5619         msgdb path.
5620
5621         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5622
5623 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5624
5625         * elmo-util.el (elmo-read-search-condition-internal): Give default
5626         value for date.
5627
5628 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5629
5630         * elmo-util.el (elmo-condition-parse-search-value): Accept
5631         YYYY-MM-DD format to search.
5632         * elmo-date.el (elmo-date-get-datevec): Likewise.
5633
5634 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5635
5636         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5637         debugging code.
5638
5639 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5640
5641         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5642         from t.
5643
5644         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5645
5646         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5647         case from `elmo-folder-exists-p'.
5648         (elmo-folder-exists-p): Removed.
5649         (elmo-folder-creatable-p) Ditto.
5650
5651         * elmo-net.el (elmo-folder-create): Defined.
5652         (elmo-folder-create-unplugged): New function.
5653         (elmo-folder-exists-p): Changed default value to nil from t.
5654
5655         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5656         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5657
5658         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5659         `elmo-create-folder-dop' and append queue
5660         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5661         (elmo-folder-create-dop-delayed): New function.
5662
5663         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5664
5665         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5666
5667         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5668         (elmo-folder-writable-p) : Ditto.
5669
5670         * elmo-version.el (elmo-version): Up to 2.9.9.
5671
5672 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5673
5674         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5675         `elmo-message-use-cache-p' returns nil.
5676         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5677         (ignore cache file and refer the substance in local folders)
5678
5679 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5680
5681         * elmo-version.el (elmo-version): Up to 2.9.8.
5682
5683 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5684
5685         * elmo-version.el (elmo-version): Up to 2.9.7.
5686
5687         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5688
5689 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5690
5691         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5692
5693 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5694
5695         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5696         from --early.
5697         (elmo-map-folder-list-message-locations): Reverse location list.
5698
5699 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5700
5701         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5702
5703 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5704
5705         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5706         as a key.
5707         (elmo-nntp-folder-list-subfolders): Follow the change above.
5708
5709 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5710
5711         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5712         name if authentication type is specified.
5713
5714 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5715
5716         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5717         variable.
5718         (elmo-default-nntp-stream-type): Ditto.
5719         (elmo-default-pop3-stream-type): Ditto.
5720
5721 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5722
5723         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5724
5725 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5726
5727         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5728         elmo-vars.el.
5729         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5730
5731         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5732         (elmo-maildir-folder-path): Ditto.
5733         (elmo-maildir-list): Ditto (abolished).
5734
5735 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5736
5737         * elmo-version.el (elmo-version): Up to 2.9.6.
5738
5739 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5740
5741         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5742         (elmo-maildir-folder-path): Ditto.
5743         (elmo-msgdb-directory): Ditto.
5744         (elmo-passwd-life-time): Ditto.
5745         (elmo-msgdb-extra-fields): Ditto.
5746         (elmo-enable-disconnected-operation): Ditto.
5747
5748 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5749
5750         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5751         other choices.
5752         (elmo-pop3-default-authenticate-type): Ditto.
5753
5754 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5755
5756         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5757         choices for custom.
5758         (elmo-pop3-default-authenticate-type): Ditto.
5759
5760 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5761
5762         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5763         mailbox to new-folder.
5764
5765 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5766
5767         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5768         less than new, set new as unread.
5769
5770         * elmo-util.el (elmo-string): Don't put text-property if nil.
5771
5772 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5773
5774         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5775         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5776
5777 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5778
5779         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5780         is nil on `completing-read'.
5781
5782 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5783
5784         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5785         for namespace part.
5786         (elmo-imap4-parse-namespace-subr): Ditto.
5787         (elmo-folder-list-subfolders): Append a delimiter when the specified
5788         folder path is a root with namespace and does not end with delimiter.
5789
5790 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5791
5792         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5793         was used.
5794
5795 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5796
5797         * elmo-util.el (elmo-save-buffer): The first argument of message
5798         is a format control string.
5799
5800 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5801
5802         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5803         `elmo-folder-diff').
5804         (elmo-diff-unread): Likewise.
5805
5806 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5807
5808         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5809         is t on `completing-read'.
5810
5811 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5812
5813         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5814         method of target folder with self mark-alist if MARK-ALIST is nil.
5815
5816 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5817
5818         * elmo-version.el (elmo-version): Up to 2.9.5.
5819
5820 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5821
5822         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5823         (elmo-dop-merge-funcs): Remove.
5824
5825 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5826
5827         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5828         Return t if PATH is directory, too.
5829         Use `dolist' instead of while loop.
5830
5831 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5832
5833         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5834         is deleted.
5835
5836 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5837
5838         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5839         return value to t.
5840         (elmo-folder-list-messages-unplugged): Return t if
5841         elmo-enable-disconnected-operation is nil.
5842
5843         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5844         `elmo-folder-list-messages-internal'.
5845
5846 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5847
5848         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5849         Change to looking-at `[23][0-9]+'.
5850         (elmo-network-initialize-session): Use 'error-msg'
5851         * elmo-net.el (elmo-network-open-session): Set unplugged
5852         if elmo-network-initialize-session returns 'elmo-open-err.
5853
5854 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5855
5856         * elmo-version.el (elmo-version): Up to 2.9.4.
5857
5858 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5859
5860         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5861         `elmo-folder-list-messages-internal'.
5862
5863 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5864
5865         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5866         (elmo-message-match-condition): New method.
5867         (elmo-folder-search-fast): New inline function.
5868         (elmo-msgdb-search): Removed.
5869
5870         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5871         target folder if it is unplugged.
5872         (elmo-folder-list-messages-internal): Return t if target folder is
5873         unplugged and itself is persistent; In this case, use list be
5874         searched already.
5875
5876         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5877         (elmo-msgdb-search-internal-primitive): Ditto.
5878         (elmo-msgdb-match-condition): New function.
5879         (elmo-msgdb-match-condition-primitive): Ditto.
5880
5881         * elmo-util.el (elmo-filter-condition-p): New macro.
5882
5883         * elmo-cache.el (elmo-folder-search): Removed.
5884
5885         * elmo-localdir.el (elmo-folder-search): Ditto.
5886
5887         * elmo-maildir.el (elmo-folder-search): Ditto.
5888
5889         * elmo-mark.el (elmo-folder-search): Ditto.
5890
5891         * elmo-nmz.el (elmo-folder-search): Ditto.
5892
5893         * elmo-sendlog.el (elmo-folder-search): Ditto.
5894
5895         * elmo-shimbun.el (elmo-folder-search): Ditto.
5896
5897         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5898         if folder is unplugged.
5899
5900         * elmo-nntp.el (elmo-folder-search): Likewise.
5901         (elmo-nntp-search-internal): New function.
5902
5903         * elmo-version.el (elmo-version): Up to 2.9.3.
5904
5905 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5906
5907         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5908
5909 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5910
5911         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5912
5913 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5914
5915         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5916
5917 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5918
5919         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5920         (elmo-map-folder-list-message-locations): Do drive letter conversion
5921         on Windows environment.
5922         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5923         (elmo-map-message-fetch): Ditto.
5924
5925 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5926
5927         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5928         (elmo-network-initialize-session): Ditto.
5929
5930 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5931
5932         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5933
5934         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5935
5936         * elmo-util.el (elmo-progress-clear): Ditto.
5937
5938         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5939         `DD-Mon-YYYY' type date.
5940
5941 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5942
5943         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5944         `elmo-date-make-sortable-string' instead of
5945         `timezone-make-date-sortable'.
5946
5947         * elmo-date.el (elmo-date-make-sortable-string): Use
5948         `timezone-make-time-string'.
5949
5950 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5951
5952         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5953
5954         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5955         `since'; Fix timezone.
5956
5957         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5958
5959         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5960
5961 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5962
5963         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5964
5965 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5966
5967         * elmo.el (elmo-generic-folder-append-messages): Make
5968         fetch-strategy with `use-cache' as 'maybe. Check return value of
5969         `elmo-message-fetch'.
5970         (elmo-message-fetch): Return return value of
5971         `elmo-message-fetch-with-cache-process'.
5972         (elmo-message-fetch-with-cache-process): Return non-nil if
5973         fetching was succeed. Load cache when fetching was failed and
5974         fetch-strategy-use-cache is 'maybe.
5975
5976         * elmo-util.el (elmo-file-cache-load): New function.
5977
5978         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5979         defun.
5980
5981         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5982         non-nil if fetching was succeed.
5983
5984         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5985
5986         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5987
5988         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5989         (elmo-message-fetch-with-cache-process): Likwise.
5990
5991         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5992
5993         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5994
5995         * elmo-version.el (elmo-version): Up to 2.9.2.
5996
5997 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5998
5999         * elmo.el (elmo-folder-delete): Delete msgdb path.
6000
6001         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
6002
6003         * elmo-maildir.el (elmo-folder-delete): Ditto.
6004
6005         * elmo-localdir.el (elmo-folder-delete): Ditto.
6006
6007         * elmo-imap4.el (elmo-folder-delete): Ditto.
6008
6009 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
6010
6011         * elmo.el (luna-define-class): Added `biff' slot.
6012
6013         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
6014         (elmo-pop3-debug-inhibit-logging): Abolished.
6015         (elmo-network-close-session): Eliminated needless let.
6016         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
6017         (elmo-pop3-send-command): Added `no-log' argument.
6018         (elmo-pop3-process-filter): Use `with-current-buffer'.
6019         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
6020         if login failure.
6021         (elmo-pop3-auth-apop): Likewise.
6022         (elmo-network-authenticate-session): Likewise.
6023
6024         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6025         if biff folder.
6026
6027         * elmo-net.el (elmo-network-session-password-key): Use class symbol
6028         string to determine protocol.
6029         (elmo-network-session-name-prefix): Abolished.
6030         (elmo-network-session-cache-key): Follow the change above.
6031         (elmo-network-open-session): Ditto.
6032
6033         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6034         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6035
6036         * elmo-version.el (elmo-version): Up to 2.9.1.
6037
6038         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6039         unmatch condition checking.
6040
6041         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6042         condition.
6043
6044 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6045
6046         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6047
6048 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
6049
6050         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6051         test for while loop to execute at least one SEARCH command.
6052
6053 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
6054
6055         * elmo-version.el (elmo-version): Up to 2.9.0.
6056
6057 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6058
6059         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6060         (elmo-archive-folder-path): Define.
6061         (elmo-folder-initialize): Setup `dir-name' slot.
6062         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6063         Use `dir-name' as prefix of each subfolders.
6064         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6065
6066 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6067
6068         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6069         (elmo-pipe-folder-list-target-messages): New internal function.
6070         (elmo-pipe-drain): Use new argument `ignore-list' instead of
6071         `killed-list'.
6072         (elmo-pipe-folder-copied-list-load): New function.
6073         (elmo-pipe-folder-copied-list-save): Ditto.
6074         (elmo-folder-open-internal): Follow the change above.
6075         (elmo-folder-status): Fixed for copy.
6076
6077 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
6078
6079         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6080
6081 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
6082
6083         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6084         elmo-copy-file instead of elmo-add-name-to-file.
6085
6086         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6087
6088         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6089         "file://..." index.
6090
6091         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6092         of accept-process-output as 1.
6093         (elmo-pop3-read-contents): Ditto.
6094         (elmo-pop3-read-body): Ditto.
6095
6096 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6097
6098         * elmo-version.el (product-version-as-string): Remove define.
6099
6100 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6101
6102         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6103         (elmo-imap4-copy-messages): Chop number set using
6104         `elmo-imap4-number-set-chop-length'.
6105         (elmo-imap4-set-flag): Ditto.
6106         (elmo-imap4-search-internal-primitive): Ditto.
6107
6108 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6109
6110         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6111         `elmo-folder-make-temp-dir'
6112
6113         * elmo-vars.el (elmo-cache-directory): New variable.
6114         (elmo-cache-dir): Abolished.
6115         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6116
6117         * elmo-version.el (elmo-version): Up to 2.7.7.
6118
6119 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6120
6121         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6122         defcustom; Set default value as t.
6123
6124 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6125
6126         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6127         (ldap-search-program-arguments): Changed default value.
6128         (ldap-search-basic): Accept exit status 4.
6129         (ldap/field-body): Parse options.
6130         (ldap/collect-field): Ditto.
6131         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6132
6133         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6134         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6135         (elmo-imap4-accept-ok): Ditto.
6136         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6137         'notify-bye, only BYE error is reported.
6138         (elmo-folder-exists-p-plugged): Set no-error argument of
6139         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6140
6141         * elmo.el (elmo-imap4-bye-error): Changed message.
6142
6143         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6144         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6145         queues (It causes infinite loop).
6146
6147 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6148
6149         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6150         (RECENT UNSEEN MESSAGES) extension.
6151
6152 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6153
6154         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6155         Check number of overview fields.
6156
6157 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6158
6159         * elmo.el (elmo-folder-confirm-appends): Changed message.
6160         (elmo-folder-confirm-appends): Ditto.
6161
6162         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6163         `with-temp-buffer'.
6164         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6165
6166 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6167
6168         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6169         of elmo-folder-update-threshold is nil, which can be set by
6170         wl-summary-update-confirm-threshold.
6171
6172 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6173
6174         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6175         (elmo-nmz-index-alias-alist): Ditto.
6176         (elmo-map-folder-list-message-locations): Follow the change above.
6177
6178 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6179
6180         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6181
6182         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6183
6184         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6185
6186         * elmo-util.el (elmo-read): Ditto.
6187         (elmo-display-error): Ditto.
6188
6189         * elmo-vars.el (elmo-date-match): Ditto.
6190
6191         * pldap.el (ldap-coding-system): Ditto.
6192
6193         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6194         `elmo-inhibit-number-mapping' as nil.
6195
6196 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6197
6198         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6199         space delimiter for list response.
6200
6201 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6202
6203         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6204
6205 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6206
6207         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6208         (elmo-map-message-fetch): Fix.
6209         * elmo-map.el (elmo-folder-status): Fix for killed.
6210
6211 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6212
6213         * elmo-sendlog.el: New file.
6214         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6215
6216 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6217
6218         * acap.el (acap-logging-out): New buffer local variable.
6219         (acap-close): Set it.
6220         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6221         an error.
6222
6223 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6224
6225         * acap.el (acap-response-bye-p): New function.
6226         (acap-response-bye-message): Ditto.
6227         (acap-wait-for-response): If bye response is received, cause an error.
6228         (acap-parse-response): Make bye response when 'Bye' is received.
6229
6230 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6231
6232         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6233
6234 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6235
6236         * elmo-util.el (elmo-copy-file): Added argument
6237         `ok-if-already-exists'.
6238         (elmo-copy-file): Fixed typo.
6239
6240 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6241
6242         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6243
6244 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6245
6246         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6247
6248 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6249
6250         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6251         to killed-list.
6252
6253 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6254
6255         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6256         (elmo-folder-initialize): Fix for `copy'.
6257         (elmo-pipe-drain): Ditto.
6258         (elmo-folder-open-internal): Ditto.
6259         (elmo-folder-newsgroups): Fix.
6260
6261 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6262
6263         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6264         for each message.
6265
6266         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6267         recent value is returned from imap folder.
6268
6269         * elmo.el (elmo-folder-newsgroups): New generic function.
6270
6271         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6272         (elmo-folder-initialize): Set it.
6273         (elmo-folder-expand-msgdb-path): Use it.
6274         (elmo-folder-newsgroups): Define.
6275
6276         * elmo-filter.el (elmo-folder-newsgroups): Define.
6277
6278         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6279
6280         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6281
6282         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6283
6284 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6285
6286         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6287         user option.
6288         (elmo-shimbun-header-extra-field): New inline function.
6289         (elmo-shimbun-header-set-extra-field): Ditto.
6290         (elmo-shimbun-folder-header-hash-setup): Ditto.
6291         (elmo-shimbun-update-overview): Ditto.
6292         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6293         (elmo-shimbun-folder-setup): Use
6294         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6295         (elmo-shimbun-get-headers): Ditto.
6296         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6297         Insert `X-Shimbun-Id:' header if extra field is set.
6298         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6299         field's value instead of `shimbun-header-id'.
6300
6301         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6302         inline function.
6303         (elmo-msgdb-overview-entity-set-date): Ditto.
6304         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6305
6306 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6307
6308         * mmimap.el (mmimap-entity-section): Changed body node number from
6309         "0" to "1".
6310
6311 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6312
6313         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6314         `elmo-folder-delete-messages'.
6315
6316         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6317         (elmo-folder-initialize): Changed to expand alias into index path.
6318
6319         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6320         `elmo-mime-insert-header-from-buffer' with 6th arg
6321         `sorted-fields'.
6322
6323 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6324
6325         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6326
6327         * elmo.el (elmo-diff-new): New inline function.
6328         (elmo-diff-unread): Ditto.
6329         (elmo-diff-all): Ditto.
6330
6331         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6332         value from responseb.
6333         (elmo-imap4-folder-diff-plugged): Ditto.
6334         (elmo-imap4-server-diff-async): Added recent argument.
6335         (elmo-server-diff-async): Ditto.
6336         (elmo-imap4-folder-diff-plugged): Ditto.
6337
6338         * elmo-version.el (elmo-version): Up to 2.7.6.
6339
6340 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6341
6342         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6343         in quoted-stirng.
6344
6345 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6346
6347         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6348
6349         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6350
6351         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6352
6353         * elmo-multi.el (elmo-folder-initialize): Ditto.
6354
6355         * elmo-util.el (elmo-parse-token): New function.
6356         (elmo-parse-prefixed-element): Ditto.
6357
6358 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6359
6360         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6361         delete process.
6362         (elmo-imap4-accept-ok): Ditto.
6363
6364 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6365
6366         * mmimap.el (mime-imap-entity-header-string): Don't check first
6367         element of node-id is `0' (Follow last change).
6368
6369 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6370
6371         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6372         assigned irregular node-id to nested multipart section.
6373         (initialize-instance): Followed above change.
6374
6375 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6376
6377         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6378         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6379         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6380         `elmo-shimbun-get-headers');
6381         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6382         visible article on summary exists in headers).
6383         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6384
6385 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6386
6387         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6388         definition.
6389
6390 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6391
6392         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6393
6394 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6395
6396         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6397         header separator into loop condition.
6398
6399 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6400
6401         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6402         Return duplicate folder if it has subfolder.
6403
6404 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6405
6406         * elmo.el (elmo-make-folder): Add folder name error check.
6407
6408         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6409         (elmo-nntp-encode-group-string): New inline function.
6410         (elmo-nntp-decode-group-string): Ditto.
6411         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6412         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6413         Use `not' instead of `null';
6414         Use elmo-nntp-decode-group-string.
6415
6416         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6417
6418         * elmo-version.el (elmo-version): Up to 2.7.5.
6419
6420 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6421
6422         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6423         Hide progress gauge if `elmo-folder-move-messages' exits
6424         nonlocally.
6425
6426 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6427
6428         * elmo-imap4.el (elmo-folder-initialize): Use
6429         `elmo-imap4-encode-folder-string' for folder name.
6430
6431 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6432
6433         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6434         `done'.
6435
6436 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6437
6438         * elmo-util.el (elmo-progress-counter-alist): New internal
6439         variable.
6440         (elmo-progress-counter-value): New macro.
6441         (elmo-progress-counter-all-value): Ditto.
6442         (elmo-progress-counter-format): Ditto.
6443         (elmo-progress-counter-set-value): Ditto.
6444         (elmo-progress-set): New function.
6445         (elmo-progress-clear): Ditto.
6446         (elmo-progress-notify): Ditto.
6447
6448         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6449         counter.
6450
6451         * elmo.el (elmo-generic-folder-append-messages): Call
6452         `elmo-progress-notify'.
6453         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6454
6455         * elmo-archive.el (elmo-folder-append-messages): Call
6456         `elmo-progress-notify'.
6457
6458         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6459
6460         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6461
6462         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6463
6464 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6465
6466         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6467         'Create'.
6468         (elmo-message-encache-dop): Added argument `read'.
6469
6470         * elmo-shimbun.el (elmo-message-encache): Ditto.
6471
6472         * elmo-net.el (elmo-message-encache): Ditto.
6473
6474         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6475         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6476         elmo-imap4-seen-messages.
6477         (elmo-folder-msgdb-create-plugged): Initialize
6478         elmo-imap4-seen-messages;
6479         Set seen mark on elmo-imap4-seen-messages.
6480
6481         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6482
6483         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6484         elmo-folder-append-buffer.
6485         (elmo-folder-encache): Added optional argument `read'.
6486         (elmo-message-encache): Ditto.
6487
6488         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6489
6490         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6491
6492         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6493         if append buffer content succeds.
6494
6495 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6496
6497         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6498         elmo-display-progress.
6499
6500         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6501         Set 4th argument of mime-display-message.
6502         (elmo-mime-display-as-is): Ditto.
6503
6504 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6505
6506         * elmo-nmz.el (toplevel): Require 'mime-edit.
6507         (elmo-nmz-content-type-alist): Abolished.
6508         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6509         content is not a message.
6510         (elmo-map-message-fetch): Changed behavior exept for message content;
6511         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6512         content-type, Add From: and Subject: field.
6513
6514 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6515
6516         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6517         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6518         not a message.
6519
6520 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6521
6522         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6523         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6524
6525         * elmo-archive.el (elmo-folder-writable-p): Defined.
6526
6527         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6528
6529         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6530
6531         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6532
6533         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6534
6535         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6536
6537         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6538
6539         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6540
6541         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6542
6543 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6544
6545         * elmo-util.el (elmo-address-quote-specials): New function;
6546         Renamed from `wl-address-quote-specials'.
6547
6548 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6549
6550         * elmo-version.el (elmo-version): Up to 2.7.4.
6551
6552 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6553
6554         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6555
6556 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6557
6558         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6559         both compile-time and run-time to avoid byte-compile warning.
6560
6561 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6562
6563         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6564
6565 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6566
6567         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6568         option.
6569         (elmo-mime-display-as-is-internal): Use it.
6570
6571         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6572         if `read-passwd' is not defined.
6573
6574 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6575
6576         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6577         by original number.
6578         (elmo-folder-status): Call `elmo-folder-open-internal';
6579         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6580         (elmo-folder-close-internal): Set location-alist as nil.
6581         (elmo-folder-clear): Define.
6582         (elmo-folder-check): Don't set location-alist as nil.
6583
6584         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6585
6586 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6587
6588         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6589         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6590
6591         * mmimap.el (mime-imap-entity::requested): New slot.
6592         (mime-imap-location-fetch-entity-p): New generic function.
6593         (mime-decode-parameters): Define using `defun-maybe'.
6594         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6595         content-type structure.
6596         (mime-entity-body): Return empty body if
6597         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6598
6599         * elmo.el (elmo-message-displaying): New variable.
6600
6601         * elmo-mime.el (elmo-mime-message-display): Bind
6602         elmo-message-displaying as t.
6603
6604         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6605
6606 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6607
6608         * acap.el (acap-open): erase buffer before starting network process.
6609         (acap-store): Rewrite.
6610
6611 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6612
6613         * elmo-imap4.el (elmo-imap4-default-mailbox,
6614         elmo-imap4-default-server
6615         elmo-imap4-default-authenticate-type,
6616         elmo-imap4-default-user,
6617         elmo-imap4-default-port,
6618         elmo-imap4-default-stream-type,
6619         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6620
6621         * elmo-pop3.el (elmo-pop3-default-user,
6622         elmo-pop3-default-server,
6623         elmo-pop3-default-authenticate-type,
6624         elmo-pop3-default-port,
6625         elmo-pop3-default-stream-type,
6626         elmo-pop3-stream-type-alist): Ditto.
6627
6628         * elmo-nntp.el (elmo-nntp-default-server,
6629         elmo-nntp-default-user,
6630         elmo-nntp-default-port,
6631         elmo-nntp-default-stream-type,
6632         elmo-nntp-stream-type-alist): Ditto.
6633
6634         * elmo-vars.el: Follow changes above.
6635         (elmo-setting): New custom group; added 'elmo-setting group to
6636         above variables.
6637
6638         * elmo-version.el (elmo-version): Up to 2.7.3.
6639
6640         * acap.el (acap-parse-response): Don't delete process when BYE
6641         response (It causes hang-up on slow network environment).
6642         (toplevel): Added comment.
6643
6644 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6645
6646         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6647
6648         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6649         parsing NIL.
6650         (acap-parse-return-metadata): Ditto.
6651
6652         * slp.el: New file.
6653         (toplevel): Fixed typo.
6654
6655         * acap.el: New file.
6656         (acap-network-stream-open): Show "Connecting..." message.
6657         (acap-parse-response): Fixed problem for BYE untagged response.
6658         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6659         (toplevel): Added tiny comments.
6660
6661 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6662
6663         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6664         space delimiter for uidl response.
6665
6666 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6667
6668         * elmo-vars.el (elmo-use-semi): Eliminated.
6669
6670         * elmo-util.el (elmo-string-assoc-all): New function.
6671
6672 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6673
6674         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6675         property 'mime-preview-situation for `mime-preview-quit'.
6676
6677 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6678
6679         * elmo.el (elmo-message-fetch-with-cache-process): Call
6680         elmo-message-fetch-internal instead of causing an error when fetch
6681         strategy is 'entire but only 'section cache is available.
6682
6683 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6684
6685         * elmo-version.el (elmo-version): Up to 2.7.2.
6686
6687         * elmo.el (elmo-generic-folder-append-messages): Make
6688         fetch-strategy with `use-cache'.
6689
6690         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6691         (elmo-dop-queue-method-name): New macro.
6692
6693 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6694
6695         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6696         unbalanced parenthesis.
6697
6698 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6699
6700         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6701
6702 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6703
6704         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6705         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6706
6707 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6708
6709         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6710         local variables.
6711
6712 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6713
6714         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6715         (elmo-message-use-cache-p): Define.
6716         (elmo-folder-msgdb-create): Treat cache.
6717
6718 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6719
6720         * elmo-nntp.el (elmo-network-initialize-session): Call
6721         `elmo-nntp-send-mode-reader'.
6722         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6723
6724 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6725
6726         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6727         alist.
6728         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6729         assoc.
6730
6731         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6732         for `elmo-plugged-p'.
6733         (elmo-open-network-stream): Fixed stream-type argument.
6734
6735 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6736
6737         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6738         unknown archive type is specified.
6739
6740 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6741
6742         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6743
6744         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6745         while loading msgdb.
6746
6747         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6748         (elmo-folder-open-internal): Rewrite.
6749
6750 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6751
6752         * elmo-mime.el (elmo-mime-display-as-is-internal):
6753         Adjust buffer-multibyte status.
6754
6755 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6756
6757         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6758         of elmo-condition-find-key.
6759
6760         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6761         (elmo-condition-in-msgdb-p): Ditto.
6762         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6763         argument.
6764
6765 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6766
6767         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6768
6769 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6770
6771         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6772         label for elmo-display-progress.
6773
6774 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6775
6776         * elmo.el (elmo-folder-clear): New method.
6777         (elmo-folder-clear): Define.
6778         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6779
6780         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6781         (elmo-folder-clear): Define.
6782
6783         * elmo-map.el (elmo-folder-clear): Define.
6784
6785         * elmo-version.el (elmo-version): Up to 2.7.1.
6786
6787 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6788
6789         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6790         updates.
6791
6792 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6793
6794         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6795         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6796
6797 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6798
6799         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6800
6801         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6802         and re-written.
6803
6804         * elmo-imap4.el (elmo-folder-initialize): Use
6805         elmo-get-network-stream-type.
6806
6807         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6808
6809         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6810
6811 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6812
6813         * elmo.el (elmo-message-encache): Set unread argument for
6814         elmo-message-fetch.
6815
6816         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6817
6818         * elmo.el (elmo-net-port-info): New method.
6819
6820         * elmo-shimbun.el (elmo-net-port-info): Define.
6821         (elmo-message-encache): Ditto.
6822
6823         * elmo-net.el (elmo-net-port-info): Define as method.
6824
6825         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6826         unplugged status when elmo-enable-disconnected-operation is t.
6827
6828         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6829         of spool folder before checking new number.
6830
6831 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6832
6833         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6834         (elmo-network-setup-session): Ditto.
6835         (elmo-message-fetch-plugged): Ditto.
6836         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6837         (elmo-network-initialize-session): Ditto.
6838         (elmo-pop3-read-response): Abolish 3rd argument.
6839         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6840         (elmo-pop3-read-contents): Ditto.
6841         (elmo-pop3-read-body): Ditto.
6842         (elmo-folder-status): Call elmo-folder-close.
6843         (elmo-pop3-lock): Abolish.
6844         (elmo-pop3-unlock): Ditto.
6845         (elmo-pop3-locked-p): Ditto.
6846         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6847
6848 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6849
6850         * elmo-version.el (elmo-version): Up to 2.7.0.
6851
6852         * elmo-pop3.el (elmo-pop3-debug): New variable.
6853         (elmo-pop3-debug-inhibit-logging): Ditto.
6854         (elmo-pop3-debug): New function.
6855         (elmo-pop3-send-command): Call elmo-pop3-debug.
6856         (elmo-pop3-read-response): Added keep-lock optional argument;
6857         Don't unlock if keep-lock is non-nil.
6858         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6859         (elmo-network-authenticate-session): Bind
6860         elmo-pop3-debug-inhibit-logging as t.
6861         (elmo-network-setup-session): Call elmo-pop3-read-response with
6862         keep-lock argument.
6863         (elmo-pop3-read-msg): Ditto.
6864         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6865         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6866         (elmo-network-initialize-session): Call elmo-pop3-lock.
6867         (elmo-folder-close-internal): Don't clear location-alist slot.
6868         (elmo-folder-check): Clear location-alist slot.
6869
6870 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6871
6872         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6873         (elmo-pop3-send-command): Call elmo-pop3-lock.
6874         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6875         (elmo-pop3-read-contents): Ditto.
6876         (elmo-pop3-lock): New function.
6877         (elmo-pop3-unlock): Ditto.
6878         (elmo-pop3-locked-p): Ditto.
6879         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6880         returns t.
6881
6882 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6883
6884         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6885
6886         * elmo-util.el (elmo-file-field-primitive-condition-match):
6887         New inline function (Don't fetch file content if "first" or "last").
6888         (elmo-file-field-condition-match): Use
6889         elmo-file-field-primitive-condition-match.
6890
6891         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6892         "first".
6893
6894         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6895         (elmo-message-fetch-plugged): Fixed.
6896
6897         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6898
6899 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6900
6901         * elmo.el (elmo-folder-move-messages): Bind
6902         elmo-inhibit-display-retrieval-progress as t while moving messages.
6903
6904         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6905         New variable.
6906         (elmo-inhibit-display-retrieval-progress): Ditto.
6907
6908         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6909         for retrieval progress;
6910         Don't display progress when total buffer size is smaller than
6911         elmo-display-retrieval-progress-threshold.
6912         (elmo-message-fetch-plugged): Don't display progress when
6913         elmo-inhibit-display-retrieval-progress is non-nil.
6914
6915         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6916         for retrieval progress;
6917         Don't display progress when literal size is smaller than
6918         elmo-display-retrieval-progress-threshold.
6919         (elmo-imap4-message-fetch): Don't display progress when
6920         elmo-inhibit-display-retrieval-progress is non-nil.
6921
6922 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6923
6924         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6925         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6926         (elmo-imap4-message-fetch): Likewise.
6927
6928         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6929         (elmo-shimbun-index-range-alist): Ditto.
6930         (elmo-shimbun-use-entire-index): Abolish.
6931         (shimbun-mua-use-entire-index): Ditto.
6932         (elmo-shimbun-folder): Added new slot `range'.
6933         (elmo-folder-initialize): Setup slot `range'.
6934
6935 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6936
6937         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6938         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6939         (elmo-shimbun-get-headers): Use return value of
6940         `shimbun-article-expiration-days'.
6941         (elmo-folder-close-internal): Clean up last-check slot.
6942
6943         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6944         (elmo-pop3-total-size): New variable.
6945         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6946
6947         * elmo.el (elmo-folder-reserve-status-p): New method.
6948
6949         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6950         (elmo-shimbun-use-entire-index): New user option.
6951         (shimbun-elmo-mua): New class.
6952         (shimbun-mua-search-id): Define.
6953         (shimbun-mua-use-entire-index): Ditto.
6954         (elmo-shimbun-folder:last-check): New slot.
6955         (elmo-shimbun-headers-cache-header-list): Abolish.
6956         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6957         (elmo-shimbun-headers-cache-header-hash): Ditto.
6958         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6959         (elmo-shimbun-headers-cache-last-check): Ditto.
6960         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6961         (elmo-shimbun-headers-check-p): Rewrite.
6962         (elmo-shimbun-msgdb-to-headers): New function.
6963         (elmo-shimbun-get-headers): Rewrite.
6964         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6965         (elmo-folder-open-internal): Get headers only if
6966         `elmo-shimbun-headers-check-p' is non-nil.
6967         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6968         is non-nil.
6969         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6970         (elmo-quit): Removed.
6971
6972         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6973         function.
6974         (elmo-msgdb-overview-entity-set-extra): Ditto.
6975         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6976
6977         * elmo-map.el (elmo-folder-status): Don't call
6978         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6979         is non-nil.
6980
6981 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6982
6983         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6984         of `elmo-msgdb-search-internal-primitive' when condition's car is
6985         `and' or `or'.
6986
6987 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6988
6989         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6990
6991 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6992
6993         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6994         call `elmo-pipe-drain'.
6995
6996 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6997
6998         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6999         typo. (elmo-cache-folder -> elmo-mark-folder)
7000
7001 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7002
7003         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
7004         `elmo-message-fetch'.
7005
7006 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7007
7008         * elmo-net.el (elmo-message-encache): Fixed typo.
7009         (elmo-message-fetch-unplugged): Changed call
7010         `elmo-message-fetch-internal' without argument `outbuf'.
7011
7012 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
7013
7014         * elmo.el (elmo-message-encache): Define as generic function.
7015         (elmo-message-fetch-field): New generic function.
7016         (elmo-message-fetch-with-cache-process): Cause an error when
7017         fetch strategy is 'entire but only 'section cache is available.
7018         (toplevel): Fixed nmz folder definition.
7019
7020         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7021         (elmo-msgdb-resume-list-filename): Ditto.
7022         (elmo-queue-filename): Ditto.
7023         (elmo-enable-disconnected-operation): Changed default value to t.
7024
7025         * elmo-util.el (elmo-cache-path-section-p): New function.
7026         (elmo-file-cache-get): Use it.
7027         (elmo-dop-queue-filename): Moved from elmo-dop.el.
7028         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7029         (elmo-dop-queue-save): Ditto.
7030
7031         * elmo-net.el (elmo-folder-status-unplugged): Call
7032         elmo-folder-status-dop.
7033         (elmo-folder-list-messages-unplugged): Implemented.
7034         (elmo-folder-delete-messages-unplugged): Define.
7035         (elmo-folder-msgdb-create): Define.
7036         (elmo-folder-msgdb-create-unplugged): Define.
7037         (elmo-folder-mark-as-read-unplugged): Ditto.
7038         (elmo-folder-unmark-read-unplugged): Ditto.
7039         (elmo-folder-mark-as-important-unplugged): Ditto.
7040         (elmo-folder-unmark-important-unplugged): Ditto.
7041         (elmo-message-encache): Ditto.
7042
7043         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7044         (elmo-dop-queue-save): Ditto.
7045
7046         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7047         `elmo-folder-msgdb-create'.
7048         (elmo-folder-append-buffer): Implemented unplugged operation.
7049         (elmo-folder-append-messages): Call parent method in unplugged status.
7050         (elmo-message-fetch-unplugged): Removed definition.
7051         (elmo-message-fetch-field): Implemented.
7052
7053         * elmo-dop.el (toplevel): Require 'elmo-localdir.
7054         (elmo-dop-folder): Removed variable definition.
7055         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7056         (elmo-dop-queue-flush): Implemented.
7057         (elmo-dop-queue-merge): Removed definition (TODO).
7058         (elmo-dop-spool-folder): New function.
7059         (elmo-dop-spool-folder-append-buffer): Ditto.
7060         (elmo-dop-spool-folder-list-messages): Ditto.
7061         (elmo-dop-list-deleting-messages): Ditto.
7062         (elmo-folder-append-buffer-dop): Ditto.
7063         (elmo-folder-delete-messages-dop): Ditto.
7064         (elmo-message-encache-dop): New inline function.
7065         (elmo-create-folder-dop): Ditto.
7066         (elmo-folder-mark-as-read-dop): Ditto.
7067         (elmo-folder-unmark-read-dop): Ditto.
7068         (elmo-folder-mark-as-important-dop): Ditto.
7069         (elmo-folder-unmark-important-dop): Ditto.
7070         (elmo-folder-status-dop): Fixed.
7071         (elmo-folder-append-buffer-dop-delayed): New function.
7072         (elmo-folder-delete-messages-dop-delayed): Ditto.
7073         (elmo-dop-msgdb): Ditto.
7074
7075 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7076
7077         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7078
7079 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7080
7081         * elmo.el (elmo-folder-move-messages): Fixed problem when
7082         `dst-folder' is 'null.
7083
7084 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7085
7086         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7087         instead of current mark.
7088
7089         * elmo-multi.el (elmo-folder-list-importants-internal): No
7090         operation if importants is not list.
7091
7092         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7093         Return t if importants is not list.
7094
7095         * elmo-map.el (elmo-map-folder-list-importants): Define.
7096         (elmo-folder-list-importants-internal): Check return value of
7097         `elmo-map-folder-list-importants-internal'.
7098
7099         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7100
7101         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7102
7103         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7104
7105         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7106
7107 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7108
7109         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7110         (Patch is provided by <kita@coe.nttdata.co.jp>).
7111
7112 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7113
7114         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7115         mark folder.
7116
7117 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7118
7119         * elmo.el (elmo-message-fetch): Define.
7120         (elmo-message-fetch-with-cache-process): New generic method.
7121         (elmo-message-fetch-internal): New generic method.
7122         (elmo-folder-synchronize):
7123
7124         * elmo-archive.el (elmo-message-fetch-internal): Define.
7125         (elmo-message-fetch): Eliminated.
7126
7127         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7128         (elmo-message-fetch): Eliminated.
7129
7130         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7131         argument OUTBUF.
7132         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7133
7134         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7135         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7136
7137         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7138         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7139
7140         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7141
7142         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7143
7144         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7145
7146         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7147         (elmo-message-fetch-unplugged): New generic method.
7148         (elmo-message-fetch-internal): Remove cache process (Renamed from
7149         `elmo-message-fetch').
7150
7151         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7152         (elmo-message-fetch): Eliminated.
7153         (elmo-message-fetch-unplugged): Ditto.
7154
7155         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7156
7157 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7158
7159         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7160         of `to-be-deleted' from number-alist to number-list.
7161
7162 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7163
7164         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7165         (elmo-folder-mark-as-important): Ditto.
7166
7167 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7168
7169         * elmo.el (elmo-folder): Added process-duplicates slot.
7170
7171         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7172         (elmo-folder-unmark-read): Ditto.
7173         (elmo-folder-unmark-important): Ditto.
7174         (elmo-folder-mark-as-important): Ditto.
7175
7176         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7177         duplicated message processing.
7178
7179         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7180
7181 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7182
7183         * elmo-util.el (elmo-list-subdirectories-1): New function.
7184         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7185         (elmo-mapcar-list-of-list): New function.
7186
7187         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7188         `elmo-mapcar-list-of-list' instead of `mapcar'.
7189
7190         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7191
7192         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7193         `elmo-have-link-count'. Return the fully qualified folder name.
7194
7195 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7196
7197         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7198         (elmo-shimbun-headers-cache): New internal variable.
7199         (elmo-shimbun-headers-cache-header-list): New inline function.
7200         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7201         (elmo-shimbun-headers-cache-header-hash): Ditto.
7202         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7203         (elmo-shimbun-headers-cache-last-check): Ditto.
7204         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7205         (elmo-shimbun-lapse-seconds): Ditto.
7206         (elmo-shimbun-headers-cache-check-p): Ditto.
7207         (elmo-shimbun-get-headers): New function.
7208         (elmo-folder-open-internal): Call it.
7209         (elmo-quit): Define (Clear headers-cache).
7210
7211 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7212
7213         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7214
7215         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7216         (elmo-msgdb-flist-save): Ditto.
7217
7218         * elmo-shimbun.el (elmo-folder-list-subfolders):
7219         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7220         (elmo-folder-exists-p): Ditto.
7221
7222         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7223         argument for `shimbun-header-insert'.
7224
7225 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7226
7227         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7228         at first time.
7229
7230         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7231         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7232
7233 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7234
7235         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7236         (elmo-folder-plugged-p): Define.
7237         (elmo-folder-set-plugged): Ditto.
7238         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7239         (elmo-folder-list-messages-internal): Return t if unplugged.
7240         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7241
7242         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7243         when elmo-folder-list-messages-internal method of children returns t.
7244
7245         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7246         pair is nil.
7247         (elmo-folder-open-internal): Don't update if unplugged status.
7248
7249 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7250
7251         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7252         new message.
7253
7254 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7255
7256         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7257
7258         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7259         saving.
7260
7261 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7262
7263         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7264
7265         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7266         (elmo-folder-open-internal): Set up headers slot.
7267         (elmo-folder-check): Call elmo-folder-close-internal and
7268         elmo-folder-open-internal.
7269         (elmo-folder-close-internal): Clean up headers slot.
7270
7271 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7272
7273         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7274         exactly folder list.
7275         (elmo-folder-append-messages): Fixed append archive with prefix.
7276
7277         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7278         make temp files with start-number.
7279
7280         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7281
7282 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7283
7284         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7285         argument `visible-only'.
7286         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7287         instead of `if'.
7288
7289         * elmo-pop3.el (elmo-folder-open-internal): Check
7290         `elmo-inhibit-number-mapping' is non-nil.
7291
7292         * elmo-pipe.el (elmo-folder-status): Fixed.
7293
7294 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7295
7296         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7297
7298         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7299         (elmo-folder-open-internal): Setup `header-hash' slot.
7300         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7301         information.
7302         (elmo-map-message-fetch): Ditto.
7303
7304 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7305
7306         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7307         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7308         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7309         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7310
7311         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7312
7313 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7314
7315         * sb-airs.el: Added footer.
7316
7317         * shimbun.el (shimbun-article): Define as luna-method.
7318
7319         * sb-tcup.el: New file.
7320
7321         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7322         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7323
7324 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7325
7326         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7327         (shimbun-get-headers): Ditto.
7328
7329         * elmo.el: Moved obsolete variable definitions from
7330         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7331
7332         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7333         groups.
7334
7335         * shimbun.el: New file.
7336
7337         * elmo-shimbun.el: New file.
7338
7339         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7340         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7341         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7342         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7343
7344 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7345
7346         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7347         hierarchy is t.
7348
7349 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7350
7351         * elmo.el (elmo-folder-msgdb): Define as macro.
7352         (elmo-folder-open): Added argument `load-msgdb'.
7353         (elmo-generic-folder-open): Ditto.
7354         (elmo-folder-encache): New function.
7355
7356         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7357
7358         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7359
7360         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7361         Eliminated argument FOLDER and added argument MSGDB.
7362         (elmo-dop-queue-load): Moved from elmo-dop.el.
7363         (elmo-dop-queue-save): Ditto.
7364
7365         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7366
7367         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7368
7369         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7370         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7371         (elmo-filter-folder-list-importants-internal): Ditto.
7372
7373         * elmo-map.el (elmo-folder-pack-number): Ditto.
7374
7375         * elmo-mime.el (elmo-mime-message-display): Ditto.
7376
7377         * elmo.el (elmo-generic-folder-commit): Ditto.
7378         (elmo-folder-list-unreads): Ditto.
7379         (elmo-folder-list-importants): Ditto.
7380         (elmo-generic-folder-commit): Ditto.
7381         (elmo-message-set-mark): Ditto.
7382         (elmo-generic-folder-append-msgdb): Ditto.
7383         (elmo-folder-synchronize): Ditto.
7384         (elmo-folder-messages): Ditto.
7385         (elmo-init): Call elmo-dop-queue-load.
7386         (elmo-folder-list-messages): Ditto.
7387
7388         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7389         (elmo-nntp-folder-process-crosspost): Ditto.
7390         (elmo-folder-list-unreads-internal): Ditto.
7391
7392         * elmo-dop.el: Removed old functions.
7393
7394 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7395
7396         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7397         `folder' to `msgdb'.
7398
7399 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7400
7401         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7402         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7403
7404         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7405         case-fold-search.
7406
7407 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7408
7409         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7410         defined.
7411
7412         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7413         (mmimap-parse-parameters-from-list): Define as alias for
7414         `mime-decode-parameter-plist' if it is defined as function.
7415         (mmimap-make-mime-entity): Added argument `number'.
7416         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7417         as 0.
7418         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7419
7420         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7421
7422         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7423
7424         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7425
7426 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7427
7428         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7429
7430         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7431         when elmo-imap4-default-authenticate-type is nil.
7432         (elmo-folder-list-subfolders): Ditto
7433         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7434         (elmo-imap4-fetch-callback-1-subr): Renamed from
7435         `elmo-imap4-fetch-callback-1' and define as inline function.
7436         (elmo-imap4-fetch-callback-1):
7437         Renamed from `elmo-imap4-fetch-callback'.
7438         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7439
7440         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7441         msgdb path (To keep compatibility with main trunk).
7442
7443         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7444
7445         * elmo-util.el (elmo-make-file-cache): Moved position of
7446         some macros.
7447
7448         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7449         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7450         instead of `elmo-pop3-inhibit-uidl'.
7451         (elmo-folder-exists-p): Ditto.
7452         (elmo-pop3-folder-list-messages): Ditto.
7453
7454         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7455         instead of `elmo-pop3-inhibit-uidl'.
7456         (elmo-folder-status): Ditto.
7457
7458         * elmo-dop.el (elmo-dop-folder): New variable.
7459         (elmo-dop-lock-message): Eliminated.
7460         (elmo-dop-unlock-message): Ditto.
7461         (elmo-dop-lock-list-load): Ditto.
7462         (elmo-dop-lock-list-save): Ditto.
7463         (elmo-dop-delete-folder): Ditto.
7464         (elmo-dop-rename-folder): Ditto.
7465
7466         * elmo.el: Removed incomplete commentary.
7467
7468 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7469
7470         * elmo.el (toplevel): Require 'elmo-version first;
7471         for little `recursive-load-depth' settings.
7472         Fix "ends here" comment.
7473
7474 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7475
7476         * elmo-util.el (toplevel): Require 'poem;
7477         Some functions are moved from elmo-cache.el.
7478
7479         * elmo-net.el (toplevel): Require 'elmo-cache.
7480
7481         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7482
7483         * elmo.el (toplevel): Ditto.
7484
7485         * elmo-cache.el: Rewrite with luna;
7486         Some functions are moved to elmo-util.el.
7487
7488         * elmo-internal.el (elmo-internal-folder-list): New variable.
7489         (elmo-internal-folder-initialize): Rewrite.
7490         (elmo-folder-list-subfolders): Ditto.
7491
7492         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7493         (elmo-cache-collect-sub-directories): Ditto.
7494
7495 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7496
7497         * elmo-version.el (elmo-version): Up to 2.5.8.
7498
7499         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7500
7501         * elmo-util.el (elmo-list-insert): New function.
7502
7503 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7504
7505         * elmo.el (elmo-init): New function.
7506         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7507
7508         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7509         (Renamed from `elmo-localdir-header-chop-length').
7510
7511         * elmo-pop3.el (elmo-pop3-use-cache,
7512         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7513
7514         * elmo-nntp.el (elmo-message-fetch): Define.
7515         (elmo-message-fetch-unplugged): Ditto.
7516         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7517         (elmo-nntp-use-cache): Ditto.
7518         (elmo-nntp-max-number-precedes-list-active): Ditto.
7519
7520         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7521
7522         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7523         `elmo-msgdb-insert-file-header'.
7524         Use `elmo-msgdb-file-header-chop-length'.
7525
7526         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7527         `elmo-vars.el'.
7528
7529         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7530         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7531         `elmo-msgdb-insert-file-header'.
7532
7533         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7534         Use new variable;
7535         Define obsolete variables with `elmo-define-obsolete-variable',
7536
7537         * elmo-util.el (elmo-warning-buffer-name): New constant.
7538         (elmo-warning): New function.
7539         (elmo-obsolete-variable-alist): New variable.
7540         (elmo-obsolete-variable-show-warnings): New variable.
7541         (elmo-define-obsolete-variable): New function.
7542         (elmo-resque-obsolete-variable): Ditto.
7543         (elmo-resque-obsolete-variables): Ditto.
7544
7545 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7546
7547         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7548         Eliminated.
7549
7550         * elmo-pop3.el, elmo-nntp.el: Use custom.
7551
7552 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7553
7554         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7555         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7556
7557 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7558
7559         * Luna-fy Kenichi OKADA's following changes.
7560         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7561         `nohide'.
7562         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7563
7564 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7565
7566         * elmo-util.el (elmo-display-progress): Prefer
7567         `progress-feedback-with-label' to `lprogress-display'.
7568
7569 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7570
7571         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7572
7573 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7574
7575         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7576         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7577         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7578         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7579         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7580         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7581         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7582         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7583         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7584         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7585         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7586         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7587         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7588
7589 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7590
7591         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7592         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7593
7594 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7595
7596         * elmo.el (elmo-folder-process-crosspost): New generic method.
7597         (elmo-folder-writable-p): Ditto.
7598         (elmo-folder-message-appendable-p): Eliminated.
7599         (elmo-generic-folder-append-msgdb): Rewrite.
7600         (elmo-newsgroups-hashtb): New internal variable.
7601         (elmo-crosspost-message-set): Eliminated.
7602         (elmo-crosspost-message-delete): Ditto.
7603         (elmo-setup-subscribed-newsgroups): New function.
7604         (elmo-crosspost-message-alist-modified): New internal variable.
7605         (elmo-crosspost-message-alist-load): New function (Renamed from
7606         `wl-crosspost-alist-load').
7607         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7608         `wl-crosspost-alist-save').
7609
7610         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7611
7612         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7613         `unreads'.
7614         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7615         elmo-newsgroups-hashtb).
7616         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7617         `elmo-nntp-folder-update-crosspost-message-alist'.
7618         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7619         `elmo-nntp-groups-hashtb'.
7620         (elmo-nntp-make-groups-hashtb): Eliminated.
7621         (elmo-nntp-parse-newsgroups): New function (Renamed from
7622         `wl-parse-newsgroups').
7623         (elmo-folder-creatable-p, elmo-folder-writable-p,
7624         elmo-folder-close-internal, elmo-folder-mark-as-read,
7625         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7626         Define.
7627         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7628
7629         * elmo-net.el (elmo-message-fetch): Check buffer size.
7630
7631         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7632
7633         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7634
7635         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7636         before `close' command.
7637
7638         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7639         `mark-alist' (All other related portions are changed).
7640
7641 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7642
7643         * elmo-util.el (elmo-create-hash-size): Eliminated.
7644         (elmo-make-hash) Make a hash with `one less than a power of two'
7645         length.
7646
7647         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7648         (elmo-hash-maximum-size): Changed value.
7649
7650 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7651
7652         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7653         (elmo-mime-message-display-as-is): Ditto.
7654
7655 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7656
7657         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7658         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7659
7660 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7661
7662         * elmo-mark.el: New file.
7663
7664         * elmo-internal.el: Rewrite (Almost empty).
7665
7666 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7667
7668         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7669         (mime-imap-entity-header-string): Ditto.
7670         (mmimap-entity-section): Rewrite.
7671
7672 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7673
7674         * elmo-nmz.el: New file.
7675
7676         * elmo-pipe.el: Rewrite with luna.
7677
7678 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7679
7680         * elmo-archive.el: Rewrite with luna.
7681
7682         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7683         (elmo-folder-list-importants-internal): Ditto.
7684
7685 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7686
7687         * elmo-archive.el (elmo-archive-version): Abolish.
7688         (toplevel) Removed `boso' comment.
7689
7690 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7691
7692         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7693         elmo-msgdb-add-msgs-to-seen-list-subr;
7694         Changed argument seen-marks to unread-marks.
7695
7696         * elmo-nntp.el: Rewrite with luna.
7697
7698 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7699
7700         * elmo-filter.el: Rewrite with luna.
7701
7702 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7703
7704         * elmo-pop3.el: Rewrite with luna.
7705
7706 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7707
7708         * elmo-multi.el: Rewrite with luna.
7709
7710         * elmo-vars.el (elmo-use-killed-list): Abolish.
7711         All other related portions are changed.
7712         (elmo-filename-replace-string-alist): Renamed from
7713         elmo-msgid-replace-string-alist.
7714
7715 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7716
7717         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7718
7719         * elmo-map.el: New file.
7720         * elmo-maildir.el: Rewrite with luna.
7721
7722 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7723
7724         * elmo.el: Changed meaning of `elmo-folder-commit'.
7725         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7726
7727 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7728
7729         * elmo.el (elmo-folder-append-buffer): New function.
7730         (Renamed from `elmo-append-msg')
7731
7732 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7733
7734         * elmo-mime.el: New file.
7735
7736 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7737
7738         * elmo-cache.el: Rewrite.
7739
7740 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7741
7742         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7743
7744 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7745
7746         * elmo-vars.el (elmo): New group.
7747         (elmo-strict-diff-folder-regexp): New variable.
7748
7749         * elmo-util.el (elmo-call-func): Abolish.
7750         (elmo-folder-get-type): Ditto.
7751         (elmo-*-get-spec): Ditto.
7752         (elmo-*-spec-*): Ditto.
7753         (elmo-imap4-identical-name-space-p): Ditto.
7754         (elmo-folder-identical-system-p): Ditto.
7755         (elmo-folder-direct-copy-alist): Ditto.
7756         (elmo-folder-direct-copy-p): Ditto.
7757
7758         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7759         (elmo-folder-initialize): Define.
7760         (elmo-folder-get-primitive-list): Ditto.
7761
7762         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7763         (elmo-folder-initialize): Define.
7764         Renamed `elmo-network-session-host-internal' to
7765         `elmo-network-session-server-internal'.
7766
7767         * elmo-multi.el (elmo-multi-folder): New luna class.
7768         (elmo-folder-initialize): Define.
7769         (elmo-folder-get-primitive-list): Ditto.
7770         (elmo-folder-contains-type): Ditto.
7771         (elmo-message-use-cache-p): Ditto.
7772
7773         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7774         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7775
7776         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7777         (elmo-folder-initialize): Define.
7778
7779         * elmo-filter.el (elmo-filter-folder): New luna class.
7780         (elmo-folder-initialize): Define.
7781         (elmo-folder-get-primitive-list): Ditto.
7782         (elmo-folder-contains-type): Ditto.
7783
7784 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7785
7786         * elmo-imap4.el: Rewrite with luna.
7787
7788         * mmimap.el: New file.
7789
7790         * mmelmo.el, mmelmo-imap4.el: Removed.
7791
7792         * elmo-net.el: Ditto.
7793
7794         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7795         (elmo-folder-initialize): Define.
7796
7797         * elmo-archive.el (elmo-archive-folder): New luna class.
7798         (elmo-folder-initialize): Define.
7799
7800         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7801         `elmo-folder-msgdb-path'.
7802         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7803         `elmo-make-folder'.
7804
7805 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7806
7807         * elmo.el: New file.
7808
7809         * elmo2.el: Renamed to elmo.el.
7810
7811 \f
7812 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7813
7814         * elmo-cache.el (elmo-cache-expire-by-size): Count
7815         a disk usage for a cache file entry in KB even when
7816         its kind is a directory.
7817
7818 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7819
7820         * elmo-version.el (elmo-version): Up to 2.5.7.
7821
7822 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7823
7824         * elmo-version.el (elmo-version): Up to 2.5.6.
7825
7826 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7827
7828         * elmo-version.el (elmo-version): Up to 2.5.5.
7829
7830 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7831
7832         * elmo-imap4.el (elmo-network-authenticate-session):
7833         Fixed a logic for response checking.
7834
7835 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7836
7837         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7838         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7839         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7840         `sasl-mechanisms'.
7841
7842         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7843         for `starttls-open-stream' and `starttls-negotiate'.
7844
7845         * elmo-nntp.el: Remove autoload settings for
7846         `starttls-open-stream' and `starttls-negotiate'.
7847
7848         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7849         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7850         `luna-define-class' with `eval-and-compile'.
7851
7852 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7853
7854         * elmo-util.el (elmo-read-search-condition-internal):
7855         Require an element of table for searching field.
7856
7857 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7858
7859         * elmo-version.el (elmo-version): Up to 2.5.4.
7860
7861 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7862
7863         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7864
7865 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7866
7867         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7868
7869 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7870
7871         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7872         before greeting.
7873
7874 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7875
7876         * elmo-imap4.el (elmo-imap4-delete-folder):
7877         Send "close" before "delete" (Use commented out line).
7878         (elmo-imap4-rename-folder): Ditto.
7879
7880         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7881         folder string itself.
7882         (elmo-dop-list-deleted): New function.
7883         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7884         killed.
7885
7886         * elmo-util.el (elmo-string-rassoc-all): New function.
7887
7888 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7889
7890         * elmo-version.el (elmo-version): Up to 2.5.3.
7891
7892         * elmo-net.el (elmo-network-get-session): Changed logic for
7893         checking process status.
7894
7895         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7896         process is nil;
7897         Changed logic for checking process status.
7898
7899 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7900
7901         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7902         before greeting.
7903         (elmo-network-setup-session): Set UIDL hash size according to
7904         the length of list response.
7905         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7906         according to the length of list response;
7907         Return the length of list response.
7908         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7909
7910 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7911
7912         * elmo-imap4.el (toplevel): Require 'ssl.
7913         Add autoload 'starttls.
7914         * elmo-pop3.el (toplevel): Ditto.
7915         * elmo-nntp.el (toplevel): Ditto.
7916
7917 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7918
7919         * elmo-imap4.el (toplevel): defun at compile time.
7920         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7921         sasl-next-step, sasl-step-data, sasl-step-set-data.
7922         * elmo-pop3.el (toplevel): Ditto.
7923
7924 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7925
7926         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7927
7928 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7929
7930         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7931         if error.
7932         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7933         and `elmo-pop-auth-apop'.
7934
7935 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7936
7937         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7938
7939 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7940
7941         * elmo-pop3.el (elmo-network-authenticate-session): Split
7942         encoded response value.
7943
7944 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7945
7946         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7947         `elmo-pop3-force-login'.
7948         Redefine `sasl-mechanisms'.
7949         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7950
7951 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7952
7953         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7954         Delete `elmo-imap4-authenticator-alist'.
7955         (elmo-imap4-auth-cram-md5): Delete.
7956         (elmo-imap4-auth-digest-md5): Delete.
7957
7958 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7959
7960         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7961         (elmo-pop3-auth-scram-md5): Ditto.
7962         (elmo-pop3-auth-cram-md5): Ditto.
7963
7964 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7965
7966         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7967         Delete `elmo-pop3-authenticator-alist'.
7968
7969 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7970
7971         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7972         new SASL API.
7973         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7974
7975 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7976
7977         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7978
7979 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7980
7981         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7982         Fixed problem when `elmo-pop3-use-uidl' is nil.
7983         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7984
7985 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7986
7987         * elmo-version.el (elmo-version): Up to 2.5.2.
7988
7989 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7990
7991         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7992         New function.
7993         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7994         (elmo-pop3-msgdb-create-as-numlist): Use it.
7995
7996         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7997         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7998
7999         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
8000         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
8001
8002 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8003
8004         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
8005         when elmo-mark-as-read is called with second argument nil.
8006
8007 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
8008
8009         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8010         Moved to elmo-util.el.
8011
8012         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8013         Moved from elmo-pipe.el
8014
8015         * elmo-archive.el (elmo-archive-call-process): Enclose with
8016         static-if.
8017
8018         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
8019         "RFC822" (because RFC822.PEEK is obsolete).
8020         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8021
8022 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
8023
8024         * elmo-archive.el (elmo-archive-call-process): Don't check for
8025         the exit status when Nemacs is running.
8026
8027 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
8028
8029         * elmo-net.el (elmo-network-session-password-key): Don't set default to
8030         'plain.
8031
8032         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8033         (elmo-pop3-get-spec): Set default of auth to 'user.
8034
8035         * elmo-imap4.el (elmo-imap4-session-check):
8036         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8037         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8038         (elmo-imap4-auth-login): New function; Revival.
8039         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8040         `elmo-imap4-auth-login'.
8041
8042 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8043
8044         * elmo2.el (toplevel): Move `product-provide' declare.
8045         * mmelmo.el (toplevel): Ditto.
8046
8047 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8048
8049         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8050
8051 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
8052
8053         * elmo-util.el (elmo-folder-get-store-type): New function.
8054         (elmo-folder-direct-copy-p): Use it.
8055
8056 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8057
8058         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8059         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8060         and result of `elmo-imap4-use-flag-p'.
8061         (elmo-imap4-fetch-callback-1): Set mark according to
8062         the result of `elmo-imap4-use-flag-p'.
8063
8064 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
8065
8066         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8067         (elmo-generic-list-folder-unread): Ditto.
8068         (elmo-folder-get-info): Ditto.
8069         (elmo-folder-set-info-max-by-numdb): Ditto.
8070         (elmo-folder-get-info-max): Ditto.
8071         (elmo-folder-get-info-length): Ditto.
8072         (elmo-folder-get-info-unread): Ditto.
8073         (elmo-folder-info-make-hashtb): Ditto.
8074
8075         * elmo2.el: Removed above functions.
8076
8077 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
8078
8079         * elmo-imap4.el (toplevel): Require 'ssl.
8080         Add autoload 'starttls.
8081         * elmo-pop3.el (toplevel): Ditto.
8082         * elmo-nntp.el (toplevel): Ditto.
8083
8084 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8085
8086         * elmo-imap4.el (toplevel): defun at compile time.
8087         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8088         sasl-next-step, sasl-step-data, sasl-step-set-data.
8089         * elmo-pop3.el (toplevel): Ditto.
8090
8091 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8092
8093         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8094
8095 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8096
8097         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8098         if error.
8099         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8100         and `elmo-pop-auth-apop'.
8101
8102 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8103
8104         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8105
8106 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8107
8108         * elmo-pop3.el (elmo-network-authenticate-session): Split
8109         encoded response value.
8110
8111 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8112
8113         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8114         `elmo-pop3-force-login'.
8115         Redefine `sasl-mechanisms'.
8116         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8117
8118 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8119
8120         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8121         Delete `elmo-imap4-authenticator-alist'.
8122         (elmo-imap4-auth-cram-md5): Delete.
8123         (elmo-imap4-auth-digest-md5): Delete.
8124
8125 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8126
8127         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8128         (elmo-pop3-auth-scram-md5): Ditto.
8129         (elmo-pop3-auth-cram-md5): Ditto.
8130
8131 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8132
8133         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8134         Delete `elmo-pop3-authenticator-alist'.
8135
8136 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8137
8138         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8139         new SASL API.
8140         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8141
8142 \f
8143 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8144
8145         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8146
8147 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8148
8149         * elmo-nntp.el (elmo-nntp-get-folders-info):
8150         Fixed problem when '\' character is contained in user-id.
8151         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8152
8153 \f
8154 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8155
8156         * elmo-imap4.el (elmo-imap4-delete-folder):
8157         Send "close" before "delete" (Use commented out line).
8158         (elmo-imap4-rename-folder): Ditto.
8159
8160         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8161         folder string itself.
8162         (elmo-dop-list-deleted): New function.
8163         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8164         killed.
8165
8166         * elmo-util.el (elmo-string-rassoc-all): New function.
8167
8168         * elmo-version.el (elmo-version): Up to 2.5.1.
8169
8170 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8171
8172         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8173
8174         * elmo-internal.el (elmo-internal-search): Fix last change.
8175
8176 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8177
8178         * elmo-internal.el (elmo-internal-search): Rewrite.
8179         (Fixed problem which is pointed out by Akihiro MOTOKI
8180         <motoki@da.jp.nec.com>)
8181
8182         * elmo-version.el (elmo-version): Up to 2.5.0.
8183
8184 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8185
8186         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8187
8188 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8189
8190         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8191         non-nil, make hierarchy.
8192
8193 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8194
8195         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8196         `elmo-pop3-use-uidl' must be bound to nil.
8197         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8198
8199 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8200
8201         * elmo-util.el (elmo-copy-file): Don't cause an error after
8202         `add-name-to-file' failed.
8203
8204         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8205         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8206
8207 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8208
8209         * elmo-version.el (elmo-version): Up to 2.3.93.
8210
8211 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8212
8213         * elmo-util.el (elmo-flatten): New function.
8214
8215 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8216
8217         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8218         sync Author header.
8219         * elmo-cache.el (toplevel): Ditto.
8220         * elmo-database.el (toplevel): Ditto.
8221         * elmo-date.el (toplevel): Ditto.
8222         * elmo-dop.el (toplevel): Ditto.
8223         * elmo-filter.el (toplevel): Ditto.
8224         * elmo-imap4.el (toplevel): Ditto.
8225         * elmo-internal.el (toplevel): Ditto.
8226         * elmo-localdir.el (toplevel): Ditto.
8227         * elmo-localnews.el (toplevel): Ditto.
8228         * elmo-maildir.el (toplevel): Ditto.
8229         * elmo-msgdb.el (toplevel): Ditto.
8230         * elmo-multi.el (toplevel): Ditto.
8231         * elmo-net.el (toplevel): Ditto.
8232         * elmo-nntp.el (toplevel): Ditto.
8233         * elmo-pipe.el (toplevel): Ditto.
8234         * elmo-pop3.el (toplevel): Ditto.
8235         * elmo-util.el (toplevel): Ditto.
8236         * elmo-vars.el (toplevel): Ditto.
8237         * elmo2.el (toplevel): Ditto.
8238         * mmelmo-imap4.el (toplevel): Ditto.
8239         * mmelmo.el (toplevel): Ditto.
8240
8241         * elmo-version.el (elmo-version): Move to top.
8242
8243         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8244         * elmo-imap4.el (toplevel): Ditto.
8245         * elmo-localdir.el (toplevel): Ditto.
8246         * elmo-msgdb.el (toplevel): Ditto.
8247         * elmo-nntp.el (toplevel): Ditto.
8248         * elmo-pop3.el (toplevel): Ditto.
8249         * elmo-version.el (toplevel): Ditto.
8250
8251         * elmo-localnews.el (toplevel): Added Keyword header.
8252
8253 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8254
8255         * elmo-version.el (product-version-as-string): Defined using
8256         `defun-maybe'.
8257         (toplevel): Use it.
8258
8259         * elmo-localdir.el (toplevel): Updated copyright notice.
8260         * elmo-version.el (toplevel): Ditto.
8261         * elmo-msgdb.el (toplevel): Ditto.
8262         * elmo-imap4.el (toplevel): Ditto.
8263         * elmo-nntp.el (toplevel): Ditto.
8264         * elmo-pop3.el (toplevel): Ditto.
8265
8266 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8267
8268         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8269         messages.
8270
8271         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8272         parameter value (It sometimes contains raw kanji).
8273
8274 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8275
8276         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8277         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8278
8279 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8280
8281         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8282
8283 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8284
8285         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8286         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8287
8288 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8289
8290         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8291         value if selecting folder succceeded.
8292         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8293
8294 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8295
8296         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8297         representation.
8298
8299         * elmo-util.el (elmo-string-matched-member): New function.
8300
8301 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8302
8303         * elmo-util.el (elmo-unintern): New macro.
8304         (elmo-number-set-member): Fixed docstring.
8305
8306         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8307         tag token.
8308
8309 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8310
8311         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8312         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8313
8314 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8315
8316         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8317         `no-error'.
8318         Added docstring.
8319         Return non-nil if selecting folder succeeded.
8320         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8321
8322 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8323
8324         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8325         `file-name-completion' returns t.
8326         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8327         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8328         directory if it does not exist.
8329         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8330         for iteration.
8331
8332 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8333
8334         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8335         enclosure (It's harmful in unplugged status).
8336
8337         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8338
8339         * mmelmo-1.el: Removed.
8340
8341         * mmelmo-2.el: Ditto.
8342
8343         * mmelmo-imap4-1.el: Ditto.
8344
8345         * mmelmo-imap4-2.el: Ditto.
8346
8347         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8348
8349         * mmelmo.el: Merged mmelmo-2.el.
8350
8351         * elmo-version.el (elmo-version): Up to 2.3.92.
8352
8353 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8354
8355         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8356         elmo-update-number): Remove last period in "...done." message.
8357         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8358         Ditto.
8359         * elmo-cache.el (elmo-cache-expire-by-size,
8360         elmo-cache-get-sorted-cache-file-list,
8361         elmo-cache-msgdb-create-as-numlist): Ditto.
8362         * elmo-dop.el (elmo-dop-save-pending-messages,
8363         (elmo-dop-flush-pending-append-operations): Ditto.
8364         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8365         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8366         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8367         (elmo-localdir-pack-number): Ditto.
8368         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8369         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8370         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8371         mime-write-entity-content): Ditto.
8372         * pldap.el (ldap-search-basic): Ditto.
8373
8374 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8375
8376         * elmo-version.el (elmo-version): Up to 2.3.91.
8377
8378         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8379         Only when filter is 'last'.
8380
8381         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8382         (elmo-condition-parse-search-value): Use it.
8383         (elmo-read-search-condition-internal): Quote value only when
8384         it is not an atom.
8385
8386 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8387
8388         * elmo2.el (elmo-generic-folder-diff): Fix.
8389
8390 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8391
8392         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8393         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8394         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8395         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8396         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8397         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8398
8399 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8400
8401         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8402         extra-fields.
8403
8404 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8405
8406         * elmo-version.el (elmo-version): Up to 2.3.90.
8407
8408         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8409         (elmo-imap4-list-folder-important): Ditto.
8410
8411 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8412
8413         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8414
8415 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8416
8417         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8418
8419 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8420
8421         * elmo-nntp.el (elmo-network-initialize-session):
8422         Add starttls negotiation.
8423
8424 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8425
8426         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8427         response.
8428         (elmo-network-setup-session): Define.
8429         Call `elmo-nntp-send-mode-reader' when session opened.
8430
8431 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8432
8433         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8434
8435 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8436
8437         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8438         an invalid SPACE character ahead of `SEARCH' command.  Move
8439         a valid SPACE character following `SEARCH' from conditional
8440         `format' arguments to control-strings.
8441
8442 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8443
8444         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8445         was succeeded.
8446
8447         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8448
8449 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8450
8451         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8452         `w32-get-true-file-link-count' as t.
8453
8454         * elmo-imap4.el (elmo-imap4-read): Abolished.
8455         (Renamed to `elmo-read' and moved to elmo-util.el)
8456         All other related portions are changed.
8457
8458         * elmo-util.el (elmo-read): New function.
8459         (elmo-condition-parse-search-value): Use it.
8460
8461 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8462
8463         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8464
8465         * elmo-nntp.el (elmo-nntp-session): Define.
8466         (elmo-nntp-setting): Abolished.
8467         All other related portions are changed.
8468         (elmo-nntp-get-server-command): Changed argument.
8469         (elmo-nntp-set-server-command): Ditto.
8470         (elmo-nntp-xover-p): Ditto.
8471         (elmo-nntp-set-xover): Ditto.
8472         (elmo-nntp-listgroup-p): Ditto.
8473         (elmo-nntp-set-listgroup): Ditto.
8474         (elmo-nntp-list-active-p): Ditto.
8475         (elmo-nntp-set-list-active): Ditto.
8476         (elmo-nntp-xhdr-p): Ditto.
8477         (elmo-nntp-set-xhdr): Ditto.
8478         (elmo-nntp-flush-connection): Abolished.
8479         (elmo-nntp-get-connection): Abolished.
8480         (elmo-nntp-get-session): New function.
8481         (elmo-network-initialize-session): Defined.
8482         (elmo-network-authenticate-session): Ditto.
8483         (elmo-nntp-send-mode-reader): Changed argument.
8484         (elmo-nntp-send-command): Changed argument.
8485         All other related portions are changed.
8486         (elmo-nntp-read-response): Ditto.
8487         (elmo-nntp-read-raw-response): Ditto.
8488         (elmo-nntp-read-contents): Ditto.
8489         (elmo-nntp-read-body): Ditto.
8490         (elmo-nntp-goto-folder): Abolished.
8491         (elmo-nntp-select-group): New function.
8492         All other related portions are changed.
8493         (This function substitutes `elmo-nntp-goto-folder')
8494         (elmo-nntp-msgdb-create-by-header): Rewrite.
8495         (elmo-nntp-get-overview): Eliminated.
8496         (elmo-nntp-get-message): Ditto.
8497         (elmo-nntp-open-connection) Abolished.
8498         (elmo-nntp-read-msg): Rewrite.
8499         (elmo-nntp-post): Ditto.
8500         (elmo-nntp-send-data): Abolished.
8501         (elmo-nntp-send-buffer): New function.
8502         (elmo-nntp-send-data-line): Define as inline function.
8503         (elmo-nntp-get-folders-info-prepare): Use session as key.
8504         (elmo-nntp-groups-read-response): Changed argument.
8505         (elmo-nntp-retrieve-headers): Ditto.
8506         (elmo-nntp-msgdb-create-message): Ditto.
8507
8508         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8509         when searching by 'since' or 'before'.
8510
8511 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8512
8513         * elmo-version.el (toplevel): Use product-version-as-string for set
8514         verstion-string, if defined.
8515
8516 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8517
8518         * elmo-util.el: Doc fixes.
8519
8520 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8521
8522         * elmo-archive.el (toplevel): Use product-provide.
8523         * elmo-cache.el (toplevel): Ditto.
8524         * elmo-database.el (toplevel): Ditto.
8525         * elmo-date.el (toplevel): Ditto.
8526         * elmo-dop.el (toplevel): Ditto.
8527         * elmo-filter.el (toplevel): Ditto.
8528         * elmo-imap4.el (toplevel): Ditto.
8529         * elmo-internal.el (toplevel): Ditto.
8530         * elmo-localdir.el (toplevel): Ditto.
8531         * elmo-localnews.el (toplevel): Ditto.
8532         * elmo-maildir.el (toplevel): Ditto.
8533         * elmo-msgdb.el (toplevel): Ditto.
8534         * elmo-multi.el (toplevel): Ditto.
8535         * elmo-net.el (toplevel): Ditto.
8536         * elmo-nntp.el (toplevel): Ditto.
8537         * elmo-pipe.el (toplevel): Ditto.
8538         * elmo-pop3.el (toplevel): Ditto.
8539         * elmo-util.el (toplevel): Ditto.
8540         * elmo-vars.el (toplevel): Ditto.
8541         * elmo2.el (toplevel): Ditto.
8542         * mmelmo-1.el (toplevel): Ditto.
8543         * mmelmo-2.el (toplevel): Ditto.
8544         * mmelmo-imap4-1.el (toplevel): Ditto.
8545         * mmelmo-imap4-2.el (toplevel): Ditto.
8546         * mmelmo-imap4.el (toplevel): Ditto.
8547         * mmelmo.el (toplevel): Ditto.
8548
8549 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8550
8551         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8552         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8553
8554 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8555
8556         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8557         before splitting.
8558         (elmo-multi-split-number-alist): Ditto.
8559
8560 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8561
8562         * elmo-version.el: New file.  Use product.el.
8563         * elmo2.el: Add (require 'elmo-version).
8564         * elmo-vars.el (elmo-appname, elmo-version): Move to
8565         elmo-version.el
8566
8567 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8568
8569         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8570         `elmo-msgdb-expand-path'.
8571         (elmo-msgdb-load): Ditto.
8572         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8573         (elmo-generic-list-folder-unread): Rewrite.
8574         (elmo-generic-list-folder-important): Changed argument.
8575         (elmo-list-folder-unread): Ditto.
8576         (elmo-list-folder-important): Ditto.
8577         (elmo-folder-diff): Rewrite.
8578         (elmo-generic-folder-diff): New function.
8579         (elmo-multi-get-number-alist-list): Abolished
8580         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8581         (elmo-multi-folder-diff): Moved to elmo-multi.el
8582         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8583
8584         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8585         `elmo-msgdb-expand-path'.
8586         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8587         (elmo-pop3-read-msg): Ditto.
8588         (elmo-pop3-delete-msgs): Ditto.
8589         (elmo-pop3-folder-diff): New alias.
8590
8591         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8592         `elmo-msgdb-expand-path'.
8593         (elmo-pipe-list-folder-unread): Changed arguments.
8594         (elmo-pipe-list-folder-important): Ditto.
8595         (elmo-pipe-folder-diff): New alias.
8596
8597         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8598         `elmo-msgdb-expand-path'.
8599         (elmo-nntp-max-of-folder): Ditto.
8600         (elmo-nntp-msgdb-create): Ditto.
8601         (elmo-nntp-delete-msgs): Ditto.
8602         (elmo-nntp-folder-diff): New alias.
8603
8604         * elmo-multi.el (elmo-multi-folder-diff): New function.
8605         (elmo-multi-split-mark-alist): Ditto.
8606         (elmo-multi-split-number-alist): Ditto.
8607         (elmo-multi-mark-alist-list): Abolished (Renamed to
8608         elmo-multi-split-mark-alist).
8609         (elmo-multi-list-folder-unread): Rewrite.
8610         (elmo-multi-list-folder-important): Ditto.
8611         (elmo-multi-list-folder): Set `spec' as 1st argument for
8612         `elmo-msgdb-expand-path'.
8613         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8614         instead of `elmo-multi-get-number-alist-list'.
8615
8616         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8617         If 1st argument is not string, treat as spec.
8618         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8619         `elmo-msgdb-expand-path'.
8620         (elmo-msgdb-flist-load): Ditto.
8621         (elmo-msgdb-flist-save): Ditto.
8622         (elmo-msgdb-delete-path): Ditto.
8623         (elmo-msgdb-rename-path): Ditto.
8624
8625         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8626         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8627         (elmo-maildir-delete-mark-msgs): Ditto.
8628         (elmo-maildir-msgdb-create): Ditto.
8629         (elmo-maildir-read-msg): Ditto.
8630         (elmo-maildir-delete-msgs): Ditto.
8631         (elmo-maildir-list-folder-subr): Ditto.
8632         (elmo-maildir-search): Ditto.
8633         (elmo-maildir-get-msg-filename): Ditto.
8634         (elmo-maildir-pack-number): Ditto.
8635         (elmo-maildir-folder-diff): New alias.
8636
8637         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8638
8639         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8640         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8641         (elmo-localdir-folder-diff): New alias.
8642
8643         * elmo-internal.el (elmo-internal-list-folder-subr):
8644         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8645         (elmo-internal-list-folder-by-location): Ditto.
8646         (elmo-internal-msgdb-create): Ditto.
8647         (elmo-internal-delete-msgs): Ditto.
8648         (elmo-internal-read-msg): Ditto.
8649         (elmo-internal-folder-diff): New alias.
8650
8651         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8652         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8653         `elmo-msgdb-expand-path'.
8654         (elmo-imap4-list-folder-unread): Changed arguments.
8655         (elmo-imap4-list-folder-important): Ditto.
8656
8657         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8658         (elmo-filter-list-folder-important): Ditto.
8659         (elmo-filter-folder-diff): New function.
8660
8661         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8662
8663         * elmo-cache.el (elmo-cache-list-folder):
8664         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8665         (elmo-cache-copy-msgs): Ditto.
8666         (elmo-cache-folder-diff): New alias.
8667
8668         * elmo-archive.el (elmo-archive-list-folder-subr):
8669         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8670         (elmo-archive-get-archive-name): Ditto.
8671         (elmo-archive-create-file): Ditto.
8672         (elmo-archive-append-msg): Ditto.
8673         (elmo-archive-copy-msgs): Ditto.
8674         (elmo-archive-copy-msgs-froms): Ditto.
8675         (elmo-archive-get-msg-filename): Ditto.
8676         (elmo-archive-folder-diff): New alias.
8677
8678 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8679
8680         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8681         (elmo-pop3-stream-type-alist): New variable.
8682         (elmo-nntp-stream-type-alist): New variable.
8683
8684         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8685         (elmo-kill-buffer): Ditto.
8686         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8687         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8688         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8689         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8690         (elmo-imap4-get-spec): Take into account
8691         `elmo-imap4-stream-type-alist'.
8692
8693 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8694
8695         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8696         (elmo-nntp-list-folders-get-cache): Ditto.
8697
8698 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8699
8700         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8701         character before 'uid'.
8702
8703 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8704
8705         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8706
8707         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8708
8709         * elmo-util.el (elmo-number-set-member): New function.
8710         (elmo-number-set-append-list): Ditto.
8711         (elmo-number-set-append): Ditto.
8712
8713         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8714         Use `elmo-number-set-member'.
8715         (elmo-living-messages): Ditto.
8716         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8717         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8718
8719         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8720         (elmo-imap4-add-to-cont-list): Abolished.
8721         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8722         instead of elmo-imap4-add-to-cont-list.
8723
8724         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8725         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8726
8727         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8728
8729 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8730
8731         * elmo-util.el (elmo-condition-parse-search-value):
8732         Fixed date parsing.
8733
8734 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8735
8736         * elmo-util.el (elmo-condition-find-key-internal): New function.
8737         (elmo-condition-find-key): Ditto.
8738
8739         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8740         (elmo-msgdb-search-internal): Ditto.
8741         (elmo-msgdb-search): Ditto.
8742
8743 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8744
8745         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8746         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8747
8748         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8749         (elmo-nntp-search-primitive): Fixed problem when condition is
8750         'unmatch'.
8751
8752         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8753
8754         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8755         (elmo-nntp-xhdr-p): New macro.
8756         (elmo-nntp-set-xhdr): Ditto.
8757         (elmo-nntp-parse-xhdr-response): New function.
8758         (elmo-nntp-retrieve-field): Ditto.
8759         (elmo-nntp-search-primitive): Ditto.
8760         (elmo-nntp-search): Implemented.
8761
8762         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8763
8764         * elmo-archive.el (elmo-archive-search): Set all number list to
8765         `elmo-archive-field-condition-match'
8766
8767         * elmo-localdir.el (elmo-localdir-search): Likewise.
8768
8769         * elmo-maildir.el (elmo-maildir-search): Likewise.
8770
8771 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8772
8773         * elmo-msgdb.el (elmo-living-messages): New function.
8774         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8775         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8776         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8777         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8778         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8779         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8780         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8781         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8782         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8783         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8784         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8785
8786 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8787
8788         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8789
8790         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8791
8792         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8793
8794         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8795         arguments for `SEARCH' command.
8796         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8797         All other related portions are changed.
8798
8799         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8800
8801         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8802         (elmo-list-folder-unread): Rewrite.
8803         (elmo-list-folder-important): Ditto.
8804
8805         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8806         (elmo-condition-parse-error): New inline function.
8807         (elmo-read-search-condition): New function.
8808         (elmo-read-search-condition-internal): Ditto.
8809         (elmo-parse-search-condition): Rewrite.
8810         (elmo-condition-parse): New function.
8811         (elmo-condition-parse-or-expr): Ditto.
8812         (elmo-condition-parse-and-expr): Ditto.
8813         (elmo-condition-parse-primitive): Ditto.
8814         (elmo-condition-parse-search-value): Ditto.
8815         (elmo-buffer-field-primitive-condition-match): Ditto.
8816         (elmo-buffer-field-condition-match): Rewrite.
8817         (elmo-file-field-condition-match): Ditto.
8818
8819         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8820         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8821
8822         * elmo-internal.el (elmo-internal-search): Set `number' and
8823         `number-list' argument of `elmo-file-field-condition-match'.
8824
8825         * elmo-maildir.el (elmo-maildir-search): Ditto.
8826
8827         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8828         `msgdb' as argument instead of `mark-alist'.
8829         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8830         `overview'.
8831
8832         * elmo-multi.el: Likewise.
8833
8834         * elmo-pipe.el: Likewise.
8835
8836         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8837         (elmo-imap4-search-internal): Rewrite.
8838         (elmo-imap4-search): Ditto.
8839
8840         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8841         (elmo-filter-list-folder-unread): Ditto.
8842         (elmo-filter-list-folder-important): Ditto.
8843         (elmo-filter-search): Rewrite.
8844
8845         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8846         `number-list' argument of `elmo-file-field-condition-match'.
8847         (elmo-cache-search): Ditto.
8848
8849         * elmo-localdir.el: Likewise.
8850
8851         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8852         number-list and pass it to `elmo-buffer-field-condition-match'.
8853         (elmo-archive-field-condition-match): Pass `number-list' to
8854         `elmo-archive-field-condition-match'
8855
8856 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8857
8858         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8859         `listgroup'.
8860
8861         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8862         (elmo-folder-diff-async-callback-data): Ditto.
8863         (elmo-folder-diff-async): New function.
8864
8865         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8866         (elmo-network-session-cache-key): Use it as a prefix of the session
8867         name.
8868         (elmo-network-open-session): Ditto.
8869
8870         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8871         (elmo-imap4-status-callback-data): Ditto.
8872         (elmo-imap4-server-diff-async-callback): New variable.
8873         (elmo-imap4-server-diff-async-callback-data): Ditto.
8874         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8875         `elmo-imap4-status-callback-data'.
8876         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8877         `elmo-imap4-status-callback-data' as nil.
8878         (elmo-imap4-server-diff): Ditto.
8879         (elmo-imap4-server-diff-async-callback-1): New function.
8880         (elmo-imap4-server-diff-async): Ditto.
8881         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8882
8883 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8884
8885         * elmo-util.el (elmo-list-delete): Doc fix.
8886         (elmo-delete-lists): Abolish.
8887         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8888         instead of `elmo-delete-lists'.
8889
8890 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8891
8892         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8893         before `sort'.
8894
8895 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8896
8897         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8898         `elmo-imap4-literal-subr'.
8899         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8900         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8901
8902 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8903
8904         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8905         (elmo-archive-list-folder): Fix.
8906         (elmo-archive-max-of-folder): Fix.
8907
8908 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8909
8910         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8911          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8912         (elmo-localdir-append-msg): Ditto.
8913         (elmo-localdir-list-folder): Fix for `nonsort'.
8914         (elmo-localdir-list-folder-subr): Fix for `killed'.
8915         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8916         (elmo-maildir-list-folder-subr): Ditto.
8917         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8918         (elmo-archive-list-folder-subr): Ditto.
8919         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8920         (elmo-internal-list-folder-subr): Ditto.
8921
8922 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8923
8924         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8925
8926 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8927
8928         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8929
8930 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8931
8932         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8933         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8934
8935         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8936         before greeting.
8937         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8938         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8939
8940 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8941
8942         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8943
8944         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8945         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8946         before STORE command.
8947
8948 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8949
8950         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8951
8952         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8953         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8954         of `response'.
8955         (elmo-imap4-list-folders): Removed unused local variable.
8956         (elmo-network-initialize-session): Ditto.
8957         (elmo-imap4-delete-msg-by-id): Ditto.
8958         (elmo-imap4-parse-fetch): Ditto.
8959         (elmo-imap4-copy-msgs): Ditto.
8960         Use `dst-spec' instead of `dst-folder'.
8961         (elmo-network-authenticate-session): Check authenticate type `plain'.
8962
8963 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8964
8965         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8966         garbage checking.
8967         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8968         `elmo-imap4-response-value'.
8969         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8970
8971 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8972
8973         * elmo-imap4.el (elmo-imap4-send-command):
8974         Cause elmo-imap4-bye-error when current response is BYE.
8975         (elmo-imap4-arrival-filter): Changed greeting response value.
8976
8977         * elmo2.el (elmo-imap4-bye-error): Define.
8978
8979         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8980         (elmo-imap4-server-diff): Ditto.
8981         (elmo-imap4-response-bye-p): New macro.
8982         (elmo-imap4-response-error-text): Get text from BYE response.
8983         (elmo-imap4-read-response): Return if BYE response.
8984         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8985         (elmo-imap4-folder-exists-p): Ditto.
8986         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8987         (elmo-imap4-parse-bye): New function.
8988         (elmo-imap4-parse-response): Remove needless let.
8989         Call `elmo-imap4-parse-bye'.
8990
8991 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8992
8993         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8994         the mailbox does not exist.
8995         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8996
8997 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8998
8999         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
9000
9001 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
9002
9003         * elmo-vars.el (elmo-search-mime-charset): Abolished.
9004
9005         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
9006         (elmo-network-initialize-session-buffer): Defined.
9007
9008         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
9009         Abolished.
9010         (mmelmo-imap4-get-mime-entity): Rewrite.
9011
9012         * elmo2.el (elmo-error): Capitalize error message.
9013
9014         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
9015         (elmo-network-session-buffer): New macro.
9016         (elmo-network-open-session): Use it.
9017
9018         * elmo-imap4.el: Rewrite.
9019
9020 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9021
9022         * elmo-nntp.el (Toplevel): Require 'elmo-net.
9023
9024 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
9025
9026         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9027         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9028         (elmo-imap4-create-msgdb-from-overview-string): Use
9029         `elmo-msgdb-create-overview-from-buffer'.
9030
9031 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
9032
9033         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9034         (elmo-imap4-default-hierarchy-delimiter): New variable.
9035         (elmo-imap4-list-folders): Use it.
9036
9037 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
9038
9039         * elmo-net.el (elmo-network-open-session): Add user and
9040         stream-type for process-buffer name.
9041
9042         * elmo-pop3.el (elmo-network-initialize-session): Call
9043         buffer-disable-undo.
9044
9045         * elmo-imap4.el (elmo-network-initialize-session):
9046         Set current-buffer as an argument for `buffer-disable-undo'.
9047
9048         * elmo-pop3.el (elmo-network-close-session): Don't use
9049         `process-live-p'.
9050
9051         * elmo-vars.el (elmo-default-pop3-authenticate-type):
9052         Set default as 'user.
9053
9054         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9055
9056         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9057         and `elmo-imap4-flush-connection'.
9058
9059         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9060         (elmo-pop3-get-spec): Assume auth as symbol.
9061         (elmo-open-network-stream): Moved to `elmo-net'.
9062
9063         * elmo-pop3.el (toplevel): Require 'elmo-net.
9064         Define `sasl-cram-md5' to silence byte compilier.
9065         (elmo-pop3-connection-cache) Abolished.
9066         (elmo-pop3-authenticator-alist) New variable.
9067         (elmo-pop3-session): Define.
9068         (elmo-pop3-connection-get-process): Abolished.
9069         (elmo-pop3-connection-get-buffer): Ditto.
9070         (elmo-pop3-close-connection): Ditto.
9071         (elmo-pop3-flush-connection): Ditto.
9072         (elmo-pop3-get-connection): Ditto.
9073         (elmo-pop3-get-session): New function.
9074         (Replacement for `elmo-pop3-get-connection').
9075         All other related modules are changed.
9076         (elmo-network-close-session): Define.
9077         (elmo-pop3-send-command): Abolished argument `buffer'.
9078         All other related modules are changed.
9079         (elmo-pop3-read-response): Likewise.
9080         (elmo-pop3-open-connection): Abolished.
9081         (elmo-pop3-auth-user): New function.
9082         (elmo-pop3-auth-apop): Ditto.
9083         (elmo-pop3-auth-cram-md5): Ditto.
9084         (elmo-pop3-auth-scram-md5): Ditto.
9085         (elmo-pop3-auth-digest-md5): Ditto.
9086         (elmo-network-initialize-session): Define.
9087         (elmo-network-authenticate-session): Ditto.
9088         (elmo-network-setup-session): Ditto.
9089
9090         * elmo-imap4.el (toplevel): Require 'elmo-net.
9091         (elmo-imap4-session): Define.
9092         (elmo-imap4-connection-cache): Abolished.
9093         (elmo-imap4-password-key): Ditto.
9094         (elmo-imap4-flush-connection): Ditto.
9095         (elmo-imap4-get-connection): Ditto.
9096         All other related modules are changed.
9097         (elmo-imap4-get-session): New function
9098         (Replacement for `elmo-imap4-get-connection').
9099         (elmo-imap4-read-response): Abolished argument `buffer'.
9100         All other related modules are changed.
9101         (elmo-imap4-send-command): Likewise.
9102         (elmo-imap4-select-folder): Abolished.
9103         All other related modules are changed.
9104         (elmo-imap4-select-mailbox): New function.
9105         (Replacement for `elmo-imap4-select-folder').
9106         (elmo-imap4-auth-login): Simplify.
9107         (Assume current buffer as process buffer)
9108         (elmo-imap4-auth-cram-md5): Ditto.
9109         (elmo-imap4-auth-digest-md5): Ditto.
9110         (elmo-imap4-login): Ditto.
9111         (elmo-imap4-open-connection): Abolished.
9112         (elmo-imap4-open-connection-1): Abolished.
9113         (elmo-network-initialize-sessoin): Define.
9114         (elmo-network-authenticate-session): Ditto.
9115         (elmo-network-setup-session): Ditto.
9116
9117         * elmo-net.el: New module.
9118
9119 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9120
9121         * elmo-util.el (elmo-define-error): New function.
9122
9123         * elmo2.el (elmo-error): Define.
9124         (elmo-open-error): Define.
9125         (elmo-authenticate-error): Define.
9126
9127         * elmo-imap4.el (elmo-imap4-error): Abolish.
9128         (elmo-imap4-error-type): Abolish.
9129         (elmo-imap4-error-process): Abolish.
9130         (elmo-imap4-error-message): Abolish
9131         (elmo-imap4-list-folders): Don't quote lambda.
9132         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9133         (elmo-imap4-parse-namespace): Ditto.
9134         (elmo-imap4-open-connection): Rewrite.
9135         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9136         (elmo-imap4-get-connection): Abolish local variable `result'.
9137
9138 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9139
9140         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9141         wrong-type-argument error when auth is nil.
9142
9143 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9144
9145         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9146         (elmo-default-nntp-stream-type): Ditto.
9147         (elmo-default-pop3-stream-type): Ditto.
9148         (elmo-network-stream-type-alist): Ditto.
9149         (elmo-default-imap4-ssl): Abolished.
9150         (elmo-default-nntp-ssl): Ditto.
9151         (elmo-default-pop3-ssl): Ditto.
9152
9153         * elmo-util.el: (toplevel): Removed needless requires.
9154         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9155         (elmo-open-network-stream): Open network stream according to
9156         the value of `elmo-network-stream-type-alist'.
9157         (elmo-get-network-stream-type): New function.
9158         (elmo-network-stream-type-spec-string): New macro.
9159         (elmo-network-stream-type-symbol): Ditto.
9160         (elmo-network-stream-type-function): Ditto.
9161
9162         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9163         network-stream-type. All other related portions are changed.
9164         (elmo-pop3-open-connection): Ditto.
9165
9166         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9167         network-stream-type. All other related portions are changed.
9168
9169         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9170         network-stream-type.All other related portions are changed.
9171         (elmo-imap4-error): New macro.
9172         (elmo-imap4-error-type): Ditto.
9173         (elmo-imap4-error-process): Ditto.
9174         (elmo-imap4-error-message): Ditto.
9175         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9176         (elmo-imap4-auth-cram-md5): Ditto.
9177         (elmo-imap4-auth-digest-md5): Ditto.
9178         (elmo-imap4-login): Ditto.
9179         (elmo-imap4-open-connection): Remove password entry if authentication
9180         was in vain.
9181         (elmo-imap4-user-at-host): Abolished.
9182         (elmo-imap4-password-key): New buffer local variable.
9183         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9184         using protocol, port, auth and stream-type.
9185
9186         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9187
9188 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9189
9190         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9191
9192         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9193
9194         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9195         (elmo-imap4-authenticator-alist): New variable.
9196         (elmo-imap4-open-connection-1): Rename from
9197         elmo-imap4-open-connection.
9198         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9199         only wraps elmo-imap4-open-connection-1.
9200         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9201         user-at-host.
9202         (elmo-imap4-auth-login): New function.
9203         (elmo-imap4-auth-cram-md5): New function.
9204         (elmo-imap4-auth-digest-md5): New function.
9205         (elmo-imap4-login): New function.
9206
9207 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9208
9209         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9210         function `error'.
9211
9212 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9213
9214         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9215
9216 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9217
9218         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9219
9220 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9221
9222         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9223         for server responses, quote `*' regardless of where it appears.
9224
9225 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9226
9227         * elmo-maildir.el (elmo-maildir-commit): New alias.
9228
9229 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9230
9231         * elmo-util.el (elmo-display-progress):
9232                 Use `progress-feedback-with-label'.
9233
9234 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9235
9236         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9237         (elmo-imap4-non-atom-char-regex): Ditto.
9238         (elmo-imap4-non-text-char-regex): Ditto.
9239         (elmo-imap4-literal-threshold): Ditto.
9240         (elmo-imap4-atom-p): New function.
9241         (elmo-imap4-quotable-p): Ditto.
9242         (elmo-imap4-nil): Ditto.
9243         (elmo-imap4-atom): Ditto.
9244         (elmo-imap4-quoted): Ditto.
9245         (elmo-imap4-literal-subr): Ditto.
9246         (elmo-imap4-literal): Ditto.
9247         (elmo-imap4-buffer-literal): Ditto.
9248         (elmo-imap4-string-subr): Ditto.
9249         (elmo-imap4-string): Ditto.
9250         (elmo-imap4-buffer-string): Ditto.
9251         (elmo-imap4-astring-subr): Ditto.
9252         (elmo-imap4-astring): Ditto.
9253         (elmo-imap4-buffer-astring): Ditto.
9254         (elmo-imap4-nstring): Ditto.
9255         (elmo-imap4-buffer-nstring): Ditto.
9256         (elmo-imap4-mailbox): New alias.
9257         (elmo-imap4-field-body): Ditto.
9258         (elmo-imap4-userid): Ditto.
9259         (elmo-imap4-password): Ditto.
9260         (elmo-imap4-format-quoted): New function.
9261         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9262         arguments and handle "atom", "quoted" and "literal" string here.
9263         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9264         `elmo-imap4-send-command'.
9265         (elmo-imap4-folder-exists-p): Likewise.
9266         (elmo-imap4-create-folder): Likewise.
9267         (elmo-imap4-delete-folder): Likewise.
9268         (elmo-imap4-rename-folder): Likewise.
9269         (elmo-imap4-max-of-folder): Likewise.
9270         (elmo-imap4-check-validity): Likewise.
9271         (elmo-imap4-sync-validity): Likewise.
9272         (elmo-imap4-server-diff): Likewise.
9273         (elmo-imap4-select-folder): Likewise.
9274         (elmo-imap4-copy-msgs): Likewise.
9275         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9276         (elmo-imap4-mark-set-on-msgs): Likewise.
9277         (elmo-imap4-read-part): Likewise.
9278         (elmo-imap4-read-msg): Likewise.
9279         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9280         `elmo-imap4-password' for `elmo-imap4-send-command'.
9281         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9282         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9283         `elmo-imap4-buffer-literal'.
9284         (elmo-imap4-append-msg): Likewise.
9285
9286         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9287         `delete' for removing dead connection from the connection cache.
9288         Move deletion of the process buffer after that.
9289         (elmo-imap4-list): Change `defsubst' to `defun'.
9290         (elmo-imap4-commit): Make error message verbose.
9291         (elmo-imap4-search): Ditto.
9292         (elmo-imap4-list): Ditto.
9293         (elmo-imap4-select-folder): Ditto.
9294         (elmo-imap4-copy-msgs): Ditto.
9295         (elmo-imap4-delete-msg-by-id): Ditto.
9296         (elmo-imap4-append-msg-by-id): Ditto.
9297         (elmo-imap4-append-msg): Ditto.
9298
9299 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9300
9301         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9302         when dired is used on XEmacs.
9303
9304 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9305
9306         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9307         instead of `append'.
9308         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9309         `elmo-plugged-p' directly.
9310         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9311         of `elmo-plugged-p' directly.
9312
9313         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9314         Eliminate unused variable.  Use `memq' for checking a process status.
9315         Use `cons' instead of `append' for updating the connection cache.
9316         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9317         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9318
9319 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9320
9321         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9322         `elmo-imap4-read-point' exactly.
9323
9324         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9325         the local variable `folder' to `mailbox'.
9326         Rename the argument `fld' to `folder'.
9327
9328 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9329
9330         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9331         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9332
9333 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9334
9335         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9336         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9337         (elmo-pop3-uidl-number-hash): Ditto.
9338         (elmo-pop3-size-hash): Ditto.
9339         (elmo-pop3-uidl-done): Ditto.
9340         (elmo-pop3-list-done): Ditto.
9341         (elmo-pop3-connection-get-process): New defmacro.
9342         (elmo-pop3-connection-get-buffer): Ditto.
9343         (elmo-pop3-close-connection): Delete buffer and process.
9344         (elmo-pop3-flush-connection): Don't delete buffer and process.
9345         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9346         Setup UIDL and size hash.
9347         (elmo-pop3-send-command-no-erase): Deleted
9348         (elmo-pop3-send-command): Added optional argument `no-erase'.
9349         (elmo-pop3-parse-uidl-response): New function.
9350         (elmo-pop3-parse-list-response): Set size hash.
9351         (elmo-pop3-list-location): New function.
9352         (elmo-pop3-list-by-uidl-subr): Ditto.
9353         (elmo-pop3-list-by-list): Ditto.
9354         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9355         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9356         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9357         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9358         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9359         Use uidl.
9360         (elmo-pop3-uidl-to-number): New function.
9361         (elmo-pop3-number-to-uidl): Ditto.
9362         (elmo-pop3-number-to-size): Ditto.
9363         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9364         Set number by use of uidl.
9365         (elmo-pop3-msgdb-create-message): Likewise.
9366         Set size, loc-alist in msgdb.
9367         (elmo-pop3-read-msg): Set number by use of uidl.
9368         Added optional argument `msgdb'.
9369         (elmo-pop3-delete-msg): Ditto.
9370         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9371         (elmo-pop3-commit): Close connection.
9372
9373         * elmo-pipe.el (elmo-pipe-max-of-folder):
9374         Bind `elmo-pop3-use-uidl' as nil.
9375         (elmo-pipe-drain): Ditto.
9376         Call `elmo-commit'.
9377
9378         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9379         (elmo-msgdb-overview-entity-set-size): New defsubst.
9380
9381 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9382
9383         * elmo-vars.el (elmo-use-killed-list): New variable
9384         (Renamed from `elmo-nntp-use-killed-list').
9385         (elmo-nntp-use-killed-list): Eliminated.
9386
9387         * elmo-msgdb.el (elmo-msgdb-expand-path):
9388         Changed expanding msgdb path for elmo-multi.
9389
9390         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9391         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9392         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9393         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9394         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9395         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9396         (toplevel): Deleted time-stamp line.
9397
9398         * elmo2.el (elmo-clear-killed ): Defined as function
9399         (Abolished defining as a backend function).
9400         All other related modules are changed.
9401
9402 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9403
9404         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9405
9406 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9407
9408         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9409
9410 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9411
9412         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9413
9414 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9415
9416         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9417         asynchronous folder check.
9418
9419         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9420
9421         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9422         `elmo-nntp-use-killed-list'.
9423         (elmo-nntp-list-folder): Use killed list.
9424         (elmo-nntp-max-of-folder): Ditto.
9425         (elmo-nntp-msgdb-create): Set killed list.
9426
9427         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9428
9429         * elmo2.el (elmo-clear-killed): New backend function.
9430         All other related modules are changed.
9431
9432 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9433
9434         * elmo-util.el (elmo-imap4-spec-folder): Use
9435         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9436         All callers changed.
9437
9438 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9439
9440         * mmelmo-2.el (initialize-instance):
9441         Use `mime-buffer-entity-buffer-internal' instead of
9442         `mime-entity-buffer'.
9443
9444         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9445         (mime-entity-body): Implemented.
9446         (mime-goto-header-start-point): Deleted.
9447         (mime-goto-body-end-point): Ditto.
9448         (mime-entity-point-min): Ditto.
9449         (mime-entity-point-max): Ditto.
9450         (mime-entity-children): Ditto.
9451         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9452         instead of `mime-entity-buffer'.
9453         (mime-entity-header-buffer): Ditto.
9454         (mime-entity-body-buffer): Ditto.
9455         (mime-write-entity-content): Ditto.
9456
9457         * pldap.el (ldap-static-if): New macro.
9458         (toplevel): Use it instead of `static-if'.
9459
9460 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9461
9462         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9463         included in `attrs' argument.
9464
9465 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9466
9467         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9468
9469         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9470         (ldap-ldif-safe-init-char-regexp): Ditto.
9471         (ldap-ldif-safe-string-regexp): Ditto.
9472         (ldap/ldif-safe-string-p): New macro.
9473         (ldap/ldif-insert-field): Ditto.
9474         (ldap-modify): Use it.
9475         (ldap-add): Ditto.
9476         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9477         (ldap-decode-attribute): Decode only when `attr' is consp.
9478         (ldap-delete): Bind `ret'.
9479         (toplevel): Require 'cl at compile time.
9480         Removed (require 'poe) and (require 'std11).
9481         (pldap-version): Eliminated.
9482         (ldap-search-basic): Removed auth and dn binding.
9483         (ldap-ldif-field-name-regexp): New constant.
9484         (ldap-ldif-field-head-regexp): Ditto.
9485         (ldap-ldif-next-field-head-regexp): Ditto.
9486         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9487         (ldap/field-end): New function.
9488         (ldap/field-body): Use it.
9489         (ldap/collect-field): Ditto.
9490         (ldap-search-basic): Use `ldap/field-body'.
9491
9492 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9493
9494         * pldap.el (ldap-default-attribute-encoder): New user option.
9495         (ldap/field-body): Decode base64 string.
9496         (ldap/collect-field): Ditto.
9497         (ldap-encode-attribute): New function.
9498         (ldap-add-entries): Use it.
9499         (ldap-modify-entries): Ditto.
9500         (ldap-search-entries): Enclosed decoding function with
9501         `with-temp-buffer' and set as unibyte.
9502         (ldap-search-basic): Set process buffer as unibyte.
9503
9504         * elmo-util.el (elmo-folder-identical-system-p):
9505         Eliminated name space checking.
9506
9507         * pldap.el: New module.
9508         toplevel: Changed condition to detect built-in ldap feature.
9509         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9510         (ldap-add): Added error handling.
9511         (ldap-modify): Ditto.
9512         (ldap-delete): Ditto.
9513
9514 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9515
9516         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9517         Initialize local variables with `let'.  Inline a temporary
9518         variable for the progress percentage.  Sort `setq' to reduce
9519         function call in the while-loop.
9520
9521         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9522         into the conditional branch.
9523
9524 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9525
9526         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9527         Move a conditional out of the while-loop.
9528
9529 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9530
9531         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9532         elmo-msgdb-overview-get-entity-by-number.
9533         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9534         throw.
9535
9536 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9537
9538         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9539         the local variable for a packed number self descriptively.
9540
9541 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9542
9543         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9544         * elmo-localdir.el (elmo-localdir-pack-number): Use
9545         `elmo-msgdb-overview-get-entity' instead of
9546         `elmo-msgdb-overview-get-entity-by-number'.
9547         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9548         (elmo-msgdb-search-overview-entity): Removed.
9549         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9550         by message-id or number.
9551         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9552         instead of `elmo-msgdb-overview-get-entity-by-number'.
9553
9554 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9555
9556         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9557         non-nil, use hash table for overview.
9558         (elmo-hash-maximum-size): New variable.
9559         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9560         (elmo-msgdb-make-overview-hashtb): New function.
9561         (elmo-msgdb-clear-overview-hashtb): New function.
9562         (elmo-clear-hash-val): New macro.
9563         All other related modules are changed.
9564
9565 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9566
9567         * elmo2.el (elmo-move-msgs): If there's other message with
9568         same message-id, don't use cache.
9569
9570 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9571
9572         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9573         number is already packed.
9574
9575 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9576
9577         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9578
9579 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9580
9581         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9582         All other related modules are changed.
9583
9584 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9585
9586         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9587         of refiling failure on Maildir.
9588
9589 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9590
9591         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9592         decoded mime-charset with cache.
9593         (elmo-msgdb-overview-entity-get-from): Ditto.
9594         (elmo-msgdb-overview-entity-get-subject): Ditto.
9595         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9596
9597 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9598
9599         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9600         (elmo-remove-passwd): Fill password with 0 before erase.
9601         * elmo-vars.el (elmo-passwd-life-time): New variable.
9602
9603 \f
9604 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9605
9606         * elmo-cache.el (elmo-buffer-cache-add):
9607         Set message cache buffer as unibyte.
9608
9609 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9610
9611         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9612         become nil.
9613
9614 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9615
9616         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9617         when display is finished.
9618         (elmo-nntp-msgdb-create): Ditto.
9619         (elmo-nntp-groups-read-response): Ditto.
9620         (elmo-nntp-retrieve-headers): Ditto.
9621         (elmo-nntp-msgdb-create-message): Ditto.
9622         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9623         (elmo-pop3-msgdb-create-message): Ditto.
9624
9625 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9626
9627         * elmo-maildir.el (elmo-maildir-msgdb-create):
9628         Use `elmo-msgdb-sort-by-date'.
9629
9630 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9631
9632         * elmo2.el (elmo-read-msg-no-cache):
9633         Eliminated arguments after `outbuf'.
9634         Don't use cache even if it exists.
9635         (elmo-read-msg): Don't pass arguments after `outbuf' to
9636         `elmo-read-msg-no-cache'.
9637
9638 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9639
9640         * elmo-archive.el (elmo-archive-list-folders):
9641         Use `file-name-directory' if base folder does not exist.
9642
9643 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9644
9645         * elmo-archive.el (elmo-archive-list-folders): Don't use
9646         `file-name-directory'.
9647
9648 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9649
9650         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9651         If `force' is non-nil, try flushing all operation queues.
9652
9653 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9654
9655         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9656         as-binary-process.
9657
9658 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9659
9660         * elmo-util.el (elmo-display-progress): Fixed.
9661
9662 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9663
9664         * elmo-util.el (elmo-display-progress): New function.
9665         All other related modules are changed.