* elmo-multi.el (elmo-folder-open-internal-p): Start with t and
[elisp/wanderlust.git] / elmo / ChangeLog
1 2010-10-13  David Maus  <dmaus@ictsoc.de>
2
3         * elmo-multi.el (elmo-folder-open-internal-p): Start with t and
4         set to nil if one of the child folders is not open.
5         (elmo-folder-open-internal): Open child folders only if they are
6         not opened yet.
7
8 2010-08-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
9
10         * elmo-imap4.el: Remove trailing whitespace.
11
12         * elmo-localdir.el (elmo-folder-pack-numbers): Fix
13         `elmo-bind-directory' indent.
14
15         * elmo-imap4.el (elmo-imap4-folder-list-range): Fix indent (only
16         cosmetic fix).
17
18 2010-08-27  TAKAHASHI Kaoru  <kaoru@kaisei.org>
19
20         * elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
21         (elmo-delete-cr, elmo-get-file-string, elmo-save-string)
22         (elmo-string-to-list, elmo-list-to-string): Ditto.
23
24 2010-08-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
25
26         * elmo-archive.el (elmo-archive-field-condition-match)
27         (elmo-archive-suffix-alist)
28         (elmo-archive-create-file, elmo-archive-folder-append-buffer)
29         (elmo-archive-folder-message-make-temp-files)
30         (elmo-archive-append-files)
31         (elmo-archive-field-condition-match): Fix indent.
32
33         * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
34         Avoid `args-out-of-range 0, 1' error.
35
36 2010-08-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
37
38         * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
39         (delete-backward-char X) that deletes region in Emacs 24.
40         See delete-active-region described in NEWS.
41         * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
42         * elmo-util.el (elmo-get-file-string): Ditto.
43         * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
44
45 2010-08-09  David Maus  <dmaus@ictsoc.de>
46
47         * elmo.el (elmo-folder-open-internal-p): New luna method.
48         (elmo-folder-move-messages): Open source folder only if necessary.
49         * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
50         * elmo-multi.el (elmo-folder-open-internal-p): Dto.
51         * elmo-map.el (elmo-folder-open-internal-p): Dto.
52         * elmo-filter.el (elmo-folder-open-internal-p): Dto.
53
54 2010-08-01  David Maus  <dmaus@ictsoc.de>
55
56         * elmo.el (elmo-folder-move-messages): Open source folder before
57         moving messages.
58
59 2010-04-15  David Maus  <dmaus@ictsoc.de>
60
61         * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
62         imap user name.
63
64 2010-04-14  David Maus  <dmaus@ictsoc.de>
65
66         * elmo-imap4.el (elmo-imap4-disabled-extension): New
67         variable. List of server extensions that are disabled on the
68         client side.
69         (elmo-imap4-session-capable-p): Honour list of disabled
70         extensions.
71
72 2010-03-17  David Maus  <dmaus@ictsoc.de>
73
74         * elmo-imap4.el (elmo-imap4-folder-list-flagged)
75         (elmo-imap4-search-internal-primitive): Pass filter type to imap
76         search when performing search for flagged messages.
77
78 2010-01-22  Vitaly Mayatskih  <v.mayatskih@gmail.com>
79
80         * modb-standard.el (modb-standard-save-entity): Use
81         `modb-standard-cleanup-stale-entities' to clean up stale entity
82         files in modb cache.
83         * elmo-imap4.el (elmo-network-authenticate-session): Ask for
84         capabilities after login.
85
86 2010-01-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
87
88         * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
89         indent (only cosmetic fix).
90
91 2010-01-15  Vitaly Mayatskih  <v.mayatskih@gmail.com>
92
93         * elmo-version.el (elmo-version): Up to 2.15.9.
94
95         * elmo-imap4.el (elmo-imap4-elist): New function
96         * elmo-imap4.el (elmo-imap4-parse-response): Added support for
97         ESEARCH feature (RFC4731).
98         * elmo-imap4.el (toplevel): Require time-stamp
99         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
100         elmo-imap4-read-response elmo-imap4-read-untagged
101         elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
102         logging format.
103         * elmo-imap4.el (elmo-folder-list-messages-plugged,
104         elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
105         for full uid range on folder entering, retrieve updates only for
106         newly appeared messages.
107         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
108         elmo-imap4-read-response, elmo-imap4-read-untagged,
109         elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
110         to format-time-string.
111         * elmo-vars.el (toplevel): New custom
112         `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
113         flag for some buggy servers.
114         * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
115
116 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
117
118         * acap.el (acap-parse-response): Fix comment-out style. Use three
119         semicolons, that should start at the left margin.
120         See. also (Info-goto-node "(elisp)Comment Tips").
121         * elmo.el (toplevel, elmo-message-match-condition)
122         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
123         Ditto.
124         * elmo-archive.el (elmo-archive-suffix-alist)
125         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
126         (elmo-archive-method-list)
127         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
128         Ditto.
129         * elmo-imap4.el (toplevel)
130         (elmo-imap4-send-command, elmo-imap4-check-validity)
131         (elmo-imap4-fetch-callback-1-subr)
132         (elmo-network-initialize-session, elmo-server-diff-async)
133         (elmo-imap4-folder-diff-plugged): Ditto
134         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
135         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
136         * elmo-net.el (elmo-network-close-session): Ditto.
137         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
138         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
139         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
140         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
141         (elmo-number-set-delete)
142         (elmo-cache-get-oldest-cache-file-entity): Ditto.
143
144 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
145
146         * elmo-version.el (elmo-version): Up to 2.15.8.
147
148         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
149         `with-current-buffer' instead of `save-excursion' (for suppress
150         compile warnings).
151
152         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
153         instead of `int-to-string'.
154         * elmo-archive.el (elmo-archive-message-fetch-internal)
155         (elmo-archive-folder-message-make-temp-files)
156         (elmo-archive-folder-append-buffer)
157         (elmo-folder-delete-messages-internal)
158         (elmo-archive-msgdb-create-entity)
159         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
160         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
161         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
162         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
163         * elmo-imap4.el (elmo-imap4-make-number-set-list)
164         (elmo-folder-list-subfolders): Ditto.
165         * elmo-localdir.el (elmo-message-file-name)
166         (elmo-folder-message-make-temp-files)
167         (elmo-localdir-msgdb-create-entity)
168         (elmo-folder-append-messages-*-localdir)
169         (elmo-folder-pack-numbers): Ditto.
170         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
171         * elmo-map.el (elmo-location-map-key): Ditto.
172         * elmo-nntp.el (elmo-nntp-folder-postfix)
173         (elmo-nntp-folder-list-subfolders)
174         (elmo-nntp-folder-msgdb-create): Ditto.
175
176         * elmo.el (elmo-crosspost-message-alist-save): Don't use
177         `function' for `lambda'.
178         * elmo-archive.el (elmo-archive-folder-list-subfolders)
179         (elmo-folder-append-messages-*-archive)
180         (elmo-folder-delete-messages-internal): Ditto.
181         * elmo-date.el (elmo-replace-in-string): Ditto.
182         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
183         (elmo-folder-list-flagged): Ditto.
184         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
185         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
186         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
187
188 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
189
190         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
191         `elmo-dop-spool-folder' was used before it was defined"; Use
192         `defun' instead.
193
194         * pldap.el (ldap/ldif-safe-string-p): macro to function.
195         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
196
197         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
198         `mapcar'; Suppress compile warning.
199         * elmo-imap4.el (elmo-network-initialize-session-buffer)
200         (elmo-imap4-search-internal-primitive): Ditto.
201         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
202         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
203
204         * elmo-imap4.el (elmo-imap4-parse-address-list)
205         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
206         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
207         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
208         `(string-to-char " ")' instead of `? ', `?\ '.
209
210 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
211
212         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
213         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
214         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
215         `function' for lambda.
216
217         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
218         `string-to-number' instead of `string-to-int'.
219
220         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
221         instead of `save-excursion' (for suppress compile warnings).
222         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
223         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
224         (elmo-nntp-post): Ditto.
225
226 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
227
228         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
229         Mule-UCS (to-utf-16).
230         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
231         Emacs 23.
232
233 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
234
235         * utf7.el (utf7-find-coding-system-without-bom): New Function.
236         (utf7-utf-16-coding-system): use no-BOM coding system.
237         (utf7-get-u16char-converter): remove workaround for BOM.
238
239 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
240
241         * elmo-util.el (elmo-union): New function, make a union of two lists.
242
243         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
244         mime-view when displaying malformed base64 attach.
245
246         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
247         (removed duplicated code)
248
249         * modb-standard.el (modb-standard-cleanup-stale-entities): New
250         function, Remove stale entities from elmo's cache.
251
252 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
253
254         * elmo-version.el (elmo-version): Up to 2.15.7.
255
256 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
257
258         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
259         default value to `--auto-update'.
260
261 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
262
263         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
264         Add `elmo-pop3-read-point' barrier.
265
266 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
267
268         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
269         goto the previous end-point insead of the head-point, and use
270         `search-forward' instead of `re-search-forward'.
271
272 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
273
274         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
275
276 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
277
278         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
279         case-insensitive fashion.
280
281 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
282
283         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
284
285 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
286
287         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
288         `eval-and-compile' for suppress compile warnings.
289
290         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
291         instead of `defun-maybe'
292
293         * elmo-util.el: Add (eval-when-compile (require 'static)).
294
295 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
296
297         * mmimap.el: Remove (require 'static).
298         * acap.el: Ditto.
299
300         * elmo-flag.el: Move ';;; Code:' comment.
301         * elmo-imap4.el: Ditto.
302         * elmo-net.el: Ditto.
303
304         * elmo-version.el (product-provide): Fix comment.
305
306 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
307
308         * slp.el: Add (eval-when-compile (require 'cl)).
309         * elmo-date.el: Ditto.
310         * elmo-pop3.el: Ditto.
311         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
312
313 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
314
315         * modb.el (elmo-msgdb-match-condition-primitive): Use
316         `string-to-number' instead of `string-to-int'.
317
318         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
319         (elmo-msgdb-message-match-condition)
320         (elmo-msgdb-create-message-entity-from-buffer): Use
321         `string-to-number' instead of `string-to-int'.
322
323         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
324         instead of `string-to-int'.
325
326         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
327         instead of `string-to-int'.
328
329         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
330         `string-to-number' instead of `string-to-int'.
331
332         * elmo-nntp.el (elmo-nntp-make-msglist)
333         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
334         (elmo-nntp-create-msgdb-from-overview-string)
335         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
336         (elmo-nntp-search-primitive): Use `string-to-number' instead of
337         `string-to-int'.
338
339         * elmo-net.el (elmo-net-folder-set-parameters): Use
340         `string-to-number' instead of `string-to-int'.
341
342         * elmo-localdir.el (elmo-localdir-list-subr): Use
343         `string-to-number' instead of `string-to-int'.
344
345         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
346         `string-to-number' instead of `string-to-int'.
347
348         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
349         instead of `string-to-int'.
350
351         * elmo-archive.el (elmo-archive-list-folder-subr): Use
352         `string-to-number' instead of `string-to-int'.
353
354 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
355
356         * elmo-util.el (elmo-get-passwd): Fix typo.
357
358         * elmo-nntp.el (elmo-nntp-get-server-command)
359         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
360         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
361         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
362         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
363
364         * elmo-imap4.el (elmo-imap4-debug)
365         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
366         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
367         (elmo-imap4-response-value, elmo-imap4-response-error-text)
368         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
369         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
370         (elmo-imap4-identical-system-p): New backquote style.
371
372 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
373
374         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
375         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
376         (elmo-dop-queue-arguments): Ditto.
377
378         * elmo-date.el (elmo-match-substring): New backquote style.
379         (elmo-match-string, elmo-match-buffer): Ditto.
380         (elmo-date-make-sortable-string): Ditto.
381
382         * elmo-archive.el (elmo-archive-get-method):New backquote style.
383         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
384
385         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
386         style.
387
388         * elmo-net.el (elmo-network-stream-type-spec-string): New
389         backquote style.
390         (elmo-network-stream-type-symbol): Ditto.
391         (elmo-network-stream-type-feature): Ditto.
392         (elmo-network-stream-type-function): Ditto.
393         (elmo-network-session-buffer): Ditto.
394
395         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
396         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
397         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
398         (elmo-bind-directory, elmo-set-work-buf): Ditto.
399
400         * elmo.el (elmo-folder-send): New backquote style.
401
402 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
403
404         * pldap.el (ldap-static-if): New backquote style.
405         (ldap/ldif-safe-string-p): Ditto.
406         (ldap/ldif-insert-field): Ditto.
407
408         * elmo-version.el (elmo-version): Up to 2.15.6.
409
410 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
411
412         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
413         messages with \Deleted flag.
414         (elmo-folder-delete-messages-plugged): Ask before sending expunge
415         command if there are messages with \Deleted flag.
416
417 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
418
419         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
420         http://seclists.org/bugtraq/2007/Apr/0018.html
421         (Suggested by Tatsuya Kinoshita)
422
423 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
424
425         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
426         with \Noselect attribute.
427
428 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
429
430         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
431         hierarchical folder structure with UW-imapd.
432
433 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
434
435         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
436         when the LOGINDISABLED capability is advertised.
437
438 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
439
440         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
441
442 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
443
444         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
445         `entity'.
446         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
447         if the message entity is exists.
448
449 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
450
451         * elmo-util.el (elmo-msgdb-insert-file-header): Call
452         `elmo-delete-cr-buffer'.
453
454         * elmo-localdir.el (elmo-message-fetch-internal): Use
455         `insert-file-contents-as-raw-text' instead of
456         `insert-file-contents-as-binary'.
457
458         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
459
460 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
461
462         * elmo-imap4.el (elmo-network-initialize-session): Check to
463         retrieve a whole greeting message.
464
465 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
466
467         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
468
469 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
470
471         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
472         (elmo-progress-notify): Use it instead of `plist-get'.
473
474 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
475
476         * elmo.el (elmo-generic-folder-append-messages): Remove unused
477         variable `table'.
478
479 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
480
481         * elmo-pipe.el (elmo-folder-set-plugged): Define.
482
483 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
484
485         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
486         (elmo-spam-list-spam-messages): Check it option.
487
488 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
489
490         * elmo-util.el (elmo-with-progress-display): Return the value
491         of the last form in `body'.
492
493 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
494
495         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
496         `elmo-progress-counter' as t when a query callback returns nil.
497         (elmo-progress-clear): New function.
498         (elmo-progress-done): Split into `elmo-progress-clear'.
499         (elmo-progress-notify): Update a total slot when it is nil.
500         (elmo-with-progress-display): Call `elmo-progress-clear' in
501         unwind-protect and move calling `elmo-progress-done' to outside.
502
503         * elmo-imap4.el (elmo-imap4-find-next-line): Call
504         `elmo-progress-notify' with :total parameter instead of
505         `elmo-progress-counter-set-total'.
506
507 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
508
509         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
510         Make it interactive.
511         (elmo-progress-start): Avoid updating `elmo-progress-counter'
512         when a query callback returns nil.  Return a progress counter
513         instead of t whenever a start callback was called.
514
515 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
516
517         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
518         (elmo-imap4-send-command): Use it.
519         (elmo-network-initialize-session): Ditto.
520         (elmo-network-setup-session): Ditto.
521         (elmo-folder-msgdb-create-plugged): Ditto.
522
523 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
524
525         * elmo-util.el (elmo-progress-done): Fix a miss refer to
526         `elmo-progress-counter'.
527
528 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
529
530         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
531         (elsp-bsfilter-list-spam-filter): New function.
532         (elsp-bsfilter-start-list-spam): Ditto.
533         (elsp-bsfilter-read-list-spam): Ditto.
534         (elmo-spam-list-spam-messages): Use async process to display
535         progress message by each message.
536
537 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
538
539         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
540         of flushing previously inserted message contents.
541
542         * elmo-imap4.el (elmo-folder-search): Fix return value.
543
544 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
545
546         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
547         of reporter is enable or not.
548
549 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
550
551         * elmo-util.el (elmo-list-bigger-diff): Abolish.
552         (elmo-display-progress): Ditto.
553         (elmo-progress-counter-alist): Ditto.
554         (elmo-progress-set): Ditto.
555         (elmo-progress-clear): Ditto.
556         (elmo-progress-counter-all-value): Rename to
557         `elmo-progress-counter-total'.
558         (elmo-progress-counter-format): Rename to
559         `elmo-progress-counter-action'.
560         (elmo-progress-counter): New internal variable.
561         (elmo-progress-callback-function): Ditto.
562         (elmo-progress-counter-label): New function.
563         (elmo-progress-counter-set-total): Ditto.
564         (elmo-progress-counter-set-action): Ditto.
565         (elmo-progress-call-callback): Ditto.
566         (elmo-progress-start): Ditto.
567         (elmo-progress-done): Ditto.
568         (elmo-progress-notify): Rewrite.
569         (elmo-with-progress-display): Remove first argument
570         `condition'. Add optional argument `var' in `spec'.
571
572         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
573         (elmo-display-retrieval-progress-threshold): Ditto.
574         (elmo-inhibit-display-retrieval-progress): Ditto.
575
576         * Replace all pair of `elmo-progress-set' and
577         `elmo-progress-clear' into `elmo-with-progress-display'.
578
579         * Replace to call `elmo-display-progress' into pair of
580         `elmo-progress-notify' and `elmo-with-progress-display'.
581
582         * elmo-version.el (elmo-version): Up to 2.15.5.
583
584 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
585
586         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
587         `cond'.
588
589 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
590
591         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
592         cleanup-forms [wl:14027].
593
594 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
595
596         * elmo-flag.el (elmo-global-flag-set-internal): Use
597         `elmo-copy-file' by priority when the message is a file.
598
599 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
600
601         * elmo.el: Fix typo: disptch -> dispatch.
602
603 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
604
605         * elmo.el (elmo-file-tag): New class.
606         (elmo-append-messages-disptch-table): New constant.
607         (elmo-folder-type-p): New function.
608         (elmo-folder-append-messages): Redefine as function.
609
610         * elmo-null.el (elmo-folder-append-messages): Renamed from
611         `elmo-folder-append-messages'.
612
613         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
614         (elmo-folder-append-messages-*-maildir): Renamed from
615         `elmo-folder-append-messages'.
616
617         * elmo-localdir.el (elmo-localdir-folder): Inherit
618         `elmo-file-tag'.
619         (elmo-folder-append-messages-*-localdir): Renamed from
620         `elmo-folder-append-messages'.
621
622         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
623         from `elmo-folder-append-messages'.
624
625         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
626         `elmo-folder-append-messages'.
627
628         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
629         function.
630         (elmo-folder-append-messages-*-filter): Ditto.
631
632         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
633
634         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
635         (elmo-folder-append-messages-*-pipe): Renamed from
636         `elmo-folder-append-messages'.
637
638         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
639
640         * elmo-file.el (elmo-file-folder): Ditto.
641
642         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
643
644         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
645         from `elmo-folder-append-messages'
646
647 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
648
649         * elmo-map.el (elmo-location-map-setup): Change an argument
650         `locations' to optional.
651         (elmo-location-map-clear): Abolish.
652         (elmo-folder-clear): Follow the API change.
653
654         * elmo-pop3.el (elmo-folder-clear): Ditto.
655
656         * elmo-pop3.el (toplevel): Require elmo-map.
657         (elmo-pop3-folder): Inherit elmo-location-map and abolish
658         location-alist slot (All other related portions are changed).
659         (elmo-pop3-folder-use-uidl): New function.
660         (elmo-folder-msgdb-create): Don't sort message entities.
661         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
662         (elmo-pop3-number-to-size): Convert return value to number.
663         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
664         working buffer.
665
666         * elmo-map.el: Use `location-map' as a variable name for instance
667         instead of `mapper'.
668         (elmo-location-map-setup): Return location alist.
669         (elmo-location-map-update): Ditto.
670
671 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
672
673         * elmo-map.el (elmo-location-map): New class; split location and
674         number mapping from elmo-map-folder (All other related portions
675         are changed).
676
677         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
678         change.
679
680         * elmo-version.el (elmo-version): Up to 2.15.4.
681
682 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
683
684         * elmo-vars.el (elmo-use-hardlink): New user option.
685
686         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
687         `elmo-use-hardlink'.
688
689         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
690         killed-list.
691         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
692         instead of `*-internal'. Use `elmo-with-progress-display'.
693
694 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
695
696         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
697         `elmo-spam-process-messages-as-mbox'.
698
699         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
700
701 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
702
703         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
704         argument BUFFER of `call-process'.
705
706 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
707
708         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
709         args.
710         (elsp-bsfilter-list-spam-files): Ditto.
711
712 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
713
714         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
715         (elmo-spam-bsfilter-max-messages-per-process): New use option.
716         (elmo-spam-bsfilter-debug): Fix a group.
717         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
718         `--homedir'.
719         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
720         (elsp-bsfilter-list-spam-files): New function.
721         (elmo-spam-list-spam-messages): Define.
722         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
723         (elmo-spam-bsfilter-register-messages): New function.
724         (elmo-spam-register-spam-messages): Define.
725         (elmo-spam-register-good-messages): Ditto.
726
727         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
728
729         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
730         `nconc' and `consp'.
731
732 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
733
734         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
735         hash table to test whether a location is exists.
736
737 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
738
739         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
740         even if some error occurred.
741
742         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
743         meaningless unwind-protect.
744
745         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
746         start-number correctly.
747         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
748         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
749
750 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
751
752         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
753         (elmo-folder-initialize): Use it.
754         (elmo-global-flag-replace-referrer): New function.
755
756         * elmo.el (toplevel): Added autoload setting for
757         `elmo-global-flag-replace-referrer'.
758         (elmo-folder-rename): Rewrite the last change use
759         `elmo-global-flag-replace-referrer'.
760
761         * elmo-pipe.el (elmo-folder-rename): Call
762         `elmo-global-flag-replace-referrer'.
763
764 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
765
766         * elmo.el (elmo-folder-rename): Set meta data for global flags
767         follow the rename.
768
769 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
770
771         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
772         as 'not-loaded.
773         (elmo-folder-close): Ditto.
774         (elmo-filter-folder-number-list-loaded-p): New function.
775         (elmo-filter-folder-number-list): Check whether loaded or not.
776         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
777         of `elmo-filter-folder-number-list-internal'.
778         (elmo-folder-delete-messages): Ditto.
779         (elmo-folder-length): Check whether number-list is loaded or not.
780
781 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
782
783         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
784         field `real field' into each element of list.
785         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
786         (elmo-msgdb-message-entity-field): Ditto.
787         (modb-entity-ml-info-real-fields): New function.
788
789         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
790
791         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
792         `elmo-msgdb-extra-fields'.
793
794 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
795
796         * elmo-util.el (elmo-passwd-alist-load): Move point to min
797         position before read.
798
799 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
800
801         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
802         (elmo-global-flags-initialize): Ditto.
803
804 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
805
806         * elmo-archive.el (toplevel): Don't require emu, std11
807         and elmo-localdir.
808
809         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
810         definition.
811
812 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
813
814         * elmo.el (elmo-folder-confirm-appends): Display folder name.
815
816 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
817
818         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
819         literals.
820
821 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
822
823         * elmo-maildir.el (elmo-maildir-list-location): Reduce
824         `elmo-get-last-modification-time' call.
825
826 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
827
828         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
829         expression.
830         (elmo-maildir-set-mark): Ditto.
831         (elmo-maildir-delete-mark): Ditto.
832
833 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
834
835         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
836         optional argument `separators'.
837
838 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
839
840         * elmo.el (cache-changed): Abolish.
841         (status-changed): New signal.
842         (elmo-message-killed-p): New generic function and define for
843         elmo-folder.
844         (elmo-folder-recover-messages): Ditto.
845         (elmo-message-set-cached): Emit signal `status-changed' instead of
846         `cache-changed'.
847         (elmo-message-status): New macro.
848         (elmo-message-status-folder): Ditto.
849         (elmo-message-status-number): Ditto.
850         (elmo-message-status-set-flags): Ditto.
851         (elmo-message-status-set-killed): Ditto.
852         (elmo-message-status-flags): New function.
853         (elmo-message-status-cached-p): Ditto.
854         (elmo-message-status-killed-p): Ditto.
855
856         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
857         `status-changed' instead of `cache-changed'.
858         (elmo-folder-recover-messages): Define.
859         (elmo-message-killed-p): Ditto.
860
861         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
862         `status-changed' instead of `cache-changed'.
863
864         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
865         (elmo-message-killed-p): Define.
866         (elmo-folder-recover-messages): Ditto.
867
868         * elmo-version.el (elmo-version): Up to 2.15.3.
869
870 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
871
872         * elmo-signal.el (elmo-signal-bindings): Use cons to append
873         element into list.
874         (elmo-define-signal-handler): Add docstring.
875         (elmo-define-signal-filter): Ditto.
876
877         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
878
879 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
880
881         * elmo-util.el (elmo-flatten): Don't use recursive call.
882
883         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
884         assignment.
885         (elmo-folder-message-make-temp-files): Use `number-to-string'
886         instead of `int-to-string'.
887
888 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
889
890         * elmo-search.el (elmo-folder-delete-messages): Define.
891
892 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
893
894         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
895         customization type.
896         (elmo-mailing-list-count-spec-list): Ditto.
897
898         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
899         for `list-id'.
900
901 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
902
903         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
904         handling.
905
906 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
907
908         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
909         (elmo-mailing-list-count-spec-list): Ditto.
910
911         * elmo-util.el (elmo-map-until-success): New function.
912         (elmo-string-match-substring): Ditto.
913         (elmo-find-list-match-value): Ditto.
914
915         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
916         Removed.
917         (modb-entity-extract-ml-info-from-subject): Ditto.
918         (modb-entity-extract-ml-info-from-return-path): Ditto.
919         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
920         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
921         (modb-entity-extract-ml-info-from-mailman): Ditto.
922         (modb-entity-extract-mailing-list-info-functions): Ditto.
923         (modb-entity-extract-mailing-list-info): Rewrite with
924         `elmo-find-list-match-value'.
925
926 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
927
928         * elmo-net.el (elmo-network-session-retry-count): New user option.
929         (elmo-network-session-buffer-name): New internal function.
930         (elmo-network-session-buffer-create): Ditto.
931         (elmo-network-open-session): Retry open network session
932         `elmo-network-session-retry-count' times.
933
934 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
935
936         * elmo-util.el (elmo-list-filter): Rewritten.
937
938 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
939
940         * elmo-util.el (elmo-string-member): Allow symbol element in list.
941
942 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
943
944         * elmo-search.el (elmo-make-search-engine): Use prefix
945         `elmo-search-' for require symbol instead of `else-'.
946         (elmo-search-engine-extprog): New class.
947         (elmo-search-engine-do-search): Remove nil from argument
948         list. Added argument pattern to evaluate element as function.
949         (elmo-search-engine-local-file): Derived from
950         `elmo-search-engine-extprog'.
951         (elmo-search-engine-create-message-entity): Check existance of file.
952         (elmo-search-engine-fetch-message): Ditto.
953         (elmo-search-namazu-index): Follow the API change.
954         (elmo-search-grep-target): Ditto.
955
956 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
957
958         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
959         characters of working buffer.
960
961         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
962         Does not bind `default-mime-charset'.
963         (elmo-msgdb-create-message-entity-from-buffer): Removed
964         unnecessary local bind.
965
966         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
967         function.
968         (modb-entity-extract-mailing-list-info-functions): Added it.
969
970 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
971
972         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
973         when number and message-id are non-nil.
974
975         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
976
977         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
978         conditional steatment.
979         (elmo-pop3-auth-apop): Likewise.
980         (elmo-network-authenticate-session): Likewise.
981
982 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
983
984         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
985         symbol `fill-column'.
986         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
987         decode field value.
988
989         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
990         (elmo-decoded-field-body): Ditto.
991
992 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
993
994         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
995         `tokens' to `params'.
996
997 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
998
999         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
1000         working buffer.
1001
1002 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1003
1004         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
1005         decide index.
1006
1007 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1008
1009         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
1010         Set default value as nil.
1011         (toplevel): Register search engines by
1012         `elmo-search-register-engine' if there are not defined.
1013
1014         * elmo.el (autoload): Added autoload setting for
1015         `elmo-search-register-engine'.
1016
1017 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1018
1019         * elmo.el (toplevel): `[' is redefined as the prefix of the search
1020         folder instead of nmz folder.
1021         (elmo-nmz-default-index-path): Added obsolete variable setting.
1022         (elmo-nmz-index-alias-alist): Ditto.
1023         (elmo-nmz-use-drive-letter): Ditto.
1024
1025         * elmo-search.el (elmo-search-register-engine): New function.
1026
1027         * elmo-nmz.el: Removed.
1028
1029         * elmo-version.el (elmo-version): Up to 2.15.2.
1030
1031 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1032
1033         * elmo-search.el: New file.
1034
1035 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1036
1037         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1038         condition `larger' and `smaller'.
1039
1040 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1041
1042         * elmo-util.el (elmo-safe-filename): Rewrite to replace
1043         `"' (double quote) into "_Q_".
1044
1045 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1046
1047         * elmo-net.el (elmo-net-quote-chars): Abolish.
1048         (elmo-net-format-quoted): Ditto.
1049
1050 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1051
1052         * elmo.el (elmo-get-folder-function): New variable.
1053         (elmo-get-folder): New function.
1054         (elmo-folder-rename): Call `elmo-make-folder' with specified
1055         mime-charset.
1056
1057         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1058         `elmo-make-folder'.
1059         (elmo-split-subr): Ditto.
1060
1061         * elmo-multi.el (elmo-folder-initialize): Ditto.
1062
1063         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1064
1065         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1066         (elmo-flag-get-folder): Ditto.
1067
1068         * elmo-filter.el (elmo-folder-initialize): Ditto.
1069
1070         * elmo-access.el (elmo-folder-initialize): Ditto.
1071         (elmo-access-folder-update-children): Ditto.
1072
1073         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1074         (elmo-dop-queue-flush): Ditto.
1075         (elmo-folder-append-buffer-dop-delayed): Ditto.
1076         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1077         mime-charset.
1078
1079         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1080         instead of `elmo-make-folder'.
1081         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
1082         destination folder instead of send `elmo-folder-rename-internal'.
1083
1084         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1085         slot of subfolder instead of create it.
1086
1087 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1088
1089         * elmo-util.el (elmo-collect-separators): New function.
1090         (elmo-collect-separators-internal): Ditto.
1091         (elmo-collect-trail-separators): Ditto.
1092         (elmo-parse-separated-tokens): Ditto.
1093         (elmo-parse-separated-tokens-internal): Ditto.
1094         (elmo-quote-syntactical-element): Ditto.
1095
1096         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1097         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1098
1099         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1100         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1101         (elmo-nntp-folder-list-subfolders): Quote a user name.
1102
1103         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1104         (elmo-net-parse-network): Abolish.
1105         (elmo-net-folder-set-parameters): New function.
1106         (elmo-folder-initialize): Follow the above change.
1107
1108         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1109         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1110         (elmo-folder-list-subfolders): Use
1111         `elmo-quote-syntactical-element' instead of
1112         `elmo-net-format-quoted' to quote mailbox and user name.
1113
1114 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1115
1116         * elmo-util.el (elmo-token-valid-p): New function.
1117         (elmo-parse-token): Add optional argument `requirement'.
1118         (elmo-parse-prefixed-element): Likewise.
1119
1120         * elmo-net.el (elmo-net-quote-chars): Renamed from
1121         `elmo-net-quote-chars-regexp'.
1122         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1123
1124         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1125         by info document. Check token `uidl' is started an alphabet.
1126
1127         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1128         by info document. Check token `user' is started an alphabet.
1129
1130         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1131         (elmo-folder-list-subfolders): Quote user.
1132
1133 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1134
1135         * elmo-util.el (elmo-quoted-specials-list): New constant.
1136         (elmo-quoted-token): New function.
1137
1138         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1139         (elmo-net-format-quoted): New function.
1140         (elmo-net-parse-network): Ditto.
1141         (elmo-folder-initialize): Use it.
1142
1143         * elmo-nntp.el (elmo-folder-initialize): Use
1144         `elmo-net-parse-network' to parse network specification instead of
1145         `elmo-folder-initialize#elmo-net'.
1146
1147         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1148
1149         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1150         (elmo-folder-list-subfolders): Quote folder name by
1151         `elmo-net-format-quoted'.
1152
1153 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1154
1155         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1156         (elmo-folder-search): Use it.
1157
1158 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1159
1160         * modb-standard.el (modb-standard-loaded-message-id): Use
1161         `elmo-msgdb-message-entity-field'.
1162
1163 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1164
1165         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1166         without filename.
1167
1168 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1169
1170         * elmo-util.el (elmo-set-auto-coding): New function.
1171         (elmo-object-load): Use it.
1172
1173 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1174
1175         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1176         (elmo-time<): Define as alias of `elmo-time-less-p'.
1177         (elmo-time-to-datevec): New function.
1178
1179         * elmo-date.el (elmo-time-to-days): New function.
1180
1181 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1182
1183         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1184         is not cons cell.
1185
1186 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1187
1188         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1189         parenthesis.
1190
1191         * elmo-util.el (elmo-map-recursive): New function.
1192
1193         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1194         (modb-entity-encode-string-recursive): Ditto.
1195
1196 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1197
1198         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1199         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1200         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1201         compare sequence number when last modified time is nil.
1202
1203 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1204
1205         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1206
1207         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1208
1209 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1210
1211         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1212         modification time of the file.
1213
1214 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1215
1216         * elmo-util.el (elmo-condition-optimize): Discriminated against
1217         preserved fields, extra fields and the other weight.
1218
1219 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1220
1221         * modb-entity.el (initialize-instance): Define.
1222         (modb-entity-handler-mime-charset): New internal function.
1223         (modb-standard-entity-set-field): Use it.
1224         (elmo-msgdb-message-entity-field): Ditto.
1225         (elmo-msgdb-message-entity-field): Ditto.
1226
1227         * modb.el (elmo-msgdb-match-condition): Rewrite with
1228         `elmo-condition-match'.
1229         (elmo-msgdb-match-condition-primitive): New function.
1230
1231         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1232         arguments `flags' and `numbers'.
1233         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1234         `elmo-msgdb-message-match-condition').
1235         (modb-buffer-entity-handler): New class.
1236
1237         * elmo.el (elmo-folder-search): Optimize condition to use
1238         `elmo-condition-optimize'.
1239         (elmo-message-buffer-match-condition): New function.
1240         (elmo-message-match-condition): Use
1241         `elmo-message-buffer-match-condition' instead of
1242         `elmo-buffer-field-condition-match'.
1243
1244         * elmo-util.el (elmo-condition-match): New function.
1245         (elmo-condition-optimize): Ditto.
1246         (elmo-buffer-field-primitive-condition-match): Abolish.
1247         (elmo-buffer-field-condition-match): Ditto.
1248
1249         * elmo-archive.el (elmo-archive-field-condition-match): Use
1250         `elmo-message-buffer-match-condition' instead of
1251         `elmo-buffer-field-condition-match'.
1252
1253 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1254
1255         * elmo-flag.el (elmo-global-flags-initialize): Check the
1256         existence of the flag directory.
1257
1258 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1259
1260         * elmo-access.el (elmo-folder-initialize): Call
1261         `elmo-multi-connect-signals'.
1262
1263         * elmo-pipe.el (elmo-folder-close): Define.
1264
1265         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1266         children folders.
1267
1268         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1269         with target folder.
1270
1271         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1272         `number'.
1273
1274         * elmo-multi.el (elmo-message-entity): Don't use return value of
1275         `elmo-message-entity-set-number'.
1276
1277 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1278
1279         * modb.el (modb-generic): Added slot `mime-charset'.
1280
1281         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1282         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1283         and `modb-entity-handler-dump-parameters'.
1284         (modb-standard-default-entity-handler): Abolish.
1285         (elmo-msgdb-message-entity-handler): Save created handler by
1286         instance slot.
1287
1288         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1289         (modb-entity-handler-list-parameters): New method.
1290         (modb-entity-handler-equal-p): New function.
1291         (modb-entity-handler-dump-parameters): Ditto.
1292         (modb-entity-parse-address-string): Encode return value.
1293         (modb-entity-make-address-string): Decode argument value.
1294         (modb-entity-decode-string-recursive): New function.
1295         (modb-entity-encode-string-recursive): Ditto.
1296         (modb-standard-entity-normalizer): Set to encode field value.
1297         (modb-standard-entity-specializer): Follow the above change.
1298         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1299         mime-charset of handler.
1300         (elmo-msgdb-message-entity-field): Ditto.
1301         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1302         structure.
1303         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1304
1305         * elmo.el (elmo-folder): Added slot `mime-charset'.
1306         (elmo-make-folder): Added argument `mime-charset'.
1307         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1308         `mime-charest'.
1309
1310         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1311         (elmo-make-msgdb): Likewise.
1312
1313         * elmo-internal.el (elmo-internal-folder-initialize): Call
1314         `luna-make-entity' with :mime-charset parameter.
1315
1316 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1317
1318         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1319         encoded words in `from' and `subject' field.
1320
1321 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1322
1323         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1324         (elmo-msgdb-match-condition): Get handler from entity instead of
1325         msgdb.
1326
1327         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1328         (modb-standard-load-entity): Treat new file format.
1329         (modb-standard-save-entity-1): Save as new file format.
1330         (modb-standard-save-entity): Split messages into section here.
1331         (elmo-msgdb-message-field): Follow the API change.
1332         (modb-standard-default-entity-handler): New internal variable.
1333         (elmo-msgdb-message-entity-handler): Define.
1334
1335         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1336         to `elmo-vars.el'.
1337         (modb-entity-field-extractor-alist): New user option.
1338         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1339         added argument `type'.
1340         (elmo-msgdb-copy-message-entity): Add optional argument
1341         `make-handler'.
1342         (modb-set-field-converter): New function.
1343         (modb-convert-field-value): Ditto.
1344         (modb-entity-string-decoder): Ditto.
1345         (modb-entity-string-encoder): Ditto.
1346         (modb-entity-parse-date-string): Ditto.
1347         (modb-entity-make-date-string): Ditto.
1348         (modb-entity-mime-decoder): Ditto.
1349         (modb-entity-mime-encoder): Ditto.
1350         (modb-entity-address-list-decoder): Ditto.
1351         (modb-entity-address-list-encoder): Ditto.
1352         (modb-entity-parse-address-string): Ditto.
1353         (modb-entity-make-address-string): Ditto.
1354         (modb-entity-create-field-indices): Ditto.
1355         (modb-legacy-entity-field-slots): New constant.
1356         (modb-legacy-entity-field-indices): Ditto.
1357         (modb-legacy-entity-normalizer): New variable.
1358         (modb-legacy-entity-specializer): Ditto.
1359         (modb-legacy-entity-field-index): New macro.
1360         (modb-legacy-entity-set-field): New function.
1361         (modb-legacy-make-message-entity): Rewrite.
1362         (elmo-msgdb-create-message-entity-from-buffer): Use
1363         `elmo-msgdb-get-references-from-buffer'. Use
1364         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1365         Use `modb-legacy-entity-set-field' instead of
1366         `elmo-msgdb-message-entity-set-field'.
1367         (elmo-msgdb-message-entity-field): Rewrite.
1368         (elmo-msgdb-message-entity-set-field): Ditto.
1369         (elmo-msgdb-copy-message-entity): Make new entity by
1370         `make-handler' if it specified.
1371         (elmo-msgdb-message-match-condition): Define a method of
1372         `modb-entity-handler' and follow the API change.
1373         (modb-standard-entity-handler): New class.
1374         (modb-entity-extract-ml-info-from-x-sequence): New function.
1375         (modb-entity-extract-ml-info-from-subject): Ditto.
1376         (modb-entity-extract-ml-info-from-return-path): Ditto.
1377         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1378         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1379         (modb-entity-extract-mailing-list-info): Ditto.
1380         (modb-entity-extract-mailing-list-info-functions): New variable.
1381
1382         * elmo.el (elmo-message-field): Add optional argument `type'.
1383
1384         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1385         from `modb-entity.el'.
1386
1387         * elmo-util.el (elmo-object-load): Decode by coding-system from
1388         `set-auto-coding-function'.
1389         (elmo-object-save): Use `detect-mime-charset-region' and add
1390         coding cookie if encode.
1391         (elmo-msgdb-get-references-from-buffer): New function.
1392         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1393
1394         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1395
1396         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1397         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1398         instead of `shimbun-make-header' and follow the API change.
1399         (elmo-shimbun-update-overview): Follow the API change.
1400         (elmo-map-folder-list-message-locations): Ditto.
1401
1402         * elmo-pipe.el (elmo-message-field): Ditto.
1403
1404         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1405         Ditto.
1406
1407         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1408
1409         * elmo-multi.el (elmo-message-field): Ditto.
1410
1411         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1412         (elmo-msgdb-sort-by-date): Ditto.
1413         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1414         `elmo-message-entity-field'.
1415         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1416         change.
1417         (elmo-msgdb-overview-entity-get-from): Ditto.
1418         (elmo-msgdb-overview-entity-get-subject): Ditto.
1419         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1420         (elmo-msgdb-overview-entity-get-date): Ditto.
1421         (elmo-msgdb-overview-entity-get-to): Ditto.
1422         (elmo-msgdb-overview-entity-get-cc): Ditto.
1423
1424         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1425         (elmo-mime-collect-message/partial-pieces): Ditto.
1426
1427         * elmo-filter.el (elmo-message-field): Ditto.
1428
1429         * elmo-date.el (elmo-datevec-to-time): New function.
1430         (elmo-time-parse-date-string): Ditto.
1431         (elmo-time-make-date-string): Ditto.
1432         (elmo-time<): Ditto.
1433
1434         * elmo-version.el (elmo-version): Up to 2.15.1.
1435
1436 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1437
1438         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1439         member of elmo-local-flags.
1440
1441 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1442
1443         * elmo-version.el (elmo-version): Up to 2.15.0.
1444
1445 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1446
1447         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1448         `ignore-msgdb' is non-nil.
1449
1450 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1451
1452         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1453         (elmo-condition-in-msgdb-p): Ditto.
1454         (elmo-file-field-primitive-condition-match): Ditto.
1455         (elmo-file-field-condition-match): Ditto.
1456
1457         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1458
1459 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1460
1461         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1462         subdirectories here.
1463         (elmo-global-flags-initialize): New function.
1464
1465         * elmo.el (toplevel): Added autoload setting for
1466         `elmo-global-flags-initialize'.
1467
1468 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1469
1470         * elmo.el (message-number-changed): Define new signal.
1471         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1472         message-number-changed signal.
1473         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1474         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1475         Respect `elmo-pack-number-check-strict'.
1476
1477 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1478
1479         * elmo-signal.el (elmo-connect-signal): Document.
1480         (elmo-emit-signal): Ditto.
1481         (elmo-emit-signal): It should pass source argument to filter and
1482         handler, not slot-source.
1483
1484 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1485
1486         * modb.el (elmo-msgdb-update-entity): New API and define generic
1487         implement.
1488
1489         * modb-standard.el (elmo-msgdb-update-entity): Define.
1490
1491         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1492         API and define generic implement.
1493
1494         * elmo.el (update-overview): New singnal.
1495
1496         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1497         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1498         (elmo-message-entity-parent): Define.
1499
1500         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1501         `update-overview'.
1502
1503         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1504
1505         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1506
1507 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1508
1509         * elmo.el (elmo-folder-synchronize): Sort the return value of
1510         `elmo-list-diff'.
1511
1512         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1513         list.
1514
1515 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1516
1517         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1518         `default-enable-multibyte-characters'.
1519         (elmo-object-load): Use `with-temp-buffer' instead of
1520         `elmo-set-work-buf'.
1521         (elmo-object-save): Ditto.
1522         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1523         `elmo-set-work-buf'.
1524         (elmo-decoded-field-body): Ditto.
1525
1526         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1527
1528         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1529         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1530
1531         * elmo-version.el (elmo-version): Up to 2.13.3.
1532
1533 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1534
1535         * elmo-util.el (elmo-list-diff): Fix the last change.
1536         Reverse order of result lists.
1537
1538 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1539
1540         * modb-standard.el (elmo-msgdb-set-flag): Use
1541         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1542         (elmo-msgdb-unset-flag): Ditto.
1543
1544         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1545         `elmo-list-diff'.
1546
1547         * elmo-util.el (elmo-list-diff): Rewrite.
1548         (elmo-list-diff-nonsortable): New function.
1549
1550 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1551
1552         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1553         `elmo-multibypte-buffer-name'.  All referers are updated.
1554
1555 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1556
1557         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1558         (elmo-mime-entity-fragment-p): New function.
1559         (mime-elmo-buffer-entity): Added slot `reassembled'.
1560         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1561         (elmo-message-mime-entity-internal): New function (renamed from
1562         `elmo-message-mime-entity').
1563         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1564         (elmo-mime-make-reassembled-mime-entity): New function.
1565         (elmo-message-reassembled-mime-entity): Ditto.
1566         (elmo-mime-collect-message/partial-pieces): Ditto.
1567
1568 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1569
1570         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1571
1572         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1573         (elmo-with-enable-multibyte): New macro.
1574
1575         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1576
1577 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1578
1579         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1580         argument `number'.
1581         (elmo-filter-connect-signals): Follow the above change.
1582
1583 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1584
1585         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1586
1587         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1588         that only the first flag is used.
1589
1590 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1591
1592         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1593         if available.
1594
1595 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1596
1597         * elmo-signal.el: New file.
1598
1599         * elmo.el (toplevel): Require elmo-signal.
1600         (flag-changing, flag-changed, cache-changed): New signal.
1601         (elmo-folder): Remove slog `handlers'.
1602         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1603         `elmo-folder-notify-event'.
1604         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1605         (elmo-folder-unset-flag): Ditto.
1606         (elmo-event-handler): Abolish.
1607         (elmo-event-handler-flag-changed): Ditto.
1608         (elmo-event-handler-cache-changed): Ditto.
1609         (elmo-folder-add-handler): Ditto.
1610         (elmo-folder-remove-handler): Ditto.
1611         (elmo-folder-notify-event): Ditto.
1612
1613         * elmo-pipe.el (toplevel): Require elmo-signal.
1614         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1615         (elmo-pipe-connect-signals): New function.
1616         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1617         (elmo-folder-set-flag): Ditto.
1618         (elmo-folder-unset-flag): Ditto.
1619         (elmo-message-set-cached): Ditto.
1620
1621         * elmo-multi.el (toplevel): Require elmo-signal.
1622         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1623         (elmo-multi-connect-signals): New function.
1624         (elmo-multi-map-numbers): Ditto.
1625         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1626         (elmo-message-fetch): Ditto.
1627         (elmo-folder-set-flag): Ditto.
1628         (elmo-folder-unset-flag): Ditto.
1629
1630         * elmo-filter.el (toplevel): Require elmo-signal.
1631         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1632         (elmo-filter-connect-signals): New function.
1633         (elmo-filter-add-flag-count): Ditto.
1634         (elmo-message-fetch): Does not call
1635         `elmo-filter-folder-countup-message-flags' and
1636         `elmo-folder-notify-event'.
1637         (elmo-message-set-cached): Ditto.
1638         (elmo-folder-set-flag): Ditto.
1639         (elmo-folder-unset-flag): Ditto.
1640
1641         * elmo-version.el (elmo-version): Up to 2.13.2.
1642
1643 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1644
1645         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1646         `flags'.
1647
1648 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1649
1650         * elmo-filter.el (elmo-message-set-cached): Call
1651         `elmo-folder-notify-event' with event `cache-changed'.
1652
1653         * elmo-multi.el (elmo-message-set-cached): Ditto.
1654
1655         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1656
1657 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1658
1659         * elmo.el (elmo-folder-encache): Abolish.
1660
1661 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1662
1663         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1664         (elmo-folder-next-message-number-dop): Return appropriate negative
1665         integer.
1666
1667 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1668
1669         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1670         clearing pending operations.
1671         (elmo-folder-next-message-number-dop): Return appropriate negative
1672         integer.
1673
1674 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1675
1676         * elmo.el (toplevel): Added autoload setting for `md5'.
1677         (elmo-msgdb-path-encode-threshold): New user option.
1678         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1679         longer than `elmo-msgdb-path-encode-threshold'.
1680
1681         * elmo-flag.el (elmo-global-mark-migrate): Use
1682         `elmo-folder-expand-msgdb-path' instead of
1683         `elmo-folder-msgdb-path'.
1684
1685 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1686
1687         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1688         element of the difference is nil.
1689
1690 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1691
1692         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1693         to the check logic of file systems which are weak in colon character.
1694
1695 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1696
1697         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1698
1699 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1700
1701         * elmo-maildir.el (elmo-maildir-move-file): New function.
1702         (elmo-folder-append-buffer): Use it.
1703         (elmo-folder-append-messages): Ditto.
1704         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1705
1706         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1707         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1708
1709         * elmo-maildir.el (elmo-maildir-separator): New user option.
1710         (elmo-maildir-adjust-separator): New macro.
1711         (elmo-maildir-list-location): Use it.
1712         (elmo-maildir-update-current): Ditto.
1713         (elmo-maildir-set-mark): Ditto.
1714         (elmo-maildir-delete-mark): Ditto.
1715         (These changes are based on Hiroya Murata's patch [wl: 13437])
1716
1717 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1718
1719         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1720
1721 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1722
1723         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1724         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1725         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1726
1727 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1728
1729         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1730         Use `with-temp-buffer'.
1731
1732 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1733
1734         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1735
1736         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1737         `wl-read-search-condition').
1738         (elmo-read-search-condition-internal): Likewise.
1739
1740         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1741         (elmo-flag-valid-p): New function.
1742         (elmo-folder-initialize): Check flag name is valid.
1743
1744 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1745
1746         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1747         delimiter to obtain root mailbox itself.
1748
1749 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1750
1751         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1752         type mismatch.
1753
1754 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1755
1756         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1757         as t.
1758
1759 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1760
1761         * elmo-shimbun.el (toplevel): Require cl at compile.
1762
1763         * elmo-nntp.el (toplevel): Ditto.
1764
1765         * elmo-nmz.el (toplevel): Ditto.
1766
1767         * elmo-multi.el (toplevel): Ditto.
1768
1769         * elmo-file.el (toplevel): Ditto.
1770
1771         * elmo-dop.el (toplevel): Ditto.
1772
1773         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1774
1775 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1776
1777         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1778         as nil.
1779
1780         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1781         size of elmo-message-fetch-internal is 0 byte.
1782
1783 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1784
1785         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1786
1787 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1788
1789         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1790         always plugged.
1791
1792 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1793
1794         * elmo-maildir.el (elmo-map-message-fetch): Call
1795         `elmo-map-folder-set-flag'.
1796
1797         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1798         (elmo-message-fetch): Merge from
1799         `elmo-message-fetch-with-cache-process'.
1800
1801         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1802         (elmo-message-fetch): Define.
1803
1804         * elmo-nntp.el (elmo-message-fetch): Renamed from
1805         `elmo-message-fetch-with-cache-process'.
1806
1807         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1808         (elmo-message-fetch): Define.
1809
1810         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1811         search-key.
1812
1813         * elmo-shimbun.el (shimbun-mua-search-id): Use
1814         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1815         (elmo-shimbun-folder-shimbun-header): Ditto.
1816         (elmo-shimbun-get-headers): Ditto.
1817         (elmo-shimbun-update-overview): Ditto.
1818
1819         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1820
1821         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1822         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1823
1824 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1825
1826         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1827         message is cached.
1828         (elmo-message-fetch-string): Fixed argument.
1829
1830 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1831
1832         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1833         exchange order of arguments `section' and `unread'.
1834         (elmo-message-encache): Follow the API change.
1835         (elmo-message-match-condition): Ditto.
1836         (elmo-generic-folder-append-messages): Ditto.
1837         (elmo-message-fetch-string): New function.
1838
1839         * elmo-split.el (elmo-split-subr): Ditto.
1840
1841         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1842
1843         * elmo-pipe.el (elmo-message-fetch): Ditto.
1844
1845         * elmo-multi.el (elmo-message-fetch): Ditto.
1846
1847         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1848
1849         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1850
1851         * elmo-filter.el (elmo-message-fetch): Ditto.
1852
1853         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1854
1855         * elmo-imap4.el (mime-imap-location-section-body): Use
1856         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1857         follow the API change.
1858
1859 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1860
1861         * elmo-access.el: New file.
1862
1863         * elmo-null.el: Ditto.
1864
1865         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1866
1867 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1868
1869         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1870         (elmo-network-session): New attribute `last-accessed'.
1871         (elmo-network-get-session): Discard network cache if elapsed time
1872         since last-accessed is larger than elmo-network-session-idle-timeout.
1873
1874 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1875
1876         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1877         and added `number', `require-entireness'.
1878         (elmo-find-fetch-strategy): Rewrite.
1879         (elmo-message-fetch): Unset `unread' flag when argument unread is
1880         non-nil.
1881
1882         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1883
1884         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1885         (elmo-message-fetch): Notify event `flag-changed'.
1886
1887         * elmo-pipe.el: Likewise.
1888
1889         * elmo-mime.el (elmo-mime-entity): New class.
1890         (elmo-mime-entity-display-p): New generic function.
1891         (elmo-mime-entity-display): Ditto.
1892         (elmo-mime-entity-display-as-is): Ditto.
1893         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1894         elmo-mime-entity.
1895         (elmo-make-mime-message-location): Removed.
1896         (elmo-mime-message-display): Ditto.
1897         (elmo-mime-display-as-is): Ditto.
1898         (elmo-message-mime-entity): New function.
1899
1900         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1901
1902         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1903         change.
1904         (elmo-message-fetch): Re-count flagged message number and notify
1905         event `flag-changed'.
1906
1907         * elmo-version.el (elmo-version): Up to 2.13.1.
1908
1909 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1910
1911         * elmo-filter.el (elmo-message-field): Define.
1912         (elmo-message-set-field): Ditto.
1913
1914 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1915
1916         * elmo.el (elmo-message-set-cached): Call
1917         `elmo-folder-notify-event' with cache-changed.
1918         (elmo-event-handler-cache-changed): New generic function.
1919
1920 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1921
1922         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1923         instead of elmo-add-name-to-file.
1924         (elmo-folder-append-messages): Ditto.
1925
1926 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1927
1928         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1929
1930 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1931
1932         * elmo-version.el (elmo-version): Up to 2.13.0.
1933
1934         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1935         `auto'.
1936
1937         * modb-standard.el (modb-standard-economize-entity-size): Changed
1938         default value to `t'.
1939
1940         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1941         `standard'.
1942
1943         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1944         after parsing greeting string.
1945
1946 2004-11-23  Daishi Kato <daishi@axlight.com>
1947
1948         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1949         New user option.
1950         (elmo-spam-spamoracle-call): Use it.
1951
1952 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1953
1954         * elmo.el (elmo-message-accessible-p): Message in dop spool
1955         is accessible.
1956
1957 2004-11-23  Daishi Kato <daishi@axlight.com>
1958
1959         * elsp-spamoracle.el: New file.
1960
1961 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1962
1963         * elmo.el (elmo-message-flags-for-append): New function.
1964         (elmo-generic-folder-append-messages): Use it.
1965
1966         * elmo-split.el (elmo-split-subr): Ditto.
1967
1968         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1969         `flags' and use elmo-folder-append-buffer instead of
1970         write-region-as-binary.
1971         (elmo-dop-filter-pending-messages): New function.
1972         (elmo-folder-append-buffer-dop): Call
1973         elmo-dop-spool-folder-append-buffer with `flag'.
1974         (elmo-folder-set-flag-dop): Filter messages by
1975         elmo-dop-filter-pending-messages.
1976         (elmo-folder-unset-flag-dop): Ditto.
1977         (elmo-folder-append-buffer-dop-delayed): Use
1978         elmo-message-flags-for-append to get flags of the message and
1979         simplify.
1980
1981 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1982
1983         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1984
1985 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1986
1987         * elmo.el (elmo-folder): Added handlers slot.
1988         (elmo-event-handler): New class.
1989         (elmo-event-handler-flag-changed): New API.
1990         (elmo-folder-add-handler): New function.
1991         (elmo-folder-remove-handler): Ditto.
1992         (elmo-folder-notify-event): Ditto.
1993         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1994         `flag-changed'.
1995         (elmo-folder-unset-flag): Ditto.
1996
1997         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1998         (elmo-folder-unset-flag): Ditto.
1999
2000         * elmo-multi.el (elmo-folder-set-flag): Ditto.
2001         (elmo-folder-unset-flag): Ditto.
2002
2003         * elmo-filter.el (elmo-folder-set-flag): Ditto.
2004         (elmo-folder-unset-flag): Ditto.
2005
2006         * elmo-version.el (elmo-version): Up to 2.11.33.
2007
2008 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2009
2010         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
2011
2012 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2013
2014         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
2015
2016         * elmo-flag.el (elmo-folder-unset-flag): Define.
2017         (elmo-global-flag-detach): Do process when the flag is not target
2018         flag.
2019
2020 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2021
2022         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
2023         variable.
2024         (elmo-msgdb-create-message-entity-from-buffer): Use it.
2025
2026 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2027
2028         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
2029         function.
2030         (elmo-folder-delete-messages): Detach messages before delete
2031         messages from target folder.
2032         (elmo-folder-detach-messages): Set updated number-list to slot.
2033
2034 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2035
2036         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2037
2038 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2039
2040         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2041
2042 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2043
2044         * elmo.el (elmo-folder-delete-messages-internal): New API (for
2045         internal use only).
2046         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2047         not modified.
2048         (elmo-folder-delete-messages): Define.
2049         (elmo-folder-move-messages): Don't call
2050         `elmo-folder-detach-messages'.
2051         (elmo-folder-synchronize): Rewrite.
2052         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2053
2054         * elmo-util.el (elmo-last): New function.
2055         (elmo-set-list): Ditto.
2056         (elmo-number-set-delete-list): Ditto.
2057         (elmo-number-set-delete): Ditto.
2058
2059         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2060
2061         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2062         `elmo-folder-delete-messages' and don't delete location map.
2063         (elmo-folder-detach-messages): Define.
2064
2065         * elmo-imap4.el (elmo-folder-delete): Use
2066         `elmo-folder-delete-messages-internal' instead of
2067         `elmo-folder-delete-messages'.
2068
2069         * elmo-filter.el (elmo-folder-delete-messages): Call
2070         `elmo-folder-detach-messages'.
2071         (elmo-folder-detach-messages): Don't call
2072         `elmo-folder-detach-messages' for target folder.
2073
2074         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2075         message deletion is succeeded.
2076
2077         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2078
2079         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2080         from `elmo-folder-delete-messages'.
2081
2082         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2083
2084         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2085
2086         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2087
2088         * elmo-version.el (elmo-version): Up to 2.11.32.
2089
2090 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2091
2092         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2093         (elmo-global-flag-list): Added obsolete variable setting.
2094
2095         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2096
2097         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2098         (elmo-mime-insert-header-from-buffer): Don't decode header content when
2099         `elmo-mime-display-header-analysis' is nil.
2100
2101         * elmo-flag.el (elmo-global-flags): Renamed from
2102         `elmo-global-flag-list' (All other related portions are changed).
2103         (elmo-local-flags): New variable.
2104         (elmo-local-flag-p): New function.
2105         (elmo-global-flag-set-internal): Cause an error when flag is not
2106         global.
2107
2108 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2109
2110         * elmo-util.el (elmo-concat-path): Treat empty path.
2111
2112 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2113
2114         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2115         field-or-fields).
2116         (elmo-split-address-match): Ditto.
2117         (elmo-split-equal): Ditto.
2118         (elmo-split-match): Ditto.
2119
2120 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2121
2122         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2123         (elmo-generic-folder-append-messages): If src message exists but
2124         has no flag, pass (read) for the FLAG argument of
2125         `elmo-folder-append-buffer'. Otherwise, pass nil.
2126
2127         * elmo-split.el (elmo-split-subr): Likewise.
2128
2129         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2130
2131         * elmo-multi.el (elmo-message-flags): Ditto.
2132
2133         * elmo-filter.el (elmo-message-flags): Ditto.
2134
2135         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2136         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2137         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2138         
2139 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2140
2141         * elmo-split.el (elmo-split-rule): Update comment.
2142         (elmo-split-address-equal): Allow 2nd argument to be a list.
2143         (elmo-split-address-match): Ditto.
2144         (elmo-split-equal): Ditto.
2145         (elmo-split-match): Ditto.
2146
2147 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2148
2149         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2150         (elmo-folder-append-msgdb): Don't treat `read'.
2151         (elmo-message-flags): Don't return `read'.
2152
2153         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2154         (elmo-folder-unset-read-delayed): Ditto.
2155
2156         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2157
2158 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2159
2160         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2161         deletion.
2162
2163 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2164
2165         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2166         header.
2167
2168 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2169
2170         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2171         here.
2172         (elmo-msgdb-save): Bind inhibit-quit.
2173         (modb-standard-message-entity): Ditto.
2174
2175 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2176
2177         * elmo-database.el: No need to require elmo-msgdb.
2178
2179 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2180
2181         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2182         instead of `elmo-list-subdirectories'.
2183
2184 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2185
2186         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2187         group entry.
2188         (elmo-folder-exists-p): "[" is empty.
2189         (elmo-folder-list-subfolders): Define.
2190         (elmo-folder-have-subfolder-p): Ditto.
2191
2192 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2193
2194         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2195
2196 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2197
2198         * elmo-filter.el (elmo-folder-local-p): Define.
2199
2200 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2201
2202         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2203         when entity is garbaged.
2204         (modb-standard-save-entity-1): Don't modify the original entity.
2205
2206 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2207
2208         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2209
2210 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2211
2212         * elmo.el (elmo-strict-folder-diff): Use
2213         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2214
2215 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2216
2217         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2218         (elmo-msgdb-message-number): Ditto.
2219         (elmo-msgdb-message-field): Ditto.
2220
2221         * modb-standard.el (modb-standard-economize-entity-size): New user
2222         option.
2223         (modb-standard-loaded-message-id): New inline function.
2224         (modb-standard-load-entity): Use it.
2225         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2226         throw message-id string away.
2227         (elmo-msgdb-flag-available-p): Define.
2228         (elmo-msgdb-message-number): Ditto.
2229         (elmo-msgdb-message-field): Ditto.
2230
2231         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2232         (suppoted -> supported).
2233         (modb-legacy-supported-flag-p): Ditto.
2234         (elmo-msgdb-set-flag): Ditto.
2235         (elmo-msgdb-unset-flag): Ditto.
2236         (elmo-msgdb-flag-available-p): Define.
2237
2238         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2239         is `t', treat it as legacy entity.
2240         
2241         * elmo.el (elmo-message-flag-available-p): New generic function.
2242         (elmo-message-number): Ditto.
2243         (elmo-message-field): Use `elmo-msgdb-message-field'.
2244
2245         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2246
2247         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2248         (elmo-message-number): Ditto.
2249
2250         * elmo-multi.el (elmo-message-number): Define.
2251         (elmo-message-flag-available-p): Ditto.
2252
2253         * elmo-filter.el (elmo-message-flag-available-p): Define.
2254         (elmo-message-number): Ditto.
2255
2256         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2257         (elmo-folder-initialize): Load `max-number'.
2258         (elmo-folder-commit): Save it.
2259         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2260         (elmo-global-flag-set-internal): Set up max-number slot.
2261
2262 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2263
2264         * elmo-version.el (elmo-version): Up to 2.11.31.
2265
2266 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2267
2268         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2269         unibyte string of the current buffer for the argument of `md5'
2270         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2271
2272 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2273
2274         * modb-legacy.el (modb-legacy-flag-list): New constant.
2275         (modb-legacy-suppoted-flag-p): New internal function.
2276         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2277         (elmo-msgdb-unset-flag): Ditto.
2278
2279 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2280
2281         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2282
2283         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2284         from msgdb.
2285
2286 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2287
2288         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2289         (follow the API change).
2290
2291         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2292
2293 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2294
2295         * modb-standard.el (modb-standard-digest-flags): Abolish.
2296         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2297
2298         * elmo-vars.el (elmo-digest-flags): New variable.
2299         (elmo-preserved-flags): Moved from elmo-flag.el.
2300
2301         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2302         (elmo-imap4-flag-to-imap-criteria): Ditto.
2303         (elmo-imap4-folder-list-flagged): Use it.
2304
2305         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2306
2307         * elmo.el (elmo-folder-count-flags): Changed return value.
2308
2309         * elmo-flag.el (elmo-preserved-flags): New variable.
2310         (elmo-get-global-flags): Use it.
2311
2312         * modb-standard.el (modb-standard-digest-flags): New variable.
2313         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2314         Changed behavior of `any'.
2315
2316         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2317         which are defined the Internet draft
2318         (draft-melnikov-imap-keywords-03.txt).
2319         (elmo-imap4-flags-to-imap): New function.
2320         (elmo-folder-append-buffer): Use it.
2321
2322         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2323         in the docstring.
2324
2325         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2326         avoid the bug of Emacs 21.3.
2327
2328 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2329
2330         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2331         function find-coding-system does not exist.
2332
2333 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2334
2335         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2336         parsing.
2337
2338 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2339
2340         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2341         response codes.
2342
2343 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2344
2345         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2346         (elmo-network-close-session): Follow the changes in
2347         `elmo-pop3-read-response'.
2348         (elmo-pop3-auth-user): Ditto.
2349         (elmo-pop3-auth-apop): Ditto.
2350         (elmo-network-initialize-session): Ditto.
2351         (elmo-network-authenticate-session): Ditto.
2352         (elmo-network-setup-session): Ditto.
2353         (elmo-folder-status): Ditto.
2354         (elmo-message-fetch-plugged): Ditto.
2355         (elmo-pop3-delete-msg): Ditto.
2356
2357 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2358
2359         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2360         on failure.
2361
2362 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2363
2364         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2365         style.
2366         (elmo-bind-directory): Ditto.
2367
2368 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2369
2370         * elmo.el (elmo-folder-append-messages): Note on return value.
2371         * elmo-archive.el (elmo-folder-append-messages): Don't return
2372         message numbers which could not be appended.
2373
2374 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2375
2376         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2377
2378 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2379
2380         * elmo-version.el (elmo-version): Up to 2.11.30.
2381
2382 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2383
2384         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2385         `mask'.
2386
2387         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2388
2389         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2390         (elmo-multi-split-numbers): Add elmo-folder object into each
2391         element of return value at first.
2392         (elmo-folder-delete-messages): Follow the above change.
2393         (elmo-folder-detach-messages): Ditto.
2394
2395         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2396         number which is synchronized in target folder.
2397
2398 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2399
2400         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2401         Change default value to symbol `all'.
2402         (elmo-map-message-fetch): Change condition to update overview
2403         follow the above.
2404
2405 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2406
2407         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2408         behavior to update overview.
2409         (elmo-shimbun-update-overview-folder-list): Note it.
2410
2411 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2412
2413         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2414         recursive call.
2415
2416 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2417
2418         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2419         buffer-disable-undo, it is unnecessary.
2420         (elmo-spam-register-good-messages): Ditto.
2421
2422         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2423         Ditto.
2424
2425         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2426
2427 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2428
2429         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2430         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2431         elmo-set-buffer-multibyte.
2432         (elmo-object-load): Ditto.
2433         (elmo-save-buffer): Ditto.
2434         (elmo-delete-char): Ditto.
2435         (elmo-file-field-primitive-condition-match): Ditto.
2436         (elmo-mime-string): Ditto.
2437
2438         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2439         (elmo-archive-field-condition-match): Ditto.
2440
2441         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2442
2443         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2444
2445         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2446         (elmo-nntp-msgdb-create-message): Ditto.
2447
2448         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2449
2450         * elmo.el (elmo-message-match-condition): Ditto.
2451         (elmo-message-match-condition): Ditto.
2452
2453         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2454         Ditto.
2455
2456         * elmo-version.el (elmo-version): Up to 2.11.29.
2457
2458         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2459         (elsp-header): New backend.
2460
2461         * elmo-util.el (elmo-decoded-field-body): New function.
2462
2463 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2464
2465         * elmo-version.el (elmo-version): Up to 2.11.28.
2466
2467 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2468
2469         * elmo-filter.el: Rewrite.
2470
2471         * elmo-version.el (elmo-version): Up to 2.11.27.
2472
2473 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2474
2475         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2476         msgdb path for the localdir folder with absolute path.
2477
2478         * utf7.el: Synch up with latest gnus/utf7.el;
2479         Modified for latest Emacs.
2480
2481 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2482
2483         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2484         shimbun backend couldn't open.
2485
2486 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2487
2488         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2489         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2490         when a destination folder is a filter folder.
2491
2492 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2493
2494         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2495         (elmo-generic-folder-append-messages): Call elmo-message-flags
2496         with argument `msgid'.
2497
2498         * elmo-split.el (elmo-split-subr): Ditto.
2499
2500         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2501
2502         * elmo-multi.el (elmo-message-flags): Ditto.
2503
2504 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2505
2506         * elmo.el (elmo-folder): Add new slot `flag-table'.
2507         (elmo-folder-flag-table): New API.
2508         (elmo-folder-close-flag-table): Ditto.
2509         (elmo-folder-preserve-flags): New function.
2510         (elmo-generic-folder-append-messages): Use
2511         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2512         Flag of a non-registered message, it sets to nil.
2513         Does not set flag to flag-table.
2514
2515         * elmo-maildir.el (elmo-folder-append-buffer): Use
2516         `elmo-folder-preserve-flags'.
2517         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2518         `elmo-folder-close-flag-table'.
2519
2520         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2521         (elmo-archive-folder-append-buffer): Use
2522         `elmo-folder-preserve-flags'.
2523
2524         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2525
2526         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2527
2528         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2529         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2530         `elmo-folder-close-flag-table'.
2531
2532         * elmo-version.el (elmo-version): Up to 2.11.26.
2533
2534 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2535
2536         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2537
2538         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2539         md5's 4th and 5th argument (non-existent in flim one).
2540
2541 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2542
2543         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2544         message, It sets to nil.
2545
2546 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2547
2548         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2549         list is non-nil.
2550
2551 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2552
2553         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2554
2555         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2556
2557         * elmo-util.el (elmo-uniq-sorted-list): New function.
2558         (elmo-make-number-list): Ditto.
2559         (elmo-number-set-to-number-list): Use elmo-make-number-list
2560         and don't use nreverse.
2561
2562 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2563
2564         * elmo-version.el (elmo-version): Up to 2.11.25.
2565
2566 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2567
2568         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2569         field not exists in message, Use md5 message digest of header.
2570
2571 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2572
2573         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2574         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2575         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2576         * elmo-split.el (elmo-split-subr): Check return value of
2577         elmo-folder-append-buffer.
2578
2579         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2580         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2581
2582         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2583         message-id.
2584
2585 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2586
2587         * elmo-split.el (elmo-split-subr): Append message with flag.
2588
2589         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2590         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2591         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2592
2593 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2594
2595         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2596         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2597         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2598
2599 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2600
2601         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2602         with a function call of `process-buffer'.  All callers are updated.
2603         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2604         Remove redundant `set-buffer' in a while loop.
2605
2606 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2607
2608         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2609         calls.
2610
2611 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2612
2613         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2614         elsp-spamfilter-register-buffer-internal with current buffer.
2615         (elmo-spam-register-spam-buffer): Ditto.
2616         (elmo-spam-register-good-buffer): Ditto.
2617
2618 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2619
2620         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2621         if it is not contained in the response(A workaround for courier-imap).
2622
2623 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2624
2625         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2626         parenthesis.
2627
2628 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2629
2630         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2631         range.
2632
2633 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2634
2635         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2636         of nconc.
2637
2638         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2639         argument handler.
2640         (elmo-msgdb-message-match-condition): Follow the change above.
2641
2642 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2643
2644         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2645         folder name.
2646
2647 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2648
2649         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2650
2651 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2652
2653         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2654
2655 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2656
2657         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2658         not found.
2659
2660 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2661
2662         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2663         value.
2664         (elmo-file-command-argument): Undo last change for cygwin.
2665         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2666         Don't return nil.
2667         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2668
2669 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2670
2671         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2672         value returned from elmo-file-find is nil.
2673
2674 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2675
2676         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2677         to elmo-vars.el.
2678
2679         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2680         instead of insert-file-contents-as-binary.
2681         (elmo-message-set-field): New generic function.
2682
2683         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2684         behavior change on `split-string'.
2685
2686         * elmo-file.el (elmo-file-find): New function.
2687         (elmo-file-command): New user option.
2688         (elmo-file-command-argument): Ditto.
2689         (elmo-file-fetch-max-size): Ditto.
2690         (elmo-file-detect-format): New function.
2691         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2692         Use elmo-file-detect-format.
2693         (elmo-map-folder-list-message-locations): Don't treat directories.
2694
2695 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2696
2697         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2698         (elmo-passwd-alist-clear): Shred password before clear.
2699         (elmo-remove-passwd): Remove all mached pair.
2700
2701 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2702
2703         * elmo.el (elmo-folder-synchronize): Fix description of the return
2704         value.
2705
2706 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2707
2708         * elmo.el (elmo-message-fetch-bodystructure): New method.
2709         (elmo-message-fetch-bodystructure): Define default.
2710
2711         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2712         elmo-message-fetch-bodystructure.
2713         (elmo-message-fetch-bodystructure): Define.
2714
2715         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2716
2717 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2718
2719         * elmo-filter.el (elmo-message-folder): Define.
2720
2721 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2722
2723         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2724         elmo-delete-cr-buffer.
2725
2726         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2727
2728         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2729
2730         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2731
2732         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2733         type seems to be a text.
2734
2735 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2736
2737         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2738         (elmo-spam-register-good-buffer): Ditto.
2739         (elmo-spam-spamassassin-register-messages): Ditto.
2740
2741         * elmo-util.el (elmo-string-member-ignore-case): Define with
2742         static-cond.
2743
2744 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2745
2746         * elmo.el (elmo-folder-type): Undo last change.
2747
2748         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2749
2750         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2751         warnings.
2752
2753         * elmo-file.el: New file.
2754         
2755         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2756
2757         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2758         variable.
2759         (elmo-spam-spamassassin-register-messages): New inline function.
2760         (elmo-spam-register-spam-messages): Define.
2761         (elmo-spam-register-good-messages): Ditto.
2762
2763         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2764         Fixed typo.
2765
2766         * elmo.el (toplevel): Added autoload setting for
2767         `elmo-get-global-flags'.
2768         (elmo-message-has-global-flag-p): New function.
2769         (elmo-message-set-global-flags): Ditto.
2770         (elmo-folder-type): Improvement for name: format.
2771
2772         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2773         availability of keyword flags.
2774         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2775         (elmo-folder-list-flagged-plugged): Renamed from
2776         elmo-folder-list-flagged-unplugged.
2777         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2778         accept any flag as keyword flag.
2779         (elmo-folder-set-flag-plugged): Accept keyword flags.
2780         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2781
2782         * elmo-flag.el (elmo-get-global-flags): New function.
2783
2784         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2785         folders.
2786
2787         * elmo-version.el (elmo-version): Up to 2.11.24.
2788
2789 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2790
2791         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2792         elmo-multiple-field-body instead of std11-field-body to check all
2793         headers.
2794
2795 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2796
2797         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2798         or "size".
2799
2800 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2801
2802         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2803         unintern is unbound.
2804
2805 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2806
2807         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2808         Protect from infinite loop.
2809
2810 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2811
2812         * elsp-bogofilter.el
2813         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2814         (elmo-spam-bogofilter-register-messages): New internal function.
2815         (elmo-spam-register-spam-messages): Define.
2816         (elmo-spam-register-good-messages): Ditto.
2817
2818 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2819
2820         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2821         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2822         (elmo-spam-bogofilter-call): Fixed the last change.
2823         (elmo-spam-bogofilter-arguments): Ditto.
2824
2825         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2826         Follow the options change of latest bogofilter.
2827
2828         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2829         (elmo-spam-bogofilter-good-switch): Ditto.
2830         (elmo-spam-bogofilter-arguments-alist): New user option.
2831         (elmo-spam-bogofilter-debug): Ditto.
2832         (elmo-spam-bogofilter-call): Renamed from
2833         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2834         is non-nil, insert output in buffer for debug.
2835         (elmo-spam-bogofilter-arguments): New macro.
2836         (elmo-spam-buffer-spam-p): Use it.
2837         (elsp-bogofilter-register-buffer): Ditto.
2838
2839 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2840
2841         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2842         regexp.
2843
2844 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2845
2846         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2847         value as "ruby".
2848         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2849         (elmo-spam-bsfilter-program): Set default value as full path for
2850         `bsfilter'.
2851         (elmo-spam-bsfilter-debug): New user option.
2852         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2853         non-nil, insert output in buffer for debug. Fix treating of
2854         argument.
2855
2856 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2857
2858         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2859         `elmo-maildir-flag-specs' element instead of one.
2860         (elmo-map-folder-unset-flag): Ditto.
2861         (Reported by Ken Makimura <macky@astem.or.jp>)
2862
2863         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2864         (elmo-folder-unset-flag-plugged): Ditto.
2865
2866 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2867
2868         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2869         to `reads' slot only if `in-msgdb' is nil.
2870
2871 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2872
2873         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2874         and complement argument list.
2875
2876 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2877
2878         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2879         instead of elmo-folder-list-flagged.
2880
2881 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2882
2883         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2884
2885         * elsp-bsfilter.el: New file.
2886
2887         * elmo-pipe.el (elmo-folder-list-unreads,
2888         elmo-folder-list-answereds,
2889         elmo-folder-list-importants,
2890         elmo-folder-flag-as-important,
2891         elmo-folder-unflag-important,
2892         elmo-folder-flag-as-read,
2893         elmo-folder-unflag-read,
2894         elmo-folder-flag-as-answered,
2895         elmo-folder-unflag-answered): Remove.
2896         (elmo-folder-set-flag): Define.
2897         (elmo-folder-unset-flag): Ditto.
2898
2899         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2900         (elmo-folder-set-flag): Define.
2901         (elmo-folder-unset-flag): Ditto.
2902         (elmo-folder-list-unreads): Remove.
2903         (elmo-folder-list-flagged): Define.
2904
2905         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2906         (elmo-folder-list-unreads,
2907         elmo-folder-list-importants,
2908         elmo-folder-list-answereds,
2909         elmo-folder-list-unreads-plugged,
2910         elmo-folder-list-importants-plugged,
2911         elmo-folder-list-answereds-plugged): Remove.
2912         (elmo-folder-list-flagged-plugged): New method.
2913         (elmo-folder-unflag-important,
2914         elmo-folder-flag-as-important,
2915         elmo-folder-unflag-read,
2916         elmo-folder-flag-as-read,
2917         elmo-folder-unflag-answered,
2918         elmo-folder-flag-as-answered,
2919         elmo-folder-flag-as-read-unplugged,
2920         elmo-folder-unflag-read-unplugged,
2921         elmo-folder-flag-as-important-unplugged,
2922         elmo-folder-unflag-important-unplugged,
2923         elmo-folder-flag-as-answered-unplugged,
2924         elmo-folder-unflag-answered-unplugged): Remove.
2925         (elmo-folder-set-flag): Define.
2926         (elmo-folder-unset-flag): Ditto.
2927         (elmo-folder-set-flag-unplugged): Ditto.
2928         (elmo-folder-unset-flag-unplugged): Ditto.
2929
2930         * elmo-multi.el (elmo-folder-list-unreads,
2931         elmo-folder-list-answereds,
2932         elmo-folder-list-importants,
2933         elmo-folder-flag-as-important,
2934         elmo-folder-unflag-important,
2935         elmo-folder-flag-as-read,
2936         elmo-folder-unflag-read,
2937         elmo-folder-flag-as-answered,
2938         elmo-folder-unflag-answered): Remove.
2939         (elmo-folder-set-flag): Define.
2940         (elmo-folder-unset-flag): Ditto.
2941
2942         * elmo-map.el (elmo-map-folder-unflag-important,
2943         elmo-map-folder-flag-as-important,
2944         elmo-map-folder-unflag-read,
2945         elmo-map-folder-flag-as-read,
2946         elmo-map-folder-unflag-answered,
2947         elmo-map-folder-flag-as-answered): Remove.
2948         (elmo-map-folder-set-flag): New method.
2949         (elmo-map-folder-unset-flag): Ditto.
2950         (elmo-map-folder-list-unreads,
2951         elmo-map-folder-list-importants,
2952         elmo-map-folder-list-answereds): Remove.
2953         (elmo-folder-list-flagged-internal): Define.
2954         (elmo-map-folder-list-flagged): New method.
2955
2956         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2957         (elmo-map-folder-list-unreads,
2958         elmo-map-folder-list-importants,
2959         elmo-map-folder-list-flagged): Remove.
2960         (elmo-map-folder-list-flagged): Define.
2961         (elmo-map-folder-flag-as-important,
2962         elmo-map-folder-unflag-important,
2963         elmo-map-folder-flag-as-read,
2964         elmo-map-folder-unflag-read,
2965         elmo-map-folder-flag-as-answered,
2966         elmo-map-folder-unflag-answered): Remove.
2967         (elmo-maildir-set-mark-messages): New internal function.
2968         (elmo-map-folder-set-flag): Define.
2969         (elmo-map-folder-unset-flag): Ditto.
2970
2971         * elmo.el (toplevel): Added autoload setting for
2972         `elmo-folder-list-global-flag-messages'.
2973         (elmo-folder-list-unreads,
2974         elmo-folder-list-importants,
2975         elmo-folder-list-answereds): Remove.
2976         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2977         Return a list whitch merged with messages have global flag.
2978         (elmo-folder-list-flagged-internal): New method.
2979         (elmo-folder-unflag-important,
2980         elmo-folder-flag-as-important,
2981         elmo-folder-unflag-read,
2982         elmo-folder-flag-as-read,
2983         elmo-folder-unflag-answered,
2984         elmo-folder-flag-as-answered): Remove.
2985         (elmo-folder-set-flag): New method.
2986         (elmo-folder-unset-flag): Ditto.
2987         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2988         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2989
2990         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2991         (elmo-folder-list-unreads-plugged,
2992         elmo-folder-list-importants-plugged,
2993         elmo-folder-list-answereds-plugged,
2994         elmo-folder-list-flagged-unplugged,
2995         elmo-folder-unflag-important-plugged,
2996         elmo-folder-flag-as-important-plugged,
2997         elmo-folder-unflag-read-plugged,
2998         elmo-folder-flag-as-read-plugged,
2999         elmo-folder-unflag-answered-plugged,
3000         elmo-folder-flag-as-answered-plugged): Remove.
3001         (elmo-folder-set-flag-plugged,
3002         elmo-folder-unset-flag-plugged): Define.
3003
3004         * elmo-flag.el (elmo-folder-initialize): Register to
3005         `elmo-global-flag-list' if flag is not global.
3006         (elmo-folder-append-messages): Set flag to source messages.
3007
3008         * elmo-filter.el (elmo-filter-folder-list-unreads,
3009         elmo-folder-list-unreads,
3010         elmo-filter-folder-list-importants,
3011         elmo-folder-list-importants,
3012         elmo-folder-flag-as-read,
3013         elmo-folder-unflag-read,
3014         elmo-folder-flag-as-important,
3015         elmo-folder-unflag-important,
3016         elmo-folder-flag-as-answered,
3017         elmo-folder-unflag-answered): Remove.
3018         (elmo-folder-set-flag): Define.
3019         (elmo-folder-unset-flag): Ditto.
3020
3021         * elmo-dop.el (elmo-folder-flag-as-read-dop,
3022         elmo-folder-unflag-read-dop,
3023         elmo-folder-flag-as-important-dop,
3024         elmo-folder-unflag-important-dop,
3025         elmo-folder-flag-as-answered-dop,
3026         elmo-folder-unflag-answered-dop): Remove.
3027         (elmo-folder-set-flag-dop,
3028         elmo-folder-unset-flag-dop,
3029         elmo-folder-set-important-delayed,
3030         elmo-folder-unset-important-delayed,
3031         elmo-folder-set-read-delayed,
3032         elmo-folder-unset-read-delayed,
3033         elmo-folder-set-answered-delayed,
3034         elmo-folder-unset-answered-delayed): New function.
3035         (elmo-dop-queue-merge-method-list): Follow the above chagned.
3036         (elmo-dop-queue-method-name-alist): Ditto.
3037
3038         * elmo-version.el (elmo-version): Up to 2.11.23.
3039
3040 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
3041
3042         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3043
3044         * elsp-sa.el: New file.
3045
3046 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3047
3048         * modb-standard.el (modb-standard-message-entity): New function.
3049         (elmo-msgdb-message-entity): Use it.
3050
3051 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3052
3053         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3054         behavior when one-level is nil.
3055
3056         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3057
3058         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3059
3060 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3061
3062         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3063         get max number.
3064         (elmo-generic-folder-diff): Ditto.
3065
3066         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3067         (elmo-folder-update-number): Ditto.
3068
3069         * elmo-dop.el (elmo-folder-status-dop): Ditto.
3070         (elmo-folder-next-message-number-dop): Ditto.
3071
3072 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3073
3074         * elmo-filter.el (elmo-folder-msgdb-create): Use
3075         `elmo-message-entity' and `elmo-message-flags' instead of
3076         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3077
3078 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3079
3080         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3081         `if-exists'.
3082
3083 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3084
3085         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3086
3087         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3088
3089         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3090
3091 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3092
3093         * elmo-version.el (elmo-version): Up to 2.11.22.
3094
3095 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3096
3097         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3098
3099 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3100
3101         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3102         if the message dose not exist.
3103
3104 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
3105
3106         * elmo-version.el (elmo-version): Up to 2.11.21.
3107
3108 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3109
3110         * modb-standard.el (toplevel): Don't require mime.
3111
3112 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3113
3114         * elsp-bogofilter.el (toplevel): Don't require path-util.
3115         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3116         (elmo-spam-bogofilter-header): Abolish.
3117         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3118         (elmo-spam-bogofilter-args): New user option.
3119         (elsp-bogofilter-call-bogofilter): New internal function.
3120         (elmo-spam-buffer-spam-p): Use it.
3121         (elsp-bogofilter-register-buffer): Renamed from
3122         `elmo-spam-bogofilter-register-buffer';
3123         Use `elsp-bogofilter-call-bogofilter'.
3124         (elmo-spam-register-spam-buffer): Follow the change above.
3125         (elmo-spam-register-good-buffer): Ditto.
3126
3127 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3128
3129         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3130         message-id is nil do nothing.
3131
3132 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3133
3134         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3135         Revival.
3136         (elmo-imap4-session): Removed use-flag slot.
3137         (elmo-imap4-session-select-mailbox): Undo last change.
3138         (elmo-folder-use-flag-p): Use
3139         elmo-imap4-disuse-server-flag-mailbox-regexp.
3140
3141 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3142
3143         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3144         (elmo-imap4-session-select-mailbox): Set it up.
3145         (elmo-folder-use-flag-p): Return value of use-flag slot.
3146
3147 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3148
3149         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3150         message-id is nil.
3151         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3152
3153         * modb-entity.el (elmo-message-entity-handler): Likewise.
3154
3155 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3156
3157         * elmo.el (toplevel): Remove setting of autoloding for
3158         elmo-global-flag-initialize.
3159         (elmo-init): Don't call elmo-global-flag-initialize.
3160         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3161
3162         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3163         (elmo-global-mark-migrate): Don't call it.
3164         (elmo-global-mark-upgrade): Ditto.
3165
3166 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3167
3168         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3169         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3170
3171         * elmo-vars.el (elmo-init-hook): New user option.
3172
3173         * elmo.el (elmo-init): Run the elmo-init-hook.
3174
3175         * elmo-flag.el (elmo-global-mark-migrate): New function.
3176
3177 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3178
3179         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3180         Undo last change (move to elmo-msgdb-unset-flag).
3181         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3182         flag is unset.
3183
3184 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3185
3186         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3187         read flag is set.
3188         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3189         (elmo-msgdb-unset-flag): Ditto.
3190
3191 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3192
3193         * elmo-split.el (elmo-split): Return split message count.
3194
3195 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3196
3197         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3198         is nil.
3199
3200 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3201
3202         * elmo.el (elmo-folder-unflag-important): Call
3203         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3204         a symbol `always'.
3205
3206         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3207         before unset flag.
3208         (elmo-global-flag-detach): Delete the message from flag folder, if
3209         `delete-if-none' is a symbol `always'.
3210
3211 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3212
3213         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3214         `elmo-spam-spamfilter-decode-buffer'.
3215         (elsp-spamfilter-register-buffer-internal): New internal function.
3216         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3217         (elmo-spam-register-spam-buffer): Ditto.
3218         (elmo-spam-register-good-buffer): Ditto.
3219
3220         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3221         change.
3222         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3223         (elmo-spam-register-spam-buffer): Follow the API change.
3224         (elmo-spam-register-good-buffer): Ditto.
3225
3226         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3227         (elmo-split-spam-p): Added argument plist; Call
3228         `elmo-spam-buffer-spam-p' with new argument register.
3229
3230         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3231         `register'.
3232         (elmo-spam-message-spam-p): Ditto.
3233         (elmo-spam-register-spam-buffer): Added optional argument
3234         `restore'.
3235         (elmo-spam-register-good-buffer): Ditto.
3236         (elmo-spam-register-spam-messages): Ditto.
3237         (elmo-spam-register-good-messages): Ditto.
3238
3239 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3240
3241         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3242         register into good corpus.
3243         (elmo-spam-register-good-buffer): Fixed to register into bad
3244         corpus.
3245
3246 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3247
3248         * elmo-version.el (elmo-version): Up to 2.11.20.
3249
3250         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3251         change.
3252
3253         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3254         flag without depending on \Recent flag.
3255
3256 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3257
3258         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3259         (elmo-spam-modified-p): Defined.
3260         (elmo-spam-save-status): Set `modified' slot to nil.
3261         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3262         (elmo-spam-register-good-buffer): Ditto.
3263
3264         * elmo-spam.el (elmo-spam-modified-p): New API.
3265
3266 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3267
3268         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3269         duplicate definition.
3270
3271         * elmo-util.el (elmo-unfold-field-body): New function.
3272         (elmo-msgdb-get-message-id-from-buffer): Use it.
3273
3274         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3275         Fixed the last change; Use elmo-unfold-field-body.
3276
3277 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3278
3279         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3280         Unfold date value.
3281
3282 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3283
3284         * elmo-spam.el (elmo-spam-save-status): New API.
3285
3286         * elsp-spamfilter.el: New file.
3287
3288 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3289
3290         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3291
3292 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3293
3294         * elmo-split.el (elmo-split-spam-p): New function.
3295
3296         * elmo-spam.el: New file.
3297
3298         * elsp-bogofilter.el: Ditto.
3299
3300 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3301
3302         * elmo.el (elmo-folder-next-message-number): New API.
3303         (elmo-folder-next-message-number): Define.
3304         (elmo-message-field): Don't check folder length.
3305
3306         * elmo-net.el (elmo-folder-next-message-number): Define.
3307         (elmo-folder-next-message-number-unplugged): Define.
3308
3309         * elmo-map.el (elmo-folder-next-message-number): Define.
3310         (elmo-folder-delete-messages): Clear hash value.
3311
3312         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3313
3314         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3315         (elmo-folder-delete-messages-dop-delayed): Always return t.
3316
3317         * elmo-version.el (elmo-version): Up to 2.11.19.
3318
3319 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3320
3321         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3322         change.
3323
3324         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3325         identical cons cell into the mark-alist and the hash table.
3326
3327 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3328
3329         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3330         elmo-folder-list-messages with argument `visible-only' as t.
3331
3332         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3333         (elmo-folder-msgdb-create): Check the target folder.
3334
3335 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3336
3337         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3338         `permanentflag' instead of `flags'.
3339         (elmo-folder-open): Ditto.
3340         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3341         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3342         (elmo-folder-use-flag-p): Always return t.
3343         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3344         `permanentflags' does not exist.
3345         (elmo-folder-open): Ditto.
3346
3347 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3348
3349         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3350         is nil.
3351         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3352
3353         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3354         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3355         response.
3356         (elmo-folder-open): Ditto.
3357         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3358         slot of the session includes the flag.
3359         (elmo-imap4-session-flag-available-p): New function.
3360         (elmo-imap4-folder-list-flagged): Ditto.
3361         (elmo-folder-list-unreads-plugged): Use it.
3362         (elmo-folder-list-importants-plugged): Ditto.
3363         (elmo-folder-list-answereds-plugged): Ditto.
3364         (elmo-imap4-search-internal-primitive): Ditto.
3365         (elmo-imap4-folder-list-any-plugged,
3366         elmo-imap4-folder-list-digest-plugged): Abolish.
3367
3368         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3369         if numbers is nil.
3370
3371 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3372
3373         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3374
3375 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3376
3377         * elmo-util.el (elmo-get-hash-val): Simplify.
3378         (elmo-set-hash-val): Rewrite.
3379
3380 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3381
3382         * elmo.el (elmo-folder-list-messages): Append killed messages into
3383         result if `visible-only' is nil and `in-msgdb' is non-nil.
3384
3385         * elmo-util.el (elmo-uniq-list): Added optional argument
3386         `delete-function'.
3387
3388         * modb.el (elmo-msgdb-flag-count): New API.
3389
3390         * modb-standard.el (modb-standard): Added slot flag-count.
3391         (modb-standard-countup-flags): New function.
3392         (modb-standard-load-flag): Call it.
3393         (elmo-msgdb-append): Ditto.
3394         (elmo-msgdb-clear): Clear slot flag-count.
3395         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3396         (elmo-msgdb-unset-flag): Treat `all' flag and call
3397         modb-standard-countup-flags.
3398         (elmo-msgdb-flag-count): Define.
3399         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3400         (elmo-msgdb-delete-messages): Ditto.
3401
3402         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3403         (elmo-msgdb-flag-count): Define.
3404
3405         * elmo.el (elmo-folder-list-messages): Undo last change.
3406         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3407         (elmo-folder-kill-messages): Unset all flags to numbers.
3408
3409         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3410         elmo-folder-kill-messages.
3411
3412         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3413         (elmo-nntp-folder-delete-messages): Abolish.
3414
3415         * elmo-version.el (elmo-version): Up to 2.11.18.
3416
3417 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3418
3419         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3420         (elmo-folder-kill-messages-range): New function.
3421         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3422         instead of elmo-folder-kill-messages-before.
3423
3424 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3425
3426         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3427         elmo-imap4-current-msgdb to decide entity handler.
3428
3429 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3430
3431         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3432
3433         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3434         inline function.
3435         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3436         (elmo-msgdb-overview-entity-set-number,
3437         elmo-msgdb-overview-entity-get-references,
3438         elmo-msgdb-overview-entity-set-references,
3439         elmo-msgdb-overview-entity-get-from-no-decode,
3440         elmo-msgdb-overview-entity-get-from,
3441         elmo-msgdb-overview-entity-set-from,
3442         elmo-msgdb-overview-entity-get-subject,
3443         elmo-msgdb-overview-entity-get-subject-no-decode,
3444         elmo-msgdb-overview-entity-set-subject,
3445         elmo-msgdb-overview-entity-get-date,
3446         elmo-msgdb-overview-entity-set-date,
3447         elmo-msgdb-overview-entity-get-to,
3448         elmo-msgdb-overview-entity-get-cc,
3449         elmo-msgdb-overview-entity-get-size,
3450         elmo-msgdb-overview-entity-set-size,
3451         elmo-msgdb-overview-entity-get-extra,
3452         elmo-msgdb-overview-entity-set-extra,
3453         elmo-msgdb-overview-entity-get-extra-field,
3454         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3455         (elmo-msgdb-make-index): Use
3456         `elmo-msgdb-overview-entity-get-number-internal'.
3457         (elmo-msgdb-clear-index): Ditto.
3458         (elmo-msgdb-append-entity): Ditto;
3459         Use `elmo-msgdb-overview-entity-get-id-internal'.
3460
3461         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3462         elmo-msgdb-overview-entity-set-number,
3463         elmo-msgdb-overview-entity-get-references,
3464         elmo-msgdb-overview-entity-set-references,
3465         elmo-msgdb-overview-entity-get-from-no-decode,
3466         elmo-msgdb-overview-entity-get-from,
3467         elmo-msgdb-overview-entity-set-from,
3468         elmo-msgdb-overview-entity-get-subject,
3469         elmo-msgdb-overview-entity-get-subject-no-decode,
3470         elmo-msgdb-overview-entity-set-subject,
3471         elmo-msgdb-overview-entity-get-date,
3472         elmo-msgdb-overview-entity-set-date,
3473         elmo-msgdb-overview-entity-get-to,
3474         elmo-msgdb-overview-entity-get-cc,
3475         elmo-msgdb-overview-entity-get-size,
3476         elmo-msgdb-overview-entity-set-size,
3477         elmo-msgdb-overview-entity-get-extra,
3478         elmo-msgdb-overview-entity-set-extra,
3479         elmo-msgdb-overview-entity-get-extra-field,
3480         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3481         and rewrote for backward compatibility.
3482
3483 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3484
3485         * elmo.el (elmo-message-entity-number,
3486         elmo-message-entity-set-number,
3487         elmo-message-entity-field,
3488         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3489
3490         * elmo-msgdb.el (elmo-message-entity-number,
3491         elmo-message-entity-set-number,
3492         elmo-message-entity-field,
3493         elmo-message-entity-set-field): Moved from elmo.el.
3494
3495 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3496
3497         * elmo.el (toplevel): Changed definition orders.
3498
3499 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3500
3501         * modb.el (elmo-msgdb-search): New API .
3502         (elmo-msgdb-match-condition): Ditto.
3503
3504         * modb-standard.el (elmo-msgdb-search): Define.
3505
3506         * modb-legacy.el (elmo-msgdb-search): Ditto.
3507
3508         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3509         from elmo-msgdb-match-condition-internal.
3510
3511         * elmo.el (elmo-folder-search-fast): Abolish.
3512         (elmo-folder-search): Use elmo-msgdb-search and
3513         elmo-with-progress-display.
3514
3515         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3516         as msgdb API.
3517
3518         * elmo.el (elmo-folder): Remove slot message-modified and
3519         flag-modified.
3520         (elmo-folder-set-message-modified): Abolish.
3521         (elmo-generic-folder-commit): Follow the change above.
3522         (elmo-folder-synchronize): Ditto.
3523
3524         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3525
3526         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3527
3528         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3529
3530 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3531
3532         * modb-standard.el (modb-standard-make-message-entity,
3533         elmo-msgdb-make-message-entity,
3534         elmo-msgdb-create-message-entity-from-buffer,
3535         elmo-msgdb-message-entity-number,
3536         elmo-msgdb-message-entity-set-number,
3537         elmo-msgdb-message-entity-field,
3538         elmo-msgdb-message-entity-set-field,
3539         elmo-msgdb-copy-message-entity,
3540         elmo-msgdb-match-condition-internal): Remove.
3541
3542         * modb-entity.el: New file (again).
3543
3544         * modb.el (toplevel): Require modb-entity.
3545         (elmo-msgdb-message-entity-handler): New method.
3546
3547         * modb-standard.el (modb-standard-entity-id): Use
3548         elmo-message-entity-handler.
3549         (modb-standard-load-entity): Ditto.
3550         (elmo-msgdb-append-entity): Ditto.
3551         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3552
3553         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3554         elmo-msgdb-decoded-cache-hashtb,
3555         (modb-legacy-make-message-entity,
3556         elmo-msgdb-make-message-entity,
3557         elmo-msgdb-create-message-entity-from-buffer,
3558         elmo-msgdb-message-entity-number,
3559         elmo-msgdb-message-entity-set-number,
3560         elmo-msgdb-message-entity-field,
3561         elmo-msgdb-message-entity-set-field,
3562         elmo-msgdb-copy-message-entity,
3563         elmo-msgdb-match-condition-internal,
3564         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3565
3566         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3567         (elmo-message-entity-set-number): Ditto.
3568         (elmo-message-entity-field): Ditto.
3569         (elmo-message-entity-set-field): Ditto.
3570
3571         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3572
3573         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3574
3575         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3576
3577         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3578         (elmo-nntp-msgdb-create-message): Ditto.
3579
3580         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3581         (elmo-folder-msgdb-create): Add unread flag.
3582
3583         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3584
3585         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3586
3587         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3588
3589         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3590
3591         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3592         elmo-msgdb-messge-entity-handler.
3593         * elmo-version.el (elmo-version): Up to 2.11.17.
3594
3595 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3596
3597         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3598         change.
3599
3600 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3601
3602         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3603
3604         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3605         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3606         (elmo-msgdb-flag-table): Ditto.
3607         (elmo-msgdb-sort-by-date): Ditto.
3608
3609         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3610
3611         * modb-standard.el (toplevel): Require mime.
3612         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3613         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3614         elmo-msgdb-message-entity-number.
3615         (elmo-msgdb-append-entity): Ditto.
3616         (elmo-msgdb-create-message-entity-from-file): Remove.
3617         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3618         corresponds to the entity.
3619         (elmo-msgdb-message-entity-number): Do nothing currently.
3620         (elmo-msgdb-message-entity-field): Ditto.
3621         (elmo-msgdb-message-entity-set-field): Ditto.
3622         (elmo-msgdb-copy-message-entity): Ditto.
3623         (elmo-msgdb-match-condition-internal): Ditto.
3624
3625         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3626         elmo-util.el.
3627         (elmo-msgdb-create-message-entity-from-file): Remove.
3628
3629         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3630         modb-legacy.el.
3631         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3632
3633         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3634
3635 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3636
3637         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3638         (elmo-msgdb-message-entity-field): Ditto.
3639         (elmo-msgdb-message-entity-number): Ditto.
3640
3641 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3642
3643         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3644         Fixed how to set extra field into entity.
3645         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3646         symbol.
3647
3648         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3649         Fixed how to set extra field into entity.
3650         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3651         symbol.
3652
3653 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3654
3655         * modb.el (elmo-message-entity-db): New function.
3656         (elmo-msgdb-make-message-entity): New API.
3657         (elmo-msgdb-message-entity-number): Ditto.
3658         (elmo-msgdb-message-entity-set-number): Ditto.
3659         (elmo-msgdb-message-entity-field): Ditto.
3660         (elmo-msgdb-message-entity-set-field): Ditto.
3661         (elmo-msgdb-copy-message-entity): Ditto.
3662         (elmo-msgdb-create-message-entity-from-file): Ditto.
3663         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3664         (elmo-msgdb-match-condition-internal): Ditto.
3665
3666         * modb-standard.el (modb-legacy): Require modb-legacy.
3667         (modb-standard-make-message-entity): New inline function.
3668         (elmo-msgdb-make-message-entity): Define.
3669         (elmo-msgdb-create-message-entity-from-file): Ditto.
3670         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3671         (elmo-msgdb-message-entity-field): Ditto.
3672         (elmo-msgdb-message-entity-set-field): Ditto.
3673         (elmo-msgdb-copy-message-entity): Ditto.
3674         (elmo-msgdb-match-condition-internal): Ditto.
3675
3676         * modb-legacy.el: Don't require modb-entity.
3677         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3678         (elmo-msgdb-match-condition-primitive): Ditto.
3679         (elmo-msgdb-get-decoded-cache): Ditto.
3680         (elmo-msgdb-overview-entity-get-id): Ditto.
3681         (elmo-msgdb-overview-entity-get-number): Ditto.
3682         (elmo-msgdb-overview-entity-set-number): Ditto.
3683         (elmo-msgdb-overview-entity-get-references): Ditto.
3684         (elmo-msgdb-overview-entity-set-references): Ditto.
3685         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3686         (elmo-msgdb-overview-entity-get-from): Ditto.
3687         (elmo-msgdb-overview-entity-set-from): Ditto.
3688         (elmo-msgdb-overview-entity-get-subject): Ditto.
3689         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3690         (elmo-msgdb-overview-entity-set-subject): Ditto.
3691         (elmo-msgdb-overview-entity-get-date): Ditto.
3692         (elmo-msgdb-overview-entity-set-date): Ditto.
3693         (elmo-msgdb-overview-entity-get-to): Ditto.
3694         (elmo-msgdb-overview-entity-get-cc): Ditto.
3695         (elmo-msgdb-overview-entity-get-size): Ditto.
3696         (elmo-msgdb-overview-entity-set-size): Ditto.
3697         (elmo-msgdb-overview-entity-get-extra): Ditto.
3698         (elmo-msgdb-overview-entity-set-extra): Ditto.
3699         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3700         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3701         (elmo-msgdb-number-load): Ditto.
3702         (elmo-msgdb-overview-load): Ditto.
3703         (elmo-msgdb-mark-load): Ditto.
3704         (elmo-msgdb-number-save): Ditto.
3705         (elmo-msgdb-mark-save): Ditto.
3706         (elmo-msgdb-overview-save): Ditto.
3707         (modb-legacy-make-message-entity): New inline function.
3708         (elmo-msgdb-insert-file-header): Ditto.
3709         (elmo-msgdb-make-message-entity): Define.
3710         (elmo-msgdb-create-message-entity-from-file): Ditto.
3711         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3712         (elmo-msgdb-message-entity-number): Ditto.
3713         (elmo-msgdb-message-entity-set-number): Ditto.
3714         (elmo-msgdb-message-entity-field): Ditto.
3715         (elmo-msgdb-message-entity-set-field): Ditto.
3716         (elmo-msgdb-copy-message-entity): Ditto.
3717         (elmo-msgdb-match-condition-internal): Ditto.
3718
3719         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3720         (elmo-message-copy-entity): Rewrite.
3721         (elmo-message-entity-number): Ditto.
3722         (elmo-message-entity-set-number): Ditto.
3723         (elmo-message-entity-field): Use elmo-message-entity-db.
3724         (elmo-message-entity-set-field): Ditto.
3725         (elmo-message-field): Rewrite.
3726
3727         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3728         elmo-msgdb.el
3729         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3730
3731         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3732         elmo-message-entity-field.
3733         (elmo-shimbun-folder-shimbun-header): Ditto.
3734         (elmo-shimbun-entity-to-header): Ditto.
3735         (elmo-folder-msgdb-create): Ditto.
3736         (elmo-shimbun-msgdb-create-entity): Ditto;
3737         Use elmo-msgdb-create-message-entity-from-buffer.
3738         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3739         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3740
3741         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3742         elmo-msgdb-create-message-entity-from-file and 
3743         elmo-message-entity-field.
3744
3745         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3746         elmo-message-entity-number.
3747         (elmo-pop3-msgdb-create-message): Use
3748         elmo-msgdb-create-message-entity-from-buffer,
3749         elmo-message-entity-set-field, elmo-message-entity-number and
3750         elmo-message-entity-set-number.
3751
3752         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3753         the API change in elmo-msgdb-make-message-entity.
3754         (elmo-nntp-msgdb-create-message): Use
3755         elmo-msgdb-create-message-entity-from-buffer.
3756
3757         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3758         elmo-message-entity-field and
3759         elmo-msgdb-create-message-entity-from-file.
3760
3761         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3762         (elmo-msgdb-get-field): Abolish.
3763         (elmo-msgdb-get-number): Rewrite.
3764         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3765         (elmo-msgdb-flag-table): Ditto.
3766         (elmo-msgdb-get-last-message-id,
3767         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3768         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3769         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3770         (elmo-msgdb-create-overview-from-buffer,
3771         elmo-msgdb-overview-get-parent-entity): Abolish.
3772
3773         * elmo-mime.el (elmo-mime-display-as-is): Use
3774         elmo-message-entity-field.
3775
3776         * elmo-map.el (elmo-folder-pack-numbers): Use
3777         elmo-message-entity-set-number.
3778
3779         * elmo-maildir.el (elmo-folder-msgdb-create): 
3780         elmo-msgdb-create-message-entity-from-file instead of
3781         elmo-msgdb-create-overview-entity-from-file.
3782
3783         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3784         msgdb.
3785         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3786         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3787
3788         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3789         elmo-messge-entity-field and elmo-message-entity-number.
3790         (elmo-imap4-fetch-callback-1): Call
3791         elmo-msgdb-create-message-entity-from-buffer instead of
3792         elmo-msgdb-create-overview-from-buffer. 
3793         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3794         (elmo-find-fetch-strategy): Likewise.
3795
3796         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3797         elmo-localdir-msgdb-create-entity with argument msgdb.
3798
3799         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3800         and elmo-message-entity-set-number.
3801
3802         * elmo-cache.el (elmo-folder-msgdb-create): Use
3803         elmo-message-entity-field.
3804         (elmo-folder-msgdb-create): Call
3805         elmo-msgdb-create-message-entity-from-file instead of
3806         elmo-msgdb-create-overview-entity-from-file.
3807
3808         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3809         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3810         instead of elmo-msgdb-create-overview-from-buffer.
3811         (elmo-archive-msgdb-create-entity): Ditto.
3812         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3813         elmo-message-entity-field.
3814         (elmo-archive-parse-mmdf): Ditto.
3815
3816         * modb-entity.el: Removed.
3817
3818         * elmo-version.el (elmo-version): Up to 2.11.16.
3819
3820 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3821
3822         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3823         `is-local'.
3824         (elmo-folder-flag-as-answered): Ditto.
3825
3826 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3827
3828         * modb-standard.el: New file.
3829
3830         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3831         elmo-msgdb-convert-type is `sync'.
3832
3833         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3834         (elmo-msgdb-convert-type): New user option.
3835
3836         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3837         (elmo-load-msgdb): Auto detect saved type.
3838
3839         * elmo-version.el (elmo-version): Up to 2.11.15.
3840
3841 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3842
3843         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3844
3845         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3846         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3847         with argument `delete-if-none' when dst-folder is 'null.
3848
3849         * elmo-flag.el (elmo-folder-append-messages): Defined.
3850         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3851
3852 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3853
3854         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3855
3856 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3857
3858         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3859         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3860         (elmo-folder-commit): Ditto.
3861
3862 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3863
3864         * elmo-flag.el: New file.
3865
3866         * elmo-mark.el: Removed.
3867
3868         * modb-legacy.el (modb-legacy-new-mark,
3869         modb-legacy-unread-uncached-mark,
3870         modb-legacy-unread-cached-mark,
3871         modb-legacy-read-uncached-mark,
3872         modb-legacy-answered-cached-mark,
3873         modb-legacy-answered-uncached-mark,
3874         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3875         All other related portions are changed.
3876
3877         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3878         (elmo-folder-list-messages-with-global-mark): Abolish.
3879         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3880         (elmo-folder-flag-as-important): Ditto.
3881         (elmo-folder-unflag-read): Ditto.
3882         (elmo-folder-flag-as-read): Ditto.
3883         (elmo-folder-unflag-answered): Ditto.
3884         (elmo-folder-flag-as-answered): Ditto.
3885         (elmo-message-encache): Return the cache path.
3886         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3887         (elmo-message-set-flag): Transitional implementation.
3888         (elmo-message-unset-flag): Ditto.
3889         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3890         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3891         (elmo-init): Call elmo-global-flag-initialize.
3892         (toplevel): Added autoload settings for elmo-flag.
3893
3894         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3895
3896         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3897         (elmo-file-cache-delete): Don't treat global-mark.
3898
3899         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3900
3901         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3902
3903         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3904         `elmo-global-flags-set'.
3905
3906         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3907         `flag'.
3908         (elmo-folder-unflag-read): Ditto.
3909         (elmo-folder-unflag-important): Ditto.
3910         (elmo-folder-flag-as-important): Ditto.
3911         (elmo-folder-unflag-answered): Ditto.
3912         (elmo-folder-flag-as-answered): Ditto.
3913
3914         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3915         `elmo-global-flags-set'.
3916         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3917
3918         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3919
3920         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3921         `flag'.
3922         (elmo-folder-flag-as-important): Ditto.
3923         (elmo-folder-unflag-important): Ditto.
3924         (elmo-folder-flag-as-important): Ditto.
3925         (elmo-folder-unflag-read): Ditto.
3926         (elmo-folder-flag-as-read): Ditto.
3927         (elmo-folder-unflag-answered): Ditto.
3928         (elmo-folder-flag-as-answered): Ditto.
3929
3930         * elmo-multi.el (elmo-folder-list-importants): Don't call
3931         elmo-folder-list-messages-with-global-mark.
3932         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3933         (elmo-folder-unflag-important): Ditto.
3934         (elmo-folder-flag-as-read): Ditto.
3935         (elmo-folder-unflag-read): Ditto.
3936         (elmo-folder-flag-as-answered): Ditto.
3937         (elmo-folder-unflag-answered): Ditto.
3938
3939         * elmo-msgdb.el (elmo-msgdb-new-mark,
3940         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3941         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3942         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3943         (Moved to modb-legacy.el).
3944         (elmo-flag-table-get): Treat important flag too.
3945
3946         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3947         `mark' to `flag'.
3948         (elmo-map-folder-flag-as-important): Ditto.
3949         (elmo-map-folder-unflag-read): Ditto.
3950         (elmo-map-folder-flag-as-read): Ditto.
3951         (elmo-map-folder-unflag-answered): Ditto.
3952         (elmo-map-folder-flag-as-answered): Ditto.
3953         (elmo-folder-unflag-important): Ditto.
3954         (elmo-folder-flag-as-important): Ditto.
3955         (elmo-folder-unflag-read): Ditto.
3956         (elmo-folder-flag-as-read): Ditto.
3957         (elmo-folder-unflag-answered): Ditto.
3958         (elmo-folder-flag-as-answered): Ditto.
3959
3960         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3961         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3962         `flag'.
3963         (elmo-map-folder-unflag-important): Ditto.
3964         (elmo-map-folder-flag-as-read): Ditto.
3965         (elmo-map-folder-unflag-read): Ditto.
3966         (elmo-map-folder-flag-as-answered): Ditto.
3967         (elmo-map-folder-unflag-answered): Ditto.
3968
3969         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3970         `elmo-global-flags-set'.
3971         (elmo-global-flags-set): Added autoload setting.
3972
3973         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3974         `flag'.
3975
3976         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3977         `elmo-msgdb-global-mark-set'.
3978         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3979         Call `elmo-global-flags-set'.
3980         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3981         `flag'.
3982         (elmo-folder-flag-as-important-plugged): Ditto.
3983         (elmo-folder-unflag-read-plugged): Ditto.
3984         (elmo-folder-flag-as-read-plugged): Ditto.
3985         (elmo-folder-unflag-answered-plugged): Ditto.
3986         (elmo-folder-flag-as-answered-plugged): Ditto.
3987         (elmo-global-flags-set): Added autoload setting.
3988
3989         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3990         `flag'.
3991         (elmo-folder-unflag-read): Ditto.
3992         (elmo-folder-flag-as-important): Ditto.
3993         (elmo-folder-unflag-important): Ditto.
3994         (elmo-folder-flag-as-answered): Ditto.
3995         (elmo-folder-unflag-answered): Ditto.
3996
3997         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3998         change of `mark'->`flag'.
3999         (elmo-dop-queue-method-name-alist): Ditto.
4000         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
4001         (elmo-folder-unflag-read-dop): Ditto.
4002         (elmo-folder-flag-as-important-dop): Ditto.
4003         (elmo-folder-unflag-important-dop): Ditto.
4004         (elmo-folder-flag-as-answered-dop): Ditto.
4005         (elmo-folder-unflag-answered-dop): Ditto.
4006
4007         * elmo-cache.el (elmo-folder-msgdb-create): Call
4008         `elmo-global-flags-set'.
4009
4010         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4011         Call `elmo-global-flags-set'.
4012         (elmo-archive-msgdb-create-as-numlist-subr2): Call
4013         elmo-archive-parse-mmdf with argument `folder'.
4014         (elmo-archive-parse-mmdf): Added argument `folder';
4015         Call `elmo-global-flags-set'.
4016
4017         * elmo-version.el (elmo-version): Up to 2.11.14.
4018
4019 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4020
4021         * modb.el (elmo-msgdb-length): Define.
4022
4023         * elmo.el (elmo-make-folder): Fixed.
4024         (elmo-generic-folder-append-messages): Follow the API change.
4025
4026         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
4027         API change.
4028
4029 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4030
4031         * modb.el: New file.
4032
4033         * modb-entity.el: Ditto.
4034
4035         * modb-legacy.el: Ditto.
4036
4037         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4038         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4039         of `elmo-msgdb-overview-get-entity'.
4040         (elmo-msgdb-get-field): Ditto.
4041         (elmo-msgdb-merge): Moved to `elmo.el'.
4042         (elmo-msgdb-length): Removed; redefine as modb method.
4043         (elmo-msgdb-change-mark): Abolish.
4044         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4045         (elmo-msgdb-match-condition): Don't use mark.
4046         (elmo-msgdb-overview-get-entity): Abolish.
4047         Split modb part into `modb*.el'.
4048
4049         * elmo-vars.el (elmo-msgdb-default-type): New user option.
4050
4051         * elmo-shimbun.el (shimbun-mua-search-id): Use
4052         `elmo-msgdb-message-entity' instead of
4053         `elmo-msgdb-overview-get-entity'.
4054         (elmo-shimbun-folder-shimbun-header): Ditto.
4055         (elmo-shimbun-get-headers): Ditto.
4056         (elmo-shimbun-update-overview): Ditto.
4057
4058         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4059
4060         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4061
4062         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4063         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4064
4065         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4066         `elmo-msgdb-mark-to-flags'.
4067
4068         * elmo-map.el (elmo-folder-pack-numbers): Don't use
4069         `elmo-msgdb-set-path'.
4070
4071         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4072  
4073         * elmo-version.el (elmo-version): Up to 2.11.13.
4074
4075         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4076
4077         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4078         of mark.
4079
4080 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4081
4082         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4083         mismatch.
4084
4085 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4086
4087         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4088         instead of `elmo-msgdb-get-cached'.
4089         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4090
4091         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4092         (elmo-msgdb-set-cached): Ditto.
4093         (elmo-msgdb-set-flag): Rewrite.
4094         (elmo-msgdb-unset-flag): Ditto.
4095
4096         * elmo-msgdb.el: Rewrite with luna.
4097
4098         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4099         (elmo-folder-msgdb): Follow the change above.
4100         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4101         (elmo-folder-unmark-important): Follow the API change.
4102         (elmo-folder-mark-as-important): Ditto.
4103         (elmo-folder-unmark-read): Ditto.
4104         (elmo-folder-mark-as-read): Ditto.
4105         (elmo-folder-unmark-answered): Ditto.
4106         (elmo-folder-mark-as-answered): Ditto.
4107         (elmo-folder-clear): Likewise.
4108
4109         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4110         instead of `elmo-msgdb-load' (renamed).
4111
4112         * elmo-version.el (elmo-version): Up to 2.11.12.
4113
4114 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4115
4116         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4117         change.
4118         (elmo-message-mark): Abolish.
4119         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4120         instead of `elmo-msgdb-change-mark'.
4121
4122         * elmo-pipe.el (elmo-message-mark): Abolish.
4123
4124         * elmo-multi.el (elmo-message-mark): Ditto.
4125
4126         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4127         (elmo-msgdb-unread-uncached-mark): Ditto.
4128         (elmo-msgdb-unread-cached-mark): Ditto.
4129         (elmo-msgdb-read-uncached-mark): Ditto.
4130         (elmo-msgdb-answered-cached-mark): Ditto.
4131         (elmo-msgdb-answered-uncached-mark): Ditto.
4132         (elmo-msgdb-important-mark): Ditto.
4133         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4134         `use-cache'.
4135         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4136         `flags'.
4137         (elmo-flag-table-load): Changed flag to list of flag.
4138         (elmo-flag-table-set): If flags is nil, set read flag.
4139         (elmo-flag-table-get): Return derived flags from global mark,
4140         cache status and saved flags.
4141         (elmo-msgdb-flag-table): Follow the change above.
4142         (elmo-msgdb-out-of-date-messages): New function.
4143
4144         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4145
4146         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4147
4148         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4149
4150         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4151         (elmo-nntp-msgdb-create-message): Ditto.
4152
4153         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4154
4155         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4156         independent.
4157         (elmo-folder-msgdb-create): Follow the API change.
4158
4159         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4160         (elmo-folder-append-messages): Ditto.
4161
4162         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4163         (elmo-folder-append-buffer): Ditto.
4164
4165         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4166
4167         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4168
4169         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4170         (elmo-archive-parse-mmdf): Ditto.
4171
4172         * elmo-version.el (elmo-version): Up to 2.11.11.
4173
4174 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4175
4176         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4177         `elmo-msgdb-mark'.
4178
4179         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4180
4181         * elmo-pipe.el (elmo-message-flags): Defined.
4182
4183         * elmo-multi.el (elmo-message-flags): Ditto.
4184
4185 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4186
4187         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4188         `elmo-msgdb-delete-msgs'.
4189
4190         * elmo.el (elmo-folder-count-flags): Don't use
4191         `elmo-msgdb-get-mark-alist'.
4192         (elmo-folder-detach-messages): Follow the API change.
4193
4194         * elmo.el (elmo-folder-list-messages): Append killed messages into
4195         result if `visible-only' is nil.
4196
4197         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4198         canceled messages.
4199         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4200         (elmo-folder-update-number): Likewise.
4201
4202         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4203         (elmo-pop3-sort-msgdb-by-original-number): Use
4204         `elmo-msgdb-sort-entities'.
4205
4206         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4207         (elmo-msgdb-sort-by-date): Use it.
4208         (elmo-msgdb-overview-sort-by-date): Abolish.
4209
4210         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4211
4212         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4213         (elmo-msgdb-flags): New function.
4214         (elmo-msgdb-merge): Use elmo-msgdb-append.
4215
4216         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4217         change.
4218
4219         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4220
4221         * elmo-dop.el (elmo-folder-status-dop): Use
4222         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4223
4224 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4225
4226         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4227
4228         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4229
4230         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4231
4232         * elmo-util.el (elmo-with-progress-display): New macro.
4233
4234         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4235
4236 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4237
4238         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4239         `elmo-folder-list-message-entities' instead of
4240         `elmo-msgdb-get-overview'.
4241         (elmo-map-folder-list-message-locations): Ditto.
4242
4243         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4244         methods instead of treat directly).
4245         (elmo-msgdb-clear): Ditto.
4246         (elmo-msgdb-delete-msgs): Ditto.
4247         (elmo-msgdb-sort-by-date): Ditto.
4248
4249         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4250         local variables.
4251         (elmo-nntp-folder-msgdb-create): Follow the API change.
4252
4253         * elmo-version.el (elmo-version): Up to 2.11.10.
4254
4255 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4256
4257         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4258         (elmo-msgdb-flags-to-mark): Ditto.
4259         (elmo-msgdb-append-entity): Ditto.
4260
4261         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4262         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4263         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4264         (elmo-archive-parse-mmdf): Ditto.
4265
4266         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4267
4268         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4269
4270         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4271
4272         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4273
4274         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4275
4276         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4277
4278         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4279
4280         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4281
4282         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4283         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4284         to empty msgdb.
4285
4286         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4287         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4288         instead of directly construction.
4289         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4290         instead of construct msgdb.
4291
4292         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4293         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4294         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4295         instead of construct msgdb.
4296
4297 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4298
4299         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4300         when field is from or subject.
4301
4302 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4303
4304         * elmo-multi.el (elmo-message-entity-parent): Define.
4305         (elmo-folder-search): Rewrite.
4306
4307 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4308
4309         * elmo-multi.el (elmo-message-cached-p): Define.
4310
4311         * elmo.el (elmo-message-cached-p): New method.
4312         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4313         (elmo-message-flags): New method.
4314         (elmo-message-flagged-p): New function.
4315
4316         * elmo-version.el (elmo-version): Up to 2.11.9.
4317
4318 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4319
4320         * elmo-version.el (elmo-version): Up to 2.11.8.
4321
4322         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4323
4324         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4325
4326 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4327
4328         * elmo.el (elmo-folder-detach-messages): Undo last change.
4329
4330 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4331
4332         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4333
4334         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4335         only when src folder type is pop3.
4336
4337 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4338
4339         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4340         elmo-msgdb-overview-entity-get-number instead of
4341         elmo-message-entity-number.
4342
4343 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4344
4345         * elmo-version.el (elmo-version): Up to 2.11.7.
4346
4347 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4348
4349         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4350         function.
4351
4352         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4353         (elmo-msgdb-merge): New function.
4354         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4355         (elmo-msgdb-make-index): Rewrite.
4356
4357         * elmo-version.el (elmo-version): Up to 2.11.6.
4358
4359         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4360         use it as a the path for loading message entities.
4361
4362         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4363
4364 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4365
4366         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4367         message-modified slot of itself if it does not require target msgdb.
4368
4369         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4370         if folder length is zero.
4371         (elmo-mime-display-as-is): Ditto.
4372
4373         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4374
4375         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4376
4377 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4378
4379         * elmo.el (elmo-folder-set-message-modified): New method.
4380         (elmo-generic-folder-commit): Use it.
4381         (elmo-folder-synchronize): Ditto.
4382
4383         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4384         (elmo-folder-commit): Remove duplicate definition.
4385
4386 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4387
4388         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4389
4390 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4391
4392         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4393         (elmo-strict-folder-diff): Ditto.
4394         (elmo-folder-set-info-max-by-numdb): Simplify.
4395
4396         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4397         elmo-msgdb-list-messages.
4398
4399         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4400         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4401
4402 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4403
4404         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4405         visible-only is non-nil.
4406         (elmo-folder-confirm-appends): Changed message.
4407         (elmo-folder-synchronize): Added argument disable-killed.
4408
4409         * elmo-multi.el (elmo-folder-synchronize): Added argument
4410         disable-killed.
4411
4412         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4413
4414         * elmo-version.el (elmo-version): Up to 2.11.5.
4415
4416         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4417         elmo-list-filter.
4418
4419         * elmo-util.el (elmo-list-filter): Simplify.
4420
4421         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4422         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4423         (elmo-generic-folder-diff): Abolish argument.
4424         (elmo-msgdb-load): Don't use number-alist.
4425
4426         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4427
4428         * elmo-pipe.el (elmo-folder-diff): Ditto.
4429
4430         * elmo-nmz.el (elmo-folder-diff): Ditto.
4431
4432         * elmo-net.el (elmo-folder-diff): Ditto.
4433
4434         * elmo-maildir.el (elmo-folder-diff): Ditto.
4435
4436         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4437
4438         * elmo-multi.el (elmo-folder-diff): Ditto
4439         (elmo-multi-folder-diff): Rewrite.
4440
4441 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4442
4443         * elmo-pipe.el (elmo-folder-msgdb): Define.
4444
4445 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4446
4447         * elmo.el (elmo-message-set-cached): Define as a method.
4448
4449         * elmo-pipe.el (elmo-message-set-cached): Define.
4450         (elmo-find-fetch-strategy): Ditto.
4451
4452         * elmo-multi.el (elmo-message-set-cached): Define.
4453         (elmo-find-fetch-strategy): Rewrite.
4454
4455         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4456
4457         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4458
4459 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4460
4461         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4462         instead of number-alist.
4463
4464         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4465         mark nor message-id when msgdb of source folder is not loaded.
4466
4467         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4468
4469         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4470
4471 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4472
4473         * elmo.el (elmo-folder-length): Don't require msgdb.
4474
4475 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4476
4477         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4478         (elmo-message-field): Ditto.
4479
4480         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4481         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4482         slot.
4483         (elmo-map-folder-list-answereds): Define.
4484         (elmo-maildir-list-location): Treat 'R' info.
4485         (elmo-folder-msgdb-create): Treat flag-table.
4486         (elmo-folder-append-messages): Save flag-table.
4487
4488 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4489
4490         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4491         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4492
4493 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4494
4495         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4496
4497         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4498         'read when mark is null.
4499
4500 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4501
4502         * elmo-version.el (elmo-version): Up to 2.11.4.
4503
4504 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4505
4506         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4507         (elmo-folder-mark-as-answered): Ditto.
4508
4509 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4510
4511         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4512         (elmo-pop3-get-session): Make msgdb directory after session.
4513         (elmo-folder-exists-p): Check exactly at the first time even when the
4514         elmo-pop3-exists-exactly is nil.
4515
4516         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4517         (elmo-folder-list-messages): Define instead of
4518         elmo-folder-list-messages-internal.
4519         (elmo-folder-check): Check destination folder.
4520         (elmo-folder-synchronize): Drain the pipe.
4521
4522         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4523         when msgdb is not loaded.
4524
4525         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4526
4527         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4528         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4529         messages.
4530
4531         * elmo.el (elmo-folder-kill-messages-before): New function.
4532         (elmo-folder-kill-messages): Ditto.
4533         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4534
4535         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4536         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4537         killed not by synchronize (e.g. scoring).
4538
4539 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4540
4541         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4542         treated.
4543         (elmo-folder-search): Follow the change above.
4544
4545         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4546         into the candidates of search field.
4547
4548 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4549
4550         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4551         (elmo-msgdb-unset-flag): Ditto.
4552
4553         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4554
4555 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4556
4557         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4558         (elmo-folder-commit): Define.
4559         (elmo-folder-synchronize): Ditto.
4560         (elmo-folder-list-flagged): Ditto.
4561         (elmo-folder-commit): Ditto.
4562         (elmo-folder-length): Ditto.
4563         (elmo-folder-count-flags): Ditto.
4564         (elmo-message-mark): Ditto.
4565         (elmo-message-field): Ditto.
4566         (elmo-message-entity): Ditto.
4567         (elmo-message-folder): Ditto.
4568
4569 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4570
4571         * elmo.el (elmo-message-field): Define as a method.
4572
4573         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4574         (elmo-message-field): Define.
4575
4576         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4577         (elmo-folder-list-importants): Ditto.
4578         (elmo-folder-list-answereds): Ditto.
4579
4580         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4581         qualifier.
4582         (elmo-folder-mark-as-read): Ditto.
4583         (elmo-folder-unmark-read): Ditto.
4584         (elmo-folder-mark-as-answered): Ditto.
4585         (elmo-folder-unmark-answered): Ditto.
4586         (elmo-folder-list-flagged): Define.
4587         (elmo-folder-commit): Ditto.
4588         (elmo-folder-length): Ditto.
4589         (elmo-folder-count-flags): Ditto.
4590
4591 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4592
4593         * elmo.el (elmo-folder-detach-messages): New method.
4594         (elmo-folder-move-messages): Use it.
4595         (elmo-folder-synchronize): Ditto.
4596
4597         * elmo-multi.el (elmo-folder-detach-messages): Define.
4598
4599         * elmo.el (elmo-message-copy-entity): New function.
4600         (elmo-message-entity-set-number): Ditto.
4601         (elmo-message-mark): Define as method.
4602
4603         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4604         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4605         (elmo-message-entity): Fixed last change.
4606         (elmo-message-mark): Define.
4607         (elmo-folder-msgdb-create): Abolish.
4608         (elmo-multi-folder-append-msgdb): Ditto.
4609         (elmo-multi-folder-diff): Fixed.
4610         (elmo-multi-split-number-alist): Removed.
4611         (elmo-multi-split-mark-alist): Removed.
4612         (elmo-folder-list-messages): Define.
4613         (elmo-folder-list-messages-internal): Removed.
4614
4615         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4616         local file messages.
4617         (elmo-folder-msgdb-create): Fixed read mark.
4618
4619 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4620
4621         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4622         if mark is nil.
4623
4624 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4625
4626         * elmo.el (elmo-folder-list-message-entities): Define as inline
4627         function.
4628         (elmo-folder-messages): Abolish.
4629
4630         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4631         folder.
4632         (elmo-folder-synchronize): Define.
4633         (elmo-message-entity): Define.
4634
4635 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4636
4637         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4638         elmo-imap4-session-select-mailbox.
4639
4640         * elmo.el (elmo-folder-move-messages): Don't display any message.
4641
4642         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4643         parsing.
4644         (elmo-imap4-session-check): Don't wait CHECK response.
4645         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4646
4647 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4648
4649         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4650
4651 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4652
4653         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4654         API.
4655         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4656
4657
4658         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4659         (elmo-folder-list-message-entities): Added argument in-msgdb and
4660         numbers.
4661         (elmo-folder-synchronize): Define as a method.
4662
4663         * elmo-nntp.el (elmo-folder-initialize): Don't use
4664         elmo-nntp-default-user if zero-length username is specified
4665         explicitly.
4666
4667 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4668
4669         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4670         server name in case with username.
4671         (XXX: this is ad-hoc fix against username includes "@", it
4672         should be solved fundamentally)
4673
4674 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4675
4676         * elmo-nntp.el (elmo-nntp-debug): New function.
4677         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4678         (elmo-network-authenticate-session): Hide auth-info from the log.
4679
4680         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4681         user name if it is equal to elmo-nntp-default-user.
4682
4683 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4684
4685         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4686         instead of shimbun-server-internal;
4687         Use shimbun-current-group instead of shimbun-current-group-internal.
4688         (elmo-folder-plugged-p): Use shimbun-server instead of
4689         shimbun-server-internal.
4690         (elmo-folder-set-plugged): Ditto.
4691         (elmo-net-port-info): Ditto.
4692         (elmo-folder-check): Ditto.
4693         (elmo-folder-expand-msgdb-path): Ditto.
4694         (elmo-folder-list-subfolders): Ditto.
4695
4696 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4697
4698         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4699         Convert field-name to lower case.
4700         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4701
4702 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4703
4704         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4705         `message' and `error' take format string.
4706
4707 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4708
4709         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4710
4711 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4712
4713         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4714         recursive call (can't byte compile on emacs 20.7).
4715
4716 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4717
4718         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4719         (elmo-folder-list-message-entities): New API.
4720         (elmo-message-entity): Ditto.
4721         (elmo-message-entity-parent): Ditto.
4722         (elmo-folder-do-each-message-entity): Ditto.
4723         (elmo-message-entity-number): Ditto.
4724         (elmo-message-entity-field): Ditto.
4725         (elmo-message-entity-set-field): Ditto.
4726         (elmo-folder-count-flags): Ditto.
4727         (elmo-folder-length): Ditto.
4728
4729         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4730         not.
4731
4732         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4733         (elmo-msgdb-count-marks): Abolish.
4734         (elmo-msgdb-make-entity): Ditto.
4735         (elmo-msgdb-do-each-entity): Ditto.
4736         (elmo-msgdb-message-entity): New inline function.
4737         (elmo-msgdb-message-entity-field): Ditto.
4738         (elmo-msgdb-message-entity-set-field): Ditto.
4739         (elmo-msgdb-make-message-entity): New function.
4740
4741 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4742
4743         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4744         to flag. (All other related portions are changed.)
4745         (elmo-folder-msgdb-create): Likewise.
4746         (elmo-generic-folder-append-messages): Use flag-table instead of
4747         seen-list.
4748         (elmo-folder-move-messages): Removed redundant process.
4749         (elmo-folder-synchronize): Likewise.
4750
4751         * elmo-msgdb.el (elmo-flag-table-get): New function.
4752         (elmo-flag-table-save): Fixed.
4753         (elmo-msgdb-length): New inline function.
4754         (elmo-msgdb-flag-table): New function.
4755         (elmo-msgdb-mark): Add optional argument new.
4756         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4757         (elmo-msgdb-seen-list): Ditto.
4758         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4759
4760
4761 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4762
4763         * elmo.el (elmo-message-set-mark): Abolish.
4764         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4765         (All related portions are changed.)
4766
4767         * elmo-msgdb.el (toplevel): Added comment.
4768         (elmo-load-msgdb): Added 4th element `path'.
4769         (elmo-msgdb-append): Follow the change above.
4770         (elmo-msgdb-clear): Ditto.
4771         (elmo-msgdb-delete-msgs): Ditto.
4772         (elmo-msgdb-get-path): New inline function.
4773         (elmo-msgdb-set-path): Ditto.
4774         (elmo-flag-table-filename): New variable.
4775         (elmo-flag-table-load): New function.
4776         (elmo-flag-table-set): Ditto.
4777         (elmo-flag-table-save): Ditto.
4778         (elmo-msgdb-get-field-value): Abolish.
4779         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4780
4781 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4782
4783         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4784         the folder has been deleted successfully.
4785         * elmo-imap4.el (elmo-folder-delete): Ditto.
4786         * elmo-archive.el (elmo-folder-delete): Ditto.
4787         * elmo-localdir.el (elmo-folder-delete): Ditto.
4788         * elmo-maildir.el (elmo-folder-delete): Ditto.
4789
4790 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4791
4792         * elmo-util.el (elmo-string-member-ignore-case): New function.
4793         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4794         (elmo-imap4-fetch-callback-1-subr): Likewise.
4795
4796 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4797
4798         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4799         the case of the name attribute "\Noselect".
4800
4801 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4802
4803         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4804
4805         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4806         flist, is not always a member of onum-alist.
4807
4808 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4809
4810         * elmo-version.el (elmo-version): Up to 2.11.3.
4811
4812 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4813
4814         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4815         copied from localdir's one.
4816
4817         * elmo-pipe.el (elmo-folder-rename): New method, rename
4818         destination folder with leaving source folder as it is.
4819
4820 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4821
4822         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4823         replace-regexp.
4824
4825 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4826
4827         * elmo-version.el (elmo-version): Up to 2.11.2.
4828
4829 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4830
4831         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4832         shimbun-open in case of "@".
4833         (elmo-folder-open-internal): Cope with shimbun = nil case.
4834         (elmo-folder-plugged-p): Ditto.
4835         (elmo-folder-list-subfolders): Make list for "@/" group.
4836
4837 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4838
4839         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4840         mailbox (e.g. for %~/something).
4841
4842 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4843
4844         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4845         Replace nested conditional with guard clauses.
4846
4847 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4848
4849         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4850         error [wl:11327].
4851
4852         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4853         print-depth.
4854
4855 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4856
4857         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4858         Replace nested conditional with guard clauses.
4859
4860 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4861
4862         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4863         (elmo-passwd-alist-save): Ditto.
4864         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4865
4866 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4867
4868         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4869         dir-name only if it is absolute path.
4870         (TODO: distinguish +/something and +something)
4871
4872 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4873
4874         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4875         path for "+~/something".
4876
4877 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4878
4879         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4880         as non-directory, cause error before rename-file.
4881         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4882         apropriately, mimic localdir's one.
4883         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4884
4885 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4886
4887         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4888
4889 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4890
4891         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4892
4893         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4894         
4895         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4896         is included in the global-mark or not.
4897
4898 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4899
4900         * utf7.el (toplevel): Avoid error when the function
4901         find-coding-system does not exist.
4902
4903 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4904
4905         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4906         cache even if the folder is plugged.
4907         (elmo-nntp-search-primitive): Do nothing when body search is
4908         invoked (although it is not used by the change above).
4909         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4910
4911 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4912
4913         * elmo-version.el (elmo-version): Up to 2.11.1.
4914
4915 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4916
4917         * elmo-archive.el: Specify charset.
4918
4919 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4920
4921         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4922         process buffer lives or not.
4923
4924         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4925         while flushing queues (It causes infinite loop).
4926
4927 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4928
4929         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4930
4931 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4932
4933         * utf7.el (toplevel): Check the ucs features dynamically.
4934         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4935
4936         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4937         folder is creatabe or not if it already exists.
4938
4939 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4940
4941         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4942
4943         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4944
4945         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4946         (elmo-imap4-read-response): Take care of garbage response.
4947
4948 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4949
4950         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4951         just return nil instead of error.
4952
4953 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4954
4955         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4956         search-key is "body".
4957
4958 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4959
4960         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4961         of elmo-string-matched-assoc to use match-data.
4962         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4963
4964 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4965
4966         * elmo-split.el (elmo-split->): New function.
4967         (elmo-split-<): Ditto.
4968
4969 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4970
4971         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4972         workaround for invalid message-id.
4973
4974 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4975
4976         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4977         return normal pop3 session or pop3 biff session.
4978
4979 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4980
4981         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4982         info part to the cur files when the new files already have it.
4983         (Adviced by Jared Rhine <jared@wordzoo.com>)
4984
4985 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4986
4987         * elmo-split.el (elmo-split-default-action): New variable.
4988         (elmo-split-subr): Use it if all other conditions are passed.
4989         Extend `fname' and rename it as `action'. (implemented
4990         Teranishi-san's idea in [wl:10800])
4991
4992 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4993
4994         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4995         * elmo-util.el: Ditto.
4996
4997 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4998
4999         * elmo.el (elmo-message-accessible-p): Renamed from
5000         elmo-message-cached-p and rewritten.
5001
5002 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
5003
5004         * elmo.el (elmo-folder-list-flagged): New generic function.
5005         (elmo-folder-list-importants): New implementation.
5006         (elmo-folder-list-answereds): Ditto.
5007         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
5008         Added 'digest'.
5009         (elmo-message-cached-p): New function.
5010         (elmo-message-set-flag): Ditto (no content).
5011         (elmo-message-unset-flag): Ditto.
5012         (elmo-folder-list-messages-mark-match): Abolish.
5013
5014         * elmo-util.el (elmo-regexp-opt): New function.
5015
5016         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
5017         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
5018         Added 'digest'.
5019         (elmo-msgdb-list-flagged): New function.
5020
5021         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
5022         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
5023         Added 'digest'.
5024
5025         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
5026
5027 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
5028
5029         * elmo-version.el (elmo-version): Up to 2.11.0.
5030
5031 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5032
5033         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5034         `elmo-file-cache-exists-p'; use proper mark that depends on
5035         `use-cache'.
5036         (elmo-msgdb-unset-flag): Ditto.
5037         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5038
5039         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5040         with 4th argument `use-cache'.
5041
5042 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
5043
5044         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5045         (elmo-folder-mark-as-important): Ditto.
5046         (elmo-folder-unmark-read): Ditto.
5047         (elmo-folder-mark-as-read): Ditto.
5048         (elmo-folder-unmark-answered): Ditto.
5049         (elmo-folder-mark-as-answered): Ditto.
5050
5051         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5052         message status.
5053         (elmo-msgdb-mark): Likewise.
5054         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5055         (elmo-msgdb-unset-flag): Likewise.
5056
5057         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5058
5059 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5060
5061         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5062         `last:' filter.
5063
5064 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5065
5066         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5067         set spool-length to 0.
5068
5069 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5070
5071         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5072         (elmo-dop-queue-flush): Fixed last change.
5073
5074 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5075
5076         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5077         if require-msgdb slot is nil.
5078         (elmo-folder-list-importants): Likewise.
5079
5080 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5081
5082         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5083         mark is changed.
5084
5085         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5086         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5087         is changed.
5088
5089 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5090
5091         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5092
5093 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
5094
5095         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5096
5097         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5098
5099 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5100
5101         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5102         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5103
5104 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5105
5106         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5107         the problem reported by Sean Rima [wl-en:180].
5108
5109 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5110
5111         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5112
5113         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5114
5115         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5116
5117         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5118
5119         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5120
5121         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5122
5123         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5124
5125 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5126
5127         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5128         status number.
5129
5130 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5131
5132         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5133         (elmo-folder-mark-as-read): Follow the API change.
5134         (elmo-message-set-cached): New function.
5135
5136         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5137
5138         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5139
5140         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5141         (elmo-folder-mark-as-important): Ditto.
5142         (elmo-folder-unmark-read): Ditto.
5143         (elmo-folder-mark-as-read): Ditto.
5144         (elmo-folder-unmark-answered): Ditto.
5145         (elmo-folder-mark-as-answered): Ditto.
5146
5147         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5148         (elmo-folder-unmark-important): Ditto.
5149         (elmo-folder-mark-as-read): Ditto.
5150         (elmo-folder-unmark-read): Ditto.
5151         (elmo-folder-mark-as-answered): Ditto.
5152         (elmo-folder-unmark-answered): Ditto.
5153
5154         * elmo-mark.el (toplevel): Removed some mark method definitions.
5155
5156         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5157         (elmo-map-folder-mark-as-answered): Ditto.
5158         (elmo-folder-unmark-important): Add :before qualifier.
5159         (elmo-folder-mark-as-important): Ditto.
5160         (elmo-folder-unmark-read): Ditto.
5161         (elmo-folder-mark-as-read): Ditto.
5162         (elmo-folder-unmark-answered): Define.
5163         (elmo-folder-mark-as-answered): Ditto.
5164
5165         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5166         (elmo-map-folder-unmark-answered): Ditto.
5167
5168         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5169
5170         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5171         (elmo-folder-mark-as-important): Ditto.
5172         (elmo-folder-unmark-read): Ditto.
5173         (elmo-folder-mark-as-read): Ditto.
5174         (elmo-folder-unmark-answered): Ditto.
5175         (elmo-folder-mark-as-answered): Ditto.
5176
5177         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5178         `mark'; evaluate mark condition.
5179         (elmo-msgdb-match-condition-internal): New function.
5180         (elmo-msgdb-match-condition): Call it; changed argument.
5181
5182         * elmo.el (elmo-folder-search): Follow the API change on
5183         `elmo-msgdb-match-condition'.
5184
5185 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5186
5187         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5188         original mark is non-nil.
5189
5190 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5191
5192         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5193         (elmo-map-folder-list-answereds): New method.
5194         (elmo-folder-list-unreads): Add :around qualifier.
5195         (elmo-folder-list-importants): Ditto.
5196         (elmo-folder-list-answereds): Ditto.
5197
5198 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5199
5200         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5201
5202         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5203         method if msgdb is not required.
5204         (elmo-filter-folder-list-importants): Don't treat global-mark.
5205
5206         * elmo.el (elmo-folder-list-importants): Ditto.
5207
5208         * elmo-net.el (elmo-folder-list-importants): Ditto.
5209
5210         * elmo-map.el (elmo-folder-list-importants): Ditto.
5211
5212         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5213
5214         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5215         (elmo-imap4-folder-list-any-plugged): New function.
5216         (elmo-imap4-search-internal-primitive): Use it.
5217
5218         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5219         only when require-msgdb slot is non-nil.
5220         (elmo-folder-close): Clear target folder's msgdb.
5221
5222 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5223
5224         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5225         (elmo-pop3-msgdb-create-by-header): Ditto.
5226         (elmo-pop3-msgdb-create-message): Ditto.
5227
5228         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5229
5230         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5231
5232         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5233
5234         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5235         (elmo-folder-msgdb-create): Ditto.
5236         (elmo-nntp-folder-msgdb-create): Ditto.
5237         (elmo-nntp-msgdb-create-by-header): Ditto.
5238         (elmo-nntp-msgdb-create-message): Ditto.
5239         (elmo-folder-list-unreads): Define.
5240
5241         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5242         (elmo-folder-append-messages): Ditto.
5243         (elmo-folder-list-unreads): Define.
5244         (elmo-folder-list-importants): Ditto.
5245         (elmo-folder-list-answereds): Ditto.
5246
5247         * elmo-net.el (elmo-folder-list-unreads): Define.
5248         (elmo-folder-list-importants): Ditto.
5249         (elmo-folder-list-answereds): Ditto.
5250         (elmo-folder-list-answereds-plugged): Ditto.
5251         (elmo-folder-msgdb-create): Follow the API change.
5252         (elmo-folder-msgdb-create-unplugged): Ditto.
5253         (elmo-folder-unmark-answered): Define.
5254         (elmo-folder-mark-as-answered-unplugged): Ditto.
5255         (elmo-folder-unmark-answered-unplugged): Ditto.
5256
5257         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5258         (elmo-msgdb-unread-uncached-mark): Ditto.
5259         (elmo-msgdb-unread-cached-mark): Ditto.
5260         (elmo-msgdb-read-uncached-mark): Ditto.
5261         (elmo-msgdb-answered-cached-mark): Ditto.
5262         (elmo-msgdb-answered-uncached-mark): Ditto.
5263         (elmo-msgdb-important-mark): Ditto.
5264         (elmo-msgdb-set-mark): Rewrite.
5265         (elmo-msgdb-count-marks): Rewrite.
5266         (elmo-msgdb-mark-alist-set): Abolish.
5267         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5268         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5269
5270         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5271         (elmo-folder-close): Define.
5272         (elmo-folder-msgdb-create): Follow the API change.
5273         (elmo-folder-list-unreads): Rewrite.
5274         (elmo-folder-mark-as-important): Ditto.
5275         (elmo-folder-unmark-important): Ditto.
5276         (elmo-folder-mark-as-read): Ditto.
5277         (elmo-folder-unmark-read): Ditto.
5278         (elmo-folder-mark-as-answered): Define.
5279         (elmo-folder-unmark-answered): Ditto.
5280
5281         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5282         (elmo-folder-append-messages): Ditto.
5283
5284         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5285
5286         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5287         (elmo-folder-list-importants): Ditto.
5288
5289         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5290         (elmo-folder-append-messages): Ditto.
5291
5292         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5293         change.
5294         (elmo-folder-msgdb-create-plugged): Ditto.
5295         (elmo-folder-append-messages): Ditto.
5296         (elmo-folder-list-answereds-plugged): Define.
5297         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5298         (elmo-folder-unmark-answered-plugged): Define.
5299         (elmo-folder-mark-as-answered-plugged): Ditto.
5300         (elmo-folder-search-requires-msgdb-p): Ditto.
5301
5302         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5303         (elmo-folder-initialize): Set it.
5304         (elmo-folder-msgdb): Define.
5305         (elmo-folder-check): Call elmo-folder-synchronize.
5306         (elmo-folder-close): Define.
5307         (elmo-folder-commit): Ditto.
5308         (elmo-folder-msgdb-create): Rewrite.
5309         (elmo-folder-list-unreads): Ditto.
5310         (elmo-folder-list-importants): Ditto.
5311         (elmo-folder-mark-as-read): Ditto.
5312         (elmo-folder-unmark-read): Ditto.
5313         (elmo-folder-mark-as-important): Ditto.
5314         (elmo-folder-unmark-important): Ditto.
5315         (elmo-folder-mark-as-answered): Define.
5316         (elmo-folder-unmark-answered): Ditto.
5317
5318         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5319         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5320         (elmo-dop-queue-method-name-alist): Likewise.
5321         (elmo-folder-mark-as-answered-dop): New inline function.
5322         (elmo-folder-unmark-answered-dop): Ditto.
5323         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5324
5325         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5326         (elmo-folder-msgdb-create): Ditto.
5327         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5328         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5329         (elmo-archive-parse-mmdf): Ditto.
5330
5331         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5332         (elmo-folder-list-unreads-internal): Ditto.
5333
5334         * elmo.el (elmo-folder-msgdb): Define as generic function.
5335         (elmo-folder-list-messages): Added argument `in-msgdb'.
5336         (elmo-folder-list-unreads): Define as generic function.
5337         (elmo-folder-list-importants): Ditto.
5338         (elmo-folder-list-answereds): Ditto.
5339         (elmo-folder-list-messages-with-global-mark): New function.
5340         (elmo-folder-msgdb-create): Removed mark arguments.
5341         (elmo-folder-unmark-answered): New generic function.
5342         (elmo-folder-mark-as-answered): Ditto.
5343         (elmo-folder-append-messages): Removed argunment `unread-marks'
5344         (elmo-folder-list-unreads-internal): Abolish.
5345         (elmo-folder-list-importants-internal): Ditto.
5346         (elmo-folder-search-requires-msgdb-p): New generic function.
5347         (elmo-folder-search-requires-msgdb-p-internal): New function.
5348         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5349         elmo-msgdb-load.
5350         (elmo-folder-search-fast): Added key 'mark'.
5351         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5352         instead of unread-marks argument.
5353         (elmo-folder-move-messages): Removed argunment `unread-marks'
5354         (elmo-folder-unmark-important): Define.
5355         (elmo-folder-mark-as-important): Ditto.
5356         (elmo-folder-unmark-read): Ditto.
5357         (elmo-folder-mark-as-read): Ditto.
5358         (elmo-folder-unmark-answered): Ditto.
5359         (elmo-folder-mark-as-answered): Ditto.
5360         (elmo-folder-replace-marks): Abolish.
5361         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5362         duplicates.
5363         (elmo-folder-synchronize): Removed mark arguments;
5364         return crosspost only number.
5365
5366 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5367
5368         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5369         Remove redundunt connectivity check.
5370
5371 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5372
5373         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5374         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5375
5376 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5377
5378         * pldap.el (ldap-decode-string): Return string as-is if
5379         `ldap-coding-system' is nil.
5380         (ldap-encode-string): Ditto.
5381         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5382         (ldap-default-host): Fixed docstring.
5383
5384 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5385
5386         * elmo-util.el (elmo-warning): Define as a macro which uses
5387         `display-warning' if it is defined as a function.
5388
5389         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5390         (elmo-split-equal): Use it.
5391         (elmo-split-match): Ditto.
5392         (elmo-split-message-entity): New buffer-local variable.
5393         (elmo-split-subr): Set it.
5394
5395         * elmo-version.el (elmo-version): Up to 2.9.15.
5396
5397 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5398
5399         * elmo-imap4.el (elmo-network-initialize-session):
5400         Check capability after starttls.
5401
5402 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5403
5404         * elmo-util.el (elmo-list-delete): Added optional argument
5405         DELETE-FUNCTION.
5406
5407         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5408
5409         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5410
5411         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5412
5413         * elmo-imap4.el (elmo-folder-initialize): Don't use
5414         elmo-imap4-default-mailbox.
5415
5416 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5417
5418         * elmo-split.el (toplevel): Use `product-provide'.
5419         (elmo-split): Checkdoc.
5420
5421 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5422
5423         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5424         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5425         the function `elmo-imap4-debug-1'.
5426
5427 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5428
5429         * elmo-split.el (elmo-split): Moved to run hooks and to show
5430         message from elmo-split-subr.
5431         (elmo-split-subr): Follow the change above.
5432
5433         * elmo-split.el (elmo-split-subr): New function (renamed from
5434         elmo-split-subr).
5435         (elmo-split): Changed to call elmo-split-subr by element of
5436         elmo-split-folder.
5437         (elmo-split-folder): Changed customization type to choice.
5438
5439 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5440
5441         * elmo-split.el (elmo-split-and): Fixed condition.
5442
5443 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5444
5445         * elmo-split.el: New file.
5446         (elmo-split): Fixed logic.
5447         Display "Test:" instead of "Folder:" when reharsal.
5448
5449         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5450         explicitly.
5451
5452         * elmo-version.el (elmo-version): Up to 2.9.14.
5453
5454         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5455         wl-expand-newtext).
5456
5457 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5458
5459         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5460         message with no message-id field.
5461
5462 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5463
5464         * elmo-version.el (elmo-version): Up to 2.9.13.
5465
5466         * elmo-dop.el (elmo-folder-status-dop): Fix.
5467
5468 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5469
5470         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5471
5472         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5473         changing default value of default-mime-charset.
5474         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5475
5476         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5477
5478         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5479         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5480         instead of elmo-dop-queue-method-name-alist to check merging queue.
5481         (elmo-folder-delete-messages-dop): Delete from queue if negative
5482         message number.
5483         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5484         file is already removed.
5485
5486 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5487
5488         * elmo-vars.el: Bind colon keywords for old Emacsen.
5489
5490 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5491
5492         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5493         against non-exsisting charset.
5494
5495 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5496
5497         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5498         Use eword-decode-and-unfold-unstructured-field-body.
5499
5500         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5501         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5502         exists to decode raw subject string.
5503         (toplevel): Require 'mime.
5504
5505         * elmo-version.el (elmo-version): Up to 2.9.12.
5506
5507 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5508
5509         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5510         (elmo-msgdb-set-mark): Ditto.
5511
5512         * elmo-version.el (elmo-version): Up to 2.9.11.
5513
5514 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5515
5516         * elmo-util.el (elmo-delete-match-files): New function.
5517
5518         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5519         instead of elmo-delete-directory.
5520
5521         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5522         elmo-hash-minimun-size as 63.
5523
5524         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5525         elmo-diff-unread is nil.
5526
5527         * elmo-imap4.el (elmo-folder-open): Fix.
5528
5529         * elmo.el (elmo-message-mark): Rewrite.
5530         (elmo-message-field): Ditto.
5531         (elmo-message-set-mark): Ditto.
5532         (elmo-folder-replace-marks): New function.
5533         (elmo-generic-folder-append-msgdb): Removed third argument for
5534         elmo-msgdb-append.
5535         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5536         (elmo-msgdb-load): New implementation.
5537
5538         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5539
5540         * elmo-util.el (elmo-list-insert): New implementation.
5541
5542         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5543         argument for elmo-msgdb-append.
5544         
5545
5546         * elmo-msgdb.el (elmo-load-msgdb): New function.
5547         (elmo-make-msgdb): Ditto.
5548         (elmo-msgdb-get-index): New inline function.
5549         (elmo-msgdb-set-index): Ditto.
5550         (elmo-msgdb-get-entity-hashtb): Ditto.
5551         (elmo-msgdb-get-mark-hashtb): Ditto.
5552         (elmo-msgdb-get-mark): Ditto.
5553         (elmo-msgdb-set-mark): Ditto.
5554         (elmo-msgdb-count-marks): Ditto.
5555         (elmo-msgdb-get-number): Ditto.
5556         (elmo-msgdb-get-field): Ditto.
5557         (elmo-msgdb-seen-list): Ditto.
5558         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5559         (elmo-msgdb-delete-msgs): Follow the changes above.
5560         (elmo-msgdb-overview-get-entity): Ditto.
5561         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5562         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5563         and rewritten.
5564         (elmo-msgdb-make-index): Likewise.
5565         (elmo-msgdb-append): Removed third argument.
5566         (elmo-msgdb-clear): Clear index as nil.
5567         (elmo-folder-set-info-hashtb): Removed.
5568         (elmo-folder-set-info-max-by-numdb): Ditto.
5569         (elmo-folder-info-make-hashtb): Ditto.
5570
5571         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5572
5573         * elmo-map.el (elmo-folder-pack-number): Ditto.
5574
5575 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5576
5577         * elmo-version.el (elmo-version): Up to 2.9.10.
5578
5579         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5580
5581         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5582
5583 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5584
5585         * elmo-utils.el (elmo-make-directory): Add option.
5586         Default file mode is 700.
5587
5588 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5589
5590         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5591
5592 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5593
5594         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5595         mime-charset.
5596
5597         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5598         and "smaller".
5599
5600 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5601
5602         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5603         (elmo-shimbun-folder-entity-hash): New function.
5604         (elmo-shimbun-folder-shimbun-header): Ditto.
5605         (elmo-shimbun-entity-to-header): Ditto.
5606         (elmo-shimbun-msgdb-to-headers): Removed.
5607         (elmo-shimbun-folder-setup): Ditto.
5608         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5609         for hash key.
5610         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5611         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5612         Removed useless local bind.
5613         (elmo-folder-open-internal): Don't call
5614         `elmo-shimbun-folder-setup'.
5615         (elmo-folder-close-internal): Clear entity-hash slot.
5616         (elmo-folder-clear): Ditto.
5617         (elmo-shimbun-msgdb-create-entity): Use
5618         `elmo-shimbun-folder-shimbun-header'.
5619         (elmo-map-message-fetch): Ditto.
5620         (elmo-shimbun-update-overview): Use overview entity instead of
5621         shimbun header to lookup id by references.
5622         (elmo-map-folder-list-message-locations): Use not only headers but
5623         also overviews to list locations.
5624
5625 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5626
5627         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5628         msgdb path.
5629
5630         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5631
5632 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5633
5634         * elmo-util.el (elmo-read-search-condition-internal): Give default
5635         value for date.
5636
5637 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5638
5639         * elmo-util.el (elmo-condition-parse-search-value): Accept
5640         YYYY-MM-DD format to search.
5641         * elmo-date.el (elmo-date-get-datevec): Likewise.
5642
5643 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5644
5645         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5646         debugging code.
5647
5648 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5649
5650         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5651         from t.
5652
5653         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5654
5655         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5656         case from `elmo-folder-exists-p'.
5657         (elmo-folder-exists-p): Removed.
5658         (elmo-folder-creatable-p) Ditto.
5659
5660         * elmo-net.el (elmo-folder-create): Defined.
5661         (elmo-folder-create-unplugged): New function.
5662         (elmo-folder-exists-p): Changed default value to nil from t.
5663
5664         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5665         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5666
5667         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5668         `elmo-create-folder-dop' and append queue
5669         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5670         (elmo-folder-create-dop-delayed): New function.
5671
5672         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5673
5674         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5675
5676         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5677         (elmo-folder-writable-p) : Ditto.
5678
5679         * elmo-version.el (elmo-version): Up to 2.9.9.
5680
5681 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5682
5683         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5684         `elmo-message-use-cache-p' returns nil.
5685         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5686         (ignore cache file and refer the substance in local folders)
5687
5688 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5689
5690         * elmo-version.el (elmo-version): Up to 2.9.8.
5691
5692 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5693
5694         * elmo-version.el (elmo-version): Up to 2.9.7.
5695
5696         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5697
5698 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5699
5700         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5701
5702 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5703
5704         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5705         from --early.
5706         (elmo-map-folder-list-message-locations): Reverse location list.
5707
5708 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5709
5710         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5711
5712 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5713
5714         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5715         as a key.
5716         (elmo-nntp-folder-list-subfolders): Follow the change above.
5717
5718 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5719
5720         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5721         name if authentication type is specified.
5722
5723 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5724
5725         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5726         variable.
5727         (elmo-default-nntp-stream-type): Ditto.
5728         (elmo-default-pop3-stream-type): Ditto.
5729
5730 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5731
5732         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5733
5734 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5735
5736         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5737         elmo-vars.el.
5738         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5739
5740         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5741         (elmo-maildir-folder-path): Ditto.
5742         (elmo-maildir-list): Ditto (abolished).
5743
5744 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5745
5746         * elmo-version.el (elmo-version): Up to 2.9.6.
5747
5748 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5749
5750         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5751         (elmo-maildir-folder-path): Ditto.
5752         (elmo-msgdb-directory): Ditto.
5753         (elmo-passwd-life-time): Ditto.
5754         (elmo-msgdb-extra-fields): Ditto.
5755         (elmo-enable-disconnected-operation): Ditto.
5756
5757 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5758
5759         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5760         other choices.
5761         (elmo-pop3-default-authenticate-type): Ditto.
5762
5763 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5764
5765         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5766         choices for custom.
5767         (elmo-pop3-default-authenticate-type): Ditto.
5768
5769 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5770
5771         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5772         mailbox to new-folder.
5773
5774 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5775
5776         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5777         less than new, set new as unread.
5778
5779         * elmo-util.el (elmo-string): Don't put text-property if nil.
5780
5781 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5782
5783         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5784         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5785
5786 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5787
5788         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5789         is nil on `completing-read'.
5790
5791 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5792
5793         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5794         for namespace part.
5795         (elmo-imap4-parse-namespace-subr): Ditto.
5796         (elmo-folder-list-subfolders): Append a delimiter when the specified
5797         folder path is a root with namespace and does not end with delimiter.
5798
5799 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5800
5801         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5802         was used.
5803
5804 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5805
5806         * elmo-util.el (elmo-save-buffer): The first argument of message
5807         is a format control string.
5808
5809 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5810
5811         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5812         `elmo-folder-diff').
5813         (elmo-diff-unread): Likewise.
5814
5815 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5816
5817         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5818         is t on `completing-read'.
5819
5820 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5821
5822         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5823         method of target folder with self mark-alist if MARK-ALIST is nil.
5824
5825 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5826
5827         * elmo-version.el (elmo-version): Up to 2.9.5.
5828
5829 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5830
5831         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5832         (elmo-dop-merge-funcs): Remove.
5833
5834 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5835
5836         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5837         Return t if PATH is directory, too.
5838         Use `dolist' instead of while loop.
5839
5840 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5841
5842         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5843         is deleted.
5844
5845 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5846
5847         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5848         return value to t.
5849         (elmo-folder-list-messages-unplugged): Return t if
5850         elmo-enable-disconnected-operation is nil.
5851
5852         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5853         `elmo-folder-list-messages-internal'.
5854
5855 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5856
5857         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5858         Change to looking-at `[23][0-9]+'.
5859         (elmo-network-initialize-session): Use 'error-msg'
5860         * elmo-net.el (elmo-network-open-session): Set unplugged
5861         if elmo-network-initialize-session returns 'elmo-open-err.
5862
5863 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5864
5865         * elmo-version.el (elmo-version): Up to 2.9.4.
5866
5867 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5868
5869         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5870         `elmo-folder-list-messages-internal'.
5871
5872 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5873
5874         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5875         (elmo-message-match-condition): New method.
5876         (elmo-folder-search-fast): New inline function.
5877         (elmo-msgdb-search): Removed.
5878
5879         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5880         target folder if it is unplugged.
5881         (elmo-folder-list-messages-internal): Return t if target folder is
5882         unplugged and itself is persistent; In this case, use list be
5883         searched already.
5884
5885         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5886         (elmo-msgdb-search-internal-primitive): Ditto.
5887         (elmo-msgdb-match-condition): New function.
5888         (elmo-msgdb-match-condition-primitive): Ditto.
5889
5890         * elmo-util.el (elmo-filter-condition-p): New macro.
5891
5892         * elmo-cache.el (elmo-folder-search): Removed.
5893
5894         * elmo-localdir.el (elmo-folder-search): Ditto.
5895
5896         * elmo-maildir.el (elmo-folder-search): Ditto.
5897
5898         * elmo-mark.el (elmo-folder-search): Ditto.
5899
5900         * elmo-nmz.el (elmo-folder-search): Ditto.
5901
5902         * elmo-sendlog.el (elmo-folder-search): Ditto.
5903
5904         * elmo-shimbun.el (elmo-folder-search): Ditto.
5905
5906         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5907         if folder is unplugged.
5908
5909         * elmo-nntp.el (elmo-folder-search): Likewise.
5910         (elmo-nntp-search-internal): New function.
5911
5912         * elmo-version.el (elmo-version): Up to 2.9.3.
5913
5914 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5915
5916         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5917
5918 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5919
5920         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5921
5922 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5923
5924         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5925
5926 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5927
5928         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5929         (elmo-map-folder-list-message-locations): Do drive letter conversion
5930         on Windows environment.
5931         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5932         (elmo-map-message-fetch): Ditto.
5933
5934 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5935
5936         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5937         (elmo-network-initialize-session): Ditto.
5938
5939 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5940
5941         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5942
5943         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5944
5945         * elmo-util.el (elmo-progress-clear): Ditto.
5946
5947         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5948         `DD-Mon-YYYY' type date.
5949
5950 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5951
5952         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5953         `elmo-date-make-sortable-string' instead of
5954         `timezone-make-date-sortable'.
5955
5956         * elmo-date.el (elmo-date-make-sortable-string): Use
5957         `timezone-make-time-string'.
5958
5959 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5960
5961         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5962
5963         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5964         `since'; Fix timezone.
5965
5966         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5967
5968         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5969
5970 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5971
5972         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5973
5974 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5975
5976         * elmo.el (elmo-generic-folder-append-messages): Make
5977         fetch-strategy with `use-cache' as 'maybe. Check return value of
5978         `elmo-message-fetch'.
5979         (elmo-message-fetch): Return return value of
5980         `elmo-message-fetch-with-cache-process'.
5981         (elmo-message-fetch-with-cache-process): Return non-nil if
5982         fetching was succeed. Load cache when fetching was failed and
5983         fetch-strategy-use-cache is 'maybe.
5984
5985         * elmo-util.el (elmo-file-cache-load): New function.
5986
5987         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5988         defun.
5989
5990         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5991         non-nil if fetching was succeed.
5992
5993         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5994
5995         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5996
5997         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5998         (elmo-message-fetch-with-cache-process): Likwise.
5999
6000         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
6001
6002         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
6003
6004         * elmo-version.el (elmo-version): Up to 2.9.2.
6005
6006 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
6007
6008         * elmo.el (elmo-folder-delete): Delete msgdb path.
6009
6010         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
6011
6012         * elmo-maildir.el (elmo-folder-delete): Ditto.
6013
6014         * elmo-localdir.el (elmo-folder-delete): Ditto.
6015
6016         * elmo-imap4.el (elmo-folder-delete): Ditto.
6017
6018 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
6019
6020         * elmo.el (luna-define-class): Added `biff' slot.
6021
6022         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
6023         (elmo-pop3-debug-inhibit-logging): Abolished.
6024         (elmo-network-close-session): Eliminated needless let.
6025         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
6026         (elmo-pop3-send-command): Added `no-log' argument.
6027         (elmo-pop3-process-filter): Use `with-current-buffer'.
6028         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
6029         if login failure.
6030         (elmo-pop3-auth-apop): Likewise.
6031         (elmo-network-authenticate-session): Likewise.
6032
6033         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6034         if biff folder.
6035
6036         * elmo-net.el (elmo-network-session-password-key): Use class symbol
6037         string to determine protocol.
6038         (elmo-network-session-name-prefix): Abolished.
6039         (elmo-network-session-cache-key): Follow the change above.
6040         (elmo-network-open-session): Ditto.
6041
6042         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6043         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6044
6045         * elmo-version.el (elmo-version): Up to 2.9.1.
6046
6047         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6048         unmatch condition checking.
6049
6050         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6051         condition.
6052
6053 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6054
6055         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6056
6057 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
6058
6059         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6060         test for while loop to execute at least one SEARCH command.
6061
6062 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
6063
6064         * elmo-version.el (elmo-version): Up to 2.9.0.
6065
6066 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6067
6068         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6069         (elmo-archive-folder-path): Define.
6070         (elmo-folder-initialize): Setup `dir-name' slot.
6071         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6072         Use `dir-name' as prefix of each subfolders.
6073         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6074
6075 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6076
6077         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6078         (elmo-pipe-folder-list-target-messages): New internal function.
6079         (elmo-pipe-drain): Use new argument `ignore-list' instead of
6080         `killed-list'.
6081         (elmo-pipe-folder-copied-list-load): New function.
6082         (elmo-pipe-folder-copied-list-save): Ditto.
6083         (elmo-folder-open-internal): Follow the change above.
6084         (elmo-folder-status): Fixed for copy.
6085
6086 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
6087
6088         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6089
6090 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
6091
6092         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6093         elmo-copy-file instead of elmo-add-name-to-file.
6094
6095         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6096
6097         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6098         "file://..." index.
6099
6100         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6101         of accept-process-output as 1.
6102         (elmo-pop3-read-contents): Ditto.
6103         (elmo-pop3-read-body): Ditto.
6104
6105 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6106
6107         * elmo-version.el (product-version-as-string): Remove define.
6108
6109 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6110
6111         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6112         (elmo-imap4-copy-messages): Chop number set using
6113         `elmo-imap4-number-set-chop-length'.
6114         (elmo-imap4-set-flag): Ditto.
6115         (elmo-imap4-search-internal-primitive): Ditto.
6116
6117 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6118
6119         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6120         `elmo-folder-make-temp-dir'
6121
6122         * elmo-vars.el (elmo-cache-directory): New variable.
6123         (elmo-cache-dir): Abolished.
6124         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6125
6126         * elmo-version.el (elmo-version): Up to 2.7.7.
6127
6128 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6129
6130         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6131         defcustom; Set default value as t.
6132
6133 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6134
6135         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6136         (ldap-search-program-arguments): Changed default value.
6137         (ldap-search-basic): Accept exit status 4.
6138         (ldap/field-body): Parse options.
6139         (ldap/collect-field): Ditto.
6140         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6141
6142         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6143         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6144         (elmo-imap4-accept-ok): Ditto.
6145         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6146         'notify-bye, only BYE error is reported.
6147         (elmo-folder-exists-p-plugged): Set no-error argument of
6148         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6149
6150         * elmo.el (elmo-imap4-bye-error): Changed message.
6151
6152         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6153         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6154         queues (It causes infinite loop).
6155
6156 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6157
6158         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6159         (RECENT UNSEEN MESSAGES) extension.
6160
6161 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6162
6163         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6164         Check number of overview fields.
6165
6166 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6167
6168         * elmo.el (elmo-folder-confirm-appends): Changed message.
6169         (elmo-folder-confirm-appends): Ditto.
6170
6171         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6172         `with-temp-buffer'.
6173         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6174
6175 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6176
6177         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6178         of elmo-folder-update-threshold is nil, which can be set by
6179         wl-summary-update-confirm-threshold.
6180
6181 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6182
6183         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6184         (elmo-nmz-index-alias-alist): Ditto.
6185         (elmo-map-folder-list-message-locations): Follow the change above.
6186
6187 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6188
6189         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6190
6191         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6192
6193         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6194
6195         * elmo-util.el (elmo-read): Ditto.
6196         (elmo-display-error): Ditto.
6197
6198         * elmo-vars.el (elmo-date-match): Ditto.
6199
6200         * pldap.el (ldap-coding-system): Ditto.
6201
6202         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6203         `elmo-inhibit-number-mapping' as nil.
6204
6205 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6206
6207         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6208         space delimiter for list response.
6209
6210 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6211
6212         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6213
6214 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6215
6216         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6217         (elmo-map-message-fetch): Fix.
6218         * elmo-map.el (elmo-folder-status): Fix for killed.
6219
6220 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6221
6222         * elmo-sendlog.el: New file.
6223         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6224
6225 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6226
6227         * acap.el (acap-logging-out): New buffer local variable.
6228         (acap-close): Set it.
6229         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6230         an error.
6231
6232 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6233
6234         * acap.el (acap-response-bye-p): New function.
6235         (acap-response-bye-message): Ditto.
6236         (acap-wait-for-response): If bye response is received, cause an error.
6237         (acap-parse-response): Make bye response when 'Bye' is received.
6238
6239 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6240
6241         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6242
6243 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6244
6245         * elmo-util.el (elmo-copy-file): Added argument
6246         `ok-if-already-exists'.
6247         (elmo-copy-file): Fixed typo.
6248
6249 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6250
6251         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6252
6253 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6254
6255         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6256
6257 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6258
6259         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6260         to killed-list.
6261
6262 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6263
6264         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6265         (elmo-folder-initialize): Fix for `copy'.
6266         (elmo-pipe-drain): Ditto.
6267         (elmo-folder-open-internal): Ditto.
6268         (elmo-folder-newsgroups): Fix.
6269
6270 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6271
6272         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6273         for each message.
6274
6275         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6276         recent value is returned from imap folder.
6277
6278         * elmo.el (elmo-folder-newsgroups): New generic function.
6279
6280         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6281         (elmo-folder-initialize): Set it.
6282         (elmo-folder-expand-msgdb-path): Use it.
6283         (elmo-folder-newsgroups): Define.
6284
6285         * elmo-filter.el (elmo-folder-newsgroups): Define.
6286
6287         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6288
6289         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6290
6291         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6292
6293 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6294
6295         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6296         user option.
6297         (elmo-shimbun-header-extra-field): New inline function.
6298         (elmo-shimbun-header-set-extra-field): Ditto.
6299         (elmo-shimbun-folder-header-hash-setup): Ditto.
6300         (elmo-shimbun-update-overview): Ditto.
6301         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6302         (elmo-shimbun-folder-setup): Use
6303         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6304         (elmo-shimbun-get-headers): Ditto.
6305         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6306         Insert `X-Shimbun-Id:' header if extra field is set.
6307         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6308         field's value instead of `shimbun-header-id'.
6309
6310         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6311         inline function.
6312         (elmo-msgdb-overview-entity-set-date): Ditto.
6313         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6314
6315 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6316
6317         * mmimap.el (mmimap-entity-section): Changed body node number from
6318         "0" to "1".
6319
6320 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6321
6322         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6323         `elmo-folder-delete-messages'.
6324
6325         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6326         (elmo-folder-initialize): Changed to expand alias into index path.
6327
6328         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6329         `elmo-mime-insert-header-from-buffer' with 6th arg
6330         `sorted-fields'.
6331
6332 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6333
6334         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6335
6336         * elmo.el (elmo-diff-new): New inline function.
6337         (elmo-diff-unread): Ditto.
6338         (elmo-diff-all): Ditto.
6339
6340         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6341         value from responseb.
6342         (elmo-imap4-folder-diff-plugged): Ditto.
6343         (elmo-imap4-server-diff-async): Added recent argument.
6344         (elmo-server-diff-async): Ditto.
6345         (elmo-imap4-folder-diff-plugged): Ditto.
6346
6347         * elmo-version.el (elmo-version): Up to 2.7.6.
6348
6349 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6350
6351         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6352         in quoted-stirng.
6353
6354 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6355
6356         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6357
6358         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6359
6360         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6361
6362         * elmo-multi.el (elmo-folder-initialize): Ditto.
6363
6364         * elmo-util.el (elmo-parse-token): New function.
6365         (elmo-parse-prefixed-element): Ditto.
6366
6367 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6368
6369         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6370         delete process.
6371         (elmo-imap4-accept-ok): Ditto.
6372
6373 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6374
6375         * mmimap.el (mime-imap-entity-header-string): Don't check first
6376         element of node-id is `0' (Follow last change).
6377
6378 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6379
6380         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6381         assigned irregular node-id to nested multipart section.
6382         (initialize-instance): Followed above change.
6383
6384 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6385
6386         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6387         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6388         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6389         `elmo-shimbun-get-headers');
6390         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6391         visible article on summary exists in headers).
6392         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6393
6394 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6395
6396         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6397         definition.
6398
6399 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6400
6401         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6402
6403 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6404
6405         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6406         header separator into loop condition.
6407
6408 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6409
6410         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6411         Return duplicate folder if it has subfolder.
6412
6413 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6414
6415         * elmo.el (elmo-make-folder): Add folder name error check.
6416
6417         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6418         (elmo-nntp-encode-group-string): New inline function.
6419         (elmo-nntp-decode-group-string): Ditto.
6420         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6421         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6422         Use `not' instead of `null';
6423         Use elmo-nntp-decode-group-string.
6424
6425         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6426
6427         * elmo-version.el (elmo-version): Up to 2.7.5.
6428
6429 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6430
6431         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6432         Hide progress gauge if `elmo-folder-move-messages' exits
6433         nonlocally.
6434
6435 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6436
6437         * elmo-imap4.el (elmo-folder-initialize): Use
6438         `elmo-imap4-encode-folder-string' for folder name.
6439
6440 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6441
6442         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6443         `done'.
6444
6445 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6446
6447         * elmo-util.el (elmo-progress-counter-alist): New internal
6448         variable.
6449         (elmo-progress-counter-value): New macro.
6450         (elmo-progress-counter-all-value): Ditto.
6451         (elmo-progress-counter-format): Ditto.
6452         (elmo-progress-counter-set-value): Ditto.
6453         (elmo-progress-set): New function.
6454         (elmo-progress-clear): Ditto.
6455         (elmo-progress-notify): Ditto.
6456
6457         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6458         counter.
6459
6460         * elmo.el (elmo-generic-folder-append-messages): Call
6461         `elmo-progress-notify'.
6462         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6463
6464         * elmo-archive.el (elmo-folder-append-messages): Call
6465         `elmo-progress-notify'.
6466
6467         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6468
6469         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6470
6471         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6472
6473 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6474
6475         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6476         'Create'.
6477         (elmo-message-encache-dop): Added argument `read'.
6478
6479         * elmo-shimbun.el (elmo-message-encache): Ditto.
6480
6481         * elmo-net.el (elmo-message-encache): Ditto.
6482
6483         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6484         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6485         elmo-imap4-seen-messages.
6486         (elmo-folder-msgdb-create-plugged): Initialize
6487         elmo-imap4-seen-messages;
6488         Set seen mark on elmo-imap4-seen-messages.
6489
6490         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6491
6492         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6493         elmo-folder-append-buffer.
6494         (elmo-folder-encache): Added optional argument `read'.
6495         (elmo-message-encache): Ditto.
6496
6497         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6498
6499         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6500
6501         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6502         if append buffer content succeds.
6503
6504 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6505
6506         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6507         elmo-display-progress.
6508
6509         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6510         Set 4th argument of mime-display-message.
6511         (elmo-mime-display-as-is): Ditto.
6512
6513 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6514
6515         * elmo-nmz.el (toplevel): Require 'mime-edit.
6516         (elmo-nmz-content-type-alist): Abolished.
6517         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6518         content is not a message.
6519         (elmo-map-message-fetch): Changed behavior exept for message content;
6520         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6521         content-type, Add From: and Subject: field.
6522
6523 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6524
6525         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6526         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6527         not a message.
6528
6529 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6530
6531         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6532         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6533
6534         * elmo-archive.el (elmo-folder-writable-p): Defined.
6535
6536         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6537
6538         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6539
6540         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6541
6542         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6543
6544         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6545
6546         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6547
6548         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6549
6550         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6551
6552 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6553
6554         * elmo-util.el (elmo-address-quote-specials): New function;
6555         Renamed from `wl-address-quote-specials'.
6556
6557 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6558
6559         * elmo-version.el (elmo-version): Up to 2.7.4.
6560
6561 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6562
6563         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6564
6565 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6566
6567         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6568         both compile-time and run-time to avoid byte-compile warning.
6569
6570 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6571
6572         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6573
6574 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6575
6576         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6577         option.
6578         (elmo-mime-display-as-is-internal): Use it.
6579
6580         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6581         if `read-passwd' is not defined.
6582
6583 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6584
6585         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6586         by original number.
6587         (elmo-folder-status): Call `elmo-folder-open-internal';
6588         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6589         (elmo-folder-close-internal): Set location-alist as nil.
6590         (elmo-folder-clear): Define.
6591         (elmo-folder-check): Don't set location-alist as nil.
6592
6593         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6594
6595 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6596
6597         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6598         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6599
6600         * mmimap.el (mime-imap-entity::requested): New slot.
6601         (mime-imap-location-fetch-entity-p): New generic function.
6602         (mime-decode-parameters): Define using `defun-maybe'.
6603         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6604         content-type structure.
6605         (mime-entity-body): Return empty body if
6606         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6607
6608         * elmo.el (elmo-message-displaying): New variable.
6609
6610         * elmo-mime.el (elmo-mime-message-display): Bind
6611         elmo-message-displaying as t.
6612
6613         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6614
6615 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6616
6617         * acap.el (acap-open): erase buffer before starting network process.
6618         (acap-store): Rewrite.
6619
6620 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6621
6622         * elmo-imap4.el (elmo-imap4-default-mailbox,
6623         elmo-imap4-default-server
6624         elmo-imap4-default-authenticate-type,
6625         elmo-imap4-default-user,
6626         elmo-imap4-default-port,
6627         elmo-imap4-default-stream-type,
6628         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6629
6630         * elmo-pop3.el (elmo-pop3-default-user,
6631         elmo-pop3-default-server,
6632         elmo-pop3-default-authenticate-type,
6633         elmo-pop3-default-port,
6634         elmo-pop3-default-stream-type,
6635         elmo-pop3-stream-type-alist): Ditto.
6636
6637         * elmo-nntp.el (elmo-nntp-default-server,
6638         elmo-nntp-default-user,
6639         elmo-nntp-default-port,
6640         elmo-nntp-default-stream-type,
6641         elmo-nntp-stream-type-alist): Ditto.
6642
6643         * elmo-vars.el: Follow changes above.
6644         (elmo-setting): New custom group; added 'elmo-setting group to
6645         above variables.
6646
6647         * elmo-version.el (elmo-version): Up to 2.7.3.
6648
6649         * acap.el (acap-parse-response): Don't delete process when BYE
6650         response (It causes hang-up on slow network environment).
6651         (toplevel): Added comment.
6652
6653 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6654
6655         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6656
6657         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6658         parsing NIL.
6659         (acap-parse-return-metadata): Ditto.
6660
6661         * slp.el: New file.
6662         (toplevel): Fixed typo.
6663
6664         * acap.el: New file.
6665         (acap-network-stream-open): Show "Connecting..." message.
6666         (acap-parse-response): Fixed problem for BYE untagged response.
6667         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6668         (toplevel): Added tiny comments.
6669
6670 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6671
6672         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6673         space delimiter for uidl response.
6674
6675 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6676
6677         * elmo-vars.el (elmo-use-semi): Eliminated.
6678
6679         * elmo-util.el (elmo-string-assoc-all): New function.
6680
6681 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6682
6683         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6684         property 'mime-preview-situation for `mime-preview-quit'.
6685
6686 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6687
6688         * elmo.el (elmo-message-fetch-with-cache-process): Call
6689         elmo-message-fetch-internal instead of causing an error when fetch
6690         strategy is 'entire but only 'section cache is available.
6691
6692 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6693
6694         * elmo-version.el (elmo-version): Up to 2.7.2.
6695
6696         * elmo.el (elmo-generic-folder-append-messages): Make
6697         fetch-strategy with `use-cache'.
6698
6699         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6700         (elmo-dop-queue-method-name): New macro.
6701
6702 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6703
6704         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6705         unbalanced parenthesis.
6706
6707 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6708
6709         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6710
6711 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6712
6713         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6714         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6715
6716 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6717
6718         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6719         local variables.
6720
6721 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6722
6723         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6724         (elmo-message-use-cache-p): Define.
6725         (elmo-folder-msgdb-create): Treat cache.
6726
6727 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6728
6729         * elmo-nntp.el (elmo-network-initialize-session): Call
6730         `elmo-nntp-send-mode-reader'.
6731         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6732
6733 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6734
6735         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6736         alist.
6737         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6738         assoc.
6739
6740         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6741         for `elmo-plugged-p'.
6742         (elmo-open-network-stream): Fixed stream-type argument.
6743
6744 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6745
6746         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6747         unknown archive type is specified.
6748
6749 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6750
6751         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6752
6753         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6754         while loading msgdb.
6755
6756         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6757         (elmo-folder-open-internal): Rewrite.
6758
6759 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6760
6761         * elmo-mime.el (elmo-mime-display-as-is-internal):
6762         Adjust buffer-multibyte status.
6763
6764 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6765
6766         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6767         of elmo-condition-find-key.
6768
6769         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6770         (elmo-condition-in-msgdb-p): Ditto.
6771         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6772         argument.
6773
6774 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6775
6776         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6777
6778 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6779
6780         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6781         label for elmo-display-progress.
6782
6783 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6784
6785         * elmo.el (elmo-folder-clear): New method.
6786         (elmo-folder-clear): Define.
6787         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6788
6789         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6790         (elmo-folder-clear): Define.
6791
6792         * elmo-map.el (elmo-folder-clear): Define.
6793
6794         * elmo-version.el (elmo-version): Up to 2.7.1.
6795
6796 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6797
6798         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6799         updates.
6800
6801 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6802
6803         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6804         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6805
6806 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6807
6808         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6809
6810         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6811         and re-written.
6812
6813         * elmo-imap4.el (elmo-folder-initialize): Use
6814         elmo-get-network-stream-type.
6815
6816         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6817
6818         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6819
6820 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6821
6822         * elmo.el (elmo-message-encache): Set unread argument for
6823         elmo-message-fetch.
6824
6825         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6826
6827         * elmo.el (elmo-net-port-info): New method.
6828
6829         * elmo-shimbun.el (elmo-net-port-info): Define.
6830         (elmo-message-encache): Ditto.
6831
6832         * elmo-net.el (elmo-net-port-info): Define as method.
6833
6834         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6835         unplugged status when elmo-enable-disconnected-operation is t.
6836
6837         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6838         of spool folder before checking new number.
6839
6840 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6841
6842         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6843         (elmo-network-setup-session): Ditto.
6844         (elmo-message-fetch-plugged): Ditto.
6845         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6846         (elmo-network-initialize-session): Ditto.
6847         (elmo-pop3-read-response): Abolish 3rd argument.
6848         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6849         (elmo-pop3-read-contents): Ditto.
6850         (elmo-pop3-read-body): Ditto.
6851         (elmo-folder-status): Call elmo-folder-close.
6852         (elmo-pop3-lock): Abolish.
6853         (elmo-pop3-unlock): Ditto.
6854         (elmo-pop3-locked-p): Ditto.
6855         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6856
6857 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6858
6859         * elmo-version.el (elmo-version): Up to 2.7.0.
6860
6861         * elmo-pop3.el (elmo-pop3-debug): New variable.
6862         (elmo-pop3-debug-inhibit-logging): Ditto.
6863         (elmo-pop3-debug): New function.
6864         (elmo-pop3-send-command): Call elmo-pop3-debug.
6865         (elmo-pop3-read-response): Added keep-lock optional argument;
6866         Don't unlock if keep-lock is non-nil.
6867         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6868         (elmo-network-authenticate-session): Bind
6869         elmo-pop3-debug-inhibit-logging as t.
6870         (elmo-network-setup-session): Call elmo-pop3-read-response with
6871         keep-lock argument.
6872         (elmo-pop3-read-msg): Ditto.
6873         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6874         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6875         (elmo-network-initialize-session): Call elmo-pop3-lock.
6876         (elmo-folder-close-internal): Don't clear location-alist slot.
6877         (elmo-folder-check): Clear location-alist slot.
6878
6879 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6880
6881         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6882         (elmo-pop3-send-command): Call elmo-pop3-lock.
6883         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6884         (elmo-pop3-read-contents): Ditto.
6885         (elmo-pop3-lock): New function.
6886         (elmo-pop3-unlock): Ditto.
6887         (elmo-pop3-locked-p): Ditto.
6888         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6889         returns t.
6890
6891 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6892
6893         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6894
6895         * elmo-util.el (elmo-file-field-primitive-condition-match):
6896         New inline function (Don't fetch file content if "first" or "last").
6897         (elmo-file-field-condition-match): Use
6898         elmo-file-field-primitive-condition-match.
6899
6900         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6901         "first".
6902
6903         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6904         (elmo-message-fetch-plugged): Fixed.
6905
6906         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6907
6908 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6909
6910         * elmo.el (elmo-folder-move-messages): Bind
6911         elmo-inhibit-display-retrieval-progress as t while moving messages.
6912
6913         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6914         New variable.
6915         (elmo-inhibit-display-retrieval-progress): Ditto.
6916
6917         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6918         for retrieval progress;
6919         Don't display progress when total buffer size is smaller than
6920         elmo-display-retrieval-progress-threshold.
6921         (elmo-message-fetch-plugged): Don't display progress when
6922         elmo-inhibit-display-retrieval-progress is non-nil.
6923
6924         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6925         for retrieval progress;
6926         Don't display progress when literal size is smaller than
6927         elmo-display-retrieval-progress-threshold.
6928         (elmo-imap4-message-fetch): Don't display progress when
6929         elmo-inhibit-display-retrieval-progress is non-nil.
6930
6931 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6932
6933         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6934         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6935         (elmo-imap4-message-fetch): Likewise.
6936
6937         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6938         (elmo-shimbun-index-range-alist): Ditto.
6939         (elmo-shimbun-use-entire-index): Abolish.
6940         (shimbun-mua-use-entire-index): Ditto.
6941         (elmo-shimbun-folder): Added new slot `range'.
6942         (elmo-folder-initialize): Setup slot `range'.
6943
6944 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6945
6946         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6947         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6948         (elmo-shimbun-get-headers): Use return value of
6949         `shimbun-article-expiration-days'.
6950         (elmo-folder-close-internal): Clean up last-check slot.
6951
6952         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6953         (elmo-pop3-total-size): New variable.
6954         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6955
6956         * elmo.el (elmo-folder-reserve-status-p): New method.
6957
6958         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6959         (elmo-shimbun-use-entire-index): New user option.
6960         (shimbun-elmo-mua): New class.
6961         (shimbun-mua-search-id): Define.
6962         (shimbun-mua-use-entire-index): Ditto.
6963         (elmo-shimbun-folder:last-check): New slot.
6964         (elmo-shimbun-headers-cache-header-list): Abolish.
6965         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6966         (elmo-shimbun-headers-cache-header-hash): Ditto.
6967         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6968         (elmo-shimbun-headers-cache-last-check): Ditto.
6969         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6970         (elmo-shimbun-headers-check-p): Rewrite.
6971         (elmo-shimbun-msgdb-to-headers): New function.
6972         (elmo-shimbun-get-headers): Rewrite.
6973         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6974         (elmo-folder-open-internal): Get headers only if
6975         `elmo-shimbun-headers-check-p' is non-nil.
6976         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6977         is non-nil.
6978         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6979         (elmo-quit): Removed.
6980
6981         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6982         function.
6983         (elmo-msgdb-overview-entity-set-extra): Ditto.
6984         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6985
6986         * elmo-map.el (elmo-folder-status): Don't call
6987         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6988         is non-nil.
6989
6990 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6991
6992         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6993         of `elmo-msgdb-search-internal-primitive' when condition's car is
6994         `and' or `or'.
6995
6996 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6997
6998         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6999
7000 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7001
7002         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
7003         call `elmo-pipe-drain'.
7004
7005 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7006
7007         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
7008         typo. (elmo-cache-folder -> elmo-mark-folder)
7009
7010 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7011
7012         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
7013         `elmo-message-fetch'.
7014
7015 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7016
7017         * elmo-net.el (elmo-message-encache): Fixed typo.
7018         (elmo-message-fetch-unplugged): Changed call
7019         `elmo-message-fetch-internal' without argument `outbuf'.
7020
7021 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
7022
7023         * elmo.el (elmo-message-encache): Define as generic function.
7024         (elmo-message-fetch-field): New generic function.
7025         (elmo-message-fetch-with-cache-process): Cause an error when
7026         fetch strategy is 'entire but only 'section cache is available.
7027         (toplevel): Fixed nmz folder definition.
7028
7029         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7030         (elmo-msgdb-resume-list-filename): Ditto.
7031         (elmo-queue-filename): Ditto.
7032         (elmo-enable-disconnected-operation): Changed default value to t.
7033
7034         * elmo-util.el (elmo-cache-path-section-p): New function.
7035         (elmo-file-cache-get): Use it.
7036         (elmo-dop-queue-filename): Moved from elmo-dop.el.
7037         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7038         (elmo-dop-queue-save): Ditto.
7039
7040         * elmo-net.el (elmo-folder-status-unplugged): Call
7041         elmo-folder-status-dop.
7042         (elmo-folder-list-messages-unplugged): Implemented.
7043         (elmo-folder-delete-messages-unplugged): Define.
7044         (elmo-folder-msgdb-create): Define.
7045         (elmo-folder-msgdb-create-unplugged): Define.
7046         (elmo-folder-mark-as-read-unplugged): Ditto.
7047         (elmo-folder-unmark-read-unplugged): Ditto.
7048         (elmo-folder-mark-as-important-unplugged): Ditto.
7049         (elmo-folder-unmark-important-unplugged): Ditto.
7050         (elmo-message-encache): Ditto.
7051
7052         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7053         (elmo-dop-queue-save): Ditto.
7054
7055         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7056         `elmo-folder-msgdb-create'.
7057         (elmo-folder-append-buffer): Implemented unplugged operation.
7058         (elmo-folder-append-messages): Call parent method in unplugged status.
7059         (elmo-message-fetch-unplugged): Removed definition.
7060         (elmo-message-fetch-field): Implemented.
7061
7062         * elmo-dop.el (toplevel): Require 'elmo-localdir.
7063         (elmo-dop-folder): Removed variable definition.
7064         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7065         (elmo-dop-queue-flush): Implemented.
7066         (elmo-dop-queue-merge): Removed definition (TODO).
7067         (elmo-dop-spool-folder): New function.
7068         (elmo-dop-spool-folder-append-buffer): Ditto.
7069         (elmo-dop-spool-folder-list-messages): Ditto.
7070         (elmo-dop-list-deleting-messages): Ditto.
7071         (elmo-folder-append-buffer-dop): Ditto.
7072         (elmo-folder-delete-messages-dop): Ditto.
7073         (elmo-message-encache-dop): New inline function.
7074         (elmo-create-folder-dop): Ditto.
7075         (elmo-folder-mark-as-read-dop): Ditto.
7076         (elmo-folder-unmark-read-dop): Ditto.
7077         (elmo-folder-mark-as-important-dop): Ditto.
7078         (elmo-folder-unmark-important-dop): Ditto.
7079         (elmo-folder-status-dop): Fixed.
7080         (elmo-folder-append-buffer-dop-delayed): New function.
7081         (elmo-folder-delete-messages-dop-delayed): Ditto.
7082         (elmo-dop-msgdb): Ditto.
7083
7084 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7085
7086         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7087
7088 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7089
7090         * elmo.el (elmo-folder-move-messages): Fixed problem when
7091         `dst-folder' is 'null.
7092
7093 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7094
7095         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7096         instead of current mark.
7097
7098         * elmo-multi.el (elmo-folder-list-importants-internal): No
7099         operation if importants is not list.
7100
7101         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7102         Return t if importants is not list.
7103
7104         * elmo-map.el (elmo-map-folder-list-importants): Define.
7105         (elmo-folder-list-importants-internal): Check return value of
7106         `elmo-map-folder-list-importants-internal'.
7107
7108         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7109
7110         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7111
7112         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7113
7114         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7115
7116 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7117
7118         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7119         (Patch is provided by <kita@coe.nttdata.co.jp>).
7120
7121 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7122
7123         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7124         mark folder.
7125
7126 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7127
7128         * elmo.el (elmo-message-fetch): Define.
7129         (elmo-message-fetch-with-cache-process): New generic method.
7130         (elmo-message-fetch-internal): New generic method.
7131         (elmo-folder-synchronize):
7132
7133         * elmo-archive.el (elmo-message-fetch-internal): Define.
7134         (elmo-message-fetch): Eliminated.
7135
7136         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7137         (elmo-message-fetch): Eliminated.
7138
7139         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7140         argument OUTBUF.
7141         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7142
7143         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7144         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7145
7146         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7147         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7148
7149         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7150
7151         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7152
7153         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7154
7155         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7156         (elmo-message-fetch-unplugged): New generic method.
7157         (elmo-message-fetch-internal): Remove cache process (Renamed from
7158         `elmo-message-fetch').
7159
7160         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7161         (elmo-message-fetch): Eliminated.
7162         (elmo-message-fetch-unplugged): Ditto.
7163
7164         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7165
7166 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7167
7168         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7169         of `to-be-deleted' from number-alist to number-list.
7170
7171 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7172
7173         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7174         (elmo-folder-mark-as-important): Ditto.
7175
7176 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7177
7178         * elmo.el (elmo-folder): Added process-duplicates slot.
7179
7180         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7181         (elmo-folder-unmark-read): Ditto.
7182         (elmo-folder-unmark-important): Ditto.
7183         (elmo-folder-mark-as-important): Ditto.
7184
7185         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7186         duplicated message processing.
7187
7188         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7189
7190 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7191
7192         * elmo-util.el (elmo-list-subdirectories-1): New function.
7193         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7194         (elmo-mapcar-list-of-list): New function.
7195
7196         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7197         `elmo-mapcar-list-of-list' instead of `mapcar'.
7198
7199         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7200
7201         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7202         `elmo-have-link-count'. Return the fully qualified folder name.
7203
7204 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7205
7206         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7207         (elmo-shimbun-headers-cache): New internal variable.
7208         (elmo-shimbun-headers-cache-header-list): New inline function.
7209         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7210         (elmo-shimbun-headers-cache-header-hash): Ditto.
7211         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7212         (elmo-shimbun-headers-cache-last-check): Ditto.
7213         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7214         (elmo-shimbun-lapse-seconds): Ditto.
7215         (elmo-shimbun-headers-cache-check-p): Ditto.
7216         (elmo-shimbun-get-headers): New function.
7217         (elmo-folder-open-internal): Call it.
7218         (elmo-quit): Define (Clear headers-cache).
7219
7220 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7221
7222         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7223
7224         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7225         (elmo-msgdb-flist-save): Ditto.
7226
7227         * elmo-shimbun.el (elmo-folder-list-subfolders):
7228         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7229         (elmo-folder-exists-p): Ditto.
7230
7231         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7232         argument for `shimbun-header-insert'.
7233
7234 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7235
7236         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7237         at first time.
7238
7239         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7240         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7241
7242 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7243
7244         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7245         (elmo-folder-plugged-p): Define.
7246         (elmo-folder-set-plugged): Ditto.
7247         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7248         (elmo-folder-list-messages-internal): Return t if unplugged.
7249         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7250
7251         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7252         when elmo-folder-list-messages-internal method of children returns t.
7253
7254         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7255         pair is nil.
7256         (elmo-folder-open-internal): Don't update if unplugged status.
7257
7258 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7259
7260         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7261         new message.
7262
7263 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7264
7265         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7266
7267         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7268         saving.
7269
7270 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7271
7272         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7273
7274         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7275         (elmo-folder-open-internal): Set up headers slot.
7276         (elmo-folder-check): Call elmo-folder-close-internal and
7277         elmo-folder-open-internal.
7278         (elmo-folder-close-internal): Clean up headers slot.
7279
7280 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7281
7282         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7283         exactly folder list.
7284         (elmo-folder-append-messages): Fixed append archive with prefix.
7285
7286         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7287         make temp files with start-number.
7288
7289         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7290
7291 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7292
7293         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7294         argument `visible-only'.
7295         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7296         instead of `if'.
7297
7298         * elmo-pop3.el (elmo-folder-open-internal): Check
7299         `elmo-inhibit-number-mapping' is non-nil.
7300
7301         * elmo-pipe.el (elmo-folder-status): Fixed.
7302
7303 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7304
7305         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7306
7307         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7308         (elmo-folder-open-internal): Setup `header-hash' slot.
7309         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7310         information.
7311         (elmo-map-message-fetch): Ditto.
7312
7313 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7314
7315         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7316         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7317         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7318         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7319
7320         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7321
7322 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7323
7324         * sb-airs.el: Added footer.
7325
7326         * shimbun.el (shimbun-article): Define as luna-method.
7327
7328         * sb-tcup.el: New file.
7329
7330         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7331         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7332
7333 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7334
7335         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7336         (shimbun-get-headers): Ditto.
7337
7338         * elmo.el: Moved obsolete variable definitions from
7339         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7340
7341         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7342         groups.
7343
7344         * shimbun.el: New file.
7345
7346         * elmo-shimbun.el: New file.
7347
7348         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7349         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7350         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7351         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7352
7353 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7354
7355         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7356         hierarchy is t.
7357
7358 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7359
7360         * elmo.el (elmo-folder-msgdb): Define as macro.
7361         (elmo-folder-open): Added argument `load-msgdb'.
7362         (elmo-generic-folder-open): Ditto.
7363         (elmo-folder-encache): New function.
7364
7365         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7366
7367         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7368
7369         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7370         Eliminated argument FOLDER and added argument MSGDB.
7371         (elmo-dop-queue-load): Moved from elmo-dop.el.
7372         (elmo-dop-queue-save): Ditto.
7373
7374         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7375
7376         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7377
7378         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7379         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7380         (elmo-filter-folder-list-importants-internal): Ditto.
7381
7382         * elmo-map.el (elmo-folder-pack-number): Ditto.
7383
7384         * elmo-mime.el (elmo-mime-message-display): Ditto.
7385
7386         * elmo.el (elmo-generic-folder-commit): Ditto.
7387         (elmo-folder-list-unreads): Ditto.
7388         (elmo-folder-list-importants): Ditto.
7389         (elmo-generic-folder-commit): Ditto.
7390         (elmo-message-set-mark): Ditto.
7391         (elmo-generic-folder-append-msgdb): Ditto.
7392         (elmo-folder-synchronize): Ditto.
7393         (elmo-folder-messages): Ditto.
7394         (elmo-init): Call elmo-dop-queue-load.
7395         (elmo-folder-list-messages): Ditto.
7396
7397         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7398         (elmo-nntp-folder-process-crosspost): Ditto.
7399         (elmo-folder-list-unreads-internal): Ditto.
7400
7401         * elmo-dop.el: Removed old functions.
7402
7403 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7404
7405         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7406         `folder' to `msgdb'.
7407
7408 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7409
7410         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7411         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7412
7413         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7414         case-fold-search.
7415
7416 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7417
7418         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7419         defined.
7420
7421         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7422         (mmimap-parse-parameters-from-list): Define as alias for
7423         `mime-decode-parameter-plist' if it is defined as function.
7424         (mmimap-make-mime-entity): Added argument `number'.
7425         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7426         as 0.
7427         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7428
7429         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7430
7431         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7432
7433         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7434
7435 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7436
7437         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7438
7439         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7440         when elmo-imap4-default-authenticate-type is nil.
7441         (elmo-folder-list-subfolders): Ditto
7442         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7443         (elmo-imap4-fetch-callback-1-subr): Renamed from
7444         `elmo-imap4-fetch-callback-1' and define as inline function.
7445         (elmo-imap4-fetch-callback-1):
7446         Renamed from `elmo-imap4-fetch-callback'.
7447         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7448
7449         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7450         msgdb path (To keep compatibility with main trunk).
7451
7452         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7453
7454         * elmo-util.el (elmo-make-file-cache): Moved position of
7455         some macros.
7456
7457         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7458         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7459         instead of `elmo-pop3-inhibit-uidl'.
7460         (elmo-folder-exists-p): Ditto.
7461         (elmo-pop3-folder-list-messages): Ditto.
7462
7463         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7464         instead of `elmo-pop3-inhibit-uidl'.
7465         (elmo-folder-status): Ditto.
7466
7467         * elmo-dop.el (elmo-dop-folder): New variable.
7468         (elmo-dop-lock-message): Eliminated.
7469         (elmo-dop-unlock-message): Ditto.
7470         (elmo-dop-lock-list-load): Ditto.
7471         (elmo-dop-lock-list-save): Ditto.
7472         (elmo-dop-delete-folder): Ditto.
7473         (elmo-dop-rename-folder): Ditto.
7474
7475         * elmo.el: Removed incomplete commentary.
7476
7477 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7478
7479         * elmo.el (toplevel): Require 'elmo-version first;
7480         for little `recursive-load-depth' settings.
7481         Fix "ends here" comment.
7482
7483 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7484
7485         * elmo-util.el (toplevel): Require 'poem;
7486         Some functions are moved from elmo-cache.el.
7487
7488         * elmo-net.el (toplevel): Require 'elmo-cache.
7489
7490         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7491
7492         * elmo.el (toplevel): Ditto.
7493
7494         * elmo-cache.el: Rewrite with luna;
7495         Some functions are moved to elmo-util.el.
7496
7497         * elmo-internal.el (elmo-internal-folder-list): New variable.
7498         (elmo-internal-folder-initialize): Rewrite.
7499         (elmo-folder-list-subfolders): Ditto.
7500
7501         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7502         (elmo-cache-collect-sub-directories): Ditto.
7503
7504 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7505
7506         * elmo-version.el (elmo-version): Up to 2.5.8.
7507
7508         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7509
7510         * elmo-util.el (elmo-list-insert): New function.
7511
7512 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7513
7514         * elmo.el (elmo-init): New function.
7515         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7516
7517         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7518         (Renamed from `elmo-localdir-header-chop-length').
7519
7520         * elmo-pop3.el (elmo-pop3-use-cache,
7521         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7522
7523         * elmo-nntp.el (elmo-message-fetch): Define.
7524         (elmo-message-fetch-unplugged): Ditto.
7525         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7526         (elmo-nntp-use-cache): Ditto.
7527         (elmo-nntp-max-number-precedes-list-active): Ditto.
7528
7529         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7530
7531         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7532         `elmo-msgdb-insert-file-header'.
7533         Use `elmo-msgdb-file-header-chop-length'.
7534
7535         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7536         `elmo-vars.el'.
7537
7538         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7539         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7540         `elmo-msgdb-insert-file-header'.
7541
7542         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7543         Use new variable;
7544         Define obsolete variables with `elmo-define-obsolete-variable',
7545
7546         * elmo-util.el (elmo-warning-buffer-name): New constant.
7547         (elmo-warning): New function.
7548         (elmo-obsolete-variable-alist): New variable.
7549         (elmo-obsolete-variable-show-warnings): New variable.
7550         (elmo-define-obsolete-variable): New function.
7551         (elmo-resque-obsolete-variable): Ditto.
7552         (elmo-resque-obsolete-variables): Ditto.
7553
7554 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7555
7556         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7557         Eliminated.
7558
7559         * elmo-pop3.el, elmo-nntp.el: Use custom.
7560
7561 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7562
7563         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7564         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7565
7566 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7567
7568         * Luna-fy Kenichi OKADA's following changes.
7569         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7570         `nohide'.
7571         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7572
7573 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7574
7575         * elmo-util.el (elmo-display-progress): Prefer
7576         `progress-feedback-with-label' to `lprogress-display'.
7577
7578 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7579
7580         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7581
7582 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7583
7584         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7585         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7586         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7587         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7588         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7589         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7590         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7591         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7592         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7593         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7594         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7595         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7596         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7597
7598 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7599
7600         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7601         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7602
7603 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7604
7605         * elmo.el (elmo-folder-process-crosspost): New generic method.
7606         (elmo-folder-writable-p): Ditto.
7607         (elmo-folder-message-appendable-p): Eliminated.
7608         (elmo-generic-folder-append-msgdb): Rewrite.
7609         (elmo-newsgroups-hashtb): New internal variable.
7610         (elmo-crosspost-message-set): Eliminated.
7611         (elmo-crosspost-message-delete): Ditto.
7612         (elmo-setup-subscribed-newsgroups): New function.
7613         (elmo-crosspost-message-alist-modified): New internal variable.
7614         (elmo-crosspost-message-alist-load): New function (Renamed from
7615         `wl-crosspost-alist-load').
7616         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7617         `wl-crosspost-alist-save').
7618
7619         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7620
7621         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7622         `unreads'.
7623         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7624         elmo-newsgroups-hashtb).
7625         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7626         `elmo-nntp-folder-update-crosspost-message-alist'.
7627         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7628         `elmo-nntp-groups-hashtb'.
7629         (elmo-nntp-make-groups-hashtb): Eliminated.
7630         (elmo-nntp-parse-newsgroups): New function (Renamed from
7631         `wl-parse-newsgroups').
7632         (elmo-folder-creatable-p, elmo-folder-writable-p,
7633         elmo-folder-close-internal, elmo-folder-mark-as-read,
7634         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7635         Define.
7636         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7637
7638         * elmo-net.el (elmo-message-fetch): Check buffer size.
7639
7640         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7641
7642         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7643
7644         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7645         before `close' command.
7646
7647         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7648         `mark-alist' (All other related portions are changed).
7649
7650 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7651
7652         * elmo-util.el (elmo-create-hash-size): Eliminated.
7653         (elmo-make-hash) Make a hash with `one less than a power of two'
7654         length.
7655
7656         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7657         (elmo-hash-maximum-size): Changed value.
7658
7659 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7660
7661         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7662         (elmo-mime-message-display-as-is): Ditto.
7663
7664 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7665
7666         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7667         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7668
7669 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7670
7671         * elmo-mark.el: New file.
7672
7673         * elmo-internal.el: Rewrite (Almost empty).
7674
7675 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7676
7677         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7678         (mime-imap-entity-header-string): Ditto.
7679         (mmimap-entity-section): Rewrite.
7680
7681 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7682
7683         * elmo-nmz.el: New file.
7684
7685         * elmo-pipe.el: Rewrite with luna.
7686
7687 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7688
7689         * elmo-archive.el: Rewrite with luna.
7690
7691         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7692         (elmo-folder-list-importants-internal): Ditto.
7693
7694 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7695
7696         * elmo-archive.el (elmo-archive-version): Abolish.
7697         (toplevel) Removed `boso' comment.
7698
7699 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7700
7701         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7702         elmo-msgdb-add-msgs-to-seen-list-subr;
7703         Changed argument seen-marks to unread-marks.
7704
7705         * elmo-nntp.el: Rewrite with luna.
7706
7707 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7708
7709         * elmo-filter.el: Rewrite with luna.
7710
7711 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7712
7713         * elmo-pop3.el: Rewrite with luna.
7714
7715 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7716
7717         * elmo-multi.el: Rewrite with luna.
7718
7719         * elmo-vars.el (elmo-use-killed-list): Abolish.
7720         All other related portions are changed.
7721         (elmo-filename-replace-string-alist): Renamed from
7722         elmo-msgid-replace-string-alist.
7723
7724 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7725
7726         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7727
7728         * elmo-map.el: New file.
7729         * elmo-maildir.el: Rewrite with luna.
7730
7731 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7732
7733         * elmo.el: Changed meaning of `elmo-folder-commit'.
7734         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7735
7736 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7737
7738         * elmo.el (elmo-folder-append-buffer): New function.
7739         (Renamed from `elmo-append-msg')
7740
7741 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7742
7743         * elmo-mime.el: New file.
7744
7745 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7746
7747         * elmo-cache.el: Rewrite.
7748
7749 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7750
7751         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7752
7753 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7754
7755         * elmo-vars.el (elmo): New group.
7756         (elmo-strict-diff-folder-regexp): New variable.
7757
7758         * elmo-util.el (elmo-call-func): Abolish.
7759         (elmo-folder-get-type): Ditto.
7760         (elmo-*-get-spec): Ditto.
7761         (elmo-*-spec-*): Ditto.
7762         (elmo-imap4-identical-name-space-p): Ditto.
7763         (elmo-folder-identical-system-p): Ditto.
7764         (elmo-folder-direct-copy-alist): Ditto.
7765         (elmo-folder-direct-copy-p): Ditto.
7766
7767         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7768         (elmo-folder-initialize): Define.
7769         (elmo-folder-get-primitive-list): Ditto.
7770
7771         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7772         (elmo-folder-initialize): Define.
7773         Renamed `elmo-network-session-host-internal' to
7774         `elmo-network-session-server-internal'.
7775
7776         * elmo-multi.el (elmo-multi-folder): New luna class.
7777         (elmo-folder-initialize): Define.
7778         (elmo-folder-get-primitive-list): Ditto.
7779         (elmo-folder-contains-type): Ditto.
7780         (elmo-message-use-cache-p): Ditto.
7781
7782         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7783         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7784
7785         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7786         (elmo-folder-initialize): Define.
7787
7788         * elmo-filter.el (elmo-filter-folder): New luna class.
7789         (elmo-folder-initialize): Define.
7790         (elmo-folder-get-primitive-list): Ditto.
7791         (elmo-folder-contains-type): Ditto.
7792
7793 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7794
7795         * elmo-imap4.el: Rewrite with luna.
7796
7797         * mmimap.el: New file.
7798
7799         * mmelmo.el, mmelmo-imap4.el: Removed.
7800
7801         * elmo-net.el: Ditto.
7802
7803         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7804         (elmo-folder-initialize): Define.
7805
7806         * elmo-archive.el (elmo-archive-folder): New luna class.
7807         (elmo-folder-initialize): Define.
7808
7809         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7810         `elmo-folder-msgdb-path'.
7811         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7812         `elmo-make-folder'.
7813
7814 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7815
7816         * elmo.el: New file.
7817
7818         * elmo2.el: Renamed to elmo.el.
7819
7820 \f
7821 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7822
7823         * elmo-cache.el (elmo-cache-expire-by-size): Count
7824         a disk usage for a cache file entry in KB even when
7825         its kind is a directory.
7826
7827 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7828
7829         * elmo-version.el (elmo-version): Up to 2.5.7.
7830
7831 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7832
7833         * elmo-version.el (elmo-version): Up to 2.5.6.
7834
7835 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7836
7837         * elmo-version.el (elmo-version): Up to 2.5.5.
7838
7839 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7840
7841         * elmo-imap4.el (elmo-network-authenticate-session):
7842         Fixed a logic for response checking.
7843
7844 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7845
7846         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7847         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7848         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7849         `sasl-mechanisms'.
7850
7851         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7852         for `starttls-open-stream' and `starttls-negotiate'.
7853
7854         * elmo-nntp.el: Remove autoload settings for
7855         `starttls-open-stream' and `starttls-negotiate'.
7856
7857         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7858         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7859         `luna-define-class' with `eval-and-compile'.
7860
7861 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7862
7863         * elmo-util.el (elmo-read-search-condition-internal):
7864         Require an element of table for searching field.
7865
7866 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7867
7868         * elmo-version.el (elmo-version): Up to 2.5.4.
7869
7870 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7871
7872         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7873
7874 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7875
7876         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7877
7878 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7879
7880         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7881         before greeting.
7882
7883 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7884
7885         * elmo-imap4.el (elmo-imap4-delete-folder):
7886         Send "close" before "delete" (Use commented out line).
7887         (elmo-imap4-rename-folder): Ditto.
7888
7889         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7890         folder string itself.
7891         (elmo-dop-list-deleted): New function.
7892         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7893         killed.
7894
7895         * elmo-util.el (elmo-string-rassoc-all): New function.
7896
7897 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7898
7899         * elmo-version.el (elmo-version): Up to 2.5.3.
7900
7901         * elmo-net.el (elmo-network-get-session): Changed logic for
7902         checking process status.
7903
7904         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7905         process is nil;
7906         Changed logic for checking process status.
7907
7908 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7909
7910         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7911         before greeting.
7912         (elmo-network-setup-session): Set UIDL hash size according to
7913         the length of list response.
7914         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7915         according to the length of list response;
7916         Return the length of list response.
7917         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7918
7919 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7920
7921         * elmo-imap4.el (toplevel): Require 'ssl.
7922         Add autoload 'starttls.
7923         * elmo-pop3.el (toplevel): Ditto.
7924         * elmo-nntp.el (toplevel): Ditto.
7925
7926 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7927
7928         * elmo-imap4.el (toplevel): defun at compile time.
7929         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7930         sasl-next-step, sasl-step-data, sasl-step-set-data.
7931         * elmo-pop3.el (toplevel): Ditto.
7932
7933 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7934
7935         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7936
7937 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7938
7939         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7940         if error.
7941         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7942         and `elmo-pop-auth-apop'.
7943
7944 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7945
7946         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7947
7948 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7949
7950         * elmo-pop3.el (elmo-network-authenticate-session): Split
7951         encoded response value.
7952
7953 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7954
7955         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7956         `elmo-pop3-force-login'.
7957         Redefine `sasl-mechanisms'.
7958         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7959
7960 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7961
7962         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7963         Delete `elmo-imap4-authenticator-alist'.
7964         (elmo-imap4-auth-cram-md5): Delete.
7965         (elmo-imap4-auth-digest-md5): Delete.
7966
7967 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7968
7969         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7970         (elmo-pop3-auth-scram-md5): Ditto.
7971         (elmo-pop3-auth-cram-md5): Ditto.
7972
7973 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7974
7975         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7976         Delete `elmo-pop3-authenticator-alist'.
7977
7978 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7979
7980         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7981         new SASL API.
7982         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7983
7984 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7985
7986         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7987
7988 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7989
7990         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7991         Fixed problem when `elmo-pop3-use-uidl' is nil.
7992         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7993
7994 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7995
7996         * elmo-version.el (elmo-version): Up to 2.5.2.
7997
7998 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7999
8000         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
8001         New function.
8002         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
8003         (elmo-pop3-msgdb-create-as-numlist): Use it.
8004
8005         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
8006         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
8007
8008         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
8009         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
8010
8011 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8012
8013         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
8014         when elmo-mark-as-read is called with second argument nil.
8015
8016 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
8017
8018         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8019         Moved to elmo-util.el.
8020
8021         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8022         Moved from elmo-pipe.el
8023
8024         * elmo-archive.el (elmo-archive-call-process): Enclose with
8025         static-if.
8026
8027         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
8028         "RFC822" (because RFC822.PEEK is obsolete).
8029         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8030
8031 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
8032
8033         * elmo-archive.el (elmo-archive-call-process): Don't check for
8034         the exit status when Nemacs is running.
8035
8036 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
8037
8038         * elmo-net.el (elmo-network-session-password-key): Don't set default to
8039         'plain.
8040
8041         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8042         (elmo-pop3-get-spec): Set default of auth to 'user.
8043
8044         * elmo-imap4.el (elmo-imap4-session-check):
8045         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8046         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8047         (elmo-imap4-auth-login): New function; Revival.
8048         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8049         `elmo-imap4-auth-login'.
8050
8051 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8052
8053         * elmo2.el (toplevel): Move `product-provide' declare.
8054         * mmelmo.el (toplevel): Ditto.
8055
8056 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8057
8058         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8059
8060 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
8061
8062         * elmo-util.el (elmo-folder-get-store-type): New function.
8063         (elmo-folder-direct-copy-p): Use it.
8064
8065 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8066
8067         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8068         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8069         and result of `elmo-imap4-use-flag-p'.
8070         (elmo-imap4-fetch-callback-1): Set mark according to
8071         the result of `elmo-imap4-use-flag-p'.
8072
8073 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
8074
8075         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8076         (elmo-generic-list-folder-unread): Ditto.
8077         (elmo-folder-get-info): Ditto.
8078         (elmo-folder-set-info-max-by-numdb): Ditto.
8079         (elmo-folder-get-info-max): Ditto.
8080         (elmo-folder-get-info-length): Ditto.
8081         (elmo-folder-get-info-unread): Ditto.
8082         (elmo-folder-info-make-hashtb): Ditto.
8083
8084         * elmo2.el: Removed above functions.
8085
8086 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
8087
8088         * elmo-imap4.el (toplevel): Require 'ssl.
8089         Add autoload 'starttls.
8090         * elmo-pop3.el (toplevel): Ditto.
8091         * elmo-nntp.el (toplevel): Ditto.
8092
8093 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8094
8095         * elmo-imap4.el (toplevel): defun at compile time.
8096         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8097         sasl-next-step, sasl-step-data, sasl-step-set-data.
8098         * elmo-pop3.el (toplevel): Ditto.
8099
8100 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8101
8102         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8103
8104 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8105
8106         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8107         if error.
8108         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8109         and `elmo-pop-auth-apop'.
8110
8111 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8112
8113         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8114
8115 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8116
8117         * elmo-pop3.el (elmo-network-authenticate-session): Split
8118         encoded response value.
8119
8120 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8121
8122         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8123         `elmo-pop3-force-login'.
8124         Redefine `sasl-mechanisms'.
8125         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8126
8127 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8128
8129         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8130         Delete `elmo-imap4-authenticator-alist'.
8131         (elmo-imap4-auth-cram-md5): Delete.
8132         (elmo-imap4-auth-digest-md5): Delete.
8133
8134 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8135
8136         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8137         (elmo-pop3-auth-scram-md5): Ditto.
8138         (elmo-pop3-auth-cram-md5): Ditto.
8139
8140 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8141
8142         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8143         Delete `elmo-pop3-authenticator-alist'.
8144
8145 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8146
8147         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8148         new SASL API.
8149         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8150
8151 \f
8152 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8153
8154         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8155
8156 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8157
8158         * elmo-nntp.el (elmo-nntp-get-folders-info):
8159         Fixed problem when '\' character is contained in user-id.
8160         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8161
8162 \f
8163 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8164
8165         * elmo-imap4.el (elmo-imap4-delete-folder):
8166         Send "close" before "delete" (Use commented out line).
8167         (elmo-imap4-rename-folder): Ditto.
8168
8169         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8170         folder string itself.
8171         (elmo-dop-list-deleted): New function.
8172         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8173         killed.
8174
8175         * elmo-util.el (elmo-string-rassoc-all): New function.
8176
8177         * elmo-version.el (elmo-version): Up to 2.5.1.
8178
8179 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8180
8181         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8182
8183         * elmo-internal.el (elmo-internal-search): Fix last change.
8184
8185 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8186
8187         * elmo-internal.el (elmo-internal-search): Rewrite.
8188         (Fixed problem which is pointed out by Akihiro MOTOKI
8189         <motoki@da.jp.nec.com>)
8190
8191         * elmo-version.el (elmo-version): Up to 2.5.0.
8192
8193 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8194
8195         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8196
8197 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8198
8199         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8200         non-nil, make hierarchy.
8201
8202 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8203
8204         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8205         `elmo-pop3-use-uidl' must be bound to nil.
8206         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8207
8208 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8209
8210         * elmo-util.el (elmo-copy-file): Don't cause an error after
8211         `add-name-to-file' failed.
8212
8213         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8214         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8215
8216 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8217
8218         * elmo-version.el (elmo-version): Up to 2.3.93.
8219
8220 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8221
8222         * elmo-util.el (elmo-flatten): New function.
8223
8224 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8225
8226         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8227         sync Author header.
8228         * elmo-cache.el (toplevel): Ditto.
8229         * elmo-database.el (toplevel): Ditto.
8230         * elmo-date.el (toplevel): Ditto.
8231         * elmo-dop.el (toplevel): Ditto.
8232         * elmo-filter.el (toplevel): Ditto.
8233         * elmo-imap4.el (toplevel): Ditto.
8234         * elmo-internal.el (toplevel): Ditto.
8235         * elmo-localdir.el (toplevel): Ditto.
8236         * elmo-localnews.el (toplevel): Ditto.
8237         * elmo-maildir.el (toplevel): Ditto.
8238         * elmo-msgdb.el (toplevel): Ditto.
8239         * elmo-multi.el (toplevel): Ditto.
8240         * elmo-net.el (toplevel): Ditto.
8241         * elmo-nntp.el (toplevel): Ditto.
8242         * elmo-pipe.el (toplevel): Ditto.
8243         * elmo-pop3.el (toplevel): Ditto.
8244         * elmo-util.el (toplevel): Ditto.
8245         * elmo-vars.el (toplevel): Ditto.
8246         * elmo2.el (toplevel): Ditto.
8247         * mmelmo-imap4.el (toplevel): Ditto.
8248         * mmelmo.el (toplevel): Ditto.
8249
8250         * elmo-version.el (elmo-version): Move to top.
8251
8252         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8253         * elmo-imap4.el (toplevel): Ditto.
8254         * elmo-localdir.el (toplevel): Ditto.
8255         * elmo-msgdb.el (toplevel): Ditto.
8256         * elmo-nntp.el (toplevel): Ditto.
8257         * elmo-pop3.el (toplevel): Ditto.
8258         * elmo-version.el (toplevel): Ditto.
8259
8260         * elmo-localnews.el (toplevel): Added Keyword header.
8261
8262 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8263
8264         * elmo-version.el (product-version-as-string): Defined using
8265         `defun-maybe'.
8266         (toplevel): Use it.
8267
8268         * elmo-localdir.el (toplevel): Updated copyright notice.
8269         * elmo-version.el (toplevel): Ditto.
8270         * elmo-msgdb.el (toplevel): Ditto.
8271         * elmo-imap4.el (toplevel): Ditto.
8272         * elmo-nntp.el (toplevel): Ditto.
8273         * elmo-pop3.el (toplevel): Ditto.
8274
8275 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8276
8277         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8278         messages.
8279
8280         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8281         parameter value (It sometimes contains raw kanji).
8282
8283 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8284
8285         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8286         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8287
8288 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8289
8290         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8291
8292 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8293
8294         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8295         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8296
8297 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8298
8299         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8300         value if selecting folder succceeded.
8301         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8302
8303 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8304
8305         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8306         representation.
8307
8308         * elmo-util.el (elmo-string-matched-member): New function.
8309
8310 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8311
8312         * elmo-util.el (elmo-unintern): New macro.
8313         (elmo-number-set-member): Fixed docstring.
8314
8315         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8316         tag token.
8317
8318 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8319
8320         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8321         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8322
8323 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8324
8325         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8326         `no-error'.
8327         Added docstring.
8328         Return non-nil if selecting folder succeeded.
8329         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8330
8331 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8332
8333         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8334         `file-name-completion' returns t.
8335         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8336         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8337         directory if it does not exist.
8338         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8339         for iteration.
8340
8341 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8342
8343         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8344         enclosure (It's harmful in unplugged status).
8345
8346         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8347
8348         * mmelmo-1.el: Removed.
8349
8350         * mmelmo-2.el: Ditto.
8351
8352         * mmelmo-imap4-1.el: Ditto.
8353
8354         * mmelmo-imap4-2.el: Ditto.
8355
8356         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8357
8358         * mmelmo.el: Merged mmelmo-2.el.
8359
8360         * elmo-version.el (elmo-version): Up to 2.3.92.
8361
8362 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8363
8364         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8365         elmo-update-number): Remove last period in "...done." message.
8366         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8367         Ditto.
8368         * elmo-cache.el (elmo-cache-expire-by-size,
8369         elmo-cache-get-sorted-cache-file-list,
8370         elmo-cache-msgdb-create-as-numlist): Ditto.
8371         * elmo-dop.el (elmo-dop-save-pending-messages,
8372         (elmo-dop-flush-pending-append-operations): Ditto.
8373         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8374         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8375         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8376         (elmo-localdir-pack-number): Ditto.
8377         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8378         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8379         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8380         mime-write-entity-content): Ditto.
8381         * pldap.el (ldap-search-basic): Ditto.
8382
8383 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8384
8385         * elmo-version.el (elmo-version): Up to 2.3.91.
8386
8387         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8388         Only when filter is 'last'.
8389
8390         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8391         (elmo-condition-parse-search-value): Use it.
8392         (elmo-read-search-condition-internal): Quote value only when
8393         it is not an atom.
8394
8395 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8396
8397         * elmo2.el (elmo-generic-folder-diff): Fix.
8398
8399 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8400
8401         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8402         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8403         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8404         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8405         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8406         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8407
8408 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8409
8410         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8411         extra-fields.
8412
8413 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8414
8415         * elmo-version.el (elmo-version): Up to 2.3.90.
8416
8417         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8418         (elmo-imap4-list-folder-important): Ditto.
8419
8420 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8421
8422         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8423
8424 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8425
8426         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8427
8428 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8429
8430         * elmo-nntp.el (elmo-network-initialize-session):
8431         Add starttls negotiation.
8432
8433 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8434
8435         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8436         response.
8437         (elmo-network-setup-session): Define.
8438         Call `elmo-nntp-send-mode-reader' when session opened.
8439
8440 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8441
8442         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8443
8444 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8445
8446         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8447         an invalid SPACE character ahead of `SEARCH' command.  Move
8448         a valid SPACE character following `SEARCH' from conditional
8449         `format' arguments to control-strings.
8450
8451 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8452
8453         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8454         was succeeded.
8455
8456         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8457
8458 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8459
8460         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8461         `w32-get-true-file-link-count' as t.
8462
8463         * elmo-imap4.el (elmo-imap4-read): Abolished.
8464         (Renamed to `elmo-read' and moved to elmo-util.el)
8465         All other related portions are changed.
8466
8467         * elmo-util.el (elmo-read): New function.
8468         (elmo-condition-parse-search-value): Use it.
8469
8470 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8471
8472         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8473
8474         * elmo-nntp.el (elmo-nntp-session): Define.
8475         (elmo-nntp-setting): Abolished.
8476         All other related portions are changed.
8477         (elmo-nntp-get-server-command): Changed argument.
8478         (elmo-nntp-set-server-command): Ditto.
8479         (elmo-nntp-xover-p): Ditto.
8480         (elmo-nntp-set-xover): Ditto.
8481         (elmo-nntp-listgroup-p): Ditto.
8482         (elmo-nntp-set-listgroup): Ditto.
8483         (elmo-nntp-list-active-p): Ditto.
8484         (elmo-nntp-set-list-active): Ditto.
8485         (elmo-nntp-xhdr-p): Ditto.
8486         (elmo-nntp-set-xhdr): Ditto.
8487         (elmo-nntp-flush-connection): Abolished.
8488         (elmo-nntp-get-connection): Abolished.
8489         (elmo-nntp-get-session): New function.
8490         (elmo-network-initialize-session): Defined.
8491         (elmo-network-authenticate-session): Ditto.
8492         (elmo-nntp-send-mode-reader): Changed argument.
8493         (elmo-nntp-send-command): Changed argument.
8494         All other related portions are changed.
8495         (elmo-nntp-read-response): Ditto.
8496         (elmo-nntp-read-raw-response): Ditto.
8497         (elmo-nntp-read-contents): Ditto.
8498         (elmo-nntp-read-body): Ditto.
8499         (elmo-nntp-goto-folder): Abolished.
8500         (elmo-nntp-select-group): New function.
8501         All other related portions are changed.
8502         (This function substitutes `elmo-nntp-goto-folder')
8503         (elmo-nntp-msgdb-create-by-header): Rewrite.
8504         (elmo-nntp-get-overview): Eliminated.
8505         (elmo-nntp-get-message): Ditto.
8506         (elmo-nntp-open-connection) Abolished.
8507         (elmo-nntp-read-msg): Rewrite.
8508         (elmo-nntp-post): Ditto.
8509         (elmo-nntp-send-data): Abolished.
8510         (elmo-nntp-send-buffer): New function.
8511         (elmo-nntp-send-data-line): Define as inline function.
8512         (elmo-nntp-get-folders-info-prepare): Use session as key.
8513         (elmo-nntp-groups-read-response): Changed argument.
8514         (elmo-nntp-retrieve-headers): Ditto.
8515         (elmo-nntp-msgdb-create-message): Ditto.
8516
8517         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8518         when searching by 'since' or 'before'.
8519
8520 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8521
8522         * elmo-version.el (toplevel): Use product-version-as-string for set
8523         verstion-string, if defined.
8524
8525 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8526
8527         * elmo-util.el: Doc fixes.
8528
8529 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8530
8531         * elmo-archive.el (toplevel): Use product-provide.
8532         * elmo-cache.el (toplevel): Ditto.
8533         * elmo-database.el (toplevel): Ditto.
8534         * elmo-date.el (toplevel): Ditto.
8535         * elmo-dop.el (toplevel): Ditto.
8536         * elmo-filter.el (toplevel): Ditto.
8537         * elmo-imap4.el (toplevel): Ditto.
8538         * elmo-internal.el (toplevel): Ditto.
8539         * elmo-localdir.el (toplevel): Ditto.
8540         * elmo-localnews.el (toplevel): Ditto.
8541         * elmo-maildir.el (toplevel): Ditto.
8542         * elmo-msgdb.el (toplevel): Ditto.
8543         * elmo-multi.el (toplevel): Ditto.
8544         * elmo-net.el (toplevel): Ditto.
8545         * elmo-nntp.el (toplevel): Ditto.
8546         * elmo-pipe.el (toplevel): Ditto.
8547         * elmo-pop3.el (toplevel): Ditto.
8548         * elmo-util.el (toplevel): Ditto.
8549         * elmo-vars.el (toplevel): Ditto.
8550         * elmo2.el (toplevel): Ditto.
8551         * mmelmo-1.el (toplevel): Ditto.
8552         * mmelmo-2.el (toplevel): Ditto.
8553         * mmelmo-imap4-1.el (toplevel): Ditto.
8554         * mmelmo-imap4-2.el (toplevel): Ditto.
8555         * mmelmo-imap4.el (toplevel): Ditto.
8556         * mmelmo.el (toplevel): Ditto.
8557
8558 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8559
8560         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8561         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8562
8563 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8564
8565         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8566         before splitting.
8567         (elmo-multi-split-number-alist): Ditto.
8568
8569 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8570
8571         * elmo-version.el: New file.  Use product.el.
8572         * elmo2.el: Add (require 'elmo-version).
8573         * elmo-vars.el (elmo-appname, elmo-version): Move to
8574         elmo-version.el
8575
8576 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8577
8578         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8579         `elmo-msgdb-expand-path'.
8580         (elmo-msgdb-load): Ditto.
8581         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8582         (elmo-generic-list-folder-unread): Rewrite.
8583         (elmo-generic-list-folder-important): Changed argument.
8584         (elmo-list-folder-unread): Ditto.
8585         (elmo-list-folder-important): Ditto.
8586         (elmo-folder-diff): Rewrite.
8587         (elmo-generic-folder-diff): New function.
8588         (elmo-multi-get-number-alist-list): Abolished
8589         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8590         (elmo-multi-folder-diff): Moved to elmo-multi.el
8591         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8592
8593         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8594         `elmo-msgdb-expand-path'.
8595         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8596         (elmo-pop3-read-msg): Ditto.
8597         (elmo-pop3-delete-msgs): Ditto.
8598         (elmo-pop3-folder-diff): New alias.
8599
8600         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8601         `elmo-msgdb-expand-path'.
8602         (elmo-pipe-list-folder-unread): Changed arguments.
8603         (elmo-pipe-list-folder-important): Ditto.
8604         (elmo-pipe-folder-diff): New alias.
8605
8606         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8607         `elmo-msgdb-expand-path'.
8608         (elmo-nntp-max-of-folder): Ditto.
8609         (elmo-nntp-msgdb-create): Ditto.
8610         (elmo-nntp-delete-msgs): Ditto.
8611         (elmo-nntp-folder-diff): New alias.
8612
8613         * elmo-multi.el (elmo-multi-folder-diff): New function.
8614         (elmo-multi-split-mark-alist): Ditto.
8615         (elmo-multi-split-number-alist): Ditto.
8616         (elmo-multi-mark-alist-list): Abolished (Renamed to
8617         elmo-multi-split-mark-alist).
8618         (elmo-multi-list-folder-unread): Rewrite.
8619         (elmo-multi-list-folder-important): Ditto.
8620         (elmo-multi-list-folder): Set `spec' as 1st argument for
8621         `elmo-msgdb-expand-path'.
8622         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8623         instead of `elmo-multi-get-number-alist-list'.
8624
8625         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8626         If 1st argument is not string, treat as spec.
8627         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8628         `elmo-msgdb-expand-path'.
8629         (elmo-msgdb-flist-load): Ditto.
8630         (elmo-msgdb-flist-save): Ditto.
8631         (elmo-msgdb-delete-path): Ditto.
8632         (elmo-msgdb-rename-path): Ditto.
8633
8634         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8635         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8636         (elmo-maildir-delete-mark-msgs): Ditto.
8637         (elmo-maildir-msgdb-create): Ditto.
8638         (elmo-maildir-read-msg): Ditto.
8639         (elmo-maildir-delete-msgs): Ditto.
8640         (elmo-maildir-list-folder-subr): Ditto.
8641         (elmo-maildir-search): Ditto.
8642         (elmo-maildir-get-msg-filename): Ditto.
8643         (elmo-maildir-pack-number): Ditto.
8644         (elmo-maildir-folder-diff): New alias.
8645
8646         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8647
8648         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8649         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8650         (elmo-localdir-folder-diff): New alias.
8651
8652         * elmo-internal.el (elmo-internal-list-folder-subr):
8653         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8654         (elmo-internal-list-folder-by-location): Ditto.
8655         (elmo-internal-msgdb-create): Ditto.
8656         (elmo-internal-delete-msgs): Ditto.
8657         (elmo-internal-read-msg): Ditto.
8658         (elmo-internal-folder-diff): New alias.
8659
8660         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8661         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8662         `elmo-msgdb-expand-path'.
8663         (elmo-imap4-list-folder-unread): Changed arguments.
8664         (elmo-imap4-list-folder-important): Ditto.
8665
8666         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8667         (elmo-filter-list-folder-important): Ditto.
8668         (elmo-filter-folder-diff): New function.
8669
8670         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8671
8672         * elmo-cache.el (elmo-cache-list-folder):
8673         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8674         (elmo-cache-copy-msgs): Ditto.
8675         (elmo-cache-folder-diff): New alias.
8676
8677         * elmo-archive.el (elmo-archive-list-folder-subr):
8678         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8679         (elmo-archive-get-archive-name): Ditto.
8680         (elmo-archive-create-file): Ditto.
8681         (elmo-archive-append-msg): Ditto.
8682         (elmo-archive-copy-msgs): Ditto.
8683         (elmo-archive-copy-msgs-froms): Ditto.
8684         (elmo-archive-get-msg-filename): Ditto.
8685         (elmo-archive-folder-diff): New alias.
8686
8687 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8688
8689         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8690         (elmo-pop3-stream-type-alist): New variable.
8691         (elmo-nntp-stream-type-alist): New variable.
8692
8693         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8694         (elmo-kill-buffer): Ditto.
8695         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8696         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8697         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8698         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8699         (elmo-imap4-get-spec): Take into account
8700         `elmo-imap4-stream-type-alist'.
8701
8702 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8703
8704         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8705         (elmo-nntp-list-folders-get-cache): Ditto.
8706
8707 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8708
8709         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8710         character before 'uid'.
8711
8712 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8713
8714         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8715
8716         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8717
8718         * elmo-util.el (elmo-number-set-member): New function.
8719         (elmo-number-set-append-list): Ditto.
8720         (elmo-number-set-append): Ditto.
8721
8722         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8723         Use `elmo-number-set-member'.
8724         (elmo-living-messages): Ditto.
8725         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8726         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8727
8728         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8729         (elmo-imap4-add-to-cont-list): Abolished.
8730         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8731         instead of elmo-imap4-add-to-cont-list.
8732
8733         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8734         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8735
8736         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8737
8738 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8739
8740         * elmo-util.el (elmo-condition-parse-search-value):
8741         Fixed date parsing.
8742
8743 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8744
8745         * elmo-util.el (elmo-condition-find-key-internal): New function.
8746         (elmo-condition-find-key): Ditto.
8747
8748         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8749         (elmo-msgdb-search-internal): Ditto.
8750         (elmo-msgdb-search): Ditto.
8751
8752 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8753
8754         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8755         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8756
8757         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8758         (elmo-nntp-search-primitive): Fixed problem when condition is
8759         'unmatch'.
8760
8761         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8762
8763         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8764         (elmo-nntp-xhdr-p): New macro.
8765         (elmo-nntp-set-xhdr): Ditto.
8766         (elmo-nntp-parse-xhdr-response): New function.
8767         (elmo-nntp-retrieve-field): Ditto.
8768         (elmo-nntp-search-primitive): Ditto.
8769         (elmo-nntp-search): Implemented.
8770
8771         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8772
8773         * elmo-archive.el (elmo-archive-search): Set all number list to
8774         `elmo-archive-field-condition-match'
8775
8776         * elmo-localdir.el (elmo-localdir-search): Likewise.
8777
8778         * elmo-maildir.el (elmo-maildir-search): Likewise.
8779
8780 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8781
8782         * elmo-msgdb.el (elmo-living-messages): New function.
8783         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8784         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8785         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8786         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8787         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8788         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8789         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8790         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8791         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8792         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8793         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8794
8795 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8796
8797         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8798
8799         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8800
8801         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8802
8803         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8804         arguments for `SEARCH' command.
8805         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8806         All other related portions are changed.
8807
8808         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8809
8810         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8811         (elmo-list-folder-unread): Rewrite.
8812         (elmo-list-folder-important): Ditto.
8813
8814         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8815         (elmo-condition-parse-error): New inline function.
8816         (elmo-read-search-condition): New function.
8817         (elmo-read-search-condition-internal): Ditto.
8818         (elmo-parse-search-condition): Rewrite.
8819         (elmo-condition-parse): New function.
8820         (elmo-condition-parse-or-expr): Ditto.
8821         (elmo-condition-parse-and-expr): Ditto.
8822         (elmo-condition-parse-primitive): Ditto.
8823         (elmo-condition-parse-search-value): Ditto.
8824         (elmo-buffer-field-primitive-condition-match): Ditto.
8825         (elmo-buffer-field-condition-match): Rewrite.
8826         (elmo-file-field-condition-match): Ditto.
8827
8828         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8829         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8830
8831         * elmo-internal.el (elmo-internal-search): Set `number' and
8832         `number-list' argument of `elmo-file-field-condition-match'.
8833
8834         * elmo-maildir.el (elmo-maildir-search): Ditto.
8835
8836         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8837         `msgdb' as argument instead of `mark-alist'.
8838         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8839         `overview'.
8840
8841         * elmo-multi.el: Likewise.
8842
8843         * elmo-pipe.el: Likewise.
8844
8845         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8846         (elmo-imap4-search-internal): Rewrite.
8847         (elmo-imap4-search): Ditto.
8848
8849         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8850         (elmo-filter-list-folder-unread): Ditto.
8851         (elmo-filter-list-folder-important): Ditto.
8852         (elmo-filter-search): Rewrite.
8853
8854         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8855         `number-list' argument of `elmo-file-field-condition-match'.
8856         (elmo-cache-search): Ditto.
8857
8858         * elmo-localdir.el: Likewise.
8859
8860         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8861         number-list and pass it to `elmo-buffer-field-condition-match'.
8862         (elmo-archive-field-condition-match): Pass `number-list' to
8863         `elmo-archive-field-condition-match'
8864
8865 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8866
8867         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8868         `listgroup'.
8869
8870         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8871         (elmo-folder-diff-async-callback-data): Ditto.
8872         (elmo-folder-diff-async): New function.
8873
8874         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8875         (elmo-network-session-cache-key): Use it as a prefix of the session
8876         name.
8877         (elmo-network-open-session): Ditto.
8878
8879         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8880         (elmo-imap4-status-callback-data): Ditto.
8881         (elmo-imap4-server-diff-async-callback): New variable.
8882         (elmo-imap4-server-diff-async-callback-data): Ditto.
8883         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8884         `elmo-imap4-status-callback-data'.
8885         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8886         `elmo-imap4-status-callback-data' as nil.
8887         (elmo-imap4-server-diff): Ditto.
8888         (elmo-imap4-server-diff-async-callback-1): New function.
8889         (elmo-imap4-server-diff-async): Ditto.
8890         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8891
8892 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8893
8894         * elmo-util.el (elmo-list-delete): Doc fix.
8895         (elmo-delete-lists): Abolish.
8896         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8897         instead of `elmo-delete-lists'.
8898
8899 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8900
8901         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8902         before `sort'.
8903
8904 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8905
8906         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8907         `elmo-imap4-literal-subr'.
8908         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8909         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8910
8911 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8912
8913         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8914         (elmo-archive-list-folder): Fix.
8915         (elmo-archive-max-of-folder): Fix.
8916
8917 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8918
8919         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8920          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8921         (elmo-localdir-append-msg): Ditto.
8922         (elmo-localdir-list-folder): Fix for `nonsort'.
8923         (elmo-localdir-list-folder-subr): Fix for `killed'.
8924         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8925         (elmo-maildir-list-folder-subr): Ditto.
8926         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8927         (elmo-archive-list-folder-subr): Ditto.
8928         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8929         (elmo-internal-list-folder-subr): Ditto.
8930
8931 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8932
8933         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8934
8935 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8936
8937         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8938
8939 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8940
8941         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8942         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8943
8944         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8945         before greeting.
8946         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8947         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8948
8949 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8950
8951         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8952
8953         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8954         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8955         before STORE command.
8956
8957 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8958
8959         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8960
8961         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8962         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8963         of `response'.
8964         (elmo-imap4-list-folders): Removed unused local variable.
8965         (elmo-network-initialize-session): Ditto.
8966         (elmo-imap4-delete-msg-by-id): Ditto.
8967         (elmo-imap4-parse-fetch): Ditto.
8968         (elmo-imap4-copy-msgs): Ditto.
8969         Use `dst-spec' instead of `dst-folder'.
8970         (elmo-network-authenticate-session): Check authenticate type `plain'.
8971
8972 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8973
8974         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8975         garbage checking.
8976         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8977         `elmo-imap4-response-value'.
8978         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8979
8980 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8981
8982         * elmo-imap4.el (elmo-imap4-send-command):
8983         Cause elmo-imap4-bye-error when current response is BYE.
8984         (elmo-imap4-arrival-filter): Changed greeting response value.
8985
8986         * elmo2.el (elmo-imap4-bye-error): Define.
8987
8988         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8989         (elmo-imap4-server-diff): Ditto.
8990         (elmo-imap4-response-bye-p): New macro.
8991         (elmo-imap4-response-error-text): Get text from BYE response.
8992         (elmo-imap4-read-response): Return if BYE response.
8993         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8994         (elmo-imap4-folder-exists-p): Ditto.
8995         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8996         (elmo-imap4-parse-bye): New function.
8997         (elmo-imap4-parse-response): Remove needless let.
8998         Call `elmo-imap4-parse-bye'.
8999
9000 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
9001
9002         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
9003         the mailbox does not exist.
9004         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
9005
9006 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
9007
9008         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
9009
9010 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
9011
9012         * elmo-vars.el (elmo-search-mime-charset): Abolished.
9013
9014         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
9015         (elmo-network-initialize-session-buffer): Defined.
9016
9017         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
9018         Abolished.
9019         (mmelmo-imap4-get-mime-entity): Rewrite.
9020
9021         * elmo2.el (elmo-error): Capitalize error message.
9022
9023         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
9024         (elmo-network-session-buffer): New macro.
9025         (elmo-network-open-session): Use it.
9026
9027         * elmo-imap4.el: Rewrite.
9028
9029 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9030
9031         * elmo-nntp.el (Toplevel): Require 'elmo-net.
9032
9033 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
9034
9035         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9036         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9037         (elmo-imap4-create-msgdb-from-overview-string): Use
9038         `elmo-msgdb-create-overview-from-buffer'.
9039
9040 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
9041
9042         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9043         (elmo-imap4-default-hierarchy-delimiter): New variable.
9044         (elmo-imap4-list-folders): Use it.
9045
9046 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
9047
9048         * elmo-net.el (elmo-network-open-session): Add user and
9049         stream-type for process-buffer name.
9050
9051         * elmo-pop3.el (elmo-network-initialize-session): Call
9052         buffer-disable-undo.
9053
9054         * elmo-imap4.el (elmo-network-initialize-session):
9055         Set current-buffer as an argument for `buffer-disable-undo'.
9056
9057         * elmo-pop3.el (elmo-network-close-session): Don't use
9058         `process-live-p'.
9059
9060         * elmo-vars.el (elmo-default-pop3-authenticate-type):
9061         Set default as 'user.
9062
9063         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9064
9065         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9066         and `elmo-imap4-flush-connection'.
9067
9068         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9069         (elmo-pop3-get-spec): Assume auth as symbol.
9070         (elmo-open-network-stream): Moved to `elmo-net'.
9071
9072         * elmo-pop3.el (toplevel): Require 'elmo-net.
9073         Define `sasl-cram-md5' to silence byte compilier.
9074         (elmo-pop3-connection-cache) Abolished.
9075         (elmo-pop3-authenticator-alist) New variable.
9076         (elmo-pop3-session): Define.
9077         (elmo-pop3-connection-get-process): Abolished.
9078         (elmo-pop3-connection-get-buffer): Ditto.
9079         (elmo-pop3-close-connection): Ditto.
9080         (elmo-pop3-flush-connection): Ditto.
9081         (elmo-pop3-get-connection): Ditto.
9082         (elmo-pop3-get-session): New function.
9083         (Replacement for `elmo-pop3-get-connection').
9084         All other related modules are changed.
9085         (elmo-network-close-session): Define.
9086         (elmo-pop3-send-command): Abolished argument `buffer'.
9087         All other related modules are changed.
9088         (elmo-pop3-read-response): Likewise.
9089         (elmo-pop3-open-connection): Abolished.
9090         (elmo-pop3-auth-user): New function.
9091         (elmo-pop3-auth-apop): Ditto.
9092         (elmo-pop3-auth-cram-md5): Ditto.
9093         (elmo-pop3-auth-scram-md5): Ditto.
9094         (elmo-pop3-auth-digest-md5): Ditto.
9095         (elmo-network-initialize-session): Define.
9096         (elmo-network-authenticate-session): Ditto.
9097         (elmo-network-setup-session): Ditto.
9098
9099         * elmo-imap4.el (toplevel): Require 'elmo-net.
9100         (elmo-imap4-session): Define.
9101         (elmo-imap4-connection-cache): Abolished.
9102         (elmo-imap4-password-key): Ditto.
9103         (elmo-imap4-flush-connection): Ditto.
9104         (elmo-imap4-get-connection): Ditto.
9105         All other related modules are changed.
9106         (elmo-imap4-get-session): New function
9107         (Replacement for `elmo-imap4-get-connection').
9108         (elmo-imap4-read-response): Abolished argument `buffer'.
9109         All other related modules are changed.
9110         (elmo-imap4-send-command): Likewise.
9111         (elmo-imap4-select-folder): Abolished.
9112         All other related modules are changed.
9113         (elmo-imap4-select-mailbox): New function.
9114         (Replacement for `elmo-imap4-select-folder').
9115         (elmo-imap4-auth-login): Simplify.
9116         (Assume current buffer as process buffer)
9117         (elmo-imap4-auth-cram-md5): Ditto.
9118         (elmo-imap4-auth-digest-md5): Ditto.
9119         (elmo-imap4-login): Ditto.
9120         (elmo-imap4-open-connection): Abolished.
9121         (elmo-imap4-open-connection-1): Abolished.
9122         (elmo-network-initialize-sessoin): Define.
9123         (elmo-network-authenticate-session): Ditto.
9124         (elmo-network-setup-session): Ditto.
9125
9126         * elmo-net.el: New module.
9127
9128 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9129
9130         * elmo-util.el (elmo-define-error): New function.
9131
9132         * elmo2.el (elmo-error): Define.
9133         (elmo-open-error): Define.
9134         (elmo-authenticate-error): Define.
9135
9136         * elmo-imap4.el (elmo-imap4-error): Abolish.
9137         (elmo-imap4-error-type): Abolish.
9138         (elmo-imap4-error-process): Abolish.
9139         (elmo-imap4-error-message): Abolish
9140         (elmo-imap4-list-folders): Don't quote lambda.
9141         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9142         (elmo-imap4-parse-namespace): Ditto.
9143         (elmo-imap4-open-connection): Rewrite.
9144         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9145         (elmo-imap4-get-connection): Abolish local variable `result'.
9146
9147 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9148
9149         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9150         wrong-type-argument error when auth is nil.
9151
9152 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9153
9154         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9155         (elmo-default-nntp-stream-type): Ditto.
9156         (elmo-default-pop3-stream-type): Ditto.
9157         (elmo-network-stream-type-alist): Ditto.
9158         (elmo-default-imap4-ssl): Abolished.
9159         (elmo-default-nntp-ssl): Ditto.
9160         (elmo-default-pop3-ssl): Ditto.
9161
9162         * elmo-util.el: (toplevel): Removed needless requires.
9163         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9164         (elmo-open-network-stream): Open network stream according to
9165         the value of `elmo-network-stream-type-alist'.
9166         (elmo-get-network-stream-type): New function.
9167         (elmo-network-stream-type-spec-string): New macro.
9168         (elmo-network-stream-type-symbol): Ditto.
9169         (elmo-network-stream-type-function): Ditto.
9170
9171         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9172         network-stream-type. All other related portions are changed.
9173         (elmo-pop3-open-connection): Ditto.
9174
9175         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9176         network-stream-type. All other related portions are changed.
9177
9178         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9179         network-stream-type.All other related portions are changed.
9180         (elmo-imap4-error): New macro.
9181         (elmo-imap4-error-type): Ditto.
9182         (elmo-imap4-error-process): Ditto.
9183         (elmo-imap4-error-message): Ditto.
9184         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9185         (elmo-imap4-auth-cram-md5): Ditto.
9186         (elmo-imap4-auth-digest-md5): Ditto.
9187         (elmo-imap4-login): Ditto.
9188         (elmo-imap4-open-connection): Remove password entry if authentication
9189         was in vain.
9190         (elmo-imap4-user-at-host): Abolished.
9191         (elmo-imap4-password-key): New buffer local variable.
9192         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9193         using protocol, port, auth and stream-type.
9194
9195         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9196
9197 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9198
9199         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9200
9201         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9202
9203         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9204         (elmo-imap4-authenticator-alist): New variable.
9205         (elmo-imap4-open-connection-1): Rename from
9206         elmo-imap4-open-connection.
9207         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9208         only wraps elmo-imap4-open-connection-1.
9209         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9210         user-at-host.
9211         (elmo-imap4-auth-login): New function.
9212         (elmo-imap4-auth-cram-md5): New function.
9213         (elmo-imap4-auth-digest-md5): New function.
9214         (elmo-imap4-login): New function.
9215
9216 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9217
9218         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9219         function `error'.
9220
9221 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9222
9223         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9224
9225 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9226
9227         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9228
9229 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9230
9231         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9232         for server responses, quote `*' regardless of where it appears.
9233
9234 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9235
9236         * elmo-maildir.el (elmo-maildir-commit): New alias.
9237
9238 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9239
9240         * elmo-util.el (elmo-display-progress):
9241                 Use `progress-feedback-with-label'.
9242
9243 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9244
9245         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9246         (elmo-imap4-non-atom-char-regex): Ditto.
9247         (elmo-imap4-non-text-char-regex): Ditto.
9248         (elmo-imap4-literal-threshold): Ditto.
9249         (elmo-imap4-atom-p): New function.
9250         (elmo-imap4-quotable-p): Ditto.
9251         (elmo-imap4-nil): Ditto.
9252         (elmo-imap4-atom): Ditto.
9253         (elmo-imap4-quoted): Ditto.
9254         (elmo-imap4-literal-subr): Ditto.
9255         (elmo-imap4-literal): Ditto.
9256         (elmo-imap4-buffer-literal): Ditto.
9257         (elmo-imap4-string-subr): Ditto.
9258         (elmo-imap4-string): Ditto.
9259         (elmo-imap4-buffer-string): Ditto.
9260         (elmo-imap4-astring-subr): Ditto.
9261         (elmo-imap4-astring): Ditto.
9262         (elmo-imap4-buffer-astring): Ditto.
9263         (elmo-imap4-nstring): Ditto.
9264         (elmo-imap4-buffer-nstring): Ditto.
9265         (elmo-imap4-mailbox): New alias.
9266         (elmo-imap4-field-body): Ditto.
9267         (elmo-imap4-userid): Ditto.
9268         (elmo-imap4-password): Ditto.
9269         (elmo-imap4-format-quoted): New function.
9270         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9271         arguments and handle "atom", "quoted" and "literal" string here.
9272         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9273         `elmo-imap4-send-command'.
9274         (elmo-imap4-folder-exists-p): Likewise.
9275         (elmo-imap4-create-folder): Likewise.
9276         (elmo-imap4-delete-folder): Likewise.
9277         (elmo-imap4-rename-folder): Likewise.
9278         (elmo-imap4-max-of-folder): Likewise.
9279         (elmo-imap4-check-validity): Likewise.
9280         (elmo-imap4-sync-validity): Likewise.
9281         (elmo-imap4-server-diff): Likewise.
9282         (elmo-imap4-select-folder): Likewise.
9283         (elmo-imap4-copy-msgs): Likewise.
9284         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9285         (elmo-imap4-mark-set-on-msgs): Likewise.
9286         (elmo-imap4-read-part): Likewise.
9287         (elmo-imap4-read-msg): Likewise.
9288         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9289         `elmo-imap4-password' for `elmo-imap4-send-command'.
9290         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9291         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9292         `elmo-imap4-buffer-literal'.
9293         (elmo-imap4-append-msg): Likewise.
9294
9295         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9296         `delete' for removing dead connection from the connection cache.
9297         Move deletion of the process buffer after that.
9298         (elmo-imap4-list): Change `defsubst' to `defun'.
9299         (elmo-imap4-commit): Make error message verbose.
9300         (elmo-imap4-search): Ditto.
9301         (elmo-imap4-list): Ditto.
9302         (elmo-imap4-select-folder): Ditto.
9303         (elmo-imap4-copy-msgs): Ditto.
9304         (elmo-imap4-delete-msg-by-id): Ditto.
9305         (elmo-imap4-append-msg-by-id): Ditto.
9306         (elmo-imap4-append-msg): Ditto.
9307
9308 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9309
9310         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9311         when dired is used on XEmacs.
9312
9313 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9314
9315         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9316         instead of `append'.
9317         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9318         `elmo-plugged-p' directly.
9319         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9320         of `elmo-plugged-p' directly.
9321
9322         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9323         Eliminate unused variable.  Use `memq' for checking a process status.
9324         Use `cons' instead of `append' for updating the connection cache.
9325         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9326         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9327
9328 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9329
9330         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9331         `elmo-imap4-read-point' exactly.
9332
9333         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9334         the local variable `folder' to `mailbox'.
9335         Rename the argument `fld' to `folder'.
9336
9337 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9338
9339         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9340         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9341
9342 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9343
9344         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9345         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9346         (elmo-pop3-uidl-number-hash): Ditto.
9347         (elmo-pop3-size-hash): Ditto.
9348         (elmo-pop3-uidl-done): Ditto.
9349         (elmo-pop3-list-done): Ditto.
9350         (elmo-pop3-connection-get-process): New defmacro.
9351         (elmo-pop3-connection-get-buffer): Ditto.
9352         (elmo-pop3-close-connection): Delete buffer and process.
9353         (elmo-pop3-flush-connection): Don't delete buffer and process.
9354         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9355         Setup UIDL and size hash.
9356         (elmo-pop3-send-command-no-erase): Deleted
9357         (elmo-pop3-send-command): Added optional argument `no-erase'.
9358         (elmo-pop3-parse-uidl-response): New function.
9359         (elmo-pop3-parse-list-response): Set size hash.
9360         (elmo-pop3-list-location): New function.
9361         (elmo-pop3-list-by-uidl-subr): Ditto.
9362         (elmo-pop3-list-by-list): Ditto.
9363         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9364         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9365         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9366         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9367         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9368         Use uidl.
9369         (elmo-pop3-uidl-to-number): New function.
9370         (elmo-pop3-number-to-uidl): Ditto.
9371         (elmo-pop3-number-to-size): Ditto.
9372         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9373         Set number by use of uidl.
9374         (elmo-pop3-msgdb-create-message): Likewise.
9375         Set size, loc-alist in msgdb.
9376         (elmo-pop3-read-msg): Set number by use of uidl.
9377         Added optional argument `msgdb'.
9378         (elmo-pop3-delete-msg): Ditto.
9379         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9380         (elmo-pop3-commit): Close connection.
9381
9382         * elmo-pipe.el (elmo-pipe-max-of-folder):
9383         Bind `elmo-pop3-use-uidl' as nil.
9384         (elmo-pipe-drain): Ditto.
9385         Call `elmo-commit'.
9386
9387         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9388         (elmo-msgdb-overview-entity-set-size): New defsubst.
9389
9390 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9391
9392         * elmo-vars.el (elmo-use-killed-list): New variable
9393         (Renamed from `elmo-nntp-use-killed-list').
9394         (elmo-nntp-use-killed-list): Eliminated.
9395
9396         * elmo-msgdb.el (elmo-msgdb-expand-path):
9397         Changed expanding msgdb path for elmo-multi.
9398
9399         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9400         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9401         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9402         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9403         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9404         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9405         (toplevel): Deleted time-stamp line.
9406
9407         * elmo2.el (elmo-clear-killed ): Defined as function
9408         (Abolished defining as a backend function).
9409         All other related modules are changed.
9410
9411 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9412
9413         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9414
9415 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9416
9417         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9418
9419 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9420
9421         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9422
9423 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9424
9425         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9426         asynchronous folder check.
9427
9428         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9429
9430         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9431         `elmo-nntp-use-killed-list'.
9432         (elmo-nntp-list-folder): Use killed list.
9433         (elmo-nntp-max-of-folder): Ditto.
9434         (elmo-nntp-msgdb-create): Set killed list.
9435
9436         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9437
9438         * elmo2.el (elmo-clear-killed): New backend function.
9439         All other related modules are changed.
9440
9441 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9442
9443         * elmo-util.el (elmo-imap4-spec-folder): Use
9444         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9445         All callers changed.
9446
9447 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9448
9449         * mmelmo-2.el (initialize-instance):
9450         Use `mime-buffer-entity-buffer-internal' instead of
9451         `mime-entity-buffer'.
9452
9453         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9454         (mime-entity-body): Implemented.
9455         (mime-goto-header-start-point): Deleted.
9456         (mime-goto-body-end-point): Ditto.
9457         (mime-entity-point-min): Ditto.
9458         (mime-entity-point-max): Ditto.
9459         (mime-entity-children): Ditto.
9460         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9461         instead of `mime-entity-buffer'.
9462         (mime-entity-header-buffer): Ditto.
9463         (mime-entity-body-buffer): Ditto.
9464         (mime-write-entity-content): Ditto.
9465
9466         * pldap.el (ldap-static-if): New macro.
9467         (toplevel): Use it instead of `static-if'.
9468
9469 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9470
9471         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9472         included in `attrs' argument.
9473
9474 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9475
9476         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9477
9478         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9479         (ldap-ldif-safe-init-char-regexp): Ditto.
9480         (ldap-ldif-safe-string-regexp): Ditto.
9481         (ldap/ldif-safe-string-p): New macro.
9482         (ldap/ldif-insert-field): Ditto.
9483         (ldap-modify): Use it.
9484         (ldap-add): Ditto.
9485         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9486         (ldap-decode-attribute): Decode only when `attr' is consp.
9487         (ldap-delete): Bind `ret'.
9488         (toplevel): Require 'cl at compile time.
9489         Removed (require 'poe) and (require 'std11).
9490         (pldap-version): Eliminated.
9491         (ldap-search-basic): Removed auth and dn binding.
9492         (ldap-ldif-field-name-regexp): New constant.
9493         (ldap-ldif-field-head-regexp): Ditto.
9494         (ldap-ldif-next-field-head-regexp): Ditto.
9495         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9496         (ldap/field-end): New function.
9497         (ldap/field-body): Use it.
9498         (ldap/collect-field): Ditto.
9499         (ldap-search-basic): Use `ldap/field-body'.
9500
9501 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9502
9503         * pldap.el (ldap-default-attribute-encoder): New user option.
9504         (ldap/field-body): Decode base64 string.
9505         (ldap/collect-field): Ditto.
9506         (ldap-encode-attribute): New function.
9507         (ldap-add-entries): Use it.
9508         (ldap-modify-entries): Ditto.
9509         (ldap-search-entries): Enclosed decoding function with
9510         `with-temp-buffer' and set as unibyte.
9511         (ldap-search-basic): Set process buffer as unibyte.
9512
9513         * elmo-util.el (elmo-folder-identical-system-p):
9514         Eliminated name space checking.
9515
9516         * pldap.el: New module.
9517         toplevel: Changed condition to detect built-in ldap feature.
9518         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9519         (ldap-add): Added error handling.
9520         (ldap-modify): Ditto.
9521         (ldap-delete): Ditto.
9522
9523 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9524
9525         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9526         Initialize local variables with `let'.  Inline a temporary
9527         variable for the progress percentage.  Sort `setq' to reduce
9528         function call in the while-loop.
9529
9530         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9531         into the conditional branch.
9532
9533 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9534
9535         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9536         Move a conditional out of the while-loop.
9537
9538 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9539
9540         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9541         elmo-msgdb-overview-get-entity-by-number.
9542         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9543         throw.
9544
9545 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9546
9547         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9548         the local variable for a packed number self descriptively.
9549
9550 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9551
9552         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9553         * elmo-localdir.el (elmo-localdir-pack-number): Use
9554         `elmo-msgdb-overview-get-entity' instead of
9555         `elmo-msgdb-overview-get-entity-by-number'.
9556         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9557         (elmo-msgdb-search-overview-entity): Removed.
9558         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9559         by message-id or number.
9560         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9561         instead of `elmo-msgdb-overview-get-entity-by-number'.
9562
9563 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9564
9565         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9566         non-nil, use hash table for overview.
9567         (elmo-hash-maximum-size): New variable.
9568         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9569         (elmo-msgdb-make-overview-hashtb): New function.
9570         (elmo-msgdb-clear-overview-hashtb): New function.
9571         (elmo-clear-hash-val): New macro.
9572         All other related modules are changed.
9573
9574 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9575
9576         * elmo2.el (elmo-move-msgs): If there's other message with
9577         same message-id, don't use cache.
9578
9579 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9580
9581         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9582         number is already packed.
9583
9584 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9585
9586         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9587
9588 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9589
9590         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9591         All other related modules are changed.
9592
9593 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9594
9595         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9596         of refiling failure on Maildir.
9597
9598 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9599
9600         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9601         decoded mime-charset with cache.
9602         (elmo-msgdb-overview-entity-get-from): Ditto.
9603         (elmo-msgdb-overview-entity-get-subject): Ditto.
9604         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9605
9606 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9607
9608         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9609         (elmo-remove-passwd): Fill password with 0 before erase.
9610         * elmo-vars.el (elmo-passwd-life-time): New variable.
9611
9612 \f
9613 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9614
9615         * elmo-cache.el (elmo-buffer-cache-add):
9616         Set message cache buffer as unibyte.
9617
9618 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9619
9620         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9621         become nil.
9622
9623 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9624
9625         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9626         when display is finished.
9627         (elmo-nntp-msgdb-create): Ditto.
9628         (elmo-nntp-groups-read-response): Ditto.
9629         (elmo-nntp-retrieve-headers): Ditto.
9630         (elmo-nntp-msgdb-create-message): Ditto.
9631         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9632         (elmo-pop3-msgdb-create-message): Ditto.
9633
9634 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9635
9636         * elmo-maildir.el (elmo-maildir-msgdb-create):
9637         Use `elmo-msgdb-sort-by-date'.
9638
9639 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9640
9641         * elmo2.el (elmo-read-msg-no-cache):
9642         Eliminated arguments after `outbuf'.
9643         Don't use cache even if it exists.
9644         (elmo-read-msg): Don't pass arguments after `outbuf' to
9645         `elmo-read-msg-no-cache'.
9646
9647 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9648
9649         * elmo-archive.el (elmo-archive-list-folders):
9650         Use `file-name-directory' if base folder does not exist.
9651
9652 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9653
9654         * elmo-archive.el (elmo-archive-list-folders): Don't use
9655         `file-name-directory'.
9656
9657 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9658
9659         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9660         If `force' is non-nil, try flushing all operation queues.
9661
9662 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9663
9664         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9665         as-binary-process.
9666
9667 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9668
9669         * elmo-util.el (elmo-display-progress): Fixed.
9670
9671 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9672
9673         * elmo-util.el (elmo-display-progress): New function.
9674         All other related modules are changed.