* elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
[elisp/wanderlust.git] / elmo / ChangeLog
1 2010-08-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2
3         * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
4         Avoid `args-out-of-range 0, 1' error.
5
6 2010-08-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7
8         * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
9         (delete-backward-char X) that deletes region in Emacs 24.
10         See delete-active-region described in NEWS.
11         * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
12         * elmo-util.el (elmo-get-file-string): Ditto.
13         * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
14
15 2010-08-09  David Maus  <dmaus@ictsoc.de>
16
17         * elmo.el (elmo-folder-open-internal-p): New luna method.
18         (elmo-folder-move-messages): Open source folder only if necessary.
19         * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
20         * elmo-multi.el (elmo-folder-open-internal-p): Dto.
21         * elmo-map.el (elmo-folder-open-internal-p): Dto.
22         * elmo-filter.el (elmo-folder-open-internal-p): Dto.
23
24 2010-08-01  David Maus  <dmaus@ictsoc.de>
25
26         * elmo.el (elmo-folder-move-messages): Open source folder before
27         moving messages.
28
29 2010-04-15  David Maus  <dmaus@ictsoc.de>
30
31         * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
32         imap user name.
33
34 2010-04-14  David Maus  <dmaus@ictsoc.de>
35
36         * elmo-imap4.el (elmo-imap4-disabled-extension): New
37         variable. List of server extensions that are disabled on the
38         client side.
39         (elmo-imap4-session-capable-p): Honour list of disabled
40         extensions.
41
42 2010-03-17  David Maus  <dmaus@ictsoc.de>
43
44         * elmo-imap4.el (elmo-imap4-folder-list-flagged)
45         (elmo-imap4-search-internal-primitive): Pass filter type to imap
46         search when performing search for flagged messages.
47
48 2010-01-22  Vitaly Mayatskih  <v.mayatskih@gmail.com>
49
50         * modb-standard.el (modb-standard-save-entity): Use
51         `modb-standard-cleanup-stale-entities' to clean up stale entity
52         files in modb cache.
53         * elmo-imap4.el (elmo-network-authenticate-session): Ask for
54         capabilities after login.
55
56 2010-01-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
57
58         * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
59         indent (only cosmetic fix).
60
61 2010-01-15  Vitaly Mayatskih  <v.mayatskih@gmail.com>
62
63         * elmo-version.el (elmo-version): Up to 2.15.9.
64
65         * elmo-imap4.el (elmo-imap4-elist): New function
66         * elmo-imap4.el (elmo-imap4-parse-response): Added support for
67         ESEARCH feature (RFC4731).
68         * elmo-imap4.el (toplevel): Require time-stamp
69         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
70         elmo-imap4-read-response elmo-imap4-read-untagged
71         elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
72         logging format.
73         * elmo-imap4.el (elmo-folder-list-messages-plugged,
74         elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
75         for full uid range on folder entering, retrieve updates only for
76         newly appeared messages.
77         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
78         elmo-imap4-read-response, elmo-imap4-read-untagged,
79         elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
80         to format-time-string.
81         * elmo-vars.el (toplevel): New custom
82         `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
83         flag for some buggy servers.
84         * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
85
86 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
87
88         * acap.el (acap-parse-response): Fix comment-out style. Use three
89         semicolons, that should start at the left margin.
90         See. also (Info-goto-node "(elisp)Comment Tips").
91         * elmo.el (toplevel, elmo-message-match-condition)
92         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
93         Ditto.
94         * elmo-archive.el (elmo-archive-suffix-alist)
95         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
96         (elmo-archive-method-list)
97         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
98         Ditto.
99         * elmo-imap4.el (toplevel)
100         (elmo-imap4-send-command, elmo-imap4-check-validity)
101         (elmo-imap4-fetch-callback-1-subr)
102         (elmo-network-initialize-session, elmo-server-diff-async)
103         (elmo-imap4-folder-diff-plugged): Ditto
104         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
105         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
106         * elmo-net.el (elmo-network-close-session): Ditto.
107         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
108         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
109         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
110         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
111         (elmo-number-set-delete)
112         (elmo-cache-get-oldest-cache-file-entity): Ditto.
113
114 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
115
116         * elmo-version.el (elmo-version): Up to 2.15.8.
117
118         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
119         `with-current-buffer' instead of `save-excursion' (for suppress
120         compile warnings).
121
122         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
123         instead of `int-to-string'.
124         * elmo-archive.el (elmo-archive-message-fetch-internal)
125         (elmo-archive-folder-message-make-temp-files)
126         (elmo-archive-folder-append-buffer)
127         (elmo-folder-delete-messages-internal)
128         (elmo-archive-msgdb-create-entity)
129         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
130         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
131         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
132         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
133         * elmo-imap4.el (elmo-imap4-make-number-set-list)
134         (elmo-folder-list-subfolders): Ditto.
135         * elmo-localdir.el (elmo-message-file-name)
136         (elmo-folder-message-make-temp-files)
137         (elmo-localdir-msgdb-create-entity)
138         (elmo-folder-append-messages-*-localdir)
139         (elmo-folder-pack-numbers): Ditto.
140         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
141         * elmo-map.el (elmo-location-map-key): Ditto.
142         * elmo-nntp.el (elmo-nntp-folder-postfix)
143         (elmo-nntp-folder-list-subfolders)
144         (elmo-nntp-folder-msgdb-create): Ditto.
145
146         * elmo.el (elmo-crosspost-message-alist-save): Don't use
147         `function' for `lambda'.
148         * elmo-archive.el (elmo-archive-folder-list-subfolders)
149         (elmo-folder-append-messages-*-archive)
150         (elmo-folder-delete-messages-internal): Ditto.
151         * elmo-date.el (elmo-replace-in-string): Ditto.
152         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
153         (elmo-folder-list-flagged): Ditto.
154         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
155         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
156         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
157
158 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
159
160         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
161         `elmo-dop-spool-folder' was used before it was defined"; Use
162         `defun' instead.
163
164         * pldap.el (ldap/ldif-safe-string-p): macro to function.
165         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
166
167         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
168         `mapcar'; Suppress compile warning.
169         * elmo-imap4.el (elmo-network-initialize-session-buffer)
170         (elmo-imap4-search-internal-primitive): Ditto.
171         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
172         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
173
174         * elmo-imap4.el (elmo-imap4-parse-address-list)
175         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
176         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
177         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
178         `(string-to-char " ")' instead of `? ', `?\ '.
179
180 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
181
182         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
183         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
184         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
185         `function' for lambda.
186
187         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
188         `string-to-number' instead of `string-to-int'.
189
190         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
191         instead of `save-excursion' (for suppress compile warnings).
192         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
193         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
194         (elmo-nntp-post): Ditto.
195
196 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
197
198         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
199         Mule-UCS (to-utf-16).
200         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
201         Emacs 23.
202
203 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
204
205         * utf7.el (utf7-find-coding-system-without-bom): New Function.
206         (utf7-utf-16-coding-system): use no-BOM coding system.
207         (utf7-get-u16char-converter): remove workaround for BOM.
208
209 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
210
211         * elmo-util.el (elmo-union): New function, make a union of two lists.
212
213         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
214         mime-view when displaying malformed base64 attach.
215
216         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
217         (removed duplicated code)
218
219         * modb-standard.el (modb-standard-cleanup-stale-entities): New
220         function, Remove stale entities from elmo's cache.
221
222 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
223
224         * elmo-version.el (elmo-version): Up to 2.15.7.
225
226 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
227
228         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
229         default value to `--auto-update'.
230
231 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
232
233         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
234         Add `elmo-pop3-read-point' barrier.
235
236 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
237
238         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
239         goto the previous end-point insead of the head-point, and use
240         `search-forward' instead of `re-search-forward'.
241
242 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
243
244         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
245
246 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
247
248         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
249         case-insensitive fashion.
250
251 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
252
253         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
254
255 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
256
257         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
258         `eval-and-compile' for suppress compile warnings.
259
260         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
261         instead of `defun-maybe'
262
263         * elmo-util.el: Add (eval-when-compile (require 'static)).
264
265 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
266
267         * mmimap.el: Remove (require 'static).
268         * acap.el: Ditto.
269
270         * elmo-flag.el: Move ';;; Code:' comment.
271         * elmo-imap4.el: Ditto.
272         * elmo-net.el: Ditto.
273
274         * elmo-version.el (product-provide): Fix comment.
275
276 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
277
278         * slp.el: Add (eval-when-compile (require 'cl)).
279         * elmo-date.el: Ditto.
280         * elmo-pop3.el: Ditto.
281         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
282
283 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
284
285         * modb.el (elmo-msgdb-match-condition-primitive): Use
286         `string-to-number' instead of `string-to-int'.
287
288         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
289         (elmo-msgdb-message-match-condition)
290         (elmo-msgdb-create-message-entity-from-buffer): Use
291         `string-to-number' instead of `string-to-int'.
292
293         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
294         instead of `string-to-int'.
295
296         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
297         instead of `string-to-int'.
298
299         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
300         `string-to-number' instead of `string-to-int'.
301
302         * elmo-nntp.el (elmo-nntp-make-msglist)
303         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
304         (elmo-nntp-create-msgdb-from-overview-string)
305         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
306         (elmo-nntp-search-primitive): Use `string-to-number' instead of
307         `string-to-int'.
308
309         * elmo-net.el (elmo-net-folder-set-parameters): Use
310         `string-to-number' instead of `string-to-int'.
311
312         * elmo-localdir.el (elmo-localdir-list-subr): Use
313         `string-to-number' instead of `string-to-int'.
314
315         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
316         `string-to-number' instead of `string-to-int'.
317
318         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
319         instead of `string-to-int'.
320
321         * elmo-archive.el (elmo-archive-list-folder-subr): Use
322         `string-to-number' instead of `string-to-int'.
323
324 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
325
326         * elmo-util.el (elmo-get-passwd): Fix typo.
327
328         * elmo-nntp.el (elmo-nntp-get-server-command)
329         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
330         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
331         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
332         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
333
334         * elmo-imap4.el (elmo-imap4-debug)
335         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
336         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
337         (elmo-imap4-response-value, elmo-imap4-response-error-text)
338         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
339         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
340         (elmo-imap4-identical-system-p): New backquote style.
341
342 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
343
344         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
345         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
346         (elmo-dop-queue-arguments): Ditto.
347
348         * elmo-date.el (elmo-match-substring): New backquote style.
349         (elmo-match-string, elmo-match-buffer): Ditto.
350         (elmo-date-make-sortable-string): Ditto.
351
352         * elmo-archive.el (elmo-archive-get-method):New backquote style.
353         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
354
355         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
356         style.
357
358         * elmo-net.el (elmo-network-stream-type-spec-string): New
359         backquote style.
360         (elmo-network-stream-type-symbol): Ditto.
361         (elmo-network-stream-type-feature): Ditto.
362         (elmo-network-stream-type-function): Ditto.
363         (elmo-network-session-buffer): Ditto.
364
365         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
366         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
367         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
368         (elmo-bind-directory, elmo-set-work-buf): Ditto.
369
370         * elmo.el (elmo-folder-send): New backquote style.
371
372 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
373
374         * pldap.el (ldap-static-if): New backquote style.
375         (ldap/ldif-safe-string-p): Ditto.
376         (ldap/ldif-insert-field): Ditto.
377
378         * elmo-version.el (elmo-version): Up to 2.15.6.
379
380 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
381
382         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
383         messages with \Deleted flag.
384         (elmo-folder-delete-messages-plugged): Ask before sending expunge
385         command if there are messages with \Deleted flag.
386
387 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
388
389         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
390         http://seclists.org/bugtraq/2007/Apr/0018.html
391         (Suggested by Tatsuya Kinoshita)
392
393 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
394
395         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
396         with \Noselect attribute.
397
398 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
399
400         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
401         hierarchical folder structure with UW-imapd.
402
403 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
404
405         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
406         when the LOGINDISABLED capability is advertised.
407
408 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
409
410         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
411
412 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
413
414         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
415         `entity'.
416         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
417         if the message entity is exists.
418
419 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
420
421         * elmo-util.el (elmo-msgdb-insert-file-header): Call
422         `elmo-delete-cr-buffer'.
423
424         * elmo-localdir.el (elmo-message-fetch-internal): Use
425         `insert-file-contents-as-raw-text' instead of
426         `insert-file-contents-as-binary'.
427
428         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
429
430 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
431
432         * elmo-imap4.el (elmo-network-initialize-session): Check to
433         retrieve a whole greeting message.
434
435 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
436
437         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
438
439 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
440
441         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
442         (elmo-progress-notify): Use it instead of `plist-get'.
443
444 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
445
446         * elmo.el (elmo-generic-folder-append-messages): Remove unused
447         variable `table'.
448
449 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
450
451         * elmo-pipe.el (elmo-folder-set-plugged): Define.
452
453 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
454
455         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
456         (elmo-spam-list-spam-messages): Check it option.
457
458 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
459
460         * elmo-util.el (elmo-with-progress-display): Return the value
461         of the last form in `body'.
462
463 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
464
465         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
466         `elmo-progress-counter' as t when a query callback returns nil.
467         (elmo-progress-clear): New function.
468         (elmo-progress-done): Split into `elmo-progress-clear'.
469         (elmo-progress-notify): Update a total slot when it is nil.
470         (elmo-with-progress-display): Call `elmo-progress-clear' in
471         unwind-protect and move calling `elmo-progress-done' to outside.
472
473         * elmo-imap4.el (elmo-imap4-find-next-line): Call
474         `elmo-progress-notify' with :total parameter instead of
475         `elmo-progress-counter-set-total'.
476
477 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
478
479         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
480         Make it interactive.
481         (elmo-progress-start): Avoid updating `elmo-progress-counter'
482         when a query callback returns nil.  Return a progress counter
483         instead of t whenever a start callback was called.
484
485 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
486
487         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
488         (elmo-imap4-send-command): Use it.
489         (elmo-network-initialize-session): Ditto.
490         (elmo-network-setup-session): Ditto.
491         (elmo-folder-msgdb-create-plugged): Ditto.
492
493 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
494
495         * elmo-util.el (elmo-progress-done): Fix a miss refer to
496         `elmo-progress-counter'.
497
498 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
499
500         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
501         (elsp-bsfilter-list-spam-filter): New function.
502         (elsp-bsfilter-start-list-spam): Ditto.
503         (elsp-bsfilter-read-list-spam): Ditto.
504         (elmo-spam-list-spam-messages): Use async process to display
505         progress message by each message.
506
507 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
508
509         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
510         of flushing previously inserted message contents.
511
512         * elmo-imap4.el (elmo-folder-search): Fix return value.
513
514 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
515
516         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
517         of reporter is enable or not.
518
519 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
520
521         * elmo-util.el (elmo-list-bigger-diff): Abolish.
522         (elmo-display-progress): Ditto.
523         (elmo-progress-counter-alist): Ditto.
524         (elmo-progress-set): Ditto.
525         (elmo-progress-clear): Ditto.
526         (elmo-progress-counter-all-value): Rename to
527         `elmo-progress-counter-total'.
528         (elmo-progress-counter-format): Rename to
529         `elmo-progress-counter-action'.
530         (elmo-progress-counter): New internal variable.
531         (elmo-progress-callback-function): Ditto.
532         (elmo-progress-counter-label): New function.
533         (elmo-progress-counter-set-total): Ditto.
534         (elmo-progress-counter-set-action): Ditto.
535         (elmo-progress-call-callback): Ditto.
536         (elmo-progress-start): Ditto.
537         (elmo-progress-done): Ditto.
538         (elmo-progress-notify): Rewrite.
539         (elmo-with-progress-display): Remove first argument
540         `condition'. Add optional argument `var' in `spec'.
541
542         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
543         (elmo-display-retrieval-progress-threshold): Ditto.
544         (elmo-inhibit-display-retrieval-progress): Ditto.
545
546         * Replace all pair of `elmo-progress-set' and
547         `elmo-progress-clear' into `elmo-with-progress-display'.
548
549         * Replace to call `elmo-display-progress' into pair of
550         `elmo-progress-notify' and `elmo-with-progress-display'.
551
552         * elmo-version.el (elmo-version): Up to 2.15.5.
553
554 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
555
556         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
557         `cond'.
558
559 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
560
561         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
562         cleanup-forms [wl:14027].
563
564 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
565
566         * elmo-flag.el (elmo-global-flag-set-internal): Use
567         `elmo-copy-file' by priority when the message is a file.
568
569 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
570
571         * elmo.el: Fix typo: disptch -> dispatch.
572
573 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
574
575         * elmo.el (elmo-file-tag): New class.
576         (elmo-append-messages-disptch-table): New constant.
577         (elmo-folder-type-p): New function.
578         (elmo-folder-append-messages): Redefine as function.
579
580         * elmo-null.el (elmo-folder-append-messages): Renamed from
581         `elmo-folder-append-messages'.
582
583         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
584         (elmo-folder-append-messages-*-maildir): Renamed from
585         `elmo-folder-append-messages'.
586
587         * elmo-localdir.el (elmo-localdir-folder): Inherit
588         `elmo-file-tag'.
589         (elmo-folder-append-messages-*-localdir): Renamed from
590         `elmo-folder-append-messages'.
591
592         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
593         from `elmo-folder-append-messages'.
594
595         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
596         `elmo-folder-append-messages'.
597
598         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
599         function.
600         (elmo-folder-append-messages-*-filter): Ditto.
601
602         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
603
604         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
605         (elmo-folder-append-messages-*-pipe): Renamed from
606         `elmo-folder-append-messages'.
607
608         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
609
610         * elmo-file.el (elmo-file-folder): Ditto.
611
612         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
613
614         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
615         from `elmo-folder-append-messages'
616
617 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
618
619         * elmo-map.el (elmo-location-map-setup): Change an argument
620         `locations' to optional.
621         (elmo-location-map-clear): Abolish.
622         (elmo-folder-clear): Follow the API change.
623
624         * elmo-pop3.el (elmo-folder-clear): Ditto.
625
626         * elmo-pop3.el (toplevel): Require elmo-map.
627         (elmo-pop3-folder): Inherit elmo-location-map and abolish
628         location-alist slot (All other related portions are changed).
629         (elmo-pop3-folder-use-uidl): New function.
630         (elmo-folder-msgdb-create): Don't sort message entities.
631         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
632         (elmo-pop3-number-to-size): Convert return value to number.
633         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
634         working buffer.
635
636         * elmo-map.el: Use `location-map' as a variable name for instance
637         instead of `mapper'.
638         (elmo-location-map-setup): Return location alist.
639         (elmo-location-map-update): Ditto.
640
641 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
642
643         * elmo-map.el (elmo-location-map): New class; split location and
644         number mapping from elmo-map-folder (All other related portions
645         are changed).
646
647         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
648         change.
649
650         * elmo-version.el (elmo-version): Up to 2.15.4.
651
652 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
653
654         * elmo-vars.el (elmo-use-hardlink): New user option.
655
656         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
657         `elmo-use-hardlink'.
658
659         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
660         killed-list.
661         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
662         instead of `*-internal'. Use `elmo-with-progress-display'.
663
664 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
665
666         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
667         `elmo-spam-process-messages-as-mbox'.
668
669         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
670
671 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
672
673         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
674         argument BUFFER of `call-process'.
675
676 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
677
678         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
679         args.
680         (elsp-bsfilter-list-spam-files): Ditto.
681
682 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
683
684         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
685         (elmo-spam-bsfilter-max-messages-per-process): New use option.
686         (elmo-spam-bsfilter-debug): Fix a group.
687         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
688         `--homedir'.
689         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
690         (elsp-bsfilter-list-spam-files): New function.
691         (elmo-spam-list-spam-messages): Define.
692         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
693         (elmo-spam-bsfilter-register-messages): New function.
694         (elmo-spam-register-spam-messages): Define.
695         (elmo-spam-register-good-messages): Ditto.
696
697         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
698
699         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
700         `nconc' and `consp'.
701
702 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
703
704         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
705         hash table to test whether a location is exists.
706
707 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
708
709         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
710         even if some error occurred.
711
712         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
713         meaningless unwind-protect.
714
715         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
716         start-number correctly.
717         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
718         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
719
720 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
721
722         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
723         (elmo-folder-initialize): Use it.
724         (elmo-global-flag-replace-referrer): New function.
725
726         * elmo.el (toplevel): Added autoload setting for
727         `elmo-global-flag-replace-referrer'.
728         (elmo-folder-rename): Rewrite the last change use
729         `elmo-global-flag-replace-referrer'.
730
731         * elmo-pipe.el (elmo-folder-rename): Call
732         `elmo-global-flag-replace-referrer'.
733
734 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
735
736         * elmo.el (elmo-folder-rename): Set meta data for global flags
737         follow the rename.
738
739 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
740
741         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
742         as 'not-loaded.
743         (elmo-folder-close): Ditto.
744         (elmo-filter-folder-number-list-loaded-p): New function.
745         (elmo-filter-folder-number-list): Check whether loaded or not.
746         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
747         of `elmo-filter-folder-number-list-internal'.
748         (elmo-folder-delete-messages): Ditto.
749         (elmo-folder-length): Check whether number-list is loaded or not.
750
751 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
752
753         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
754         field `real field' into each element of list.
755         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
756         (elmo-msgdb-message-entity-field): Ditto.
757         (modb-entity-ml-info-real-fields): New function.
758
759         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
760
761         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
762         `elmo-msgdb-extra-fields'.
763
764 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
765
766         * elmo-util.el (elmo-passwd-alist-load): Move point to min
767         position before read.
768
769 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
770
771         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
772         (elmo-global-flags-initialize): Ditto.
773
774 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
775
776         * elmo-archive.el (toplevel): Don't require emu, std11
777         and elmo-localdir.
778
779         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
780         definition.
781
782 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
783
784         * elmo.el (elmo-folder-confirm-appends): Display folder name.
785
786 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
787
788         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
789         literals.
790
791 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
792
793         * elmo-maildir.el (elmo-maildir-list-location): Reduce
794         `elmo-get-last-modification-time' call.
795
796 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
797
798         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
799         expression.
800         (elmo-maildir-set-mark): Ditto.
801         (elmo-maildir-delete-mark): Ditto.
802
803 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
804
805         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
806         optional argument `separators'.
807
808 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
809
810         * elmo.el (cache-changed): Abolish.
811         (status-changed): New signal.
812         (elmo-message-killed-p): New generic function and define for
813         elmo-folder.
814         (elmo-folder-recover-messages): Ditto.
815         (elmo-message-set-cached): Emit signal `status-changed' instead of
816         `cache-changed'.
817         (elmo-message-status): New macro.
818         (elmo-message-status-folder): Ditto.
819         (elmo-message-status-number): Ditto.
820         (elmo-message-status-set-flags): Ditto.
821         (elmo-message-status-set-killed): Ditto.
822         (elmo-message-status-flags): New function.
823         (elmo-message-status-cached-p): Ditto.
824         (elmo-message-status-killed-p): Ditto.
825
826         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
827         `status-changed' instead of `cache-changed'.
828         (elmo-folder-recover-messages): Define.
829         (elmo-message-killed-p): Ditto.
830
831         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
832         `status-changed' instead of `cache-changed'.
833
834         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
835         (elmo-message-killed-p): Define.
836         (elmo-folder-recover-messages): Ditto.
837
838         * elmo-version.el (elmo-version): Up to 2.15.3.
839
840 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
841
842         * elmo-signal.el (elmo-signal-bindings): Use cons to append
843         element into list.
844         (elmo-define-signal-handler): Add docstring.
845         (elmo-define-signal-filter): Ditto.
846
847         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
848
849 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
850
851         * elmo-util.el (elmo-flatten): Don't use recursive call.
852
853         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
854         assignment.
855         (elmo-folder-message-make-temp-files): Use `number-to-string'
856         instead of `int-to-string'.
857
858 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
859
860         * elmo-search.el (elmo-folder-delete-messages): Define.
861
862 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
863
864         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
865         customization type.
866         (elmo-mailing-list-count-spec-list): Ditto.
867
868         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
869         for `list-id'.
870
871 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
872
873         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
874         handling.
875
876 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
877
878         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
879         (elmo-mailing-list-count-spec-list): Ditto.
880
881         * elmo-util.el (elmo-map-until-success): New function.
882         (elmo-string-match-substring): Ditto.
883         (elmo-find-list-match-value): Ditto.
884
885         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
886         Removed.
887         (modb-entity-extract-ml-info-from-subject): Ditto.
888         (modb-entity-extract-ml-info-from-return-path): Ditto.
889         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
890         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
891         (modb-entity-extract-ml-info-from-mailman): Ditto.
892         (modb-entity-extract-mailing-list-info-functions): Ditto.
893         (modb-entity-extract-mailing-list-info): Rewrite with
894         `elmo-find-list-match-value'.
895
896 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
897
898         * elmo-net.el (elmo-network-session-retry-count): New user option.
899         (elmo-network-session-buffer-name): New internal function.
900         (elmo-network-session-buffer-create): Ditto.
901         (elmo-network-open-session): Retry open network session
902         `elmo-network-session-retry-count' times.
903
904 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
905
906         * elmo-util.el (elmo-list-filter): Rewritten.
907
908 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
909
910         * elmo-util.el (elmo-string-member): Allow symbol element in list.
911
912 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
913
914         * elmo-search.el (elmo-make-search-engine): Use prefix
915         `elmo-search-' for require symbol instead of `else-'.
916         (elmo-search-engine-extprog): New class.
917         (elmo-search-engine-do-search): Remove nil from argument
918         list. Added argument pattern to evaluate element as function.
919         (elmo-search-engine-local-file): Derived from
920         `elmo-search-engine-extprog'.
921         (elmo-search-engine-create-message-entity): Check existance of file.
922         (elmo-search-engine-fetch-message): Ditto.
923         (elmo-search-namazu-index): Follow the API change.
924         (elmo-search-grep-target): Ditto.
925
926 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
927
928         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
929         characters of working buffer.
930
931         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
932         Does not bind `default-mime-charset'.
933         (elmo-msgdb-create-message-entity-from-buffer): Removed
934         unnecessary local bind.
935
936         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
937         function.
938         (modb-entity-extract-mailing-list-info-functions): Added it.
939
940 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
941
942         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
943         when number and message-id are non-nil.
944
945         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
946
947         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
948         conditional steatment.
949         (elmo-pop3-auth-apop): Likewise.
950         (elmo-network-authenticate-session): Likewise.
951
952 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
953
954         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
955         symbol `fill-column'.
956         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
957         decode field value.
958
959         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
960         (elmo-decoded-field-body): Ditto.
961
962 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
963
964         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
965         `tokens' to `params'.
966
967 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
968
969         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
970         working buffer.
971
972 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
973
974         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
975         decide index.
976
977 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
978
979         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
980         Set default value as nil.
981         (toplevel): Register search engines by
982         `elmo-search-register-engine' if there are not defined.
983
984         * elmo.el (autoload): Added autoload setting for
985         `elmo-search-register-engine'.
986
987 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
988
989         * elmo.el (toplevel): `[' is redefined as the prefix of the search
990         folder instead of nmz folder.
991         (elmo-nmz-default-index-path): Added obsolete variable setting.
992         (elmo-nmz-index-alias-alist): Ditto.
993         (elmo-nmz-use-drive-letter): Ditto.
994
995         * elmo-search.el (elmo-search-register-engine): New function.
996
997         * elmo-nmz.el: Removed.
998
999         * elmo-version.el (elmo-version): Up to 2.15.2.
1000
1001 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1002
1003         * elmo-search.el: New file.
1004
1005 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1006
1007         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1008         condition `larger' and `smaller'.
1009
1010 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1011
1012         * elmo-util.el (elmo-safe-filename): Rewrite to replace
1013         `"' (double quote) into "_Q_".
1014
1015 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1016
1017         * elmo-net.el (elmo-net-quote-chars): Abolish.
1018         (elmo-net-format-quoted): Ditto.
1019
1020 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1021
1022         * elmo.el (elmo-get-folder-function): New variable.
1023         (elmo-get-folder): New function.
1024         (elmo-folder-rename): Call `elmo-make-folder' with specified
1025         mime-charset.
1026
1027         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1028         `elmo-make-folder'.
1029         (elmo-split-subr): Ditto.
1030
1031         * elmo-multi.el (elmo-folder-initialize): Ditto.
1032
1033         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1034
1035         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1036         (elmo-flag-get-folder): Ditto.
1037
1038         * elmo-filter.el (elmo-folder-initialize): Ditto.
1039
1040         * elmo-access.el (elmo-folder-initialize): Ditto.
1041         (elmo-access-folder-update-children): Ditto.
1042
1043         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1044         (elmo-dop-queue-flush): Ditto.
1045         (elmo-folder-append-buffer-dop-delayed): Ditto.
1046         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1047         mime-charset.
1048
1049         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1050         instead of `elmo-make-folder'.
1051         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
1052         destination folder instead of send `elmo-folder-rename-internal'.
1053
1054         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1055         slot of subfolder instead of create it.
1056
1057 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1058
1059         * elmo-util.el (elmo-collect-separators): New function.
1060         (elmo-collect-separators-internal): Ditto.
1061         (elmo-collect-trail-separators): Ditto.
1062         (elmo-parse-separated-tokens): Ditto.
1063         (elmo-parse-separated-tokens-internal): Ditto.
1064         (elmo-quote-syntactical-element): Ditto.
1065
1066         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1067         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1068
1069         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1070         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1071         (elmo-nntp-folder-list-subfolders): Quote a user name.
1072
1073         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1074         (elmo-net-parse-network): Abolish.
1075         (elmo-net-folder-set-parameters): New function.
1076         (elmo-folder-initialize): Follow the above change.
1077
1078         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1079         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1080         (elmo-folder-list-subfolders): Use
1081         `elmo-quote-syntactical-element' instead of
1082         `elmo-net-format-quoted' to quote mailbox and user name.
1083
1084 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1085
1086         * elmo-util.el (elmo-token-valid-p): New function.
1087         (elmo-parse-token): Add optional argument `requirement'.
1088         (elmo-parse-prefixed-element): Likewise.
1089
1090         * elmo-net.el (elmo-net-quote-chars): Renamed from
1091         `elmo-net-quote-chars-regexp'.
1092         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1093
1094         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1095         by info document. Check token `uidl' is started an alphabet.
1096
1097         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1098         by info document. Check token `user' is started an alphabet.
1099
1100         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1101         (elmo-folder-list-subfolders): Quote user.
1102
1103 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1104
1105         * elmo-util.el (elmo-quoted-specials-list): New constant.
1106         (elmo-quoted-token): New function.
1107
1108         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1109         (elmo-net-format-quoted): New function.
1110         (elmo-net-parse-network): Ditto.
1111         (elmo-folder-initialize): Use it.
1112
1113         * elmo-nntp.el (elmo-folder-initialize): Use
1114         `elmo-net-parse-network' to parse network specification instead of
1115         `elmo-folder-initialize#elmo-net'.
1116
1117         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1118
1119         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1120         (elmo-folder-list-subfolders): Quote folder name by
1121         `elmo-net-format-quoted'.
1122
1123 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1124
1125         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1126         (elmo-folder-search): Use it.
1127
1128 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1129
1130         * modb-standard.el (modb-standard-loaded-message-id): Use
1131         `elmo-msgdb-message-entity-field'.
1132
1133 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1134
1135         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1136         without filename.
1137
1138 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1139
1140         * elmo-util.el (elmo-set-auto-coding): New function.
1141         (elmo-object-load): Use it.
1142
1143 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1144
1145         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1146         (elmo-time<): Define as alias of `elmo-time-less-p'.
1147         (elmo-time-to-datevec): New function.
1148
1149         * elmo-date.el (elmo-time-to-days): New function.
1150
1151 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1152
1153         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1154         is not cons cell.
1155
1156 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1157
1158         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1159         parenthesis.
1160
1161         * elmo-util.el (elmo-map-recursive): New function.
1162
1163         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1164         (modb-entity-encode-string-recursive): Ditto.
1165
1166 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1167
1168         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1169         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1170         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1171         compare sequence number when last modified time is nil.
1172
1173 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1174
1175         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1176
1177         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1178
1179 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1180
1181         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1182         modification time of the file.
1183
1184 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1185
1186         * elmo-util.el (elmo-condition-optimize): Discriminated against
1187         preserved fields, extra fields and the other weight.
1188
1189 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1190
1191         * modb-entity.el (initialize-instance): Define.
1192         (modb-entity-handler-mime-charset): New internal function.
1193         (modb-standard-entity-set-field): Use it.
1194         (elmo-msgdb-message-entity-field): Ditto.
1195         (elmo-msgdb-message-entity-field): Ditto.
1196
1197         * modb.el (elmo-msgdb-match-condition): Rewrite with
1198         `elmo-condition-match'.
1199         (elmo-msgdb-match-condition-primitive): New function.
1200
1201         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1202         arguments `flags' and `numbers'.
1203         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1204         `elmo-msgdb-message-match-condition').
1205         (modb-buffer-entity-handler): New class.
1206
1207         * elmo.el (elmo-folder-search): Optimize condition to use
1208         `elmo-condition-optimize'.
1209         (elmo-message-buffer-match-condition): New function.
1210         (elmo-message-match-condition): Use
1211         `elmo-message-buffer-match-condition' instead of
1212         `elmo-buffer-field-condition-match'.
1213
1214         * elmo-util.el (elmo-condition-match): New function.
1215         (elmo-condition-optimize): Ditto.
1216         (elmo-buffer-field-primitive-condition-match): Abolish.
1217         (elmo-buffer-field-condition-match): Ditto.
1218
1219         * elmo-archive.el (elmo-archive-field-condition-match): Use
1220         `elmo-message-buffer-match-condition' instead of
1221         `elmo-buffer-field-condition-match'.
1222
1223 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1224
1225         * elmo-flag.el (elmo-global-flags-initialize): Check the
1226         existence of the flag directory.
1227
1228 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1229
1230         * elmo-access.el (elmo-folder-initialize): Call
1231         `elmo-multi-connect-signals'.
1232
1233         * elmo-pipe.el (elmo-folder-close): Define.
1234
1235         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1236         children folders.
1237
1238         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1239         with target folder.
1240
1241         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1242         `number'.
1243
1244         * elmo-multi.el (elmo-message-entity): Don't use return value of
1245         `elmo-message-entity-set-number'.
1246
1247 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1248
1249         * modb.el (modb-generic): Added slot `mime-charset'.
1250
1251         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1252         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1253         and `modb-entity-handler-dump-parameters'.
1254         (modb-standard-default-entity-handler): Abolish.
1255         (elmo-msgdb-message-entity-handler): Save created handler by
1256         instance slot.
1257
1258         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1259         (modb-entity-handler-list-parameters): New method.
1260         (modb-entity-handler-equal-p): New function.
1261         (modb-entity-handler-dump-parameters): Ditto.
1262         (modb-entity-parse-address-string): Encode return value.
1263         (modb-entity-make-address-string): Decode argument value.
1264         (modb-entity-decode-string-recursive): New function.
1265         (modb-entity-encode-string-recursive): Ditto.
1266         (modb-standard-entity-normalizer): Set to encode field value.
1267         (modb-standard-entity-specializer): Follow the above change.
1268         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1269         mime-charset of handler.
1270         (elmo-msgdb-message-entity-field): Ditto.
1271         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1272         structure.
1273         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1274
1275         * elmo.el (elmo-folder): Added slot `mime-charset'.
1276         (elmo-make-folder): Added argument `mime-charset'.
1277         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1278         `mime-charest'.
1279
1280         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1281         (elmo-make-msgdb): Likewise.
1282
1283         * elmo-internal.el (elmo-internal-folder-initialize): Call
1284         `luna-make-entity' with :mime-charset parameter.
1285
1286 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1287
1288         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1289         encoded words in `from' and `subject' field.
1290
1291 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1292
1293         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1294         (elmo-msgdb-match-condition): Get handler from entity instead of
1295         msgdb.
1296
1297         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1298         (modb-standard-load-entity): Treat new file format.
1299         (modb-standard-save-entity-1): Save as new file format.
1300         (modb-standard-save-entity): Split messages into section here.
1301         (elmo-msgdb-message-field): Follow the API change.
1302         (modb-standard-default-entity-handler): New internal variable.
1303         (elmo-msgdb-message-entity-handler): Define.
1304
1305         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1306         to `elmo-vars.el'.
1307         (modb-entity-field-extractor-alist): New user option.
1308         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1309         added argument `type'.
1310         (elmo-msgdb-copy-message-entity): Add optional argument
1311         `make-handler'.
1312         (modb-set-field-converter): New function.
1313         (modb-convert-field-value): Ditto.
1314         (modb-entity-string-decoder): Ditto.
1315         (modb-entity-string-encoder): Ditto.
1316         (modb-entity-parse-date-string): Ditto.
1317         (modb-entity-make-date-string): Ditto.
1318         (modb-entity-mime-decoder): Ditto.
1319         (modb-entity-mime-encoder): Ditto.
1320         (modb-entity-address-list-decoder): Ditto.
1321         (modb-entity-address-list-encoder): Ditto.
1322         (modb-entity-parse-address-string): Ditto.
1323         (modb-entity-make-address-string): Ditto.
1324         (modb-entity-create-field-indices): Ditto.
1325         (modb-legacy-entity-field-slots): New constant.
1326         (modb-legacy-entity-field-indices): Ditto.
1327         (modb-legacy-entity-normalizer): New variable.
1328         (modb-legacy-entity-specializer): Ditto.
1329         (modb-legacy-entity-field-index): New macro.
1330         (modb-legacy-entity-set-field): New function.
1331         (modb-legacy-make-message-entity): Rewrite.
1332         (elmo-msgdb-create-message-entity-from-buffer): Use
1333         `elmo-msgdb-get-references-from-buffer'. Use
1334         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1335         Use `modb-legacy-entity-set-field' instead of
1336         `elmo-msgdb-message-entity-set-field'.
1337         (elmo-msgdb-message-entity-field): Rewrite.
1338         (elmo-msgdb-message-entity-set-field): Ditto.
1339         (elmo-msgdb-copy-message-entity): Make new entity by
1340         `make-handler' if it specified.
1341         (elmo-msgdb-message-match-condition): Define a method of
1342         `modb-entity-handler' and follow the API change.
1343         (modb-standard-entity-handler): New class.
1344         (modb-entity-extract-ml-info-from-x-sequence): New function.
1345         (modb-entity-extract-ml-info-from-subject): Ditto.
1346         (modb-entity-extract-ml-info-from-return-path): Ditto.
1347         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1348         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1349         (modb-entity-extract-mailing-list-info): Ditto.
1350         (modb-entity-extract-mailing-list-info-functions): New variable.
1351
1352         * elmo.el (elmo-message-field): Add optional argument `type'.
1353
1354         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1355         from `modb-entity.el'.
1356
1357         * elmo-util.el (elmo-object-load): Decode by coding-system from
1358         `set-auto-coding-function'.
1359         (elmo-object-save): Use `detect-mime-charset-region' and add
1360         coding cookie if encode.
1361         (elmo-msgdb-get-references-from-buffer): New function.
1362         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1363
1364         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1365
1366         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1367         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1368         instead of `shimbun-make-header' and follow the API change.
1369         (elmo-shimbun-update-overview): Follow the API change.
1370         (elmo-map-folder-list-message-locations): Ditto.
1371
1372         * elmo-pipe.el (elmo-message-field): Ditto.
1373
1374         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1375         Ditto.
1376
1377         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1378
1379         * elmo-multi.el (elmo-message-field): Ditto.
1380
1381         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1382         (elmo-msgdb-sort-by-date): Ditto.
1383         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1384         `elmo-message-entity-field'.
1385         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1386         change.
1387         (elmo-msgdb-overview-entity-get-from): Ditto.
1388         (elmo-msgdb-overview-entity-get-subject): Ditto.
1389         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1390         (elmo-msgdb-overview-entity-get-date): Ditto.
1391         (elmo-msgdb-overview-entity-get-to): Ditto.
1392         (elmo-msgdb-overview-entity-get-cc): Ditto.
1393
1394         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1395         (elmo-mime-collect-message/partial-pieces): Ditto.
1396
1397         * elmo-filter.el (elmo-message-field): Ditto.
1398
1399         * elmo-date.el (elmo-datevec-to-time): New function.
1400         (elmo-time-parse-date-string): Ditto.
1401         (elmo-time-make-date-string): Ditto.
1402         (elmo-time<): Ditto.
1403
1404         * elmo-version.el (elmo-version): Up to 2.15.1.
1405
1406 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1407
1408         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1409         member of elmo-local-flags.
1410
1411 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1412
1413         * elmo-version.el (elmo-version): Up to 2.15.0.
1414
1415 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1416
1417         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1418         `ignore-msgdb' is non-nil.
1419
1420 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1421
1422         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1423         (elmo-condition-in-msgdb-p): Ditto.
1424         (elmo-file-field-primitive-condition-match): Ditto.
1425         (elmo-file-field-condition-match): Ditto.
1426
1427         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1428
1429 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1430
1431         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1432         subdirectories here.
1433         (elmo-global-flags-initialize): New function.
1434
1435         * elmo.el (toplevel): Added autoload setting for
1436         `elmo-global-flags-initialize'.
1437
1438 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1439
1440         * elmo.el (message-number-changed): Define new signal.
1441         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1442         message-number-changed signal.
1443         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1444         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1445         Respect `elmo-pack-number-check-strict'.
1446
1447 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1448
1449         * elmo-signal.el (elmo-connect-signal): Document.
1450         (elmo-emit-signal): Ditto.
1451         (elmo-emit-signal): It should pass source argument to filter and
1452         handler, not slot-source.
1453
1454 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1455
1456         * modb.el (elmo-msgdb-update-entity): New API and define generic
1457         implement.
1458
1459         * modb-standard.el (elmo-msgdb-update-entity): Define.
1460
1461         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1462         API and define generic implement.
1463
1464         * elmo.el (update-overview): New singnal.
1465
1466         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1467         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1468         (elmo-message-entity-parent): Define.
1469
1470         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1471         `update-overview'.
1472
1473         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1474
1475         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1476
1477 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1478
1479         * elmo.el (elmo-folder-synchronize): Sort the return value of
1480         `elmo-list-diff'.
1481
1482         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1483         list.
1484
1485 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1486
1487         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1488         `default-enable-multibyte-characters'.
1489         (elmo-object-load): Use `with-temp-buffer' instead of
1490         `elmo-set-work-buf'.
1491         (elmo-object-save): Ditto.
1492         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1493         `elmo-set-work-buf'.
1494         (elmo-decoded-field-body): Ditto.
1495
1496         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1497
1498         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1499         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1500
1501         * elmo-version.el (elmo-version): Up to 2.13.3.
1502
1503 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1504
1505         * elmo-util.el (elmo-list-diff): Fix the last change.
1506         Reverse order of result lists.
1507
1508 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1509
1510         * modb-standard.el (elmo-msgdb-set-flag): Use
1511         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1512         (elmo-msgdb-unset-flag): Ditto.
1513
1514         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1515         `elmo-list-diff'.
1516
1517         * elmo-util.el (elmo-list-diff): Rewrite.
1518         (elmo-list-diff-nonsortable): New function.
1519
1520 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1521
1522         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1523         `elmo-multibypte-buffer-name'.  All referers are updated.
1524
1525 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1526
1527         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1528         (elmo-mime-entity-fragment-p): New function.
1529         (mime-elmo-buffer-entity): Added slot `reassembled'.
1530         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1531         (elmo-message-mime-entity-internal): New function (renamed from
1532         `elmo-message-mime-entity').
1533         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1534         (elmo-mime-make-reassembled-mime-entity): New function.
1535         (elmo-message-reassembled-mime-entity): Ditto.
1536         (elmo-mime-collect-message/partial-pieces): Ditto.
1537
1538 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1539
1540         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1541
1542         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1543         (elmo-with-enable-multibyte): New macro.
1544
1545         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1546
1547 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1548
1549         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1550         argument `number'.
1551         (elmo-filter-connect-signals): Follow the above change.
1552
1553 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1554
1555         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1556
1557         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1558         that only the first flag is used.
1559
1560 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1561
1562         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1563         if available.
1564
1565 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1566
1567         * elmo-signal.el: New file.
1568
1569         * elmo.el (toplevel): Require elmo-signal.
1570         (flag-changing, flag-changed, cache-changed): New signal.
1571         (elmo-folder): Remove slog `handlers'.
1572         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1573         `elmo-folder-notify-event'.
1574         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1575         (elmo-folder-unset-flag): Ditto.
1576         (elmo-event-handler): Abolish.
1577         (elmo-event-handler-flag-changed): Ditto.
1578         (elmo-event-handler-cache-changed): Ditto.
1579         (elmo-folder-add-handler): Ditto.
1580         (elmo-folder-remove-handler): Ditto.
1581         (elmo-folder-notify-event): Ditto.
1582
1583         * elmo-pipe.el (toplevel): Require elmo-signal.
1584         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1585         (elmo-pipe-connect-signals): New function.
1586         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1587         (elmo-folder-set-flag): Ditto.
1588         (elmo-folder-unset-flag): Ditto.
1589         (elmo-message-set-cached): Ditto.
1590
1591         * elmo-multi.el (toplevel): Require elmo-signal.
1592         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1593         (elmo-multi-connect-signals): New function.
1594         (elmo-multi-map-numbers): Ditto.
1595         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1596         (elmo-message-fetch): Ditto.
1597         (elmo-folder-set-flag): Ditto.
1598         (elmo-folder-unset-flag): Ditto.
1599
1600         * elmo-filter.el (toplevel): Require elmo-signal.
1601         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1602         (elmo-filter-connect-signals): New function.
1603         (elmo-filter-add-flag-count): Ditto.
1604         (elmo-message-fetch): Does not call
1605         `elmo-filter-folder-countup-message-flags' and
1606         `elmo-folder-notify-event'.
1607         (elmo-message-set-cached): Ditto.
1608         (elmo-folder-set-flag): Ditto.
1609         (elmo-folder-unset-flag): Ditto.
1610
1611         * elmo-version.el (elmo-version): Up to 2.13.2.
1612
1613 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1614
1615         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1616         `flags'.
1617
1618 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1619
1620         * elmo-filter.el (elmo-message-set-cached): Call
1621         `elmo-folder-notify-event' with event `cache-changed'.
1622
1623         * elmo-multi.el (elmo-message-set-cached): Ditto.
1624
1625         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1626
1627 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1628
1629         * elmo.el (elmo-folder-encache): Abolish.
1630
1631 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1632
1633         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1634         (elmo-folder-next-message-number-dop): Return appropriate negative
1635         integer.
1636
1637 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1638
1639         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1640         clearing pending operations.
1641         (elmo-folder-next-message-number-dop): Return appropriate negative
1642         integer.
1643
1644 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1645
1646         * elmo.el (toplevel): Added autoload setting for `md5'.
1647         (elmo-msgdb-path-encode-threshold): New user option.
1648         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1649         longer than `elmo-msgdb-path-encode-threshold'.
1650
1651         * elmo-flag.el (elmo-global-mark-migrate): Use
1652         `elmo-folder-expand-msgdb-path' instead of
1653         `elmo-folder-msgdb-path'.
1654
1655 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1656
1657         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1658         element of the difference is nil.
1659
1660 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1661
1662         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1663         to the check logic of file systems which are weak in colon character.
1664
1665 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1666
1667         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1668
1669 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1670
1671         * elmo-maildir.el (elmo-maildir-move-file): New function.
1672         (elmo-folder-append-buffer): Use it.
1673         (elmo-folder-append-messages): Ditto.
1674         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1675
1676         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1677         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1678
1679         * elmo-maildir.el (elmo-maildir-separator): New user option.
1680         (elmo-maildir-adjust-separator): New macro.
1681         (elmo-maildir-list-location): Use it.
1682         (elmo-maildir-update-current): Ditto.
1683         (elmo-maildir-set-mark): Ditto.
1684         (elmo-maildir-delete-mark): Ditto.
1685         (These changes are based on Hiroya Murata's patch [wl: 13437])
1686
1687 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1688
1689         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1690
1691 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1692
1693         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1694         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1695         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1696
1697 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1698
1699         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1700         Use `with-temp-buffer'.
1701
1702 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1703
1704         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1705
1706         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1707         `wl-read-search-condition').
1708         (elmo-read-search-condition-internal): Likewise.
1709
1710         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1711         (elmo-flag-valid-p): New function.
1712         (elmo-folder-initialize): Check flag name is valid.
1713
1714 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1715
1716         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1717         delimiter to obtain root mailbox itself.
1718
1719 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1720
1721         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1722         type mismatch.
1723
1724 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1725
1726         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1727         as t.
1728
1729 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1730
1731         * elmo-shimbun.el (toplevel): Require cl at compile.
1732
1733         * elmo-nntp.el (toplevel): Ditto.
1734
1735         * elmo-nmz.el (toplevel): Ditto.
1736
1737         * elmo-multi.el (toplevel): Ditto.
1738
1739         * elmo-file.el (toplevel): Ditto.
1740
1741         * elmo-dop.el (toplevel): Ditto.
1742
1743         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1744
1745 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1746
1747         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1748         as nil.
1749
1750         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1751         size of elmo-message-fetch-internal is 0 byte.
1752
1753 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1754
1755         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1756
1757 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1758
1759         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1760         always plugged.
1761
1762 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1763
1764         * elmo-maildir.el (elmo-map-message-fetch): Call
1765         `elmo-map-folder-set-flag'.
1766
1767         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1768         (elmo-message-fetch): Merge from
1769         `elmo-message-fetch-with-cache-process'.
1770
1771         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1772         (elmo-message-fetch): Define.
1773
1774         * elmo-nntp.el (elmo-message-fetch): Renamed from
1775         `elmo-message-fetch-with-cache-process'.
1776
1777         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1778         (elmo-message-fetch): Define.
1779
1780         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1781         search-key.
1782
1783         * elmo-shimbun.el (shimbun-mua-search-id): Use
1784         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1785         (elmo-shimbun-folder-shimbun-header): Ditto.
1786         (elmo-shimbun-get-headers): Ditto.
1787         (elmo-shimbun-update-overview): Ditto.
1788
1789         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1790
1791         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1792         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1793
1794 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1795
1796         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1797         message is cached.
1798         (elmo-message-fetch-string): Fixed argument.
1799
1800 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1801
1802         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1803         exchange order of arguments `section' and `unread'.
1804         (elmo-message-encache): Follow the API change.
1805         (elmo-message-match-condition): Ditto.
1806         (elmo-generic-folder-append-messages): Ditto.
1807         (elmo-message-fetch-string): New function.
1808
1809         * elmo-split.el (elmo-split-subr): Ditto.
1810
1811         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1812
1813         * elmo-pipe.el (elmo-message-fetch): Ditto.
1814
1815         * elmo-multi.el (elmo-message-fetch): Ditto.
1816
1817         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1818
1819         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1820
1821         * elmo-filter.el (elmo-message-fetch): Ditto.
1822
1823         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1824
1825         * elmo-imap4.el (mime-imap-location-section-body): Use
1826         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1827         follow the API change.
1828
1829 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1830
1831         * elmo-access.el: New file.
1832
1833         * elmo-null.el: Ditto.
1834
1835         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1836
1837 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1838
1839         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1840         (elmo-network-session): New attribute `last-accessed'.
1841         (elmo-network-get-session): Discard network cache if elapsed time
1842         since last-accessed is larger than elmo-network-session-idle-timeout.
1843
1844 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1845
1846         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1847         and added `number', `require-entireness'.
1848         (elmo-find-fetch-strategy): Rewrite.
1849         (elmo-message-fetch): Unset `unread' flag when argument unread is
1850         non-nil.
1851
1852         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1853
1854         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1855         (elmo-message-fetch): Notify event `flag-changed'.
1856
1857         * elmo-pipe.el: Likewise.
1858
1859         * elmo-mime.el (elmo-mime-entity): New class.
1860         (elmo-mime-entity-display-p): New generic function.
1861         (elmo-mime-entity-display): Ditto.
1862         (elmo-mime-entity-display-as-is): Ditto.
1863         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1864         elmo-mime-entity.
1865         (elmo-make-mime-message-location): Removed.
1866         (elmo-mime-message-display): Ditto.
1867         (elmo-mime-display-as-is): Ditto.
1868         (elmo-message-mime-entity): New function.
1869
1870         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1871
1872         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1873         change.
1874         (elmo-message-fetch): Re-count flagged message number and notify
1875         event `flag-changed'.
1876
1877         * elmo-version.el (elmo-version): Up to 2.13.1.
1878
1879 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1880
1881         * elmo-filter.el (elmo-message-field): Define.
1882         (elmo-message-set-field): Ditto.
1883
1884 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1885
1886         * elmo.el (elmo-message-set-cached): Call
1887         `elmo-folder-notify-event' with cache-changed.
1888         (elmo-event-handler-cache-changed): New generic function.
1889
1890 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1891
1892         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1893         instead of elmo-add-name-to-file.
1894         (elmo-folder-append-messages): Ditto.
1895
1896 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1897
1898         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1899
1900 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1901
1902         * elmo-version.el (elmo-version): Up to 2.13.0.
1903
1904         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1905         `auto'.
1906
1907         * modb-standard.el (modb-standard-economize-entity-size): Changed
1908         default value to `t'.
1909
1910         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1911         `standard'.
1912
1913         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1914         after parsing greeting string.
1915
1916 2004-11-23  Daishi Kato <daishi@axlight.com>
1917
1918         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1919         New user option.
1920         (elmo-spam-spamoracle-call): Use it.
1921
1922 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1923
1924         * elmo.el (elmo-message-accessible-p): Message in dop spool
1925         is accessible.
1926
1927 2004-11-23  Daishi Kato <daishi@axlight.com>
1928
1929         * elsp-spamoracle.el: New file.
1930
1931 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1932
1933         * elmo.el (elmo-message-flags-for-append): New function.
1934         (elmo-generic-folder-append-messages): Use it.
1935
1936         * elmo-split.el (elmo-split-subr): Ditto.
1937
1938         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1939         `flags' and use elmo-folder-append-buffer instead of
1940         write-region-as-binary.
1941         (elmo-dop-filter-pending-messages): New function.
1942         (elmo-folder-append-buffer-dop): Call
1943         elmo-dop-spool-folder-append-buffer with `flag'.
1944         (elmo-folder-set-flag-dop): Filter messages by
1945         elmo-dop-filter-pending-messages.
1946         (elmo-folder-unset-flag-dop): Ditto.
1947         (elmo-folder-append-buffer-dop-delayed): Use
1948         elmo-message-flags-for-append to get flags of the message and
1949         simplify.
1950
1951 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1952
1953         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1954
1955 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1956
1957         * elmo.el (elmo-folder): Added handlers slot.
1958         (elmo-event-handler): New class.
1959         (elmo-event-handler-flag-changed): New API.
1960         (elmo-folder-add-handler): New function.
1961         (elmo-folder-remove-handler): Ditto.
1962         (elmo-folder-notify-event): Ditto.
1963         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1964         `flag-changed'.
1965         (elmo-folder-unset-flag): Ditto.
1966
1967         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1968         (elmo-folder-unset-flag): Ditto.
1969
1970         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1971         (elmo-folder-unset-flag): Ditto.
1972
1973         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1974         (elmo-folder-unset-flag): Ditto.
1975
1976         * elmo-version.el (elmo-version): Up to 2.11.33.
1977
1978 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1979
1980         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1981
1982 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1983
1984         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1985
1986         * elmo-flag.el (elmo-folder-unset-flag): Define.
1987         (elmo-global-flag-detach): Do process when the flag is not target
1988         flag.
1989
1990 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1991
1992         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1993         variable.
1994         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1995
1996 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1997
1998         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1999         function.
2000         (elmo-folder-delete-messages): Detach messages before delete
2001         messages from target folder.
2002         (elmo-folder-detach-messages): Set updated number-list to slot.
2003
2004 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2005
2006         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2007
2008 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2009
2010         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2011
2012 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2013
2014         * elmo.el (elmo-folder-delete-messages-internal): New API (for
2015         internal use only).
2016         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2017         not modified.
2018         (elmo-folder-delete-messages): Define.
2019         (elmo-folder-move-messages): Don't call
2020         `elmo-folder-detach-messages'.
2021         (elmo-folder-synchronize): Rewrite.
2022         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2023
2024         * elmo-util.el (elmo-last): New function.
2025         (elmo-set-list): Ditto.
2026         (elmo-number-set-delete-list): Ditto.
2027         (elmo-number-set-delete): Ditto.
2028
2029         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2030
2031         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2032         `elmo-folder-delete-messages' and don't delete location map.
2033         (elmo-folder-detach-messages): Define.
2034
2035         * elmo-imap4.el (elmo-folder-delete): Use
2036         `elmo-folder-delete-messages-internal' instead of
2037         `elmo-folder-delete-messages'.
2038
2039         * elmo-filter.el (elmo-folder-delete-messages): Call
2040         `elmo-folder-detach-messages'.
2041         (elmo-folder-detach-messages): Don't call
2042         `elmo-folder-detach-messages' for target folder.
2043
2044         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2045         message deletion is succeeded.
2046
2047         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2048
2049         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2050         from `elmo-folder-delete-messages'.
2051
2052         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2053
2054         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2055
2056         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2057
2058         * elmo-version.el (elmo-version): Up to 2.11.32.
2059
2060 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2061
2062         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2063         (elmo-global-flag-list): Added obsolete variable setting.
2064
2065         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2066
2067         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2068         (elmo-mime-insert-header-from-buffer): Don't decode header content when
2069         `elmo-mime-display-header-analysis' is nil.
2070
2071         * elmo-flag.el (elmo-global-flags): Renamed from
2072         `elmo-global-flag-list' (All other related portions are changed).
2073         (elmo-local-flags): New variable.
2074         (elmo-local-flag-p): New function.
2075         (elmo-global-flag-set-internal): Cause an error when flag is not
2076         global.
2077
2078 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2079
2080         * elmo-util.el (elmo-concat-path): Treat empty path.
2081
2082 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2083
2084         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2085         field-or-fields).
2086         (elmo-split-address-match): Ditto.
2087         (elmo-split-equal): Ditto.
2088         (elmo-split-match): Ditto.
2089
2090 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2091
2092         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2093         (elmo-generic-folder-append-messages): If src message exists but
2094         has no flag, pass (read) for the FLAG argument of
2095         `elmo-folder-append-buffer'. Otherwise, pass nil.
2096
2097         * elmo-split.el (elmo-split-subr): Likewise.
2098
2099         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2100
2101         * elmo-multi.el (elmo-message-flags): Ditto.
2102
2103         * elmo-filter.el (elmo-message-flags): Ditto.
2104
2105         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2106         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2107         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2108         
2109 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2110
2111         * elmo-split.el (elmo-split-rule): Update comment.
2112         (elmo-split-address-equal): Allow 2nd argument to be a list.
2113         (elmo-split-address-match): Ditto.
2114         (elmo-split-equal): Ditto.
2115         (elmo-split-match): Ditto.
2116
2117 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2118
2119         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2120         (elmo-folder-append-msgdb): Don't treat `read'.
2121         (elmo-message-flags): Don't return `read'.
2122
2123         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2124         (elmo-folder-unset-read-delayed): Ditto.
2125
2126         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2127
2128 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2129
2130         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2131         deletion.
2132
2133 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2134
2135         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2136         header.
2137
2138 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2139
2140         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2141         here.
2142         (elmo-msgdb-save): Bind inhibit-quit.
2143         (modb-standard-message-entity): Ditto.
2144
2145 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2146
2147         * elmo-database.el: No need to require elmo-msgdb.
2148
2149 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2150
2151         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2152         instead of `elmo-list-subdirectories'.
2153
2154 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2155
2156         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2157         group entry.
2158         (elmo-folder-exists-p): "[" is empty.
2159         (elmo-folder-list-subfolders): Define.
2160         (elmo-folder-have-subfolder-p): Ditto.
2161
2162 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2163
2164         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2165
2166 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2167
2168         * elmo-filter.el (elmo-folder-local-p): Define.
2169
2170 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2171
2172         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2173         when entity is garbaged.
2174         (modb-standard-save-entity-1): Don't modify the original entity.
2175
2176 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2177
2178         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2179
2180 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2181
2182         * elmo.el (elmo-strict-folder-diff): Use
2183         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2184
2185 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2186
2187         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2188         (elmo-msgdb-message-number): Ditto.
2189         (elmo-msgdb-message-field): Ditto.
2190
2191         * modb-standard.el (modb-standard-economize-entity-size): New user
2192         option.
2193         (modb-standard-loaded-message-id): New inline function.
2194         (modb-standard-load-entity): Use it.
2195         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2196         throw message-id string away.
2197         (elmo-msgdb-flag-available-p): Define.
2198         (elmo-msgdb-message-number): Ditto.
2199         (elmo-msgdb-message-field): Ditto.
2200
2201         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2202         (suppoted -> supported).
2203         (modb-legacy-supported-flag-p): Ditto.
2204         (elmo-msgdb-set-flag): Ditto.
2205         (elmo-msgdb-unset-flag): Ditto.
2206         (elmo-msgdb-flag-available-p): Define.
2207
2208         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2209         is `t', treat it as legacy entity.
2210         
2211         * elmo.el (elmo-message-flag-available-p): New generic function.
2212         (elmo-message-number): Ditto.
2213         (elmo-message-field): Use `elmo-msgdb-message-field'.
2214
2215         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2216
2217         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2218         (elmo-message-number): Ditto.
2219
2220         * elmo-multi.el (elmo-message-number): Define.
2221         (elmo-message-flag-available-p): Ditto.
2222
2223         * elmo-filter.el (elmo-message-flag-available-p): Define.
2224         (elmo-message-number): Ditto.
2225
2226         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2227         (elmo-folder-initialize): Load `max-number'.
2228         (elmo-folder-commit): Save it.
2229         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2230         (elmo-global-flag-set-internal): Set up max-number slot.
2231
2232 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2233
2234         * elmo-version.el (elmo-version): Up to 2.11.31.
2235
2236 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2237
2238         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2239         unibyte string of the current buffer for the argument of `md5'
2240         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2241
2242 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2243
2244         * modb-legacy.el (modb-legacy-flag-list): New constant.
2245         (modb-legacy-suppoted-flag-p): New internal function.
2246         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2247         (elmo-msgdb-unset-flag): Ditto.
2248
2249 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2250
2251         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2252
2253         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2254         from msgdb.
2255
2256 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2257
2258         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2259         (follow the API change).
2260
2261         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2262
2263 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2264
2265         * modb-standard.el (modb-standard-digest-flags): Abolish.
2266         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2267
2268         * elmo-vars.el (elmo-digest-flags): New variable.
2269         (elmo-preserved-flags): Moved from elmo-flag.el.
2270
2271         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2272         (elmo-imap4-flag-to-imap-criteria): Ditto.
2273         (elmo-imap4-folder-list-flagged): Use it.
2274
2275         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2276
2277         * elmo.el (elmo-folder-count-flags): Changed return value.
2278
2279         * elmo-flag.el (elmo-preserved-flags): New variable.
2280         (elmo-get-global-flags): Use it.
2281
2282         * modb-standard.el (modb-standard-digest-flags): New variable.
2283         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2284         Changed behavior of `any'.
2285
2286         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2287         which are defined the Internet draft
2288         (draft-melnikov-imap-keywords-03.txt).
2289         (elmo-imap4-flags-to-imap): New function.
2290         (elmo-folder-append-buffer): Use it.
2291
2292         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2293         in the docstring.
2294
2295         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2296         avoid the bug of Emacs 21.3.
2297
2298 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2299
2300         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2301         function find-coding-system does not exist.
2302
2303 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2304
2305         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2306         parsing.
2307
2308 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2309
2310         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2311         response codes.
2312
2313 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2314
2315         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2316         (elmo-network-close-session): Follow the changes in
2317         `elmo-pop3-read-response'.
2318         (elmo-pop3-auth-user): Ditto.
2319         (elmo-pop3-auth-apop): Ditto.
2320         (elmo-network-initialize-session): Ditto.
2321         (elmo-network-authenticate-session): Ditto.
2322         (elmo-network-setup-session): Ditto.
2323         (elmo-folder-status): Ditto.
2324         (elmo-message-fetch-plugged): Ditto.
2325         (elmo-pop3-delete-msg): Ditto.
2326
2327 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2328
2329         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2330         on failure.
2331
2332 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2333
2334         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2335         style.
2336         (elmo-bind-directory): Ditto.
2337
2338 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2339
2340         * elmo.el (elmo-folder-append-messages): Note on return value.
2341         * elmo-archive.el (elmo-folder-append-messages): Don't return
2342         message numbers which could not be appended.
2343
2344 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2345
2346         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2347
2348 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2349
2350         * elmo-version.el (elmo-version): Up to 2.11.30.
2351
2352 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2353
2354         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2355         `mask'.
2356
2357         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2358
2359         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2360         (elmo-multi-split-numbers): Add elmo-folder object into each
2361         element of return value at first.
2362         (elmo-folder-delete-messages): Follow the above change.
2363         (elmo-folder-detach-messages): Ditto.
2364
2365         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2366         number which is synchronized in target folder.
2367
2368 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2369
2370         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2371         Change default value to symbol `all'.
2372         (elmo-map-message-fetch): Change condition to update overview
2373         follow the above.
2374
2375 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2376
2377         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2378         behavior to update overview.
2379         (elmo-shimbun-update-overview-folder-list): Note it.
2380
2381 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2382
2383         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2384         recursive call.
2385
2386 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2387
2388         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2389         buffer-disable-undo, it is unnecessary.
2390         (elmo-spam-register-good-messages): Ditto.
2391
2392         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2393         Ditto.
2394
2395         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2396
2397 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2398
2399         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2400         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2401         elmo-set-buffer-multibyte.
2402         (elmo-object-load): Ditto.
2403         (elmo-save-buffer): Ditto.
2404         (elmo-delete-char): Ditto.
2405         (elmo-file-field-primitive-condition-match): Ditto.
2406         (elmo-mime-string): Ditto.
2407
2408         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2409         (elmo-archive-field-condition-match): Ditto.
2410
2411         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2412
2413         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2414
2415         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2416         (elmo-nntp-msgdb-create-message): Ditto.
2417
2418         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2419
2420         * elmo.el (elmo-message-match-condition): Ditto.
2421         (elmo-message-match-condition): Ditto.
2422
2423         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2424         Ditto.
2425
2426         * elmo-version.el (elmo-version): Up to 2.11.29.
2427
2428         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2429         (elsp-header): New backend.
2430
2431         * elmo-util.el (elmo-decoded-field-body): New function.
2432
2433 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2434
2435         * elmo-version.el (elmo-version): Up to 2.11.28.
2436
2437 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2438
2439         * elmo-filter.el: Rewrite.
2440
2441         * elmo-version.el (elmo-version): Up to 2.11.27.
2442
2443 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2444
2445         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2446         msgdb path for the localdir folder with absolute path.
2447
2448         * utf7.el: Synch up with latest gnus/utf7.el;
2449         Modified for latest Emacs.
2450
2451 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2452
2453         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2454         shimbun backend couldn't open.
2455
2456 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2457
2458         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2459         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2460         when a destination folder is a filter folder.
2461
2462 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2463
2464         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2465         (elmo-generic-folder-append-messages): Call elmo-message-flags
2466         with argument `msgid'.
2467
2468         * elmo-split.el (elmo-split-subr): Ditto.
2469
2470         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2471
2472         * elmo-multi.el (elmo-message-flags): Ditto.
2473
2474 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2475
2476         * elmo.el (elmo-folder): Add new slot `flag-table'.
2477         (elmo-folder-flag-table): New API.
2478         (elmo-folder-close-flag-table): Ditto.
2479         (elmo-folder-preserve-flags): New function.
2480         (elmo-generic-folder-append-messages): Use
2481         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2482         Flag of a non-registered message, it sets to nil.
2483         Does not set flag to flag-table.
2484
2485         * elmo-maildir.el (elmo-folder-append-buffer): Use
2486         `elmo-folder-preserve-flags'.
2487         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2488         `elmo-folder-close-flag-table'.
2489
2490         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2491         (elmo-archive-folder-append-buffer): Use
2492         `elmo-folder-preserve-flags'.
2493
2494         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2495
2496         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2497
2498         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2499         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2500         `elmo-folder-close-flag-table'.
2501
2502         * elmo-version.el (elmo-version): Up to 2.11.26.
2503
2504 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2505
2506         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2507
2508         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2509         md5's 4th and 5th argument (non-existent in flim one).
2510
2511 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2512
2513         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2514         message, It sets to nil.
2515
2516 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2517
2518         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2519         list is non-nil.
2520
2521 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2522
2523         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2524
2525         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2526
2527         * elmo-util.el (elmo-uniq-sorted-list): New function.
2528         (elmo-make-number-list): Ditto.
2529         (elmo-number-set-to-number-list): Use elmo-make-number-list
2530         and don't use nreverse.
2531
2532 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2533
2534         * elmo-version.el (elmo-version): Up to 2.11.25.
2535
2536 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2537
2538         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2539         field not exists in message, Use md5 message digest of header.
2540
2541 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2542
2543         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2544         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2545         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2546         * elmo-split.el (elmo-split-subr): Check return value of
2547         elmo-folder-append-buffer.
2548
2549         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2550         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2551
2552         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2553         message-id.
2554
2555 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2556
2557         * elmo-split.el (elmo-split-subr): Append message with flag.
2558
2559         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2560         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2561         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2562
2563 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2564
2565         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2566         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2567         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2568
2569 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2570
2571         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2572         with a function call of `process-buffer'.  All callers are updated.
2573         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2574         Remove redundant `set-buffer' in a while loop.
2575
2576 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2577
2578         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2579         calls.
2580
2581 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2582
2583         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2584         elsp-spamfilter-register-buffer-internal with current buffer.
2585         (elmo-spam-register-spam-buffer): Ditto.
2586         (elmo-spam-register-good-buffer): Ditto.
2587
2588 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2589
2590         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2591         if it is not contained in the response(A workaround for courier-imap).
2592
2593 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2594
2595         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2596         parenthesis.
2597
2598 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2599
2600         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2601         range.
2602
2603 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2604
2605         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2606         of nconc.
2607
2608         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2609         argument handler.
2610         (elmo-msgdb-message-match-condition): Follow the change above.
2611
2612 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2613
2614         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2615         folder name.
2616
2617 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2618
2619         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2620
2621 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2622
2623         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2624
2625 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2626
2627         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2628         not found.
2629
2630 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2631
2632         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2633         value.
2634         (elmo-file-command-argument): Undo last change for cygwin.
2635         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2636         Don't return nil.
2637         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2638
2639 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2640
2641         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2642         value returned from elmo-file-find is nil.
2643
2644 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2645
2646         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2647         to elmo-vars.el.
2648
2649         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2650         instead of insert-file-contents-as-binary.
2651         (elmo-message-set-field): New generic function.
2652
2653         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2654         behavior change on `split-string'.
2655
2656         * elmo-file.el (elmo-file-find): New function.
2657         (elmo-file-command): New user option.
2658         (elmo-file-command-argument): Ditto.
2659         (elmo-file-fetch-max-size): Ditto.
2660         (elmo-file-detect-format): New function.
2661         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2662         Use elmo-file-detect-format.
2663         (elmo-map-folder-list-message-locations): Don't treat directories.
2664
2665 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2666
2667         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2668         (elmo-passwd-alist-clear): Shred password before clear.
2669         (elmo-remove-passwd): Remove all mached pair.
2670
2671 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2672
2673         * elmo.el (elmo-folder-synchronize): Fix description of the return
2674         value.
2675
2676 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2677
2678         * elmo.el (elmo-message-fetch-bodystructure): New method.
2679         (elmo-message-fetch-bodystructure): Define default.
2680
2681         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2682         elmo-message-fetch-bodystructure.
2683         (elmo-message-fetch-bodystructure): Define.
2684
2685         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2686
2687 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2688
2689         * elmo-filter.el (elmo-message-folder): Define.
2690
2691 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2692
2693         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2694         elmo-delete-cr-buffer.
2695
2696         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2697
2698         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2699
2700         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2701
2702         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2703         type seems to be a text.
2704
2705 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2706
2707         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2708         (elmo-spam-register-good-buffer): Ditto.
2709         (elmo-spam-spamassassin-register-messages): Ditto.
2710
2711         * elmo-util.el (elmo-string-member-ignore-case): Define with
2712         static-cond.
2713
2714 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2715
2716         * elmo.el (elmo-folder-type): Undo last change.
2717
2718         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2719
2720         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2721         warnings.
2722
2723         * elmo-file.el: New file.
2724         
2725         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2726
2727         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2728         variable.
2729         (elmo-spam-spamassassin-register-messages): New inline function.
2730         (elmo-spam-register-spam-messages): Define.
2731         (elmo-spam-register-good-messages): Ditto.
2732
2733         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2734         Fixed typo.
2735
2736         * elmo.el (toplevel): Added autoload setting for
2737         `elmo-get-global-flags'.
2738         (elmo-message-has-global-flag-p): New function.
2739         (elmo-message-set-global-flags): Ditto.
2740         (elmo-folder-type): Improvement for name: format.
2741
2742         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2743         availability of keyword flags.
2744         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2745         (elmo-folder-list-flagged-plugged): Renamed from
2746         elmo-folder-list-flagged-unplugged.
2747         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2748         accept any flag as keyword flag.
2749         (elmo-folder-set-flag-plugged): Accept keyword flags.
2750         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2751
2752         * elmo-flag.el (elmo-get-global-flags): New function.
2753
2754         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2755         folders.
2756
2757         * elmo-version.el (elmo-version): Up to 2.11.24.
2758
2759 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2760
2761         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2762         elmo-multiple-field-body instead of std11-field-body to check all
2763         headers.
2764
2765 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2766
2767         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2768         or "size".
2769
2770 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2771
2772         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2773         unintern is unbound.
2774
2775 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2776
2777         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2778         Protect from infinite loop.
2779
2780 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2781
2782         * elsp-bogofilter.el
2783         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2784         (elmo-spam-bogofilter-register-messages): New internal function.
2785         (elmo-spam-register-spam-messages): Define.
2786         (elmo-spam-register-good-messages): Ditto.
2787
2788 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2789
2790         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2791         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2792         (elmo-spam-bogofilter-call): Fixed the last change.
2793         (elmo-spam-bogofilter-arguments): Ditto.
2794
2795         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2796         Follow the options change of latest bogofilter.
2797
2798         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2799         (elmo-spam-bogofilter-good-switch): Ditto.
2800         (elmo-spam-bogofilter-arguments-alist): New user option.
2801         (elmo-spam-bogofilter-debug): Ditto.
2802         (elmo-spam-bogofilter-call): Renamed from
2803         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2804         is non-nil, insert output in buffer for debug.
2805         (elmo-spam-bogofilter-arguments): New macro.
2806         (elmo-spam-buffer-spam-p): Use it.
2807         (elsp-bogofilter-register-buffer): Ditto.
2808
2809 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2810
2811         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2812         regexp.
2813
2814 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2815
2816         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2817         value as "ruby".
2818         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2819         (elmo-spam-bsfilter-program): Set default value as full path for
2820         `bsfilter'.
2821         (elmo-spam-bsfilter-debug): New user option.
2822         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2823         non-nil, insert output in buffer for debug. Fix treating of
2824         argument.
2825
2826 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2827
2828         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2829         `elmo-maildir-flag-specs' element instead of one.
2830         (elmo-map-folder-unset-flag): Ditto.
2831         (Reported by Ken Makimura <macky@astem.or.jp>)
2832
2833         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2834         (elmo-folder-unset-flag-plugged): Ditto.
2835
2836 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2837
2838         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2839         to `reads' slot only if `in-msgdb' is nil.
2840
2841 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2842
2843         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2844         and complement argument list.
2845
2846 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2847
2848         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2849         instead of elmo-folder-list-flagged.
2850
2851 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2852
2853         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2854
2855         * elsp-bsfilter.el: New file.
2856
2857         * elmo-pipe.el (elmo-folder-list-unreads,
2858         elmo-folder-list-answereds,
2859         elmo-folder-list-importants,
2860         elmo-folder-flag-as-important,
2861         elmo-folder-unflag-important,
2862         elmo-folder-flag-as-read,
2863         elmo-folder-unflag-read,
2864         elmo-folder-flag-as-answered,
2865         elmo-folder-unflag-answered): Remove.
2866         (elmo-folder-set-flag): Define.
2867         (elmo-folder-unset-flag): Ditto.
2868
2869         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2870         (elmo-folder-set-flag): Define.
2871         (elmo-folder-unset-flag): Ditto.
2872         (elmo-folder-list-unreads): Remove.
2873         (elmo-folder-list-flagged): Define.
2874
2875         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2876         (elmo-folder-list-unreads,
2877         elmo-folder-list-importants,
2878         elmo-folder-list-answereds,
2879         elmo-folder-list-unreads-plugged,
2880         elmo-folder-list-importants-plugged,
2881         elmo-folder-list-answereds-plugged): Remove.
2882         (elmo-folder-list-flagged-plugged): New method.
2883         (elmo-folder-unflag-important,
2884         elmo-folder-flag-as-important,
2885         elmo-folder-unflag-read,
2886         elmo-folder-flag-as-read,
2887         elmo-folder-unflag-answered,
2888         elmo-folder-flag-as-answered,
2889         elmo-folder-flag-as-read-unplugged,
2890         elmo-folder-unflag-read-unplugged,
2891         elmo-folder-flag-as-important-unplugged,
2892         elmo-folder-unflag-important-unplugged,
2893         elmo-folder-flag-as-answered-unplugged,
2894         elmo-folder-unflag-answered-unplugged): Remove.
2895         (elmo-folder-set-flag): Define.
2896         (elmo-folder-unset-flag): Ditto.
2897         (elmo-folder-set-flag-unplugged): Ditto.
2898         (elmo-folder-unset-flag-unplugged): Ditto.
2899
2900         * elmo-multi.el (elmo-folder-list-unreads,
2901         elmo-folder-list-answereds,
2902         elmo-folder-list-importants,
2903         elmo-folder-flag-as-important,
2904         elmo-folder-unflag-important,
2905         elmo-folder-flag-as-read,
2906         elmo-folder-unflag-read,
2907         elmo-folder-flag-as-answered,
2908         elmo-folder-unflag-answered): Remove.
2909         (elmo-folder-set-flag): Define.
2910         (elmo-folder-unset-flag): Ditto.
2911
2912         * elmo-map.el (elmo-map-folder-unflag-important,
2913         elmo-map-folder-flag-as-important,
2914         elmo-map-folder-unflag-read,
2915         elmo-map-folder-flag-as-read,
2916         elmo-map-folder-unflag-answered,
2917         elmo-map-folder-flag-as-answered): Remove.
2918         (elmo-map-folder-set-flag): New method.
2919         (elmo-map-folder-unset-flag): Ditto.
2920         (elmo-map-folder-list-unreads,
2921         elmo-map-folder-list-importants,
2922         elmo-map-folder-list-answereds): Remove.
2923         (elmo-folder-list-flagged-internal): Define.
2924         (elmo-map-folder-list-flagged): New method.
2925
2926         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2927         (elmo-map-folder-list-unreads,
2928         elmo-map-folder-list-importants,
2929         elmo-map-folder-list-flagged): Remove.
2930         (elmo-map-folder-list-flagged): Define.
2931         (elmo-map-folder-flag-as-important,
2932         elmo-map-folder-unflag-important,
2933         elmo-map-folder-flag-as-read,
2934         elmo-map-folder-unflag-read,
2935         elmo-map-folder-flag-as-answered,
2936         elmo-map-folder-unflag-answered): Remove.
2937         (elmo-maildir-set-mark-messages): New internal function.
2938         (elmo-map-folder-set-flag): Define.
2939         (elmo-map-folder-unset-flag): Ditto.
2940
2941         * elmo.el (toplevel): Added autoload setting for
2942         `elmo-folder-list-global-flag-messages'.
2943         (elmo-folder-list-unreads,
2944         elmo-folder-list-importants,
2945         elmo-folder-list-answereds): Remove.
2946         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2947         Return a list whitch merged with messages have global flag.
2948         (elmo-folder-list-flagged-internal): New method.
2949         (elmo-folder-unflag-important,
2950         elmo-folder-flag-as-important,
2951         elmo-folder-unflag-read,
2952         elmo-folder-flag-as-read,
2953         elmo-folder-unflag-answered,
2954         elmo-folder-flag-as-answered): Remove.
2955         (elmo-folder-set-flag): New method.
2956         (elmo-folder-unset-flag): Ditto.
2957         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2958         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2959
2960         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2961         (elmo-folder-list-unreads-plugged,
2962         elmo-folder-list-importants-plugged,
2963         elmo-folder-list-answereds-plugged,
2964         elmo-folder-list-flagged-unplugged,
2965         elmo-folder-unflag-important-plugged,
2966         elmo-folder-flag-as-important-plugged,
2967         elmo-folder-unflag-read-plugged,
2968         elmo-folder-flag-as-read-plugged,
2969         elmo-folder-unflag-answered-plugged,
2970         elmo-folder-flag-as-answered-plugged): Remove.
2971         (elmo-folder-set-flag-plugged,
2972         elmo-folder-unset-flag-plugged): Define.
2973
2974         * elmo-flag.el (elmo-folder-initialize): Register to
2975         `elmo-global-flag-list' if flag is not global.
2976         (elmo-folder-append-messages): Set flag to source messages.
2977
2978         * elmo-filter.el (elmo-filter-folder-list-unreads,
2979         elmo-folder-list-unreads,
2980         elmo-filter-folder-list-importants,
2981         elmo-folder-list-importants,
2982         elmo-folder-flag-as-read,
2983         elmo-folder-unflag-read,
2984         elmo-folder-flag-as-important,
2985         elmo-folder-unflag-important,
2986         elmo-folder-flag-as-answered,
2987         elmo-folder-unflag-answered): Remove.
2988         (elmo-folder-set-flag): Define.
2989         (elmo-folder-unset-flag): Ditto.
2990
2991         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2992         elmo-folder-unflag-read-dop,
2993         elmo-folder-flag-as-important-dop,
2994         elmo-folder-unflag-important-dop,
2995         elmo-folder-flag-as-answered-dop,
2996         elmo-folder-unflag-answered-dop): Remove.
2997         (elmo-folder-set-flag-dop,
2998         elmo-folder-unset-flag-dop,
2999         elmo-folder-set-important-delayed,
3000         elmo-folder-unset-important-delayed,
3001         elmo-folder-set-read-delayed,
3002         elmo-folder-unset-read-delayed,
3003         elmo-folder-set-answered-delayed,
3004         elmo-folder-unset-answered-delayed): New function.
3005         (elmo-dop-queue-merge-method-list): Follow the above chagned.
3006         (elmo-dop-queue-method-name-alist): Ditto.
3007
3008         * elmo-version.el (elmo-version): Up to 2.11.23.
3009
3010 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
3011
3012         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3013
3014         * elsp-sa.el: New file.
3015
3016 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3017
3018         * modb-standard.el (modb-standard-message-entity): New function.
3019         (elmo-msgdb-message-entity): Use it.
3020
3021 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3022
3023         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3024         behavior when one-level is nil.
3025
3026         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3027
3028         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3029
3030 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3031
3032         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3033         get max number.
3034         (elmo-generic-folder-diff): Ditto.
3035
3036         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3037         (elmo-folder-update-number): Ditto.
3038
3039         * elmo-dop.el (elmo-folder-status-dop): Ditto.
3040         (elmo-folder-next-message-number-dop): Ditto.
3041
3042 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3043
3044         * elmo-filter.el (elmo-folder-msgdb-create): Use
3045         `elmo-message-entity' and `elmo-message-flags' instead of
3046         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3047
3048 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3049
3050         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3051         `if-exists'.
3052
3053 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3054
3055         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3056
3057         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3058
3059         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3060
3061 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3062
3063         * elmo-version.el (elmo-version): Up to 2.11.22.
3064
3065 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3066
3067         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3068
3069 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3070
3071         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3072         if the message dose not exist.
3073
3074 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
3075
3076         * elmo-version.el (elmo-version): Up to 2.11.21.
3077
3078 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3079
3080         * modb-standard.el (toplevel): Don't require mime.
3081
3082 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3083
3084         * elsp-bogofilter.el (toplevel): Don't require path-util.
3085         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3086         (elmo-spam-bogofilter-header): Abolish.
3087         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3088         (elmo-spam-bogofilter-args): New user option.
3089         (elsp-bogofilter-call-bogofilter): New internal function.
3090         (elmo-spam-buffer-spam-p): Use it.
3091         (elsp-bogofilter-register-buffer): Renamed from
3092         `elmo-spam-bogofilter-register-buffer';
3093         Use `elsp-bogofilter-call-bogofilter'.
3094         (elmo-spam-register-spam-buffer): Follow the change above.
3095         (elmo-spam-register-good-buffer): Ditto.
3096
3097 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3098
3099         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3100         message-id is nil do nothing.
3101
3102 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3103
3104         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3105         Revival.
3106         (elmo-imap4-session): Removed use-flag slot.
3107         (elmo-imap4-session-select-mailbox): Undo last change.
3108         (elmo-folder-use-flag-p): Use
3109         elmo-imap4-disuse-server-flag-mailbox-regexp.
3110
3111 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3112
3113         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3114         (elmo-imap4-session-select-mailbox): Set it up.
3115         (elmo-folder-use-flag-p): Return value of use-flag slot.
3116
3117 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3118
3119         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3120         message-id is nil.
3121         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3122
3123         * modb-entity.el (elmo-message-entity-handler): Likewise.
3124
3125 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3126
3127         * elmo.el (toplevel): Remove setting of autoloding for
3128         elmo-global-flag-initialize.
3129         (elmo-init): Don't call elmo-global-flag-initialize.
3130         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3131
3132         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3133         (elmo-global-mark-migrate): Don't call it.
3134         (elmo-global-mark-upgrade): Ditto.
3135
3136 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3137
3138         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3139         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3140
3141         * elmo-vars.el (elmo-init-hook): New user option.
3142
3143         * elmo.el (elmo-init): Run the elmo-init-hook.
3144
3145         * elmo-flag.el (elmo-global-mark-migrate): New function.
3146
3147 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3148
3149         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3150         Undo last change (move to elmo-msgdb-unset-flag).
3151         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3152         flag is unset.
3153
3154 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3155
3156         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3157         read flag is set.
3158         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3159         (elmo-msgdb-unset-flag): Ditto.
3160
3161 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3162
3163         * elmo-split.el (elmo-split): Return split message count.
3164
3165 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3166
3167         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3168         is nil.
3169
3170 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3171
3172         * elmo.el (elmo-folder-unflag-important): Call
3173         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3174         a symbol `always'.
3175
3176         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3177         before unset flag.
3178         (elmo-global-flag-detach): Delete the message from flag folder, if
3179         `delete-if-none' is a symbol `always'.
3180
3181 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3182
3183         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3184         `elmo-spam-spamfilter-decode-buffer'.
3185         (elsp-spamfilter-register-buffer-internal): New internal function.
3186         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3187         (elmo-spam-register-spam-buffer): Ditto.
3188         (elmo-spam-register-good-buffer): Ditto.
3189
3190         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3191         change.
3192         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3193         (elmo-spam-register-spam-buffer): Follow the API change.
3194         (elmo-spam-register-good-buffer): Ditto.
3195
3196         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3197         (elmo-split-spam-p): Added argument plist; Call
3198         `elmo-spam-buffer-spam-p' with new argument register.
3199
3200         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3201         `register'.
3202         (elmo-spam-message-spam-p): Ditto.
3203         (elmo-spam-register-spam-buffer): Added optional argument
3204         `restore'.
3205         (elmo-spam-register-good-buffer): Ditto.
3206         (elmo-spam-register-spam-messages): Ditto.
3207         (elmo-spam-register-good-messages): Ditto.
3208
3209 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3210
3211         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3212         register into good corpus.
3213         (elmo-spam-register-good-buffer): Fixed to register into bad
3214         corpus.
3215
3216 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3217
3218         * elmo-version.el (elmo-version): Up to 2.11.20.
3219
3220         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3221         change.
3222
3223         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3224         flag without depending on \Recent flag.
3225
3226 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3227
3228         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3229         (elmo-spam-modified-p): Defined.
3230         (elmo-spam-save-status): Set `modified' slot to nil.
3231         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3232         (elmo-spam-register-good-buffer): Ditto.
3233
3234         * elmo-spam.el (elmo-spam-modified-p): New API.
3235
3236 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3237
3238         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3239         duplicate definition.
3240
3241         * elmo-util.el (elmo-unfold-field-body): New function.
3242         (elmo-msgdb-get-message-id-from-buffer): Use it.
3243
3244         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3245         Fixed the last change; Use elmo-unfold-field-body.
3246
3247 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3248
3249         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3250         Unfold date value.
3251
3252 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3253
3254         * elmo-spam.el (elmo-spam-save-status): New API.
3255
3256         * elsp-spamfilter.el: New file.
3257
3258 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3259
3260         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3261
3262 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3263
3264         * elmo-split.el (elmo-split-spam-p): New function.
3265
3266         * elmo-spam.el: New file.
3267
3268         * elsp-bogofilter.el: Ditto.
3269
3270 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3271
3272         * elmo.el (elmo-folder-next-message-number): New API.
3273         (elmo-folder-next-message-number): Define.
3274         (elmo-message-field): Don't check folder length.
3275
3276         * elmo-net.el (elmo-folder-next-message-number): Define.
3277         (elmo-folder-next-message-number-unplugged): Define.
3278
3279         * elmo-map.el (elmo-folder-next-message-number): Define.
3280         (elmo-folder-delete-messages): Clear hash value.
3281
3282         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3283
3284         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3285         (elmo-folder-delete-messages-dop-delayed): Always return t.
3286
3287         * elmo-version.el (elmo-version): Up to 2.11.19.
3288
3289 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3290
3291         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3292         change.
3293
3294         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3295         identical cons cell into the mark-alist and the hash table.
3296
3297 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3298
3299         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3300         elmo-folder-list-messages with argument `visible-only' as t.
3301
3302         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3303         (elmo-folder-msgdb-create): Check the target folder.
3304
3305 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3306
3307         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3308         `permanentflag' instead of `flags'.
3309         (elmo-folder-open): Ditto.
3310         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3311         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3312         (elmo-folder-use-flag-p): Always return t.
3313         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3314         `permanentflags' does not exist.
3315         (elmo-folder-open): Ditto.
3316
3317 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3318
3319         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3320         is nil.
3321         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3322
3323         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3324         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3325         response.
3326         (elmo-folder-open): Ditto.
3327         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3328         slot of the session includes the flag.
3329         (elmo-imap4-session-flag-available-p): New function.
3330         (elmo-imap4-folder-list-flagged): Ditto.
3331         (elmo-folder-list-unreads-plugged): Use it.
3332         (elmo-folder-list-importants-plugged): Ditto.
3333         (elmo-folder-list-answereds-plugged): Ditto.
3334         (elmo-imap4-search-internal-primitive): Ditto.
3335         (elmo-imap4-folder-list-any-plugged,
3336         elmo-imap4-folder-list-digest-plugged): Abolish.
3337
3338         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3339         if numbers is nil.
3340
3341 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3342
3343         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3344
3345 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3346
3347         * elmo-util.el (elmo-get-hash-val): Simplify.
3348         (elmo-set-hash-val): Rewrite.
3349
3350 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3351
3352         * elmo.el (elmo-folder-list-messages): Append killed messages into
3353         result if `visible-only' is nil and `in-msgdb' is non-nil.
3354
3355         * elmo-util.el (elmo-uniq-list): Added optional argument
3356         `delete-function'.
3357
3358         * modb.el (elmo-msgdb-flag-count): New API.
3359
3360         * modb-standard.el (modb-standard): Added slot flag-count.
3361         (modb-standard-countup-flags): New function.
3362         (modb-standard-load-flag): Call it.
3363         (elmo-msgdb-append): Ditto.
3364         (elmo-msgdb-clear): Clear slot flag-count.
3365         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3366         (elmo-msgdb-unset-flag): Treat `all' flag and call
3367         modb-standard-countup-flags.
3368         (elmo-msgdb-flag-count): Define.
3369         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3370         (elmo-msgdb-delete-messages): Ditto.
3371
3372         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3373         (elmo-msgdb-flag-count): Define.
3374
3375         * elmo.el (elmo-folder-list-messages): Undo last change.
3376         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3377         (elmo-folder-kill-messages): Unset all flags to numbers.
3378
3379         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3380         elmo-folder-kill-messages.
3381
3382         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3383         (elmo-nntp-folder-delete-messages): Abolish.
3384
3385         * elmo-version.el (elmo-version): Up to 2.11.18.
3386
3387 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3388
3389         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3390         (elmo-folder-kill-messages-range): New function.
3391         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3392         instead of elmo-folder-kill-messages-before.
3393
3394 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3395
3396         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3397         elmo-imap4-current-msgdb to decide entity handler.
3398
3399 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3400
3401         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3402
3403         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3404         inline function.
3405         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3406         (elmo-msgdb-overview-entity-set-number,
3407         elmo-msgdb-overview-entity-get-references,
3408         elmo-msgdb-overview-entity-set-references,
3409         elmo-msgdb-overview-entity-get-from-no-decode,
3410         elmo-msgdb-overview-entity-get-from,
3411         elmo-msgdb-overview-entity-set-from,
3412         elmo-msgdb-overview-entity-get-subject,
3413         elmo-msgdb-overview-entity-get-subject-no-decode,
3414         elmo-msgdb-overview-entity-set-subject,
3415         elmo-msgdb-overview-entity-get-date,
3416         elmo-msgdb-overview-entity-set-date,
3417         elmo-msgdb-overview-entity-get-to,
3418         elmo-msgdb-overview-entity-get-cc,
3419         elmo-msgdb-overview-entity-get-size,
3420         elmo-msgdb-overview-entity-set-size,
3421         elmo-msgdb-overview-entity-get-extra,
3422         elmo-msgdb-overview-entity-set-extra,
3423         elmo-msgdb-overview-entity-get-extra-field,
3424         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3425         (elmo-msgdb-make-index): Use
3426         `elmo-msgdb-overview-entity-get-number-internal'.
3427         (elmo-msgdb-clear-index): Ditto.
3428         (elmo-msgdb-append-entity): Ditto;
3429         Use `elmo-msgdb-overview-entity-get-id-internal'.
3430
3431         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3432         elmo-msgdb-overview-entity-set-number,
3433         elmo-msgdb-overview-entity-get-references,
3434         elmo-msgdb-overview-entity-set-references,
3435         elmo-msgdb-overview-entity-get-from-no-decode,
3436         elmo-msgdb-overview-entity-get-from,
3437         elmo-msgdb-overview-entity-set-from,
3438         elmo-msgdb-overview-entity-get-subject,
3439         elmo-msgdb-overview-entity-get-subject-no-decode,
3440         elmo-msgdb-overview-entity-set-subject,
3441         elmo-msgdb-overview-entity-get-date,
3442         elmo-msgdb-overview-entity-set-date,
3443         elmo-msgdb-overview-entity-get-to,
3444         elmo-msgdb-overview-entity-get-cc,
3445         elmo-msgdb-overview-entity-get-size,
3446         elmo-msgdb-overview-entity-set-size,
3447         elmo-msgdb-overview-entity-get-extra,
3448         elmo-msgdb-overview-entity-set-extra,
3449         elmo-msgdb-overview-entity-get-extra-field,
3450         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3451         and rewrote for backward compatibility.
3452
3453 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3454
3455         * elmo.el (elmo-message-entity-number,
3456         elmo-message-entity-set-number,
3457         elmo-message-entity-field,
3458         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3459
3460         * elmo-msgdb.el (elmo-message-entity-number,
3461         elmo-message-entity-set-number,
3462         elmo-message-entity-field,
3463         elmo-message-entity-set-field): Moved from elmo.el.
3464
3465 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3466
3467         * elmo.el (toplevel): Changed definition orders.
3468
3469 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3470
3471         * modb.el (elmo-msgdb-search): New API .
3472         (elmo-msgdb-match-condition): Ditto.
3473
3474         * modb-standard.el (elmo-msgdb-search): Define.
3475
3476         * modb-legacy.el (elmo-msgdb-search): Ditto.
3477
3478         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3479         from elmo-msgdb-match-condition-internal.
3480
3481         * elmo.el (elmo-folder-search-fast): Abolish.
3482         (elmo-folder-search): Use elmo-msgdb-search and
3483         elmo-with-progress-display.
3484
3485         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3486         as msgdb API.
3487
3488         * elmo.el (elmo-folder): Remove slot message-modified and
3489         flag-modified.
3490         (elmo-folder-set-message-modified): Abolish.
3491         (elmo-generic-folder-commit): Follow the change above.
3492         (elmo-folder-synchronize): Ditto.
3493
3494         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3495
3496         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3497
3498         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3499
3500 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3501
3502         * modb-standard.el (modb-standard-make-message-entity,
3503         elmo-msgdb-make-message-entity,
3504         elmo-msgdb-create-message-entity-from-buffer,
3505         elmo-msgdb-message-entity-number,
3506         elmo-msgdb-message-entity-set-number,
3507         elmo-msgdb-message-entity-field,
3508         elmo-msgdb-message-entity-set-field,
3509         elmo-msgdb-copy-message-entity,
3510         elmo-msgdb-match-condition-internal): Remove.
3511
3512         * modb-entity.el: New file (again).
3513
3514         * modb.el (toplevel): Require modb-entity.
3515         (elmo-msgdb-message-entity-handler): New method.
3516
3517         * modb-standard.el (modb-standard-entity-id): Use
3518         elmo-message-entity-handler.
3519         (modb-standard-load-entity): Ditto.
3520         (elmo-msgdb-append-entity): Ditto.
3521         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3522
3523         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3524         elmo-msgdb-decoded-cache-hashtb,
3525         (modb-legacy-make-message-entity,
3526         elmo-msgdb-make-message-entity,
3527         elmo-msgdb-create-message-entity-from-buffer,
3528         elmo-msgdb-message-entity-number,
3529         elmo-msgdb-message-entity-set-number,
3530         elmo-msgdb-message-entity-field,
3531         elmo-msgdb-message-entity-set-field,
3532         elmo-msgdb-copy-message-entity,
3533         elmo-msgdb-match-condition-internal,
3534         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3535
3536         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3537         (elmo-message-entity-set-number): Ditto.
3538         (elmo-message-entity-field): Ditto.
3539         (elmo-message-entity-set-field): Ditto.
3540
3541         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3542
3543         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3544
3545         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3546
3547         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3548         (elmo-nntp-msgdb-create-message): Ditto.
3549
3550         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3551         (elmo-folder-msgdb-create): Add unread flag.
3552
3553         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3554
3555         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3556
3557         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3558
3559         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3560
3561         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3562         elmo-msgdb-messge-entity-handler.
3563         * elmo-version.el (elmo-version): Up to 2.11.17.
3564
3565 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3566
3567         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3568         change.
3569
3570 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3571
3572         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3573
3574         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3575         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3576         (elmo-msgdb-flag-table): Ditto.
3577         (elmo-msgdb-sort-by-date): Ditto.
3578
3579         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3580
3581         * modb-standard.el (toplevel): Require mime.
3582         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3583         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3584         elmo-msgdb-message-entity-number.
3585         (elmo-msgdb-append-entity): Ditto.
3586         (elmo-msgdb-create-message-entity-from-file): Remove.
3587         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3588         corresponds to the entity.
3589         (elmo-msgdb-message-entity-number): Do nothing currently.
3590         (elmo-msgdb-message-entity-field): Ditto.
3591         (elmo-msgdb-message-entity-set-field): Ditto.
3592         (elmo-msgdb-copy-message-entity): Ditto.
3593         (elmo-msgdb-match-condition-internal): Ditto.
3594
3595         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3596         elmo-util.el.
3597         (elmo-msgdb-create-message-entity-from-file): Remove.
3598
3599         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3600         modb-legacy.el.
3601         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3602
3603         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3604
3605 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3606
3607         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3608         (elmo-msgdb-message-entity-field): Ditto.
3609         (elmo-msgdb-message-entity-number): Ditto.
3610
3611 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3612
3613         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3614         Fixed how to set extra field into entity.
3615         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3616         symbol.
3617
3618         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3619         Fixed how to set extra field into entity.
3620         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3621         symbol.
3622
3623 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3624
3625         * modb.el (elmo-message-entity-db): New function.
3626         (elmo-msgdb-make-message-entity): New API.
3627         (elmo-msgdb-message-entity-number): Ditto.
3628         (elmo-msgdb-message-entity-set-number): Ditto.
3629         (elmo-msgdb-message-entity-field): Ditto.
3630         (elmo-msgdb-message-entity-set-field): Ditto.
3631         (elmo-msgdb-copy-message-entity): Ditto.
3632         (elmo-msgdb-create-message-entity-from-file): Ditto.
3633         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3634         (elmo-msgdb-match-condition-internal): Ditto.
3635
3636         * modb-standard.el (modb-legacy): Require modb-legacy.
3637         (modb-standard-make-message-entity): New inline function.
3638         (elmo-msgdb-make-message-entity): Define.
3639         (elmo-msgdb-create-message-entity-from-file): Ditto.
3640         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3641         (elmo-msgdb-message-entity-field): Ditto.
3642         (elmo-msgdb-message-entity-set-field): Ditto.
3643         (elmo-msgdb-copy-message-entity): Ditto.
3644         (elmo-msgdb-match-condition-internal): Ditto.
3645
3646         * modb-legacy.el: Don't require modb-entity.
3647         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3648         (elmo-msgdb-match-condition-primitive): Ditto.
3649         (elmo-msgdb-get-decoded-cache): Ditto.
3650         (elmo-msgdb-overview-entity-get-id): Ditto.
3651         (elmo-msgdb-overview-entity-get-number): Ditto.
3652         (elmo-msgdb-overview-entity-set-number): Ditto.
3653         (elmo-msgdb-overview-entity-get-references): Ditto.
3654         (elmo-msgdb-overview-entity-set-references): Ditto.
3655         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3656         (elmo-msgdb-overview-entity-get-from): Ditto.
3657         (elmo-msgdb-overview-entity-set-from): Ditto.
3658         (elmo-msgdb-overview-entity-get-subject): Ditto.
3659         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3660         (elmo-msgdb-overview-entity-set-subject): Ditto.
3661         (elmo-msgdb-overview-entity-get-date): Ditto.
3662         (elmo-msgdb-overview-entity-set-date): Ditto.
3663         (elmo-msgdb-overview-entity-get-to): Ditto.
3664         (elmo-msgdb-overview-entity-get-cc): Ditto.
3665         (elmo-msgdb-overview-entity-get-size): Ditto.
3666         (elmo-msgdb-overview-entity-set-size): Ditto.
3667         (elmo-msgdb-overview-entity-get-extra): Ditto.
3668         (elmo-msgdb-overview-entity-set-extra): Ditto.
3669         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3670         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3671         (elmo-msgdb-number-load): Ditto.
3672         (elmo-msgdb-overview-load): Ditto.
3673         (elmo-msgdb-mark-load): Ditto.
3674         (elmo-msgdb-number-save): Ditto.
3675         (elmo-msgdb-mark-save): Ditto.
3676         (elmo-msgdb-overview-save): Ditto.
3677         (modb-legacy-make-message-entity): New inline function.
3678         (elmo-msgdb-insert-file-header): Ditto.
3679         (elmo-msgdb-make-message-entity): Define.
3680         (elmo-msgdb-create-message-entity-from-file): Ditto.
3681         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3682         (elmo-msgdb-message-entity-number): Ditto.
3683         (elmo-msgdb-message-entity-set-number): Ditto.
3684         (elmo-msgdb-message-entity-field): Ditto.
3685         (elmo-msgdb-message-entity-set-field): Ditto.
3686         (elmo-msgdb-copy-message-entity): Ditto.
3687         (elmo-msgdb-match-condition-internal): Ditto.
3688
3689         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3690         (elmo-message-copy-entity): Rewrite.
3691         (elmo-message-entity-number): Ditto.
3692         (elmo-message-entity-set-number): Ditto.
3693         (elmo-message-entity-field): Use elmo-message-entity-db.
3694         (elmo-message-entity-set-field): Ditto.
3695         (elmo-message-field): Rewrite.
3696
3697         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3698         elmo-msgdb.el
3699         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3700
3701         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3702         elmo-message-entity-field.
3703         (elmo-shimbun-folder-shimbun-header): Ditto.
3704         (elmo-shimbun-entity-to-header): Ditto.
3705         (elmo-folder-msgdb-create): Ditto.
3706         (elmo-shimbun-msgdb-create-entity): Ditto;
3707         Use elmo-msgdb-create-message-entity-from-buffer.
3708         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3709         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3710
3711         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3712         elmo-msgdb-create-message-entity-from-file and 
3713         elmo-message-entity-field.
3714
3715         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3716         elmo-message-entity-number.
3717         (elmo-pop3-msgdb-create-message): Use
3718         elmo-msgdb-create-message-entity-from-buffer,
3719         elmo-message-entity-set-field, elmo-message-entity-number and
3720         elmo-message-entity-set-number.
3721
3722         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3723         the API change in elmo-msgdb-make-message-entity.
3724         (elmo-nntp-msgdb-create-message): Use
3725         elmo-msgdb-create-message-entity-from-buffer.
3726
3727         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3728         elmo-message-entity-field and
3729         elmo-msgdb-create-message-entity-from-file.
3730
3731         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3732         (elmo-msgdb-get-field): Abolish.
3733         (elmo-msgdb-get-number): Rewrite.
3734         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3735         (elmo-msgdb-flag-table): Ditto.
3736         (elmo-msgdb-get-last-message-id,
3737         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3738         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3739         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3740         (elmo-msgdb-create-overview-from-buffer,
3741         elmo-msgdb-overview-get-parent-entity): Abolish.
3742
3743         * elmo-mime.el (elmo-mime-display-as-is): Use
3744         elmo-message-entity-field.
3745
3746         * elmo-map.el (elmo-folder-pack-numbers): Use
3747         elmo-message-entity-set-number.
3748
3749         * elmo-maildir.el (elmo-folder-msgdb-create): 
3750         elmo-msgdb-create-message-entity-from-file instead of
3751         elmo-msgdb-create-overview-entity-from-file.
3752
3753         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3754         msgdb.
3755         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3756         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3757
3758         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3759         elmo-messge-entity-field and elmo-message-entity-number.
3760         (elmo-imap4-fetch-callback-1): Call
3761         elmo-msgdb-create-message-entity-from-buffer instead of
3762         elmo-msgdb-create-overview-from-buffer. 
3763         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3764         (elmo-find-fetch-strategy): Likewise.
3765
3766         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3767         elmo-localdir-msgdb-create-entity with argument msgdb.
3768
3769         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3770         and elmo-message-entity-set-number.
3771
3772         * elmo-cache.el (elmo-folder-msgdb-create): Use
3773         elmo-message-entity-field.
3774         (elmo-folder-msgdb-create): Call
3775         elmo-msgdb-create-message-entity-from-file instead of
3776         elmo-msgdb-create-overview-entity-from-file.
3777
3778         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3779         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3780         instead of elmo-msgdb-create-overview-from-buffer.
3781         (elmo-archive-msgdb-create-entity): Ditto.
3782         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3783         elmo-message-entity-field.
3784         (elmo-archive-parse-mmdf): Ditto.
3785
3786         * modb-entity.el: Removed.
3787
3788         * elmo-version.el (elmo-version): Up to 2.11.16.
3789
3790 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3791
3792         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3793         `is-local'.
3794         (elmo-folder-flag-as-answered): Ditto.
3795
3796 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3797
3798         * modb-standard.el: New file.
3799
3800         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3801         elmo-msgdb-convert-type is `sync'.
3802
3803         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3804         (elmo-msgdb-convert-type): New user option.
3805
3806         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3807         (elmo-load-msgdb): Auto detect saved type.
3808
3809         * elmo-version.el (elmo-version): Up to 2.11.15.
3810
3811 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3812
3813         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3814
3815         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3816         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3817         with argument `delete-if-none' when dst-folder is 'null.
3818
3819         * elmo-flag.el (elmo-folder-append-messages): Defined.
3820         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3821
3822 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3823
3824         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3825
3826 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3827
3828         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3829         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3830         (elmo-folder-commit): Ditto.
3831
3832 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3833
3834         * elmo-flag.el: New file.
3835
3836         * elmo-mark.el: Removed.
3837
3838         * modb-legacy.el (modb-legacy-new-mark,
3839         modb-legacy-unread-uncached-mark,
3840         modb-legacy-unread-cached-mark,
3841         modb-legacy-read-uncached-mark,
3842         modb-legacy-answered-cached-mark,
3843         modb-legacy-answered-uncached-mark,
3844         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3845         All other related portions are changed.
3846
3847         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3848         (elmo-folder-list-messages-with-global-mark): Abolish.
3849         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3850         (elmo-folder-flag-as-important): Ditto.
3851         (elmo-folder-unflag-read): Ditto.
3852         (elmo-folder-flag-as-read): Ditto.
3853         (elmo-folder-unflag-answered): Ditto.
3854         (elmo-folder-flag-as-answered): Ditto.
3855         (elmo-message-encache): Return the cache path.
3856         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3857         (elmo-message-set-flag): Transitional implementation.
3858         (elmo-message-unset-flag): Ditto.
3859         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3860         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3861         (elmo-init): Call elmo-global-flag-initialize.
3862         (toplevel): Added autoload settings for elmo-flag.
3863
3864         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3865
3866         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3867         (elmo-file-cache-delete): Don't treat global-mark.
3868
3869         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3870
3871         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3872
3873         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3874         `elmo-global-flags-set'.
3875
3876         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3877         `flag'.
3878         (elmo-folder-unflag-read): Ditto.
3879         (elmo-folder-unflag-important): Ditto.
3880         (elmo-folder-flag-as-important): Ditto.
3881         (elmo-folder-unflag-answered): Ditto.
3882         (elmo-folder-flag-as-answered): Ditto.
3883
3884         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3885         `elmo-global-flags-set'.
3886         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3887
3888         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3889
3890         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3891         `flag'.
3892         (elmo-folder-flag-as-important): Ditto.
3893         (elmo-folder-unflag-important): Ditto.
3894         (elmo-folder-flag-as-important): Ditto.
3895         (elmo-folder-unflag-read): Ditto.
3896         (elmo-folder-flag-as-read): Ditto.
3897         (elmo-folder-unflag-answered): Ditto.
3898         (elmo-folder-flag-as-answered): Ditto.
3899
3900         * elmo-multi.el (elmo-folder-list-importants): Don't call
3901         elmo-folder-list-messages-with-global-mark.
3902         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3903         (elmo-folder-unflag-important): Ditto.
3904         (elmo-folder-flag-as-read): Ditto.
3905         (elmo-folder-unflag-read): Ditto.
3906         (elmo-folder-flag-as-answered): Ditto.
3907         (elmo-folder-unflag-answered): Ditto.
3908
3909         * elmo-msgdb.el (elmo-msgdb-new-mark,
3910         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3911         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3912         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3913         (Moved to modb-legacy.el).
3914         (elmo-flag-table-get): Treat important flag too.
3915
3916         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3917         `mark' to `flag'.
3918         (elmo-map-folder-flag-as-important): Ditto.
3919         (elmo-map-folder-unflag-read): Ditto.
3920         (elmo-map-folder-flag-as-read): Ditto.
3921         (elmo-map-folder-unflag-answered): Ditto.
3922         (elmo-map-folder-flag-as-answered): 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-maildir.el (elmo-folder-msgdb-create): Ditto.
3931         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3932         `flag'.
3933         (elmo-map-folder-unflag-important): Ditto.
3934         (elmo-map-folder-flag-as-read): Ditto.
3935         (elmo-map-folder-unflag-read): Ditto.
3936         (elmo-map-folder-flag-as-answered): Ditto.
3937         (elmo-map-folder-unflag-answered): Ditto.
3938
3939         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3940         `elmo-global-flags-set'.
3941         (elmo-global-flags-set): Added autoload setting.
3942
3943         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3944         `flag'.
3945
3946         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3947         `elmo-msgdb-global-mark-set'.
3948         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3949         Call `elmo-global-flags-set'.
3950         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3951         `flag'.
3952         (elmo-folder-flag-as-important-plugged): Ditto.
3953         (elmo-folder-unflag-read-plugged): Ditto.
3954         (elmo-folder-flag-as-read-plugged): Ditto.
3955         (elmo-folder-unflag-answered-plugged): Ditto.
3956         (elmo-folder-flag-as-answered-plugged): Ditto.
3957         (elmo-global-flags-set): Added autoload setting.
3958
3959         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3960         `flag'.
3961         (elmo-folder-unflag-read): Ditto.
3962         (elmo-folder-flag-as-important): Ditto.
3963         (elmo-folder-unflag-important): Ditto.
3964         (elmo-folder-flag-as-answered): Ditto.
3965         (elmo-folder-unflag-answered): Ditto.
3966
3967         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3968         change of `mark'->`flag'.
3969         (elmo-dop-queue-method-name-alist): Ditto.
3970         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3971         (elmo-folder-unflag-read-dop): Ditto.
3972         (elmo-folder-flag-as-important-dop): Ditto.
3973         (elmo-folder-unflag-important-dop): Ditto.
3974         (elmo-folder-flag-as-answered-dop): Ditto.
3975         (elmo-folder-unflag-answered-dop): Ditto.
3976
3977         * elmo-cache.el (elmo-folder-msgdb-create): Call
3978         `elmo-global-flags-set'.
3979
3980         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3981         Call `elmo-global-flags-set'.
3982         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3983         elmo-archive-parse-mmdf with argument `folder'.
3984         (elmo-archive-parse-mmdf): Added argument `folder';
3985         Call `elmo-global-flags-set'.
3986
3987         * elmo-version.el (elmo-version): Up to 2.11.14.
3988
3989 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3990
3991         * modb.el (elmo-msgdb-length): Define.
3992
3993         * elmo.el (elmo-make-folder): Fixed.
3994         (elmo-generic-folder-append-messages): Follow the API change.
3995
3996         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3997         API change.
3998
3999 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4000
4001         * modb.el: New file.
4002
4003         * modb-entity.el: Ditto.
4004
4005         * modb-legacy.el: Ditto.
4006
4007         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4008         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4009         of `elmo-msgdb-overview-get-entity'.
4010         (elmo-msgdb-get-field): Ditto.
4011         (elmo-msgdb-merge): Moved to `elmo.el'.
4012         (elmo-msgdb-length): Removed; redefine as modb method.
4013         (elmo-msgdb-change-mark): Abolish.
4014         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4015         (elmo-msgdb-match-condition): Don't use mark.
4016         (elmo-msgdb-overview-get-entity): Abolish.
4017         Split modb part into `modb*.el'.
4018
4019         * elmo-vars.el (elmo-msgdb-default-type): New user option.
4020
4021         * elmo-shimbun.el (shimbun-mua-search-id): Use
4022         `elmo-msgdb-message-entity' instead of
4023         `elmo-msgdb-overview-get-entity'.
4024         (elmo-shimbun-folder-shimbun-header): Ditto.
4025         (elmo-shimbun-get-headers): Ditto.
4026         (elmo-shimbun-update-overview): Ditto.
4027
4028         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4029
4030         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4031
4032         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4033         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4034
4035         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4036         `elmo-msgdb-mark-to-flags'.
4037
4038         * elmo-map.el (elmo-folder-pack-numbers): Don't use
4039         `elmo-msgdb-set-path'.
4040
4041         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4042  
4043         * elmo-version.el (elmo-version): Up to 2.11.13.
4044
4045         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4046
4047         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4048         of mark.
4049
4050 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4051
4052         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4053         mismatch.
4054
4055 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4056
4057         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4058         instead of `elmo-msgdb-get-cached'.
4059         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4060
4061         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4062         (elmo-msgdb-set-cached): Ditto.
4063         (elmo-msgdb-set-flag): Rewrite.
4064         (elmo-msgdb-unset-flag): Ditto.
4065
4066         * elmo-msgdb.el: Rewrite with luna.
4067
4068         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4069         (elmo-folder-msgdb): Follow the change above.
4070         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4071         (elmo-folder-unmark-important): Follow the API change.
4072         (elmo-folder-mark-as-important): Ditto.
4073         (elmo-folder-unmark-read): Ditto.
4074         (elmo-folder-mark-as-read): Ditto.
4075         (elmo-folder-unmark-answered): Ditto.
4076         (elmo-folder-mark-as-answered): Ditto.
4077         (elmo-folder-clear): Likewise.
4078
4079         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4080         instead of `elmo-msgdb-load' (renamed).
4081
4082         * elmo-version.el (elmo-version): Up to 2.11.12.
4083
4084 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4085
4086         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4087         change.
4088         (elmo-message-mark): Abolish.
4089         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4090         instead of `elmo-msgdb-change-mark'.
4091
4092         * elmo-pipe.el (elmo-message-mark): Abolish.
4093
4094         * elmo-multi.el (elmo-message-mark): Ditto.
4095
4096         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4097         (elmo-msgdb-unread-uncached-mark): Ditto.
4098         (elmo-msgdb-unread-cached-mark): Ditto.
4099         (elmo-msgdb-read-uncached-mark): Ditto.
4100         (elmo-msgdb-answered-cached-mark): Ditto.
4101         (elmo-msgdb-answered-uncached-mark): Ditto.
4102         (elmo-msgdb-important-mark): Ditto.
4103         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4104         `use-cache'.
4105         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4106         `flags'.
4107         (elmo-flag-table-load): Changed flag to list of flag.
4108         (elmo-flag-table-set): If flags is nil, set read flag.
4109         (elmo-flag-table-get): Return derived flags from global mark,
4110         cache status and saved flags.
4111         (elmo-msgdb-flag-table): Follow the change above.
4112         (elmo-msgdb-out-of-date-messages): New function.
4113
4114         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4115
4116         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4117
4118         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4119
4120         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4121         (elmo-nntp-msgdb-create-message): Ditto.
4122
4123         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4124
4125         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4126         independent.
4127         (elmo-folder-msgdb-create): Follow the API change.
4128
4129         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4130         (elmo-folder-append-messages): Ditto.
4131
4132         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4133         (elmo-folder-append-buffer): Ditto.
4134
4135         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4136
4137         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4138
4139         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4140         (elmo-archive-parse-mmdf): Ditto.
4141
4142         * elmo-version.el (elmo-version): Up to 2.11.11.
4143
4144 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4145
4146         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4147         `elmo-msgdb-mark'.
4148
4149         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4150
4151         * elmo-pipe.el (elmo-message-flags): Defined.
4152
4153         * elmo-multi.el (elmo-message-flags): Ditto.
4154
4155 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4156
4157         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4158         `elmo-msgdb-delete-msgs'.
4159
4160         * elmo.el (elmo-folder-count-flags): Don't use
4161         `elmo-msgdb-get-mark-alist'.
4162         (elmo-folder-detach-messages): Follow the API change.
4163
4164         * elmo.el (elmo-folder-list-messages): Append killed messages into
4165         result if `visible-only' is nil.
4166
4167         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4168         canceled messages.
4169         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4170         (elmo-folder-update-number): Likewise.
4171
4172         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4173         (elmo-pop3-sort-msgdb-by-original-number): Use
4174         `elmo-msgdb-sort-entities'.
4175
4176         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4177         (elmo-msgdb-sort-by-date): Use it.
4178         (elmo-msgdb-overview-sort-by-date): Abolish.
4179
4180         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4181
4182         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4183         (elmo-msgdb-flags): New function.
4184         (elmo-msgdb-merge): Use elmo-msgdb-append.
4185
4186         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4187         change.
4188
4189         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4190
4191         * elmo-dop.el (elmo-folder-status-dop): Use
4192         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4193
4194 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4195
4196         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4197
4198         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4199
4200         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4201
4202         * elmo-util.el (elmo-with-progress-display): New macro.
4203
4204         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4205
4206 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4207
4208         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4209         `elmo-folder-list-message-entities' instead of
4210         `elmo-msgdb-get-overview'.
4211         (elmo-map-folder-list-message-locations): Ditto.
4212
4213         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4214         methods instead of treat directly).
4215         (elmo-msgdb-clear): Ditto.
4216         (elmo-msgdb-delete-msgs): Ditto.
4217         (elmo-msgdb-sort-by-date): Ditto.
4218
4219         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4220         local variables.
4221         (elmo-nntp-folder-msgdb-create): Follow the API change.
4222
4223         * elmo-version.el (elmo-version): Up to 2.11.10.
4224
4225 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4226
4227         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4228         (elmo-msgdb-flags-to-mark): Ditto.
4229         (elmo-msgdb-append-entity): Ditto.
4230
4231         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4232         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4233         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4234         (elmo-archive-parse-mmdf): Ditto.
4235
4236         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4237
4238         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4239
4240         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4241
4242         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4243
4244         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4245
4246         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4247
4248         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4249
4250         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4251
4252         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4253         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4254         to empty msgdb.
4255
4256         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4257         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4258         instead of directly construction.
4259         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4260         instead of construct msgdb.
4261
4262         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4263         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4264         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4265         instead of construct msgdb.
4266
4267 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4268
4269         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4270         when field is from or subject.
4271
4272 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4273
4274         * elmo-multi.el (elmo-message-entity-parent): Define.
4275         (elmo-folder-search): Rewrite.
4276
4277 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4278
4279         * elmo-multi.el (elmo-message-cached-p): Define.
4280
4281         * elmo.el (elmo-message-cached-p): New method.
4282         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4283         (elmo-message-flags): New method.
4284         (elmo-message-flagged-p): New function.
4285
4286         * elmo-version.el (elmo-version): Up to 2.11.9.
4287
4288 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4289
4290         * elmo-version.el (elmo-version): Up to 2.11.8.
4291
4292         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4293
4294         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4295
4296 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4297
4298         * elmo.el (elmo-folder-detach-messages): Undo last change.
4299
4300 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4301
4302         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4303
4304         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4305         only when src folder type is pop3.
4306
4307 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4308
4309         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4310         elmo-msgdb-overview-entity-get-number instead of
4311         elmo-message-entity-number.
4312
4313 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4314
4315         * elmo-version.el (elmo-version): Up to 2.11.7.
4316
4317 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4318
4319         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4320         function.
4321
4322         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4323         (elmo-msgdb-merge): New function.
4324         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4325         (elmo-msgdb-make-index): Rewrite.
4326
4327         * elmo-version.el (elmo-version): Up to 2.11.6.
4328
4329         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4330         use it as a the path for loading message entities.
4331
4332         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4333
4334 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4335
4336         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4337         message-modified slot of itself if it does not require target msgdb.
4338
4339         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4340         if folder length is zero.
4341         (elmo-mime-display-as-is): Ditto.
4342
4343         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4344
4345         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4346
4347 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4348
4349         * elmo.el (elmo-folder-set-message-modified): New method.
4350         (elmo-generic-folder-commit): Use it.
4351         (elmo-folder-synchronize): Ditto.
4352
4353         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4354         (elmo-folder-commit): Remove duplicate definition.
4355
4356 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4357
4358         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4359
4360 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4361
4362         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4363         (elmo-strict-folder-diff): Ditto.
4364         (elmo-folder-set-info-max-by-numdb): Simplify.
4365
4366         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4367         elmo-msgdb-list-messages.
4368
4369         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4370         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4371
4372 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4373
4374         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4375         visible-only is non-nil.
4376         (elmo-folder-confirm-appends): Changed message.
4377         (elmo-folder-synchronize): Added argument disable-killed.
4378
4379         * elmo-multi.el (elmo-folder-synchronize): Added argument
4380         disable-killed.
4381
4382         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4383
4384         * elmo-version.el (elmo-version): Up to 2.11.5.
4385
4386         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4387         elmo-list-filter.
4388
4389         * elmo-util.el (elmo-list-filter): Simplify.
4390
4391         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4392         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4393         (elmo-generic-folder-diff): Abolish argument.
4394         (elmo-msgdb-load): Don't use number-alist.
4395
4396         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4397
4398         * elmo-pipe.el (elmo-folder-diff): Ditto.
4399
4400         * elmo-nmz.el (elmo-folder-diff): Ditto.
4401
4402         * elmo-net.el (elmo-folder-diff): Ditto.
4403
4404         * elmo-maildir.el (elmo-folder-diff): Ditto.
4405
4406         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4407
4408         * elmo-multi.el (elmo-folder-diff): Ditto
4409         (elmo-multi-folder-diff): Rewrite.
4410
4411 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4412
4413         * elmo-pipe.el (elmo-folder-msgdb): Define.
4414
4415 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4416
4417         * elmo.el (elmo-message-set-cached): Define as a method.
4418
4419         * elmo-pipe.el (elmo-message-set-cached): Define.
4420         (elmo-find-fetch-strategy): Ditto.
4421
4422         * elmo-multi.el (elmo-message-set-cached): Define.
4423         (elmo-find-fetch-strategy): Rewrite.
4424
4425         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4426
4427         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4428
4429 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4430
4431         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4432         instead of number-alist.
4433
4434         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4435         mark nor message-id when msgdb of source folder is not loaded.
4436
4437         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4438
4439         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4440
4441 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4442
4443         * elmo.el (elmo-folder-length): Don't require msgdb.
4444
4445 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4446
4447         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4448         (elmo-message-field): Ditto.
4449
4450         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4451         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4452         slot.
4453         (elmo-map-folder-list-answereds): Define.
4454         (elmo-maildir-list-location): Treat 'R' info.
4455         (elmo-folder-msgdb-create): Treat flag-table.
4456         (elmo-folder-append-messages): Save flag-table.
4457
4458 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4459
4460         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4461         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4462
4463 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4464
4465         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4466
4467         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4468         'read when mark is null.
4469
4470 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4471
4472         * elmo-version.el (elmo-version): Up to 2.11.4.
4473
4474 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4475
4476         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4477         (elmo-folder-mark-as-answered): Ditto.
4478
4479 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4480
4481         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4482         (elmo-pop3-get-session): Make msgdb directory after session.
4483         (elmo-folder-exists-p): Check exactly at the first time even when the
4484         elmo-pop3-exists-exactly is nil.
4485
4486         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4487         (elmo-folder-list-messages): Define instead of
4488         elmo-folder-list-messages-internal.
4489         (elmo-folder-check): Check destination folder.
4490         (elmo-folder-synchronize): Drain the pipe.
4491
4492         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4493         when msgdb is not loaded.
4494
4495         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4496
4497         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4498         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4499         messages.
4500
4501         * elmo.el (elmo-folder-kill-messages-before): New function.
4502         (elmo-folder-kill-messages): Ditto.
4503         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4504
4505         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4506         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4507         killed not by synchronize (e.g. scoring).
4508
4509 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4510
4511         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4512         treated.
4513         (elmo-folder-search): Follow the change above.
4514
4515         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4516         into the candidates of search field.
4517
4518 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4519
4520         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4521         (elmo-msgdb-unset-flag): Ditto.
4522
4523         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4524
4525 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4526
4527         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4528         (elmo-folder-commit): Define.
4529         (elmo-folder-synchronize): Ditto.
4530         (elmo-folder-list-flagged): Ditto.
4531         (elmo-folder-commit): Ditto.
4532         (elmo-folder-length): Ditto.
4533         (elmo-folder-count-flags): Ditto.
4534         (elmo-message-mark): Ditto.
4535         (elmo-message-field): Ditto.
4536         (elmo-message-entity): Ditto.
4537         (elmo-message-folder): Ditto.
4538
4539 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4540
4541         * elmo.el (elmo-message-field): Define as a method.
4542
4543         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4544         (elmo-message-field): Define.
4545
4546         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4547         (elmo-folder-list-importants): Ditto.
4548         (elmo-folder-list-answereds): Ditto.
4549
4550         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4551         qualifier.
4552         (elmo-folder-mark-as-read): Ditto.
4553         (elmo-folder-unmark-read): Ditto.
4554         (elmo-folder-mark-as-answered): Ditto.
4555         (elmo-folder-unmark-answered): Ditto.
4556         (elmo-folder-list-flagged): Define.
4557         (elmo-folder-commit): Ditto.
4558         (elmo-folder-length): Ditto.
4559         (elmo-folder-count-flags): Ditto.
4560
4561 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4562
4563         * elmo.el (elmo-folder-detach-messages): New method.
4564         (elmo-folder-move-messages): Use it.
4565         (elmo-folder-synchronize): Ditto.
4566
4567         * elmo-multi.el (elmo-folder-detach-messages): Define.
4568
4569         * elmo.el (elmo-message-copy-entity): New function.
4570         (elmo-message-entity-set-number): Ditto.
4571         (elmo-message-mark): Define as method.
4572
4573         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4574         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4575         (elmo-message-entity): Fixed last change.
4576         (elmo-message-mark): Define.
4577         (elmo-folder-msgdb-create): Abolish.
4578         (elmo-multi-folder-append-msgdb): Ditto.
4579         (elmo-multi-folder-diff): Fixed.
4580         (elmo-multi-split-number-alist): Removed.
4581         (elmo-multi-split-mark-alist): Removed.
4582         (elmo-folder-list-messages): Define.
4583         (elmo-folder-list-messages-internal): Removed.
4584
4585         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4586         local file messages.
4587         (elmo-folder-msgdb-create): Fixed read mark.
4588
4589 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4590
4591         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4592         if mark is nil.
4593
4594 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4595
4596         * elmo.el (elmo-folder-list-message-entities): Define as inline
4597         function.
4598         (elmo-folder-messages): Abolish.
4599
4600         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4601         folder.
4602         (elmo-folder-synchronize): Define.
4603         (elmo-message-entity): Define.
4604
4605 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4606
4607         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4608         elmo-imap4-session-select-mailbox.
4609
4610         * elmo.el (elmo-folder-move-messages): Don't display any message.
4611
4612         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4613         parsing.
4614         (elmo-imap4-session-check): Don't wait CHECK response.
4615         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4616
4617 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4618
4619         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4620
4621 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4622
4623         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4624         API.
4625         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4626
4627
4628         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4629         (elmo-folder-list-message-entities): Added argument in-msgdb and
4630         numbers.
4631         (elmo-folder-synchronize): Define as a method.
4632
4633         * elmo-nntp.el (elmo-folder-initialize): Don't use
4634         elmo-nntp-default-user if zero-length username is specified
4635         explicitly.
4636
4637 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4638
4639         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4640         server name in case with username.
4641         (XXX: this is ad-hoc fix against username includes "@", it
4642         should be solved fundamentally)
4643
4644 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4645
4646         * elmo-nntp.el (elmo-nntp-debug): New function.
4647         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4648         (elmo-network-authenticate-session): Hide auth-info from the log.
4649
4650         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4651         user name if it is equal to elmo-nntp-default-user.
4652
4653 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4654
4655         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4656         instead of shimbun-server-internal;
4657         Use shimbun-current-group instead of shimbun-current-group-internal.
4658         (elmo-folder-plugged-p): Use shimbun-server instead of
4659         shimbun-server-internal.
4660         (elmo-folder-set-plugged): Ditto.
4661         (elmo-net-port-info): Ditto.
4662         (elmo-folder-check): Ditto.
4663         (elmo-folder-expand-msgdb-path): Ditto.
4664         (elmo-folder-list-subfolders): Ditto.
4665
4666 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4667
4668         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4669         Convert field-name to lower case.
4670         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4671
4672 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4673
4674         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4675         `message' and `error' take format string.
4676
4677 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4678
4679         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4680
4681 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4682
4683         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4684         recursive call (can't byte compile on emacs 20.7).
4685
4686 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4687
4688         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4689         (elmo-folder-list-message-entities): New API.
4690         (elmo-message-entity): Ditto.
4691         (elmo-message-entity-parent): Ditto.
4692         (elmo-folder-do-each-message-entity): Ditto.
4693         (elmo-message-entity-number): Ditto.
4694         (elmo-message-entity-field): Ditto.
4695         (elmo-message-entity-set-field): Ditto.
4696         (elmo-folder-count-flags): Ditto.
4697         (elmo-folder-length): Ditto.
4698
4699         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4700         not.
4701
4702         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4703         (elmo-msgdb-count-marks): Abolish.
4704         (elmo-msgdb-make-entity): Ditto.
4705         (elmo-msgdb-do-each-entity): Ditto.
4706         (elmo-msgdb-message-entity): New inline function.
4707         (elmo-msgdb-message-entity-field): Ditto.
4708         (elmo-msgdb-message-entity-set-field): Ditto.
4709         (elmo-msgdb-make-message-entity): New function.
4710
4711 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4712
4713         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4714         to flag. (All other related portions are changed.)
4715         (elmo-folder-msgdb-create): Likewise.
4716         (elmo-generic-folder-append-messages): Use flag-table instead of
4717         seen-list.
4718         (elmo-folder-move-messages): Removed redundant process.
4719         (elmo-folder-synchronize): Likewise.
4720
4721         * elmo-msgdb.el (elmo-flag-table-get): New function.
4722         (elmo-flag-table-save): Fixed.
4723         (elmo-msgdb-length): New inline function.
4724         (elmo-msgdb-flag-table): New function.
4725         (elmo-msgdb-mark): Add optional argument new.
4726         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4727         (elmo-msgdb-seen-list): Ditto.
4728         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4729
4730
4731 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4732
4733         * elmo.el (elmo-message-set-mark): Abolish.
4734         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4735         (All related portions are changed.)
4736
4737         * elmo-msgdb.el (toplevel): Added comment.
4738         (elmo-load-msgdb): Added 4th element `path'.
4739         (elmo-msgdb-append): Follow the change above.
4740         (elmo-msgdb-clear): Ditto.
4741         (elmo-msgdb-delete-msgs): Ditto.
4742         (elmo-msgdb-get-path): New inline function.
4743         (elmo-msgdb-set-path): Ditto.
4744         (elmo-flag-table-filename): New variable.
4745         (elmo-flag-table-load): New function.
4746         (elmo-flag-table-set): Ditto.
4747         (elmo-flag-table-save): Ditto.
4748         (elmo-msgdb-get-field-value): Abolish.
4749         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4750
4751 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4752
4753         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4754         the folder has been deleted successfully.
4755         * elmo-imap4.el (elmo-folder-delete): Ditto.
4756         * elmo-archive.el (elmo-folder-delete): Ditto.
4757         * elmo-localdir.el (elmo-folder-delete): Ditto.
4758         * elmo-maildir.el (elmo-folder-delete): Ditto.
4759
4760 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4761
4762         * elmo-util.el (elmo-string-member-ignore-case): New function.
4763         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4764         (elmo-imap4-fetch-callback-1-subr): Likewise.
4765
4766 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4767
4768         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4769         the case of the name attribute "\Noselect".
4770
4771 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4772
4773         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4774
4775         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4776         flist, is not always a member of onum-alist.
4777
4778 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4779
4780         * elmo-version.el (elmo-version): Up to 2.11.3.
4781
4782 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4783
4784         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4785         copied from localdir's one.
4786
4787         * elmo-pipe.el (elmo-folder-rename): New method, rename
4788         destination folder with leaving source folder as it is.
4789
4790 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4791
4792         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4793         replace-regexp.
4794
4795 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4796
4797         * elmo-version.el (elmo-version): Up to 2.11.2.
4798
4799 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4800
4801         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4802         shimbun-open in case of "@".
4803         (elmo-folder-open-internal): Cope with shimbun = nil case.
4804         (elmo-folder-plugged-p): Ditto.
4805         (elmo-folder-list-subfolders): Make list for "@/" group.
4806
4807 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4808
4809         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4810         mailbox (e.g. for %~/something).
4811
4812 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4813
4814         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4815         Replace nested conditional with guard clauses.
4816
4817 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4818
4819         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4820         error [wl:11327].
4821
4822         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4823         print-depth.
4824
4825 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4826
4827         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4828         Replace nested conditional with guard clauses.
4829
4830 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4831
4832         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4833         (elmo-passwd-alist-save): Ditto.
4834         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4835
4836 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4837
4838         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4839         dir-name only if it is absolute path.
4840         (TODO: distinguish +/something and +something)
4841
4842 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4843
4844         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4845         path for "+~/something".
4846
4847 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4848
4849         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4850         as non-directory, cause error before rename-file.
4851         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4852         apropriately, mimic localdir's one.
4853         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4854
4855 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4856
4857         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4858
4859 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4860
4861         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4862
4863         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4864         
4865         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4866         is included in the global-mark or not.
4867
4868 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4869
4870         * utf7.el (toplevel): Avoid error when the function
4871         find-coding-system does not exist.
4872
4873 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4874
4875         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4876         cache even if the folder is plugged.
4877         (elmo-nntp-search-primitive): Do nothing when body search is
4878         invoked (although it is not used by the change above).
4879         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4880
4881 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4882
4883         * elmo-version.el (elmo-version): Up to 2.11.1.
4884
4885 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4886
4887         * elmo-archive.el: Specify charset.
4888
4889 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4890
4891         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4892         process buffer lives or not.
4893
4894         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4895         while flushing queues (It causes infinite loop).
4896
4897 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4898
4899         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4900
4901 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4902
4903         * utf7.el (toplevel): Check the ucs features dynamically.
4904         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4905
4906         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4907         folder is creatabe or not if it already exists.
4908
4909 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4910
4911         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4912
4913         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4914
4915         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4916         (elmo-imap4-read-response): Take care of garbage response.
4917
4918 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4919
4920         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4921         just return nil instead of error.
4922
4923 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4924
4925         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4926         search-key is "body".
4927
4928 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4929
4930         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4931         of elmo-string-matched-assoc to use match-data.
4932         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4933
4934 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4935
4936         * elmo-split.el (elmo-split->): New function.
4937         (elmo-split-<): Ditto.
4938
4939 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4940
4941         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4942         workaround for invalid message-id.
4943
4944 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4945
4946         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4947         return normal pop3 session or pop3 biff session.
4948
4949 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4950
4951         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4952         info part to the cur files when the new files already have it.
4953         (Adviced by Jared Rhine <jared@wordzoo.com>)
4954
4955 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4956
4957         * elmo-split.el (elmo-split-default-action): New variable.
4958         (elmo-split-subr): Use it if all other conditions are passed.
4959         Extend `fname' and rename it as `action'. (implemented
4960         Teranishi-san's idea in [wl:10800])
4961
4962 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4963
4964         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4965         * elmo-util.el: Ditto.
4966
4967 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4968
4969         * elmo.el (elmo-message-accessible-p): Renamed from
4970         elmo-message-cached-p and rewritten.
4971
4972 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4973
4974         * elmo.el (elmo-folder-list-flagged): New generic function.
4975         (elmo-folder-list-importants): New implementation.
4976         (elmo-folder-list-answereds): Ditto.
4977         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4978         Added 'digest'.
4979         (elmo-message-cached-p): New function.
4980         (elmo-message-set-flag): Ditto (no content).
4981         (elmo-message-unset-flag): Ditto.
4982         (elmo-folder-list-messages-mark-match): Abolish.
4983
4984         * elmo-util.el (elmo-regexp-opt): New function.
4985
4986         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4987         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4988         Added 'digest'.
4989         (elmo-msgdb-list-flagged): New function.
4990
4991         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4992         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4993         Added 'digest'.
4994
4995         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4996
4997 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4998
4999         * elmo-version.el (elmo-version): Up to 2.11.0.
5000
5001 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5002
5003         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5004         `elmo-file-cache-exists-p'; use proper mark that depends on
5005         `use-cache'.
5006         (elmo-msgdb-unset-flag): Ditto.
5007         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5008
5009         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5010         with 4th argument `use-cache'.
5011
5012 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
5013
5014         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5015         (elmo-folder-mark-as-important): Ditto.
5016         (elmo-folder-unmark-read): Ditto.
5017         (elmo-folder-mark-as-read): Ditto.
5018         (elmo-folder-unmark-answered): Ditto.
5019         (elmo-folder-mark-as-answered): Ditto.
5020
5021         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5022         message status.
5023         (elmo-msgdb-mark): Likewise.
5024         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5025         (elmo-msgdb-unset-flag): Likewise.
5026
5027         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5028
5029 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5030
5031         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5032         `last:' filter.
5033
5034 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5035
5036         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5037         set spool-length to 0.
5038
5039 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5040
5041         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5042         (elmo-dop-queue-flush): Fixed last change.
5043
5044 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5045
5046         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5047         if require-msgdb slot is nil.
5048         (elmo-folder-list-importants): Likewise.
5049
5050 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5051
5052         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5053         mark is changed.
5054
5055         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5056         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5057         is changed.
5058
5059 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5060
5061         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5062
5063 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
5064
5065         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5066
5067         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5068
5069 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5070
5071         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5072         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5073
5074 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5075
5076         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5077         the problem reported by Sean Rima [wl-en:180].
5078
5079 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5080
5081         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5082
5083         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5084
5085         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5086
5087         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5088
5089         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5090
5091         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5092
5093         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5094
5095 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5096
5097         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5098         status number.
5099
5100 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5101
5102         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5103         (elmo-folder-mark-as-read): Follow the API change.
5104         (elmo-message-set-cached): New function.
5105
5106         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5107
5108         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5109
5110         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5111         (elmo-folder-mark-as-important): Ditto.
5112         (elmo-folder-unmark-read): Ditto.
5113         (elmo-folder-mark-as-read): Ditto.
5114         (elmo-folder-unmark-answered): Ditto.
5115         (elmo-folder-mark-as-answered): Ditto.
5116
5117         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5118         (elmo-folder-unmark-important): Ditto.
5119         (elmo-folder-mark-as-read): Ditto.
5120         (elmo-folder-unmark-read): Ditto.
5121         (elmo-folder-mark-as-answered): Ditto.
5122         (elmo-folder-unmark-answered): Ditto.
5123
5124         * elmo-mark.el (toplevel): Removed some mark method definitions.
5125
5126         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5127         (elmo-map-folder-mark-as-answered): Ditto.
5128         (elmo-folder-unmark-important): Add :before qualifier.
5129         (elmo-folder-mark-as-important): Ditto.
5130         (elmo-folder-unmark-read): Ditto.
5131         (elmo-folder-mark-as-read): Ditto.
5132         (elmo-folder-unmark-answered): Define.
5133         (elmo-folder-mark-as-answered): Ditto.
5134
5135         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5136         (elmo-map-folder-unmark-answered): Ditto.
5137
5138         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5139
5140         * elmo-net.el (elmo-folder-unmark-important): Added :around 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-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5148         `mark'; evaluate mark condition.
5149         (elmo-msgdb-match-condition-internal): New function.
5150         (elmo-msgdb-match-condition): Call it; changed argument.
5151
5152         * elmo.el (elmo-folder-search): Follow the API change on
5153         `elmo-msgdb-match-condition'.
5154
5155 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5156
5157         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5158         original mark is non-nil.
5159
5160 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5161
5162         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5163         (elmo-map-folder-list-answereds): New method.
5164         (elmo-folder-list-unreads): Add :around qualifier.
5165         (elmo-folder-list-importants): Ditto.
5166         (elmo-folder-list-answereds): Ditto.
5167
5168 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5169
5170         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5171
5172         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5173         method if msgdb is not required.
5174         (elmo-filter-folder-list-importants): Don't treat global-mark.
5175
5176         * elmo.el (elmo-folder-list-importants): Ditto.
5177
5178         * elmo-net.el (elmo-folder-list-importants): Ditto.
5179
5180         * elmo-map.el (elmo-folder-list-importants): Ditto.
5181
5182         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5183
5184         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5185         (elmo-imap4-folder-list-any-plugged): New function.
5186         (elmo-imap4-search-internal-primitive): Use it.
5187
5188         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5189         only when require-msgdb slot is non-nil.
5190         (elmo-folder-close): Clear target folder's msgdb.
5191
5192 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5193
5194         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5195         (elmo-pop3-msgdb-create-by-header): Ditto.
5196         (elmo-pop3-msgdb-create-message): Ditto.
5197
5198         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5199
5200         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5201
5202         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5203
5204         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5205         (elmo-folder-msgdb-create): Ditto.
5206         (elmo-nntp-folder-msgdb-create): Ditto.
5207         (elmo-nntp-msgdb-create-by-header): Ditto.
5208         (elmo-nntp-msgdb-create-message): Ditto.
5209         (elmo-folder-list-unreads): Define.
5210
5211         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5212         (elmo-folder-append-messages): Ditto.
5213         (elmo-folder-list-unreads): Define.
5214         (elmo-folder-list-importants): Ditto.
5215         (elmo-folder-list-answereds): Ditto.
5216
5217         * elmo-net.el (elmo-folder-list-unreads): Define.
5218         (elmo-folder-list-importants): Ditto.
5219         (elmo-folder-list-answereds): Ditto.
5220         (elmo-folder-list-answereds-plugged): Ditto.
5221         (elmo-folder-msgdb-create): Follow the API change.
5222         (elmo-folder-msgdb-create-unplugged): Ditto.
5223         (elmo-folder-unmark-answered): Define.
5224         (elmo-folder-mark-as-answered-unplugged): Ditto.
5225         (elmo-folder-unmark-answered-unplugged): Ditto.
5226
5227         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5228         (elmo-msgdb-unread-uncached-mark): Ditto.
5229         (elmo-msgdb-unread-cached-mark): Ditto.
5230         (elmo-msgdb-read-uncached-mark): Ditto.
5231         (elmo-msgdb-answered-cached-mark): Ditto.
5232         (elmo-msgdb-answered-uncached-mark): Ditto.
5233         (elmo-msgdb-important-mark): Ditto.
5234         (elmo-msgdb-set-mark): Rewrite.
5235         (elmo-msgdb-count-marks): Rewrite.
5236         (elmo-msgdb-mark-alist-set): Abolish.
5237         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5238         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5239
5240         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5241         (elmo-folder-close): Define.
5242         (elmo-folder-msgdb-create): Follow the API change.
5243         (elmo-folder-list-unreads): Rewrite.
5244         (elmo-folder-mark-as-important): Ditto.
5245         (elmo-folder-unmark-important): Ditto.
5246         (elmo-folder-mark-as-read): Ditto.
5247         (elmo-folder-unmark-read): Ditto.
5248         (elmo-folder-mark-as-answered): Define.
5249         (elmo-folder-unmark-answered): Ditto.
5250
5251         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5252         (elmo-folder-append-messages): Ditto.
5253
5254         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5255
5256         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5257         (elmo-folder-list-importants): Ditto.
5258
5259         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5260         (elmo-folder-append-messages): Ditto.
5261
5262         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5263         change.
5264         (elmo-folder-msgdb-create-plugged): Ditto.
5265         (elmo-folder-append-messages): Ditto.
5266         (elmo-folder-list-answereds-plugged): Define.
5267         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5268         (elmo-folder-unmark-answered-plugged): Define.
5269         (elmo-folder-mark-as-answered-plugged): Ditto.
5270         (elmo-folder-search-requires-msgdb-p): Ditto.
5271
5272         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5273         (elmo-folder-initialize): Set it.
5274         (elmo-folder-msgdb): Define.
5275         (elmo-folder-check): Call elmo-folder-synchronize.
5276         (elmo-folder-close): Define.
5277         (elmo-folder-commit): Ditto.
5278         (elmo-folder-msgdb-create): Rewrite.
5279         (elmo-folder-list-unreads): Ditto.
5280         (elmo-folder-list-importants): Ditto.
5281         (elmo-folder-mark-as-read): Ditto.
5282         (elmo-folder-unmark-read): Ditto.
5283         (elmo-folder-mark-as-important): Ditto.
5284         (elmo-folder-unmark-important): Ditto.
5285         (elmo-folder-mark-as-answered): Define.
5286         (elmo-folder-unmark-answered): Ditto.
5287
5288         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5289         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5290         (elmo-dop-queue-method-name-alist): Likewise.
5291         (elmo-folder-mark-as-answered-dop): New inline function.
5292         (elmo-folder-unmark-answered-dop): Ditto.
5293         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5294
5295         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5296         (elmo-folder-msgdb-create): Ditto.
5297         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5298         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5299         (elmo-archive-parse-mmdf): Ditto.
5300
5301         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5302         (elmo-folder-list-unreads-internal): Ditto.
5303
5304         * elmo.el (elmo-folder-msgdb): Define as generic function.
5305         (elmo-folder-list-messages): Added argument `in-msgdb'.
5306         (elmo-folder-list-unreads): Define as generic function.
5307         (elmo-folder-list-importants): Ditto.
5308         (elmo-folder-list-answereds): Ditto.
5309         (elmo-folder-list-messages-with-global-mark): New function.
5310         (elmo-folder-msgdb-create): Removed mark arguments.
5311         (elmo-folder-unmark-answered): New generic function.
5312         (elmo-folder-mark-as-answered): Ditto.
5313         (elmo-folder-append-messages): Removed argunment `unread-marks'
5314         (elmo-folder-list-unreads-internal): Abolish.
5315         (elmo-folder-list-importants-internal): Ditto.
5316         (elmo-folder-search-requires-msgdb-p): New generic function.
5317         (elmo-folder-search-requires-msgdb-p-internal): New function.
5318         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5319         elmo-msgdb-load.
5320         (elmo-folder-search-fast): Added key 'mark'.
5321         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5322         instead of unread-marks argument.
5323         (elmo-folder-move-messages): Removed argunment `unread-marks'
5324         (elmo-folder-unmark-important): Define.
5325         (elmo-folder-mark-as-important): Ditto.
5326         (elmo-folder-unmark-read): Ditto.
5327         (elmo-folder-mark-as-read): Ditto.
5328         (elmo-folder-unmark-answered): Ditto.
5329         (elmo-folder-mark-as-answered): Ditto.
5330         (elmo-folder-replace-marks): Abolish.
5331         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5332         duplicates.
5333         (elmo-folder-synchronize): Removed mark arguments;
5334         return crosspost only number.
5335
5336 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5337
5338         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5339         Remove redundunt connectivity check.
5340
5341 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5342
5343         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5344         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5345
5346 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5347
5348         * pldap.el (ldap-decode-string): Return string as-is if
5349         `ldap-coding-system' is nil.
5350         (ldap-encode-string): Ditto.
5351         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5352         (ldap-default-host): Fixed docstring.
5353
5354 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5355
5356         * elmo-util.el (elmo-warning): Define as a macro which uses
5357         `display-warning' if it is defined as a function.
5358
5359         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5360         (elmo-split-equal): Use it.
5361         (elmo-split-match): Ditto.
5362         (elmo-split-message-entity): New buffer-local variable.
5363         (elmo-split-subr): Set it.
5364
5365         * elmo-version.el (elmo-version): Up to 2.9.15.
5366
5367 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5368
5369         * elmo-imap4.el (elmo-network-initialize-session):
5370         Check capability after starttls.
5371
5372 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5373
5374         * elmo-util.el (elmo-list-delete): Added optional argument
5375         DELETE-FUNCTION.
5376
5377         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5378
5379         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5380
5381         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5382
5383         * elmo-imap4.el (elmo-folder-initialize): Don't use
5384         elmo-imap4-default-mailbox.
5385
5386 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5387
5388         * elmo-split.el (toplevel): Use `product-provide'.
5389         (elmo-split): Checkdoc.
5390
5391 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5392
5393         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5394         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5395         the function `elmo-imap4-debug-1'.
5396
5397 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5398
5399         * elmo-split.el (elmo-split): Moved to run hooks and to show
5400         message from elmo-split-subr.
5401         (elmo-split-subr): Follow the change above.
5402
5403         * elmo-split.el (elmo-split-subr): New function (renamed from
5404         elmo-split-subr).
5405         (elmo-split): Changed to call elmo-split-subr by element of
5406         elmo-split-folder.
5407         (elmo-split-folder): Changed customization type to choice.
5408
5409 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5410
5411         * elmo-split.el (elmo-split-and): Fixed condition.
5412
5413 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5414
5415         * elmo-split.el: New file.
5416         (elmo-split): Fixed logic.
5417         Display "Test:" instead of "Folder:" when reharsal.
5418
5419         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5420         explicitly.
5421
5422         * elmo-version.el (elmo-version): Up to 2.9.14.
5423
5424         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5425         wl-expand-newtext).
5426
5427 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5428
5429         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5430         message with no message-id field.
5431
5432 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5433
5434         * elmo-version.el (elmo-version): Up to 2.9.13.
5435
5436         * elmo-dop.el (elmo-folder-status-dop): Fix.
5437
5438 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5439
5440         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5441
5442         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5443         changing default value of default-mime-charset.
5444         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5445
5446         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5447
5448         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5449         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5450         instead of elmo-dop-queue-method-name-alist to check merging queue.
5451         (elmo-folder-delete-messages-dop): Delete from queue if negative
5452         message number.
5453         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5454         file is already removed.
5455
5456 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5457
5458         * elmo-vars.el: Bind colon keywords for old Emacsen.
5459
5460 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5461
5462         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5463         against non-exsisting charset.
5464
5465 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5466
5467         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5468         Use eword-decode-and-unfold-unstructured-field-body.
5469
5470         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5471         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5472         exists to decode raw subject string.
5473         (toplevel): Require 'mime.
5474
5475         * elmo-version.el (elmo-version): Up to 2.9.12.
5476
5477 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5478
5479         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5480         (elmo-msgdb-set-mark): Ditto.
5481
5482         * elmo-version.el (elmo-version): Up to 2.9.11.
5483
5484 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5485
5486         * elmo-util.el (elmo-delete-match-files): New function.
5487
5488         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5489         instead of elmo-delete-directory.
5490
5491         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5492         elmo-hash-minimun-size as 63.
5493
5494         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5495         elmo-diff-unread is nil.
5496
5497         * elmo-imap4.el (elmo-folder-open): Fix.
5498
5499         * elmo.el (elmo-message-mark): Rewrite.
5500         (elmo-message-field): Ditto.
5501         (elmo-message-set-mark): Ditto.
5502         (elmo-folder-replace-marks): New function.
5503         (elmo-generic-folder-append-msgdb): Removed third argument for
5504         elmo-msgdb-append.
5505         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5506         (elmo-msgdb-load): New implementation.
5507
5508         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5509
5510         * elmo-util.el (elmo-list-insert): New implementation.
5511
5512         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5513         argument for elmo-msgdb-append.
5514         
5515
5516         * elmo-msgdb.el (elmo-load-msgdb): New function.
5517         (elmo-make-msgdb): Ditto.
5518         (elmo-msgdb-get-index): New inline function.
5519         (elmo-msgdb-set-index): Ditto.
5520         (elmo-msgdb-get-entity-hashtb): Ditto.
5521         (elmo-msgdb-get-mark-hashtb): Ditto.
5522         (elmo-msgdb-get-mark): Ditto.
5523         (elmo-msgdb-set-mark): Ditto.
5524         (elmo-msgdb-count-marks): Ditto.
5525         (elmo-msgdb-get-number): Ditto.
5526         (elmo-msgdb-get-field): Ditto.
5527         (elmo-msgdb-seen-list): Ditto.
5528         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5529         (elmo-msgdb-delete-msgs): Follow the changes above.
5530         (elmo-msgdb-overview-get-entity): Ditto.
5531         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5532         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5533         and rewritten.
5534         (elmo-msgdb-make-index): Likewise.
5535         (elmo-msgdb-append): Removed third argument.
5536         (elmo-msgdb-clear): Clear index as nil.
5537         (elmo-folder-set-info-hashtb): Removed.
5538         (elmo-folder-set-info-max-by-numdb): Ditto.
5539         (elmo-folder-info-make-hashtb): Ditto.
5540
5541         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5542
5543         * elmo-map.el (elmo-folder-pack-number): Ditto.
5544
5545 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5546
5547         * elmo-version.el (elmo-version): Up to 2.9.10.
5548
5549         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5550
5551         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5552
5553 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5554
5555         * elmo-utils.el (elmo-make-directory): Add option.
5556         Default file mode is 700.
5557
5558 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5559
5560         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5561
5562 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5563
5564         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5565         mime-charset.
5566
5567         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5568         and "smaller".
5569
5570 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5571
5572         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5573         (elmo-shimbun-folder-entity-hash): New function.
5574         (elmo-shimbun-folder-shimbun-header): Ditto.
5575         (elmo-shimbun-entity-to-header): Ditto.
5576         (elmo-shimbun-msgdb-to-headers): Removed.
5577         (elmo-shimbun-folder-setup): Ditto.
5578         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5579         for hash key.
5580         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5581         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5582         Removed useless local bind.
5583         (elmo-folder-open-internal): Don't call
5584         `elmo-shimbun-folder-setup'.
5585         (elmo-folder-close-internal): Clear entity-hash slot.
5586         (elmo-folder-clear): Ditto.
5587         (elmo-shimbun-msgdb-create-entity): Use
5588         `elmo-shimbun-folder-shimbun-header'.
5589         (elmo-map-message-fetch): Ditto.
5590         (elmo-shimbun-update-overview): Use overview entity instead of
5591         shimbun header to lookup id by references.
5592         (elmo-map-folder-list-message-locations): Use not only headers but
5593         also overviews to list locations.
5594
5595 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5596
5597         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5598         msgdb path.
5599
5600         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5601
5602 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5603
5604         * elmo-util.el (elmo-read-search-condition-internal): Give default
5605         value for date.
5606
5607 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5608
5609         * elmo-util.el (elmo-condition-parse-search-value): Accept
5610         YYYY-MM-DD format to search.
5611         * elmo-date.el (elmo-date-get-datevec): Likewise.
5612
5613 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5614
5615         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5616         debugging code.
5617
5618 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5619
5620         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5621         from t.
5622
5623         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5624
5625         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5626         case from `elmo-folder-exists-p'.
5627         (elmo-folder-exists-p): Removed.
5628         (elmo-folder-creatable-p) Ditto.
5629
5630         * elmo-net.el (elmo-folder-create): Defined.
5631         (elmo-folder-create-unplugged): New function.
5632         (elmo-folder-exists-p): Changed default value to nil from t.
5633
5634         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5635         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5636
5637         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5638         `elmo-create-folder-dop' and append queue
5639         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5640         (elmo-folder-create-dop-delayed): New function.
5641
5642         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5643
5644         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5645
5646         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5647         (elmo-folder-writable-p) : Ditto.
5648
5649         * elmo-version.el (elmo-version): Up to 2.9.9.
5650
5651 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5652
5653         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5654         `elmo-message-use-cache-p' returns nil.
5655         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5656         (ignore cache file and refer the substance in local folders)
5657
5658 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5659
5660         * elmo-version.el (elmo-version): Up to 2.9.8.
5661
5662 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5663
5664         * elmo-version.el (elmo-version): Up to 2.9.7.
5665
5666         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5667
5668 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5669
5670         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5671
5672 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5673
5674         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5675         from --early.
5676         (elmo-map-folder-list-message-locations): Reverse location list.
5677
5678 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5679
5680         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5681
5682 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5683
5684         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5685         as a key.
5686         (elmo-nntp-folder-list-subfolders): Follow the change above.
5687
5688 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5689
5690         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5691         name if authentication type is specified.
5692
5693 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5694
5695         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5696         variable.
5697         (elmo-default-nntp-stream-type): Ditto.
5698         (elmo-default-pop3-stream-type): Ditto.
5699
5700 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5701
5702         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5703
5704 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5705
5706         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5707         elmo-vars.el.
5708         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5709
5710         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5711         (elmo-maildir-folder-path): Ditto.
5712         (elmo-maildir-list): Ditto (abolished).
5713
5714 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5715
5716         * elmo-version.el (elmo-version): Up to 2.9.6.
5717
5718 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5719
5720         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5721         (elmo-maildir-folder-path): Ditto.
5722         (elmo-msgdb-directory): Ditto.
5723         (elmo-passwd-life-time): Ditto.
5724         (elmo-msgdb-extra-fields): Ditto.
5725         (elmo-enable-disconnected-operation): Ditto.
5726
5727 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5728
5729         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5730         other choices.
5731         (elmo-pop3-default-authenticate-type): Ditto.
5732
5733 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5734
5735         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5736         choices for custom.
5737         (elmo-pop3-default-authenticate-type): Ditto.
5738
5739 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5740
5741         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5742         mailbox to new-folder.
5743
5744 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5745
5746         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5747         less than new, set new as unread.
5748
5749         * elmo-util.el (elmo-string): Don't put text-property if nil.
5750
5751 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5752
5753         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5754         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5755
5756 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5757
5758         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5759         is nil on `completing-read'.
5760
5761 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5762
5763         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5764         for namespace part.
5765         (elmo-imap4-parse-namespace-subr): Ditto.
5766         (elmo-folder-list-subfolders): Append a delimiter when the specified
5767         folder path is a root with namespace and does not end with delimiter.
5768
5769 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5770
5771         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5772         was used.
5773
5774 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5775
5776         * elmo-util.el (elmo-save-buffer): The first argument of message
5777         is a format control string.
5778
5779 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5780
5781         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5782         `elmo-folder-diff').
5783         (elmo-diff-unread): Likewise.
5784
5785 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5786
5787         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5788         is t on `completing-read'.
5789
5790 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5791
5792         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5793         method of target folder with self mark-alist if MARK-ALIST is nil.
5794
5795 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5796
5797         * elmo-version.el (elmo-version): Up to 2.9.5.
5798
5799 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5800
5801         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5802         (elmo-dop-merge-funcs): Remove.
5803
5804 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5805
5806         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5807         Return t if PATH is directory, too.
5808         Use `dolist' instead of while loop.
5809
5810 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5811
5812         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5813         is deleted.
5814
5815 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5816
5817         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5818         return value to t.
5819         (elmo-folder-list-messages-unplugged): Return t if
5820         elmo-enable-disconnected-operation is nil.
5821
5822         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5823         `elmo-folder-list-messages-internal'.
5824
5825 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5826
5827         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5828         Change to looking-at `[23][0-9]+'.
5829         (elmo-network-initialize-session): Use 'error-msg'
5830         * elmo-net.el (elmo-network-open-session): Set unplugged
5831         if elmo-network-initialize-session returns 'elmo-open-err.
5832
5833 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5834
5835         * elmo-version.el (elmo-version): Up to 2.9.4.
5836
5837 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5838
5839         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5840         `elmo-folder-list-messages-internal'.
5841
5842 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5843
5844         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5845         (elmo-message-match-condition): New method.
5846         (elmo-folder-search-fast): New inline function.
5847         (elmo-msgdb-search): Removed.
5848
5849         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5850         target folder if it is unplugged.
5851         (elmo-folder-list-messages-internal): Return t if target folder is
5852         unplugged and itself is persistent; In this case, use list be
5853         searched already.
5854
5855         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5856         (elmo-msgdb-search-internal-primitive): Ditto.
5857         (elmo-msgdb-match-condition): New function.
5858         (elmo-msgdb-match-condition-primitive): Ditto.
5859
5860         * elmo-util.el (elmo-filter-condition-p): New macro.
5861
5862         * elmo-cache.el (elmo-folder-search): Removed.
5863
5864         * elmo-localdir.el (elmo-folder-search): Ditto.
5865
5866         * elmo-maildir.el (elmo-folder-search): Ditto.
5867
5868         * elmo-mark.el (elmo-folder-search): Ditto.
5869
5870         * elmo-nmz.el (elmo-folder-search): Ditto.
5871
5872         * elmo-sendlog.el (elmo-folder-search): Ditto.
5873
5874         * elmo-shimbun.el (elmo-folder-search): Ditto.
5875
5876         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5877         if folder is unplugged.
5878
5879         * elmo-nntp.el (elmo-folder-search): Likewise.
5880         (elmo-nntp-search-internal): New function.
5881
5882         * elmo-version.el (elmo-version): Up to 2.9.3.
5883
5884 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5885
5886         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5887
5888 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5889
5890         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5891
5892 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5893
5894         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5895
5896 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5897
5898         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5899         (elmo-map-folder-list-message-locations): Do drive letter conversion
5900         on Windows environment.
5901         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5902         (elmo-map-message-fetch): Ditto.
5903
5904 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5905
5906         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5907         (elmo-network-initialize-session): Ditto.
5908
5909 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5910
5911         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5912
5913         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5914
5915         * elmo-util.el (elmo-progress-clear): Ditto.
5916
5917         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5918         `DD-Mon-YYYY' type date.
5919
5920 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5921
5922         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5923         `elmo-date-make-sortable-string' instead of
5924         `timezone-make-date-sortable'.
5925
5926         * elmo-date.el (elmo-date-make-sortable-string): Use
5927         `timezone-make-time-string'.
5928
5929 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5930
5931         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5932
5933         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5934         `since'; Fix timezone.
5935
5936         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5937
5938         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5939
5940 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5941
5942         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5943
5944 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5945
5946         * elmo.el (elmo-generic-folder-append-messages): Make
5947         fetch-strategy with `use-cache' as 'maybe. Check return value of
5948         `elmo-message-fetch'.
5949         (elmo-message-fetch): Return return value of
5950         `elmo-message-fetch-with-cache-process'.
5951         (elmo-message-fetch-with-cache-process): Return non-nil if
5952         fetching was succeed. Load cache when fetching was failed and
5953         fetch-strategy-use-cache is 'maybe.
5954
5955         * elmo-util.el (elmo-file-cache-load): New function.
5956
5957         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5958         defun.
5959
5960         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5961         non-nil if fetching was succeed.
5962
5963         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5964
5965         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5966
5967         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5968         (elmo-message-fetch-with-cache-process): Likwise.
5969
5970         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5971
5972         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5973
5974         * elmo-version.el (elmo-version): Up to 2.9.2.
5975
5976 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5977
5978         * elmo.el (elmo-folder-delete): Delete msgdb path.
5979
5980         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5981
5982         * elmo-maildir.el (elmo-folder-delete): Ditto.
5983
5984         * elmo-localdir.el (elmo-folder-delete): Ditto.
5985
5986         * elmo-imap4.el (elmo-folder-delete): Ditto.
5987
5988 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5989
5990         * elmo.el (luna-define-class): Added `biff' slot.
5991
5992         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5993         (elmo-pop3-debug-inhibit-logging): Abolished.
5994         (elmo-network-close-session): Eliminated needless let.
5995         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5996         (elmo-pop3-send-command): Added `no-log' argument.
5997         (elmo-pop3-process-filter): Use `with-current-buffer'.
5998         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5999         if login failure.
6000         (elmo-pop3-auth-apop): Likewise.
6001         (elmo-network-authenticate-session): Likewise.
6002
6003         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6004         if biff folder.
6005
6006         * elmo-net.el (elmo-network-session-password-key): Use class symbol
6007         string to determine protocol.
6008         (elmo-network-session-name-prefix): Abolished.
6009         (elmo-network-session-cache-key): Follow the change above.
6010         (elmo-network-open-session): Ditto.
6011
6012         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6013         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6014
6015         * elmo-version.el (elmo-version): Up to 2.9.1.
6016
6017         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6018         unmatch condition checking.
6019
6020         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6021         condition.
6022
6023 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6024
6025         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6026
6027 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
6028
6029         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6030         test for while loop to execute at least one SEARCH command.
6031
6032 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
6033
6034         * elmo-version.el (elmo-version): Up to 2.9.0.
6035
6036 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6037
6038         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6039         (elmo-archive-folder-path): Define.
6040         (elmo-folder-initialize): Setup `dir-name' slot.
6041         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6042         Use `dir-name' as prefix of each subfolders.
6043         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6044
6045 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6046
6047         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6048         (elmo-pipe-folder-list-target-messages): New internal function.
6049         (elmo-pipe-drain): Use new argument `ignore-list' instead of
6050         `killed-list'.
6051         (elmo-pipe-folder-copied-list-load): New function.
6052         (elmo-pipe-folder-copied-list-save): Ditto.
6053         (elmo-folder-open-internal): Follow the change above.
6054         (elmo-folder-status): Fixed for copy.
6055
6056 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
6057
6058         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6059
6060 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
6061
6062         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6063         elmo-copy-file instead of elmo-add-name-to-file.
6064
6065         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6066
6067         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6068         "file://..." index.
6069
6070         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6071         of accept-process-output as 1.
6072         (elmo-pop3-read-contents): Ditto.
6073         (elmo-pop3-read-body): Ditto.
6074
6075 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6076
6077         * elmo-version.el (product-version-as-string): Remove define.
6078
6079 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6080
6081         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6082         (elmo-imap4-copy-messages): Chop number set using
6083         `elmo-imap4-number-set-chop-length'.
6084         (elmo-imap4-set-flag): Ditto.
6085         (elmo-imap4-search-internal-primitive): Ditto.
6086
6087 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6088
6089         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6090         `elmo-folder-make-temp-dir'
6091
6092         * elmo-vars.el (elmo-cache-directory): New variable.
6093         (elmo-cache-dir): Abolished.
6094         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6095
6096         * elmo-version.el (elmo-version): Up to 2.7.7.
6097
6098 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6099
6100         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6101         defcustom; Set default value as t.
6102
6103 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6104
6105         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6106         (ldap-search-program-arguments): Changed default value.
6107         (ldap-search-basic): Accept exit status 4.
6108         (ldap/field-body): Parse options.
6109         (ldap/collect-field): Ditto.
6110         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6111
6112         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6113         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6114         (elmo-imap4-accept-ok): Ditto.
6115         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6116         'notify-bye, only BYE error is reported.
6117         (elmo-folder-exists-p-plugged): Set no-error argument of
6118         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6119
6120         * elmo.el (elmo-imap4-bye-error): Changed message.
6121
6122         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6123         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6124         queues (It causes infinite loop).
6125
6126 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6127
6128         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6129         (RECENT UNSEEN MESSAGES) extension.
6130
6131 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6132
6133         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6134         Check number of overview fields.
6135
6136 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6137
6138         * elmo.el (elmo-folder-confirm-appends): Changed message.
6139         (elmo-folder-confirm-appends): Ditto.
6140
6141         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6142         `with-temp-buffer'.
6143         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6144
6145 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6146
6147         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6148         of elmo-folder-update-threshold is nil, which can be set by
6149         wl-summary-update-confirm-threshold.
6150
6151 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6152
6153         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6154         (elmo-nmz-index-alias-alist): Ditto.
6155         (elmo-map-folder-list-message-locations): Follow the change above.
6156
6157 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6158
6159         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6160
6161         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6162
6163         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6164
6165         * elmo-util.el (elmo-read): Ditto.
6166         (elmo-display-error): Ditto.
6167
6168         * elmo-vars.el (elmo-date-match): Ditto.
6169
6170         * pldap.el (ldap-coding-system): Ditto.
6171
6172         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6173         `elmo-inhibit-number-mapping' as nil.
6174
6175 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6176
6177         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6178         space delimiter for list response.
6179
6180 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6181
6182         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6183
6184 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6185
6186         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6187         (elmo-map-message-fetch): Fix.
6188         * elmo-map.el (elmo-folder-status): Fix for killed.
6189
6190 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6191
6192         * elmo-sendlog.el: New file.
6193         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6194
6195 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6196
6197         * acap.el (acap-logging-out): New buffer local variable.
6198         (acap-close): Set it.
6199         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6200         an error.
6201
6202 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6203
6204         * acap.el (acap-response-bye-p): New function.
6205         (acap-response-bye-message): Ditto.
6206         (acap-wait-for-response): If bye response is received, cause an error.
6207         (acap-parse-response): Make bye response when 'Bye' is received.
6208
6209 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6210
6211         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6212
6213 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6214
6215         * elmo-util.el (elmo-copy-file): Added argument
6216         `ok-if-already-exists'.
6217         (elmo-copy-file): Fixed typo.
6218
6219 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6220
6221         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6222
6223 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6224
6225         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6226
6227 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6228
6229         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6230         to killed-list.
6231
6232 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6233
6234         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6235         (elmo-folder-initialize): Fix for `copy'.
6236         (elmo-pipe-drain): Ditto.
6237         (elmo-folder-open-internal): Ditto.
6238         (elmo-folder-newsgroups): Fix.
6239
6240 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6241
6242         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6243         for each message.
6244
6245         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6246         recent value is returned from imap folder.
6247
6248         * elmo.el (elmo-folder-newsgroups): New generic function.
6249
6250         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6251         (elmo-folder-initialize): Set it.
6252         (elmo-folder-expand-msgdb-path): Use it.
6253         (elmo-folder-newsgroups): Define.
6254
6255         * elmo-filter.el (elmo-folder-newsgroups): Define.
6256
6257         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6258
6259         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6260
6261         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6262
6263 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6264
6265         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6266         user option.
6267         (elmo-shimbun-header-extra-field): New inline function.
6268         (elmo-shimbun-header-set-extra-field): Ditto.
6269         (elmo-shimbun-folder-header-hash-setup): Ditto.
6270         (elmo-shimbun-update-overview): Ditto.
6271         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6272         (elmo-shimbun-folder-setup): Use
6273         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6274         (elmo-shimbun-get-headers): Ditto.
6275         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6276         Insert `X-Shimbun-Id:' header if extra field is set.
6277         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6278         field's value instead of `shimbun-header-id'.
6279
6280         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6281         inline function.
6282         (elmo-msgdb-overview-entity-set-date): Ditto.
6283         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6284
6285 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6286
6287         * mmimap.el (mmimap-entity-section): Changed body node number from
6288         "0" to "1".
6289
6290 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6291
6292         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6293         `elmo-folder-delete-messages'.
6294
6295         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6296         (elmo-folder-initialize): Changed to expand alias into index path.
6297
6298         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6299         `elmo-mime-insert-header-from-buffer' with 6th arg
6300         `sorted-fields'.
6301
6302 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6303
6304         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6305
6306         * elmo.el (elmo-diff-new): New inline function.
6307         (elmo-diff-unread): Ditto.
6308         (elmo-diff-all): Ditto.
6309
6310         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6311         value from responseb.
6312         (elmo-imap4-folder-diff-plugged): Ditto.
6313         (elmo-imap4-server-diff-async): Added recent argument.
6314         (elmo-server-diff-async): Ditto.
6315         (elmo-imap4-folder-diff-plugged): Ditto.
6316
6317         * elmo-version.el (elmo-version): Up to 2.7.6.
6318
6319 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6320
6321         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6322         in quoted-stirng.
6323
6324 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6325
6326         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6327
6328         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6329
6330         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6331
6332         * elmo-multi.el (elmo-folder-initialize): Ditto.
6333
6334         * elmo-util.el (elmo-parse-token): New function.
6335         (elmo-parse-prefixed-element): Ditto.
6336
6337 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6338
6339         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6340         delete process.
6341         (elmo-imap4-accept-ok): Ditto.
6342
6343 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6344
6345         * mmimap.el (mime-imap-entity-header-string): Don't check first
6346         element of node-id is `0' (Follow last change).
6347
6348 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6349
6350         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6351         assigned irregular node-id to nested multipart section.
6352         (initialize-instance): Followed above change.
6353
6354 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6355
6356         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6357         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6358         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6359         `elmo-shimbun-get-headers');
6360         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6361         visible article on summary exists in headers).
6362         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6363
6364 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6365
6366         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6367         definition.
6368
6369 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6370
6371         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6372
6373 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6374
6375         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6376         header separator into loop condition.
6377
6378 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6379
6380         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6381         Return duplicate folder if it has subfolder.
6382
6383 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6384
6385         * elmo.el (elmo-make-folder): Add folder name error check.
6386
6387         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6388         (elmo-nntp-encode-group-string): New inline function.
6389         (elmo-nntp-decode-group-string): Ditto.
6390         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6391         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6392         Use `not' instead of `null';
6393         Use elmo-nntp-decode-group-string.
6394
6395         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6396
6397         * elmo-version.el (elmo-version): Up to 2.7.5.
6398
6399 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6400
6401         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6402         Hide progress gauge if `elmo-folder-move-messages' exits
6403         nonlocally.
6404
6405 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6406
6407         * elmo-imap4.el (elmo-folder-initialize): Use
6408         `elmo-imap4-encode-folder-string' for folder name.
6409
6410 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6411
6412         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6413         `done'.
6414
6415 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6416
6417         * elmo-util.el (elmo-progress-counter-alist): New internal
6418         variable.
6419         (elmo-progress-counter-value): New macro.
6420         (elmo-progress-counter-all-value): Ditto.
6421         (elmo-progress-counter-format): Ditto.
6422         (elmo-progress-counter-set-value): Ditto.
6423         (elmo-progress-set): New function.
6424         (elmo-progress-clear): Ditto.
6425         (elmo-progress-notify): Ditto.
6426
6427         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6428         counter.
6429
6430         * elmo.el (elmo-generic-folder-append-messages): Call
6431         `elmo-progress-notify'.
6432         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6433
6434         * elmo-archive.el (elmo-folder-append-messages): Call
6435         `elmo-progress-notify'.
6436
6437         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6438
6439         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6440
6441         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6442
6443 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6444
6445         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6446         'Create'.
6447         (elmo-message-encache-dop): Added argument `read'.
6448
6449         * elmo-shimbun.el (elmo-message-encache): Ditto.
6450
6451         * elmo-net.el (elmo-message-encache): Ditto.
6452
6453         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6454         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6455         elmo-imap4-seen-messages.
6456         (elmo-folder-msgdb-create-plugged): Initialize
6457         elmo-imap4-seen-messages;
6458         Set seen mark on elmo-imap4-seen-messages.
6459
6460         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6461
6462         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6463         elmo-folder-append-buffer.
6464         (elmo-folder-encache): Added optional argument `read'.
6465         (elmo-message-encache): Ditto.
6466
6467         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6468
6469         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6470
6471         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6472         if append buffer content succeds.
6473
6474 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6475
6476         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6477         elmo-display-progress.
6478
6479         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6480         Set 4th argument of mime-display-message.
6481         (elmo-mime-display-as-is): Ditto.
6482
6483 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6484
6485         * elmo-nmz.el (toplevel): Require 'mime-edit.
6486         (elmo-nmz-content-type-alist): Abolished.
6487         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6488         content is not a message.
6489         (elmo-map-message-fetch): Changed behavior exept for message content;
6490         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6491         content-type, Add From: and Subject: field.
6492
6493 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6494
6495         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6496         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6497         not a message.
6498
6499 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6500
6501         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6502         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6503
6504         * elmo-archive.el (elmo-folder-writable-p): Defined.
6505
6506         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6507
6508         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6509
6510         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6511
6512         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6513
6514         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6515
6516         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6517
6518         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6519
6520         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6521
6522 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6523
6524         * elmo-util.el (elmo-address-quote-specials): New function;
6525         Renamed from `wl-address-quote-specials'.
6526
6527 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6528
6529         * elmo-version.el (elmo-version): Up to 2.7.4.
6530
6531 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6532
6533         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6534
6535 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6536
6537         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6538         both compile-time and run-time to avoid byte-compile warning.
6539
6540 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6541
6542         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6543
6544 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6545
6546         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6547         option.
6548         (elmo-mime-display-as-is-internal): Use it.
6549
6550         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6551         if `read-passwd' is not defined.
6552
6553 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6554
6555         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6556         by original number.
6557         (elmo-folder-status): Call `elmo-folder-open-internal';
6558         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6559         (elmo-folder-close-internal): Set location-alist as nil.
6560         (elmo-folder-clear): Define.
6561         (elmo-folder-check): Don't set location-alist as nil.
6562
6563         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6564
6565 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6566
6567         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6568         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6569
6570         * mmimap.el (mime-imap-entity::requested): New slot.
6571         (mime-imap-location-fetch-entity-p): New generic function.
6572         (mime-decode-parameters): Define using `defun-maybe'.
6573         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6574         content-type structure.
6575         (mime-entity-body): Return empty body if
6576         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6577
6578         * elmo.el (elmo-message-displaying): New variable.
6579
6580         * elmo-mime.el (elmo-mime-message-display): Bind
6581         elmo-message-displaying as t.
6582
6583         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6584
6585 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6586
6587         * acap.el (acap-open): erase buffer before starting network process.
6588         (acap-store): Rewrite.
6589
6590 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6591
6592         * elmo-imap4.el (elmo-imap4-default-mailbox,
6593         elmo-imap4-default-server
6594         elmo-imap4-default-authenticate-type,
6595         elmo-imap4-default-user,
6596         elmo-imap4-default-port,
6597         elmo-imap4-default-stream-type,
6598         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6599
6600         * elmo-pop3.el (elmo-pop3-default-user,
6601         elmo-pop3-default-server,
6602         elmo-pop3-default-authenticate-type,
6603         elmo-pop3-default-port,
6604         elmo-pop3-default-stream-type,
6605         elmo-pop3-stream-type-alist): Ditto.
6606
6607         * elmo-nntp.el (elmo-nntp-default-server,
6608         elmo-nntp-default-user,
6609         elmo-nntp-default-port,
6610         elmo-nntp-default-stream-type,
6611         elmo-nntp-stream-type-alist): Ditto.
6612
6613         * elmo-vars.el: Follow changes above.
6614         (elmo-setting): New custom group; added 'elmo-setting group to
6615         above variables.
6616
6617         * elmo-version.el (elmo-version): Up to 2.7.3.
6618
6619         * acap.el (acap-parse-response): Don't delete process when BYE
6620         response (It causes hang-up on slow network environment).
6621         (toplevel): Added comment.
6622
6623 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6624
6625         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6626
6627         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6628         parsing NIL.
6629         (acap-parse-return-metadata): Ditto.
6630
6631         * slp.el: New file.
6632         (toplevel): Fixed typo.
6633
6634         * acap.el: New file.
6635         (acap-network-stream-open): Show "Connecting..." message.
6636         (acap-parse-response): Fixed problem for BYE untagged response.
6637         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6638         (toplevel): Added tiny comments.
6639
6640 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6641
6642         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6643         space delimiter for uidl response.
6644
6645 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6646
6647         * elmo-vars.el (elmo-use-semi): Eliminated.
6648
6649         * elmo-util.el (elmo-string-assoc-all): New function.
6650
6651 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6652
6653         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6654         property 'mime-preview-situation for `mime-preview-quit'.
6655
6656 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6657
6658         * elmo.el (elmo-message-fetch-with-cache-process): Call
6659         elmo-message-fetch-internal instead of causing an error when fetch
6660         strategy is 'entire but only 'section cache is available.
6661
6662 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6663
6664         * elmo-version.el (elmo-version): Up to 2.7.2.
6665
6666         * elmo.el (elmo-generic-folder-append-messages): Make
6667         fetch-strategy with `use-cache'.
6668
6669         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6670         (elmo-dop-queue-method-name): New macro.
6671
6672 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6673
6674         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6675         unbalanced parenthesis.
6676
6677 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6678
6679         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6680
6681 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6682
6683         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6684         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6685
6686 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6687
6688         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6689         local variables.
6690
6691 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6692
6693         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6694         (elmo-message-use-cache-p): Define.
6695         (elmo-folder-msgdb-create): Treat cache.
6696
6697 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6698
6699         * elmo-nntp.el (elmo-network-initialize-session): Call
6700         `elmo-nntp-send-mode-reader'.
6701         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6702
6703 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6704
6705         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6706         alist.
6707         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6708         assoc.
6709
6710         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6711         for `elmo-plugged-p'.
6712         (elmo-open-network-stream): Fixed stream-type argument.
6713
6714 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6715
6716         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6717         unknown archive type is specified.
6718
6719 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6720
6721         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6722
6723         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6724         while loading msgdb.
6725
6726         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6727         (elmo-folder-open-internal): Rewrite.
6728
6729 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6730
6731         * elmo-mime.el (elmo-mime-display-as-is-internal):
6732         Adjust buffer-multibyte status.
6733
6734 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6735
6736         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6737         of elmo-condition-find-key.
6738
6739         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6740         (elmo-condition-in-msgdb-p): Ditto.
6741         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6742         argument.
6743
6744 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6745
6746         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6747
6748 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6749
6750         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6751         label for elmo-display-progress.
6752
6753 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6754
6755         * elmo.el (elmo-folder-clear): New method.
6756         (elmo-folder-clear): Define.
6757         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6758
6759         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6760         (elmo-folder-clear): Define.
6761
6762         * elmo-map.el (elmo-folder-clear): Define.
6763
6764         * elmo-version.el (elmo-version): Up to 2.7.1.
6765
6766 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6767
6768         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6769         updates.
6770
6771 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6772
6773         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6774         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6775
6776 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6777
6778         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6779
6780         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6781         and re-written.
6782
6783         * elmo-imap4.el (elmo-folder-initialize): Use
6784         elmo-get-network-stream-type.
6785
6786         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6787
6788         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6789
6790 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6791
6792         * elmo.el (elmo-message-encache): Set unread argument for
6793         elmo-message-fetch.
6794
6795         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6796
6797         * elmo.el (elmo-net-port-info): New method.
6798
6799         * elmo-shimbun.el (elmo-net-port-info): Define.
6800         (elmo-message-encache): Ditto.
6801
6802         * elmo-net.el (elmo-net-port-info): Define as method.
6803
6804         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6805         unplugged status when elmo-enable-disconnected-operation is t.
6806
6807         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6808         of spool folder before checking new number.
6809
6810 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6811
6812         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6813         (elmo-network-setup-session): Ditto.
6814         (elmo-message-fetch-plugged): Ditto.
6815         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6816         (elmo-network-initialize-session): Ditto.
6817         (elmo-pop3-read-response): Abolish 3rd argument.
6818         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6819         (elmo-pop3-read-contents): Ditto.
6820         (elmo-pop3-read-body): Ditto.
6821         (elmo-folder-status): Call elmo-folder-close.
6822         (elmo-pop3-lock): Abolish.
6823         (elmo-pop3-unlock): Ditto.
6824         (elmo-pop3-locked-p): Ditto.
6825         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6826
6827 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6828
6829         * elmo-version.el (elmo-version): Up to 2.7.0.
6830
6831         * elmo-pop3.el (elmo-pop3-debug): New variable.
6832         (elmo-pop3-debug-inhibit-logging): Ditto.
6833         (elmo-pop3-debug): New function.
6834         (elmo-pop3-send-command): Call elmo-pop3-debug.
6835         (elmo-pop3-read-response): Added keep-lock optional argument;
6836         Don't unlock if keep-lock is non-nil.
6837         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6838         (elmo-network-authenticate-session): Bind
6839         elmo-pop3-debug-inhibit-logging as t.
6840         (elmo-network-setup-session): Call elmo-pop3-read-response with
6841         keep-lock argument.
6842         (elmo-pop3-read-msg): Ditto.
6843         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6844         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6845         (elmo-network-initialize-session): Call elmo-pop3-lock.
6846         (elmo-folder-close-internal): Don't clear location-alist slot.
6847         (elmo-folder-check): Clear location-alist slot.
6848
6849 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6850
6851         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6852         (elmo-pop3-send-command): Call elmo-pop3-lock.
6853         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6854         (elmo-pop3-read-contents): Ditto.
6855         (elmo-pop3-lock): New function.
6856         (elmo-pop3-unlock): Ditto.
6857         (elmo-pop3-locked-p): Ditto.
6858         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6859         returns t.
6860
6861 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6862
6863         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6864
6865         * elmo-util.el (elmo-file-field-primitive-condition-match):
6866         New inline function (Don't fetch file content if "first" or "last").
6867         (elmo-file-field-condition-match): Use
6868         elmo-file-field-primitive-condition-match.
6869
6870         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6871         "first".
6872
6873         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6874         (elmo-message-fetch-plugged): Fixed.
6875
6876         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6877
6878 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6879
6880         * elmo.el (elmo-folder-move-messages): Bind
6881         elmo-inhibit-display-retrieval-progress as t while moving messages.
6882
6883         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6884         New variable.
6885         (elmo-inhibit-display-retrieval-progress): Ditto.
6886
6887         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6888         for retrieval progress;
6889         Don't display progress when total buffer size is smaller than
6890         elmo-display-retrieval-progress-threshold.
6891         (elmo-message-fetch-plugged): Don't display progress when
6892         elmo-inhibit-display-retrieval-progress is non-nil.
6893
6894         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6895         for retrieval progress;
6896         Don't display progress when literal size is smaller than
6897         elmo-display-retrieval-progress-threshold.
6898         (elmo-imap4-message-fetch): Don't display progress when
6899         elmo-inhibit-display-retrieval-progress is non-nil.
6900
6901 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6902
6903         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6904         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6905         (elmo-imap4-message-fetch): Likewise.
6906
6907         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6908         (elmo-shimbun-index-range-alist): Ditto.
6909         (elmo-shimbun-use-entire-index): Abolish.
6910         (shimbun-mua-use-entire-index): Ditto.
6911         (elmo-shimbun-folder): Added new slot `range'.
6912         (elmo-folder-initialize): Setup slot `range'.
6913
6914 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6915
6916         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6917         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6918         (elmo-shimbun-get-headers): Use return value of
6919         `shimbun-article-expiration-days'.
6920         (elmo-folder-close-internal): Clean up last-check slot.
6921
6922         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6923         (elmo-pop3-total-size): New variable.
6924         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6925
6926         * elmo.el (elmo-folder-reserve-status-p): New method.
6927
6928         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6929         (elmo-shimbun-use-entire-index): New user option.
6930         (shimbun-elmo-mua): New class.
6931         (shimbun-mua-search-id): Define.
6932         (shimbun-mua-use-entire-index): Ditto.
6933         (elmo-shimbun-folder:last-check): New slot.
6934         (elmo-shimbun-headers-cache-header-list): Abolish.
6935         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6936         (elmo-shimbun-headers-cache-header-hash): Ditto.
6937         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6938         (elmo-shimbun-headers-cache-last-check): Ditto.
6939         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6940         (elmo-shimbun-headers-check-p): Rewrite.
6941         (elmo-shimbun-msgdb-to-headers): New function.
6942         (elmo-shimbun-get-headers): Rewrite.
6943         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6944         (elmo-folder-open-internal): Get headers only if
6945         `elmo-shimbun-headers-check-p' is non-nil.
6946         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6947         is non-nil.
6948         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6949         (elmo-quit): Removed.
6950
6951         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6952         function.
6953         (elmo-msgdb-overview-entity-set-extra): Ditto.
6954         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6955
6956         * elmo-map.el (elmo-folder-status): Don't call
6957         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6958         is non-nil.
6959
6960 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6961
6962         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6963         of `elmo-msgdb-search-internal-primitive' when condition's car is
6964         `and' or `or'.
6965
6966 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6967
6968         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6969
6970 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6971
6972         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6973         call `elmo-pipe-drain'.
6974
6975 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6976
6977         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6978         typo. (elmo-cache-folder -> elmo-mark-folder)
6979
6980 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6981
6982         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6983         `elmo-message-fetch'.
6984
6985 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6986
6987         * elmo-net.el (elmo-message-encache): Fixed typo.
6988         (elmo-message-fetch-unplugged): Changed call
6989         `elmo-message-fetch-internal' without argument `outbuf'.
6990
6991 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6992
6993         * elmo.el (elmo-message-encache): Define as generic function.
6994         (elmo-message-fetch-field): New generic function.
6995         (elmo-message-fetch-with-cache-process): Cause an error when
6996         fetch strategy is 'entire but only 'section cache is available.
6997         (toplevel): Fixed nmz folder definition.
6998
6999         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7000         (elmo-msgdb-resume-list-filename): Ditto.
7001         (elmo-queue-filename): Ditto.
7002         (elmo-enable-disconnected-operation): Changed default value to t.
7003
7004         * elmo-util.el (elmo-cache-path-section-p): New function.
7005         (elmo-file-cache-get): Use it.
7006         (elmo-dop-queue-filename): Moved from elmo-dop.el.
7007         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7008         (elmo-dop-queue-save): Ditto.
7009
7010         * elmo-net.el (elmo-folder-status-unplugged): Call
7011         elmo-folder-status-dop.
7012         (elmo-folder-list-messages-unplugged): Implemented.
7013         (elmo-folder-delete-messages-unplugged): Define.
7014         (elmo-folder-msgdb-create): Define.
7015         (elmo-folder-msgdb-create-unplugged): Define.
7016         (elmo-folder-mark-as-read-unplugged): Ditto.
7017         (elmo-folder-unmark-read-unplugged): Ditto.
7018         (elmo-folder-mark-as-important-unplugged): Ditto.
7019         (elmo-folder-unmark-important-unplugged): Ditto.
7020         (elmo-message-encache): Ditto.
7021
7022         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7023         (elmo-dop-queue-save): Ditto.
7024
7025         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7026         `elmo-folder-msgdb-create'.
7027         (elmo-folder-append-buffer): Implemented unplugged operation.
7028         (elmo-folder-append-messages): Call parent method in unplugged status.
7029         (elmo-message-fetch-unplugged): Removed definition.
7030         (elmo-message-fetch-field): Implemented.
7031
7032         * elmo-dop.el (toplevel): Require 'elmo-localdir.
7033         (elmo-dop-folder): Removed variable definition.
7034         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7035         (elmo-dop-queue-flush): Implemented.
7036         (elmo-dop-queue-merge): Removed definition (TODO).
7037         (elmo-dop-spool-folder): New function.
7038         (elmo-dop-spool-folder-append-buffer): Ditto.
7039         (elmo-dop-spool-folder-list-messages): Ditto.
7040         (elmo-dop-list-deleting-messages): Ditto.
7041         (elmo-folder-append-buffer-dop): Ditto.
7042         (elmo-folder-delete-messages-dop): Ditto.
7043         (elmo-message-encache-dop): New inline function.
7044         (elmo-create-folder-dop): Ditto.
7045         (elmo-folder-mark-as-read-dop): Ditto.
7046         (elmo-folder-unmark-read-dop): Ditto.
7047         (elmo-folder-mark-as-important-dop): Ditto.
7048         (elmo-folder-unmark-important-dop): Ditto.
7049         (elmo-folder-status-dop): Fixed.
7050         (elmo-folder-append-buffer-dop-delayed): New function.
7051         (elmo-folder-delete-messages-dop-delayed): Ditto.
7052         (elmo-dop-msgdb): Ditto.
7053
7054 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7055
7056         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7057
7058 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7059
7060         * elmo.el (elmo-folder-move-messages): Fixed problem when
7061         `dst-folder' is 'null.
7062
7063 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7064
7065         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7066         instead of current mark.
7067
7068         * elmo-multi.el (elmo-folder-list-importants-internal): No
7069         operation if importants is not list.
7070
7071         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7072         Return t if importants is not list.
7073
7074         * elmo-map.el (elmo-map-folder-list-importants): Define.
7075         (elmo-folder-list-importants-internal): Check return value of
7076         `elmo-map-folder-list-importants-internal'.
7077
7078         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7079
7080         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7081
7082         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7083
7084         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7085
7086 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7087
7088         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7089         (Patch is provided by <kita@coe.nttdata.co.jp>).
7090
7091 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7092
7093         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7094         mark folder.
7095
7096 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7097
7098         * elmo.el (elmo-message-fetch): Define.
7099         (elmo-message-fetch-with-cache-process): New generic method.
7100         (elmo-message-fetch-internal): New generic method.
7101         (elmo-folder-synchronize):
7102
7103         * elmo-archive.el (elmo-message-fetch-internal): Define.
7104         (elmo-message-fetch): Eliminated.
7105
7106         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7107         (elmo-message-fetch): Eliminated.
7108
7109         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7110         argument OUTBUF.
7111         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7112
7113         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7114         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7115
7116         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7117         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7118
7119         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7120
7121         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7122
7123         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7124
7125         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7126         (elmo-message-fetch-unplugged): New generic method.
7127         (elmo-message-fetch-internal): Remove cache process (Renamed from
7128         `elmo-message-fetch').
7129
7130         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7131         (elmo-message-fetch): Eliminated.
7132         (elmo-message-fetch-unplugged): Ditto.
7133
7134         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7135
7136 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7137
7138         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7139         of `to-be-deleted' from number-alist to number-list.
7140
7141 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7142
7143         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7144         (elmo-folder-mark-as-important): Ditto.
7145
7146 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7147
7148         * elmo.el (elmo-folder): Added process-duplicates slot.
7149
7150         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7151         (elmo-folder-unmark-read): Ditto.
7152         (elmo-folder-unmark-important): Ditto.
7153         (elmo-folder-mark-as-important): Ditto.
7154
7155         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7156         duplicated message processing.
7157
7158         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7159
7160 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7161
7162         * elmo-util.el (elmo-list-subdirectories-1): New function.
7163         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7164         (elmo-mapcar-list-of-list): New function.
7165
7166         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7167         `elmo-mapcar-list-of-list' instead of `mapcar'.
7168
7169         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7170
7171         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7172         `elmo-have-link-count'. Return the fully qualified folder name.
7173
7174 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7175
7176         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7177         (elmo-shimbun-headers-cache): New internal variable.
7178         (elmo-shimbun-headers-cache-header-list): New inline function.
7179         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7180         (elmo-shimbun-headers-cache-header-hash): Ditto.
7181         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7182         (elmo-shimbun-headers-cache-last-check): Ditto.
7183         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7184         (elmo-shimbun-lapse-seconds): Ditto.
7185         (elmo-shimbun-headers-cache-check-p): Ditto.
7186         (elmo-shimbun-get-headers): New function.
7187         (elmo-folder-open-internal): Call it.
7188         (elmo-quit): Define (Clear headers-cache).
7189
7190 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7191
7192         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7193
7194         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7195         (elmo-msgdb-flist-save): Ditto.
7196
7197         * elmo-shimbun.el (elmo-folder-list-subfolders):
7198         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7199         (elmo-folder-exists-p): Ditto.
7200
7201         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7202         argument for `shimbun-header-insert'.
7203
7204 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7205
7206         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7207         at first time.
7208
7209         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7210         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7211
7212 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7213
7214         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7215         (elmo-folder-plugged-p): Define.
7216         (elmo-folder-set-plugged): Ditto.
7217         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7218         (elmo-folder-list-messages-internal): Return t if unplugged.
7219         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7220
7221         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7222         when elmo-folder-list-messages-internal method of children returns t.
7223
7224         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7225         pair is nil.
7226         (elmo-folder-open-internal): Don't update if unplugged status.
7227
7228 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7229
7230         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7231         new message.
7232
7233 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7234
7235         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7236
7237         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7238         saving.
7239
7240 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7241
7242         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7243
7244         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7245         (elmo-folder-open-internal): Set up headers slot.
7246         (elmo-folder-check): Call elmo-folder-close-internal and
7247         elmo-folder-open-internal.
7248         (elmo-folder-close-internal): Clean up headers slot.
7249
7250 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7251
7252         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7253         exactly folder list.
7254         (elmo-folder-append-messages): Fixed append archive with prefix.
7255
7256         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7257         make temp files with start-number.
7258
7259         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7260
7261 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7262
7263         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7264         argument `visible-only'.
7265         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7266         instead of `if'.
7267
7268         * elmo-pop3.el (elmo-folder-open-internal): Check
7269         `elmo-inhibit-number-mapping' is non-nil.
7270
7271         * elmo-pipe.el (elmo-folder-status): Fixed.
7272
7273 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7274
7275         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7276
7277         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7278         (elmo-folder-open-internal): Setup `header-hash' slot.
7279         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7280         information.
7281         (elmo-map-message-fetch): Ditto.
7282
7283 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7284
7285         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7286         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7287         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7288         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7289
7290         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7291
7292 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7293
7294         * sb-airs.el: Added footer.
7295
7296         * shimbun.el (shimbun-article): Define as luna-method.
7297
7298         * sb-tcup.el: New file.
7299
7300         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7301         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7302
7303 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7304
7305         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7306         (shimbun-get-headers): Ditto.
7307
7308         * elmo.el: Moved obsolete variable definitions from
7309         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7310
7311         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7312         groups.
7313
7314         * shimbun.el: New file.
7315
7316         * elmo-shimbun.el: New file.
7317
7318         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7319         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7320         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7321         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7322
7323 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7324
7325         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7326         hierarchy is t.
7327
7328 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7329
7330         * elmo.el (elmo-folder-msgdb): Define as macro.
7331         (elmo-folder-open): Added argument `load-msgdb'.
7332         (elmo-generic-folder-open): Ditto.
7333         (elmo-folder-encache): New function.
7334
7335         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7336
7337         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7338
7339         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7340         Eliminated argument FOLDER and added argument MSGDB.
7341         (elmo-dop-queue-load): Moved from elmo-dop.el.
7342         (elmo-dop-queue-save): Ditto.
7343
7344         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7345
7346         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7347
7348         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7349         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7350         (elmo-filter-folder-list-importants-internal): Ditto.
7351
7352         * elmo-map.el (elmo-folder-pack-number): Ditto.
7353
7354         * elmo-mime.el (elmo-mime-message-display): Ditto.
7355
7356         * elmo.el (elmo-generic-folder-commit): Ditto.
7357         (elmo-folder-list-unreads): Ditto.
7358         (elmo-folder-list-importants): Ditto.
7359         (elmo-generic-folder-commit): Ditto.
7360         (elmo-message-set-mark): Ditto.
7361         (elmo-generic-folder-append-msgdb): Ditto.
7362         (elmo-folder-synchronize): Ditto.
7363         (elmo-folder-messages): Ditto.
7364         (elmo-init): Call elmo-dop-queue-load.
7365         (elmo-folder-list-messages): Ditto.
7366
7367         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7368         (elmo-nntp-folder-process-crosspost): Ditto.
7369         (elmo-folder-list-unreads-internal): Ditto.
7370
7371         * elmo-dop.el: Removed old functions.
7372
7373 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7374
7375         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7376         `folder' to `msgdb'.
7377
7378 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7379
7380         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7381         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7382
7383         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7384         case-fold-search.
7385
7386 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7387
7388         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7389         defined.
7390
7391         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7392         (mmimap-parse-parameters-from-list): Define as alias for
7393         `mime-decode-parameter-plist' if it is defined as function.
7394         (mmimap-make-mime-entity): Added argument `number'.
7395         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7396         as 0.
7397         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7398
7399         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7400
7401         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7402
7403         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7404
7405 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7406
7407         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7408
7409         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7410         when elmo-imap4-default-authenticate-type is nil.
7411         (elmo-folder-list-subfolders): Ditto
7412         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7413         (elmo-imap4-fetch-callback-1-subr): Renamed from
7414         `elmo-imap4-fetch-callback-1' and define as inline function.
7415         (elmo-imap4-fetch-callback-1):
7416         Renamed from `elmo-imap4-fetch-callback'.
7417         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7418
7419         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7420         msgdb path (To keep compatibility with main trunk).
7421
7422         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7423
7424         * elmo-util.el (elmo-make-file-cache): Moved position of
7425         some macros.
7426
7427         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7428         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7429         instead of `elmo-pop3-inhibit-uidl'.
7430         (elmo-folder-exists-p): Ditto.
7431         (elmo-pop3-folder-list-messages): Ditto.
7432
7433         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7434         instead of `elmo-pop3-inhibit-uidl'.
7435         (elmo-folder-status): Ditto.
7436
7437         * elmo-dop.el (elmo-dop-folder): New variable.
7438         (elmo-dop-lock-message): Eliminated.
7439         (elmo-dop-unlock-message): Ditto.
7440         (elmo-dop-lock-list-load): Ditto.
7441         (elmo-dop-lock-list-save): Ditto.
7442         (elmo-dop-delete-folder): Ditto.
7443         (elmo-dop-rename-folder): Ditto.
7444
7445         * elmo.el: Removed incomplete commentary.
7446
7447 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7448
7449         * elmo.el (toplevel): Require 'elmo-version first;
7450         for little `recursive-load-depth' settings.
7451         Fix "ends here" comment.
7452
7453 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7454
7455         * elmo-util.el (toplevel): Require 'poem;
7456         Some functions are moved from elmo-cache.el.
7457
7458         * elmo-net.el (toplevel): Require 'elmo-cache.
7459
7460         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7461
7462         * elmo.el (toplevel): Ditto.
7463
7464         * elmo-cache.el: Rewrite with luna;
7465         Some functions are moved to elmo-util.el.
7466
7467         * elmo-internal.el (elmo-internal-folder-list): New variable.
7468         (elmo-internal-folder-initialize): Rewrite.
7469         (elmo-folder-list-subfolders): Ditto.
7470
7471         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7472         (elmo-cache-collect-sub-directories): Ditto.
7473
7474 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7475
7476         * elmo-version.el (elmo-version): Up to 2.5.8.
7477
7478         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7479
7480         * elmo-util.el (elmo-list-insert): New function.
7481
7482 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7483
7484         * elmo.el (elmo-init): New function.
7485         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7486
7487         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7488         (Renamed from `elmo-localdir-header-chop-length').
7489
7490         * elmo-pop3.el (elmo-pop3-use-cache,
7491         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7492
7493         * elmo-nntp.el (elmo-message-fetch): Define.
7494         (elmo-message-fetch-unplugged): Ditto.
7495         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7496         (elmo-nntp-use-cache): Ditto.
7497         (elmo-nntp-max-number-precedes-list-active): Ditto.
7498
7499         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7500
7501         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7502         `elmo-msgdb-insert-file-header'.
7503         Use `elmo-msgdb-file-header-chop-length'.
7504
7505         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7506         `elmo-vars.el'.
7507
7508         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7509         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7510         `elmo-msgdb-insert-file-header'.
7511
7512         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7513         Use new variable;
7514         Define obsolete variables with `elmo-define-obsolete-variable',
7515
7516         * elmo-util.el (elmo-warning-buffer-name): New constant.
7517         (elmo-warning): New function.
7518         (elmo-obsolete-variable-alist): New variable.
7519         (elmo-obsolete-variable-show-warnings): New variable.
7520         (elmo-define-obsolete-variable): New function.
7521         (elmo-resque-obsolete-variable): Ditto.
7522         (elmo-resque-obsolete-variables): Ditto.
7523
7524 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7525
7526         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7527         Eliminated.
7528
7529         * elmo-pop3.el, elmo-nntp.el: Use custom.
7530
7531 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7532
7533         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7534         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7535
7536 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7537
7538         * Luna-fy Kenichi OKADA's following changes.
7539         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7540         `nohide'.
7541         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7542
7543 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7544
7545         * elmo-util.el (elmo-display-progress): Prefer
7546         `progress-feedback-with-label' to `lprogress-display'.
7547
7548 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7549
7550         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7551
7552 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7553
7554         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7555         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7556         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7557         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7558         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7559         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7560         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7561         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7562         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7563         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7564         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7565         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7566         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7567
7568 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7569
7570         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7571         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7572
7573 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7574
7575         * elmo.el (elmo-folder-process-crosspost): New generic method.
7576         (elmo-folder-writable-p): Ditto.
7577         (elmo-folder-message-appendable-p): Eliminated.
7578         (elmo-generic-folder-append-msgdb): Rewrite.
7579         (elmo-newsgroups-hashtb): New internal variable.
7580         (elmo-crosspost-message-set): Eliminated.
7581         (elmo-crosspost-message-delete): Ditto.
7582         (elmo-setup-subscribed-newsgroups): New function.
7583         (elmo-crosspost-message-alist-modified): New internal variable.
7584         (elmo-crosspost-message-alist-load): New function (Renamed from
7585         `wl-crosspost-alist-load').
7586         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7587         `wl-crosspost-alist-save').
7588
7589         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7590
7591         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7592         `unreads'.
7593         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7594         elmo-newsgroups-hashtb).
7595         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7596         `elmo-nntp-folder-update-crosspost-message-alist'.
7597         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7598         `elmo-nntp-groups-hashtb'.
7599         (elmo-nntp-make-groups-hashtb): Eliminated.
7600         (elmo-nntp-parse-newsgroups): New function (Renamed from
7601         `wl-parse-newsgroups').
7602         (elmo-folder-creatable-p, elmo-folder-writable-p,
7603         elmo-folder-close-internal, elmo-folder-mark-as-read,
7604         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7605         Define.
7606         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7607
7608         * elmo-net.el (elmo-message-fetch): Check buffer size.
7609
7610         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7611
7612         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7613
7614         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7615         before `close' command.
7616
7617         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7618         `mark-alist' (All other related portions are changed).
7619
7620 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7621
7622         * elmo-util.el (elmo-create-hash-size): Eliminated.
7623         (elmo-make-hash) Make a hash with `one less than a power of two'
7624         length.
7625
7626         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7627         (elmo-hash-maximum-size): Changed value.
7628
7629 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7630
7631         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7632         (elmo-mime-message-display-as-is): Ditto.
7633
7634 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7635
7636         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7637         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7638
7639 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7640
7641         * elmo-mark.el: New file.
7642
7643         * elmo-internal.el: Rewrite (Almost empty).
7644
7645 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7646
7647         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7648         (mime-imap-entity-header-string): Ditto.
7649         (mmimap-entity-section): Rewrite.
7650
7651 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7652
7653         * elmo-nmz.el: New file.
7654
7655         * elmo-pipe.el: Rewrite with luna.
7656
7657 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7658
7659         * elmo-archive.el: Rewrite with luna.
7660
7661         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7662         (elmo-folder-list-importants-internal): Ditto.
7663
7664 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7665
7666         * elmo-archive.el (elmo-archive-version): Abolish.
7667         (toplevel) Removed `boso' comment.
7668
7669 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7670
7671         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7672         elmo-msgdb-add-msgs-to-seen-list-subr;
7673         Changed argument seen-marks to unread-marks.
7674
7675         * elmo-nntp.el: Rewrite with luna.
7676
7677 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7678
7679         * elmo-filter.el: Rewrite with luna.
7680
7681 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7682
7683         * elmo-pop3.el: Rewrite with luna.
7684
7685 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7686
7687         * elmo-multi.el: Rewrite with luna.
7688
7689         * elmo-vars.el (elmo-use-killed-list): Abolish.
7690         All other related portions are changed.
7691         (elmo-filename-replace-string-alist): Renamed from
7692         elmo-msgid-replace-string-alist.
7693
7694 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7695
7696         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7697
7698         * elmo-map.el: New file.
7699         * elmo-maildir.el: Rewrite with luna.
7700
7701 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7702
7703         * elmo.el: Changed meaning of `elmo-folder-commit'.
7704         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7705
7706 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7707
7708         * elmo.el (elmo-folder-append-buffer): New function.
7709         (Renamed from `elmo-append-msg')
7710
7711 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7712
7713         * elmo-mime.el: New file.
7714
7715 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7716
7717         * elmo-cache.el: Rewrite.
7718
7719 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7720
7721         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7722
7723 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7724
7725         * elmo-vars.el (elmo): New group.
7726         (elmo-strict-diff-folder-regexp): New variable.
7727
7728         * elmo-util.el (elmo-call-func): Abolish.
7729         (elmo-folder-get-type): Ditto.
7730         (elmo-*-get-spec): Ditto.
7731         (elmo-*-spec-*): Ditto.
7732         (elmo-imap4-identical-name-space-p): Ditto.
7733         (elmo-folder-identical-system-p): Ditto.
7734         (elmo-folder-direct-copy-alist): Ditto.
7735         (elmo-folder-direct-copy-p): Ditto.
7736
7737         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7738         (elmo-folder-initialize): Define.
7739         (elmo-folder-get-primitive-list): Ditto.
7740
7741         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7742         (elmo-folder-initialize): Define.
7743         Renamed `elmo-network-session-host-internal' to
7744         `elmo-network-session-server-internal'.
7745
7746         * elmo-multi.el (elmo-multi-folder): New luna class.
7747         (elmo-folder-initialize): Define.
7748         (elmo-folder-get-primitive-list): Ditto.
7749         (elmo-folder-contains-type): Ditto.
7750         (elmo-message-use-cache-p): Ditto.
7751
7752         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7753         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7754
7755         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7756         (elmo-folder-initialize): Define.
7757
7758         * elmo-filter.el (elmo-filter-folder): New luna class.
7759         (elmo-folder-initialize): Define.
7760         (elmo-folder-get-primitive-list): Ditto.
7761         (elmo-folder-contains-type): Ditto.
7762
7763 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7764
7765         * elmo-imap4.el: Rewrite with luna.
7766
7767         * mmimap.el: New file.
7768
7769         * mmelmo.el, mmelmo-imap4.el: Removed.
7770
7771         * elmo-net.el: Ditto.
7772
7773         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7774         (elmo-folder-initialize): Define.
7775
7776         * elmo-archive.el (elmo-archive-folder): New luna class.
7777         (elmo-folder-initialize): Define.
7778
7779         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7780         `elmo-folder-msgdb-path'.
7781         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7782         `elmo-make-folder'.
7783
7784 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7785
7786         * elmo.el: New file.
7787
7788         * elmo2.el: Renamed to elmo.el.
7789
7790 \f
7791 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7792
7793         * elmo-cache.el (elmo-cache-expire-by-size): Count
7794         a disk usage for a cache file entry in KB even when
7795         its kind is a directory.
7796
7797 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7798
7799         * elmo-version.el (elmo-version): Up to 2.5.7.
7800
7801 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7802
7803         * elmo-version.el (elmo-version): Up to 2.5.6.
7804
7805 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7806
7807         * elmo-version.el (elmo-version): Up to 2.5.5.
7808
7809 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7810
7811         * elmo-imap4.el (elmo-network-authenticate-session):
7812         Fixed a logic for response checking.
7813
7814 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7815
7816         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7817         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7818         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7819         `sasl-mechanisms'.
7820
7821         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7822         for `starttls-open-stream' and `starttls-negotiate'.
7823
7824         * elmo-nntp.el: Remove autoload settings for
7825         `starttls-open-stream' and `starttls-negotiate'.
7826
7827         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7828         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7829         `luna-define-class' with `eval-and-compile'.
7830
7831 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7832
7833         * elmo-util.el (elmo-read-search-condition-internal):
7834         Require an element of table for searching field.
7835
7836 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7837
7838         * elmo-version.el (elmo-version): Up to 2.5.4.
7839
7840 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7841
7842         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7843
7844 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7845
7846         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7847
7848 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7849
7850         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7851         before greeting.
7852
7853 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7854
7855         * elmo-imap4.el (elmo-imap4-delete-folder):
7856         Send "close" before "delete" (Use commented out line).
7857         (elmo-imap4-rename-folder): Ditto.
7858
7859         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7860         folder string itself.
7861         (elmo-dop-list-deleted): New function.
7862         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7863         killed.
7864
7865         * elmo-util.el (elmo-string-rassoc-all): New function.
7866
7867 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7868
7869         * elmo-version.el (elmo-version): Up to 2.5.3.
7870
7871         * elmo-net.el (elmo-network-get-session): Changed logic for
7872         checking process status.
7873
7874         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7875         process is nil;
7876         Changed logic for checking process status.
7877
7878 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7879
7880         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7881         before greeting.
7882         (elmo-network-setup-session): Set UIDL hash size according to
7883         the length of list response.
7884         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7885         according to the length of list response;
7886         Return the length of list response.
7887         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7888
7889 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7890
7891         * elmo-imap4.el (toplevel): Require 'ssl.
7892         Add autoload 'starttls.
7893         * elmo-pop3.el (toplevel): Ditto.
7894         * elmo-nntp.el (toplevel): Ditto.
7895
7896 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7897
7898         * elmo-imap4.el (toplevel): defun at compile time.
7899         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7900         sasl-next-step, sasl-step-data, sasl-step-set-data.
7901         * elmo-pop3.el (toplevel): Ditto.
7902
7903 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7904
7905         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7906
7907 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7908
7909         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7910         if error.
7911         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7912         and `elmo-pop-auth-apop'.
7913
7914 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7915
7916         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7917
7918 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7919
7920         * elmo-pop3.el (elmo-network-authenticate-session): Split
7921         encoded response value.
7922
7923 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7924
7925         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7926         `elmo-pop3-force-login'.
7927         Redefine `sasl-mechanisms'.
7928         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7929
7930 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7931
7932         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7933         Delete `elmo-imap4-authenticator-alist'.
7934         (elmo-imap4-auth-cram-md5): Delete.
7935         (elmo-imap4-auth-digest-md5): Delete.
7936
7937 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7938
7939         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7940         (elmo-pop3-auth-scram-md5): Ditto.
7941         (elmo-pop3-auth-cram-md5): Ditto.
7942
7943 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7944
7945         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7946         Delete `elmo-pop3-authenticator-alist'.
7947
7948 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7949
7950         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7951         new SASL API.
7952         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7953
7954 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7955
7956         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7957
7958 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7959
7960         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7961         Fixed problem when `elmo-pop3-use-uidl' is nil.
7962         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7963
7964 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7965
7966         * elmo-version.el (elmo-version): Up to 2.5.2.
7967
7968 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7969
7970         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7971         New function.
7972         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7973         (elmo-pop3-msgdb-create-as-numlist): Use it.
7974
7975         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7976         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7977
7978         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7979         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7980
7981 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7982
7983         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7984         when elmo-mark-as-read is called with second argument nil.
7985
7986 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7987
7988         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7989         Moved to elmo-util.el.
7990
7991         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7992         Moved from elmo-pipe.el
7993
7994         * elmo-archive.el (elmo-archive-call-process): Enclose with
7995         static-if.
7996
7997         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7998         "RFC822" (because RFC822.PEEK is obsolete).
7999         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8000
8001 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
8002
8003         * elmo-archive.el (elmo-archive-call-process): Don't check for
8004         the exit status when Nemacs is running.
8005
8006 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
8007
8008         * elmo-net.el (elmo-network-session-password-key): Don't set default to
8009         'plain.
8010
8011         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8012         (elmo-pop3-get-spec): Set default of auth to 'user.
8013
8014         * elmo-imap4.el (elmo-imap4-session-check):
8015         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8016         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8017         (elmo-imap4-auth-login): New function; Revival.
8018         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8019         `elmo-imap4-auth-login'.
8020
8021 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8022
8023         * elmo2.el (toplevel): Move `product-provide' declare.
8024         * mmelmo.el (toplevel): Ditto.
8025
8026 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8027
8028         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8029
8030 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
8031
8032         * elmo-util.el (elmo-folder-get-store-type): New function.
8033         (elmo-folder-direct-copy-p): Use it.
8034
8035 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8036
8037         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8038         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8039         and result of `elmo-imap4-use-flag-p'.
8040         (elmo-imap4-fetch-callback-1): Set mark according to
8041         the result of `elmo-imap4-use-flag-p'.
8042
8043 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
8044
8045         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8046         (elmo-generic-list-folder-unread): Ditto.
8047         (elmo-folder-get-info): Ditto.
8048         (elmo-folder-set-info-max-by-numdb): Ditto.
8049         (elmo-folder-get-info-max): Ditto.
8050         (elmo-folder-get-info-length): Ditto.
8051         (elmo-folder-get-info-unread): Ditto.
8052         (elmo-folder-info-make-hashtb): Ditto.
8053
8054         * elmo2.el: Removed above functions.
8055
8056 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
8057
8058         * elmo-imap4.el (toplevel): Require 'ssl.
8059         Add autoload 'starttls.
8060         * elmo-pop3.el (toplevel): Ditto.
8061         * elmo-nntp.el (toplevel): Ditto.
8062
8063 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8064
8065         * elmo-imap4.el (toplevel): defun at compile time.
8066         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8067         sasl-next-step, sasl-step-data, sasl-step-set-data.
8068         * elmo-pop3.el (toplevel): Ditto.
8069
8070 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8071
8072         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8073
8074 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8075
8076         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8077         if error.
8078         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8079         and `elmo-pop-auth-apop'.
8080
8081 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8082
8083         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8084
8085 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8086
8087         * elmo-pop3.el (elmo-network-authenticate-session): Split
8088         encoded response value.
8089
8090 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8091
8092         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8093         `elmo-pop3-force-login'.
8094         Redefine `sasl-mechanisms'.
8095         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8096
8097 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8098
8099         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8100         Delete `elmo-imap4-authenticator-alist'.
8101         (elmo-imap4-auth-cram-md5): Delete.
8102         (elmo-imap4-auth-digest-md5): Delete.
8103
8104 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8105
8106         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8107         (elmo-pop3-auth-scram-md5): Ditto.
8108         (elmo-pop3-auth-cram-md5): Ditto.
8109
8110 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8111
8112         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8113         Delete `elmo-pop3-authenticator-alist'.
8114
8115 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8116
8117         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8118         new SASL API.
8119         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8120
8121 \f
8122 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8123
8124         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8125
8126 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8127
8128         * elmo-nntp.el (elmo-nntp-get-folders-info):
8129         Fixed problem when '\' character is contained in user-id.
8130         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8131
8132 \f
8133 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8134
8135         * elmo-imap4.el (elmo-imap4-delete-folder):
8136         Send "close" before "delete" (Use commented out line).
8137         (elmo-imap4-rename-folder): Ditto.
8138
8139         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8140         folder string itself.
8141         (elmo-dop-list-deleted): New function.
8142         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8143         killed.
8144
8145         * elmo-util.el (elmo-string-rassoc-all): New function.
8146
8147         * elmo-version.el (elmo-version): Up to 2.5.1.
8148
8149 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8150
8151         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8152
8153         * elmo-internal.el (elmo-internal-search): Fix last change.
8154
8155 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8156
8157         * elmo-internal.el (elmo-internal-search): Rewrite.
8158         (Fixed problem which is pointed out by Akihiro MOTOKI
8159         <motoki@da.jp.nec.com>)
8160
8161         * elmo-version.el (elmo-version): Up to 2.5.0.
8162
8163 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8164
8165         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8166
8167 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8168
8169         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8170         non-nil, make hierarchy.
8171
8172 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8173
8174         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8175         `elmo-pop3-use-uidl' must be bound to nil.
8176         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8177
8178 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8179
8180         * elmo-util.el (elmo-copy-file): Don't cause an error after
8181         `add-name-to-file' failed.
8182
8183         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8184         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8185
8186 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8187
8188         * elmo-version.el (elmo-version): Up to 2.3.93.
8189
8190 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8191
8192         * elmo-util.el (elmo-flatten): New function.
8193
8194 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8195
8196         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8197         sync Author header.
8198         * elmo-cache.el (toplevel): Ditto.
8199         * elmo-database.el (toplevel): Ditto.
8200         * elmo-date.el (toplevel): Ditto.
8201         * elmo-dop.el (toplevel): Ditto.
8202         * elmo-filter.el (toplevel): Ditto.
8203         * elmo-imap4.el (toplevel): Ditto.
8204         * elmo-internal.el (toplevel): Ditto.
8205         * elmo-localdir.el (toplevel): Ditto.
8206         * elmo-localnews.el (toplevel): Ditto.
8207         * elmo-maildir.el (toplevel): Ditto.
8208         * elmo-msgdb.el (toplevel): Ditto.
8209         * elmo-multi.el (toplevel): Ditto.
8210         * elmo-net.el (toplevel): Ditto.
8211         * elmo-nntp.el (toplevel): Ditto.
8212         * elmo-pipe.el (toplevel): Ditto.
8213         * elmo-pop3.el (toplevel): Ditto.
8214         * elmo-util.el (toplevel): Ditto.
8215         * elmo-vars.el (toplevel): Ditto.
8216         * elmo2.el (toplevel): Ditto.
8217         * mmelmo-imap4.el (toplevel): Ditto.
8218         * mmelmo.el (toplevel): Ditto.
8219
8220         * elmo-version.el (elmo-version): Move to top.
8221
8222         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8223         * elmo-imap4.el (toplevel): Ditto.
8224         * elmo-localdir.el (toplevel): Ditto.
8225         * elmo-msgdb.el (toplevel): Ditto.
8226         * elmo-nntp.el (toplevel): Ditto.
8227         * elmo-pop3.el (toplevel): Ditto.
8228         * elmo-version.el (toplevel): Ditto.
8229
8230         * elmo-localnews.el (toplevel): Added Keyword header.
8231
8232 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8233
8234         * elmo-version.el (product-version-as-string): Defined using
8235         `defun-maybe'.
8236         (toplevel): Use it.
8237
8238         * elmo-localdir.el (toplevel): Updated copyright notice.
8239         * elmo-version.el (toplevel): Ditto.
8240         * elmo-msgdb.el (toplevel): Ditto.
8241         * elmo-imap4.el (toplevel): Ditto.
8242         * elmo-nntp.el (toplevel): Ditto.
8243         * elmo-pop3.el (toplevel): Ditto.
8244
8245 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8246
8247         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8248         messages.
8249
8250         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8251         parameter value (It sometimes contains raw kanji).
8252
8253 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8254
8255         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8256         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8257
8258 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8259
8260         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8261
8262 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8263
8264         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8265         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8266
8267 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8268
8269         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8270         value if selecting folder succceeded.
8271         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8272
8273 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8274
8275         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8276         representation.
8277
8278         * elmo-util.el (elmo-string-matched-member): New function.
8279
8280 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8281
8282         * elmo-util.el (elmo-unintern): New macro.
8283         (elmo-number-set-member): Fixed docstring.
8284
8285         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8286         tag token.
8287
8288 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8289
8290         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8291         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8292
8293 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8294
8295         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8296         `no-error'.
8297         Added docstring.
8298         Return non-nil if selecting folder succeeded.
8299         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8300
8301 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8302
8303         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8304         `file-name-completion' returns t.
8305         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8306         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8307         directory if it does not exist.
8308         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8309         for iteration.
8310
8311 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8312
8313         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8314         enclosure (It's harmful in unplugged status).
8315
8316         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8317
8318         * mmelmo-1.el: Removed.
8319
8320         * mmelmo-2.el: Ditto.
8321
8322         * mmelmo-imap4-1.el: Ditto.
8323
8324         * mmelmo-imap4-2.el: Ditto.
8325
8326         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8327
8328         * mmelmo.el: Merged mmelmo-2.el.
8329
8330         * elmo-version.el (elmo-version): Up to 2.3.92.
8331
8332 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8333
8334         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8335         elmo-update-number): Remove last period in "...done." message.
8336         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8337         Ditto.
8338         * elmo-cache.el (elmo-cache-expire-by-size,
8339         elmo-cache-get-sorted-cache-file-list,
8340         elmo-cache-msgdb-create-as-numlist): Ditto.
8341         * elmo-dop.el (elmo-dop-save-pending-messages,
8342         (elmo-dop-flush-pending-append-operations): Ditto.
8343         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8344         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8345         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8346         (elmo-localdir-pack-number): Ditto.
8347         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8348         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8349         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8350         mime-write-entity-content): Ditto.
8351         * pldap.el (ldap-search-basic): Ditto.
8352
8353 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8354
8355         * elmo-version.el (elmo-version): Up to 2.3.91.
8356
8357         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8358         Only when filter is 'last'.
8359
8360         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8361         (elmo-condition-parse-search-value): Use it.
8362         (elmo-read-search-condition-internal): Quote value only when
8363         it is not an atom.
8364
8365 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8366
8367         * elmo2.el (elmo-generic-folder-diff): Fix.
8368
8369 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8370
8371         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8372         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8373         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8374         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8375         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8376         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8377
8378 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8379
8380         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8381         extra-fields.
8382
8383 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8384
8385         * elmo-version.el (elmo-version): Up to 2.3.90.
8386
8387         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8388         (elmo-imap4-list-folder-important): Ditto.
8389
8390 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8391
8392         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8393
8394 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8395
8396         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8397
8398 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8399
8400         * elmo-nntp.el (elmo-network-initialize-session):
8401         Add starttls negotiation.
8402
8403 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8404
8405         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8406         response.
8407         (elmo-network-setup-session): Define.
8408         Call `elmo-nntp-send-mode-reader' when session opened.
8409
8410 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8411
8412         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8413
8414 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8415
8416         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8417         an invalid SPACE character ahead of `SEARCH' command.  Move
8418         a valid SPACE character following `SEARCH' from conditional
8419         `format' arguments to control-strings.
8420
8421 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8422
8423         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8424         was succeeded.
8425
8426         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8427
8428 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8429
8430         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8431         `w32-get-true-file-link-count' as t.
8432
8433         * elmo-imap4.el (elmo-imap4-read): Abolished.
8434         (Renamed to `elmo-read' and moved to elmo-util.el)
8435         All other related portions are changed.
8436
8437         * elmo-util.el (elmo-read): New function.
8438         (elmo-condition-parse-search-value): Use it.
8439
8440 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8441
8442         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8443
8444         * elmo-nntp.el (elmo-nntp-session): Define.
8445         (elmo-nntp-setting): Abolished.
8446         All other related portions are changed.
8447         (elmo-nntp-get-server-command): Changed argument.
8448         (elmo-nntp-set-server-command): Ditto.
8449         (elmo-nntp-xover-p): Ditto.
8450         (elmo-nntp-set-xover): Ditto.
8451         (elmo-nntp-listgroup-p): Ditto.
8452         (elmo-nntp-set-listgroup): Ditto.
8453         (elmo-nntp-list-active-p): Ditto.
8454         (elmo-nntp-set-list-active): Ditto.
8455         (elmo-nntp-xhdr-p): Ditto.
8456         (elmo-nntp-set-xhdr): Ditto.
8457         (elmo-nntp-flush-connection): Abolished.
8458         (elmo-nntp-get-connection): Abolished.
8459         (elmo-nntp-get-session): New function.
8460         (elmo-network-initialize-session): Defined.
8461         (elmo-network-authenticate-session): Ditto.
8462         (elmo-nntp-send-mode-reader): Changed argument.
8463         (elmo-nntp-send-command): Changed argument.
8464         All other related portions are changed.
8465         (elmo-nntp-read-response): Ditto.
8466         (elmo-nntp-read-raw-response): Ditto.
8467         (elmo-nntp-read-contents): Ditto.
8468         (elmo-nntp-read-body): Ditto.
8469         (elmo-nntp-goto-folder): Abolished.
8470         (elmo-nntp-select-group): New function.
8471         All other related portions are changed.
8472         (This function substitutes `elmo-nntp-goto-folder')
8473         (elmo-nntp-msgdb-create-by-header): Rewrite.
8474         (elmo-nntp-get-overview): Eliminated.
8475         (elmo-nntp-get-message): Ditto.
8476         (elmo-nntp-open-connection) Abolished.
8477         (elmo-nntp-read-msg): Rewrite.
8478         (elmo-nntp-post): Ditto.
8479         (elmo-nntp-send-data): Abolished.
8480         (elmo-nntp-send-buffer): New function.
8481         (elmo-nntp-send-data-line): Define as inline function.
8482         (elmo-nntp-get-folders-info-prepare): Use session as key.
8483         (elmo-nntp-groups-read-response): Changed argument.
8484         (elmo-nntp-retrieve-headers): Ditto.
8485         (elmo-nntp-msgdb-create-message): Ditto.
8486
8487         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8488         when searching by 'since' or 'before'.
8489
8490 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8491
8492         * elmo-version.el (toplevel): Use product-version-as-string for set
8493         verstion-string, if defined.
8494
8495 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8496
8497         * elmo-util.el: Doc fixes.
8498
8499 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8500
8501         * elmo-archive.el (toplevel): Use product-provide.
8502         * elmo-cache.el (toplevel): Ditto.
8503         * elmo-database.el (toplevel): Ditto.
8504         * elmo-date.el (toplevel): Ditto.
8505         * elmo-dop.el (toplevel): Ditto.
8506         * elmo-filter.el (toplevel): Ditto.
8507         * elmo-imap4.el (toplevel): Ditto.
8508         * elmo-internal.el (toplevel): Ditto.
8509         * elmo-localdir.el (toplevel): Ditto.
8510         * elmo-localnews.el (toplevel): Ditto.
8511         * elmo-maildir.el (toplevel): Ditto.
8512         * elmo-msgdb.el (toplevel): Ditto.
8513         * elmo-multi.el (toplevel): Ditto.
8514         * elmo-net.el (toplevel): Ditto.
8515         * elmo-nntp.el (toplevel): Ditto.
8516         * elmo-pipe.el (toplevel): Ditto.
8517         * elmo-pop3.el (toplevel): Ditto.
8518         * elmo-util.el (toplevel): Ditto.
8519         * elmo-vars.el (toplevel): Ditto.
8520         * elmo2.el (toplevel): Ditto.
8521         * mmelmo-1.el (toplevel): Ditto.
8522         * mmelmo-2.el (toplevel): Ditto.
8523         * mmelmo-imap4-1.el (toplevel): Ditto.
8524         * mmelmo-imap4-2.el (toplevel): Ditto.
8525         * mmelmo-imap4.el (toplevel): Ditto.
8526         * mmelmo.el (toplevel): Ditto.
8527
8528 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8529
8530         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8531         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8532
8533 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8534
8535         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8536         before splitting.
8537         (elmo-multi-split-number-alist): Ditto.
8538
8539 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8540
8541         * elmo-version.el: New file.  Use product.el.
8542         * elmo2.el: Add (require 'elmo-version).
8543         * elmo-vars.el (elmo-appname, elmo-version): Move to
8544         elmo-version.el
8545
8546 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8547
8548         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8549         `elmo-msgdb-expand-path'.
8550         (elmo-msgdb-load): Ditto.
8551         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8552         (elmo-generic-list-folder-unread): Rewrite.
8553         (elmo-generic-list-folder-important): Changed argument.
8554         (elmo-list-folder-unread): Ditto.
8555         (elmo-list-folder-important): Ditto.
8556         (elmo-folder-diff): Rewrite.
8557         (elmo-generic-folder-diff): New function.
8558         (elmo-multi-get-number-alist-list): Abolished
8559         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8560         (elmo-multi-folder-diff): Moved to elmo-multi.el
8561         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8562
8563         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8564         `elmo-msgdb-expand-path'.
8565         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8566         (elmo-pop3-read-msg): Ditto.
8567         (elmo-pop3-delete-msgs): Ditto.
8568         (elmo-pop3-folder-diff): New alias.
8569
8570         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8571         `elmo-msgdb-expand-path'.
8572         (elmo-pipe-list-folder-unread): Changed arguments.
8573         (elmo-pipe-list-folder-important): Ditto.
8574         (elmo-pipe-folder-diff): New alias.
8575
8576         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8577         `elmo-msgdb-expand-path'.
8578         (elmo-nntp-max-of-folder): Ditto.
8579         (elmo-nntp-msgdb-create): Ditto.
8580         (elmo-nntp-delete-msgs): Ditto.
8581         (elmo-nntp-folder-diff): New alias.
8582
8583         * elmo-multi.el (elmo-multi-folder-diff): New function.
8584         (elmo-multi-split-mark-alist): Ditto.
8585         (elmo-multi-split-number-alist): Ditto.
8586         (elmo-multi-mark-alist-list): Abolished (Renamed to
8587         elmo-multi-split-mark-alist).
8588         (elmo-multi-list-folder-unread): Rewrite.
8589         (elmo-multi-list-folder-important): Ditto.
8590         (elmo-multi-list-folder): Set `spec' as 1st argument for
8591         `elmo-msgdb-expand-path'.
8592         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8593         instead of `elmo-multi-get-number-alist-list'.
8594
8595         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8596         If 1st argument is not string, treat as spec.
8597         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8598         `elmo-msgdb-expand-path'.
8599         (elmo-msgdb-flist-load): Ditto.
8600         (elmo-msgdb-flist-save): Ditto.
8601         (elmo-msgdb-delete-path): Ditto.
8602         (elmo-msgdb-rename-path): Ditto.
8603
8604         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8605         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8606         (elmo-maildir-delete-mark-msgs): Ditto.
8607         (elmo-maildir-msgdb-create): Ditto.
8608         (elmo-maildir-read-msg): Ditto.
8609         (elmo-maildir-delete-msgs): Ditto.
8610         (elmo-maildir-list-folder-subr): Ditto.
8611         (elmo-maildir-search): Ditto.
8612         (elmo-maildir-get-msg-filename): Ditto.
8613         (elmo-maildir-pack-number): Ditto.
8614         (elmo-maildir-folder-diff): New alias.
8615
8616         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8617
8618         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8619         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8620         (elmo-localdir-folder-diff): New alias.
8621
8622         * elmo-internal.el (elmo-internal-list-folder-subr):
8623         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8624         (elmo-internal-list-folder-by-location): Ditto.
8625         (elmo-internal-msgdb-create): Ditto.
8626         (elmo-internal-delete-msgs): Ditto.
8627         (elmo-internal-read-msg): Ditto.
8628         (elmo-internal-folder-diff): New alias.
8629
8630         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8631         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8632         `elmo-msgdb-expand-path'.
8633         (elmo-imap4-list-folder-unread): Changed arguments.
8634         (elmo-imap4-list-folder-important): Ditto.
8635
8636         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8637         (elmo-filter-list-folder-important): Ditto.
8638         (elmo-filter-folder-diff): New function.
8639
8640         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8641
8642         * elmo-cache.el (elmo-cache-list-folder):
8643         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8644         (elmo-cache-copy-msgs): Ditto.
8645         (elmo-cache-folder-diff): New alias.
8646
8647         * elmo-archive.el (elmo-archive-list-folder-subr):
8648         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8649         (elmo-archive-get-archive-name): Ditto.
8650         (elmo-archive-create-file): Ditto.
8651         (elmo-archive-append-msg): Ditto.
8652         (elmo-archive-copy-msgs): Ditto.
8653         (elmo-archive-copy-msgs-froms): Ditto.
8654         (elmo-archive-get-msg-filename): Ditto.
8655         (elmo-archive-folder-diff): New alias.
8656
8657 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8658
8659         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8660         (elmo-pop3-stream-type-alist): New variable.
8661         (elmo-nntp-stream-type-alist): New variable.
8662
8663         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8664         (elmo-kill-buffer): Ditto.
8665         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8666         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8667         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8668         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8669         (elmo-imap4-get-spec): Take into account
8670         `elmo-imap4-stream-type-alist'.
8671
8672 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8673
8674         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8675         (elmo-nntp-list-folders-get-cache): Ditto.
8676
8677 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8678
8679         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8680         character before 'uid'.
8681
8682 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8683
8684         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8685
8686         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8687
8688         * elmo-util.el (elmo-number-set-member): New function.
8689         (elmo-number-set-append-list): Ditto.
8690         (elmo-number-set-append): Ditto.
8691
8692         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8693         Use `elmo-number-set-member'.
8694         (elmo-living-messages): Ditto.
8695         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8696         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8697
8698         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8699         (elmo-imap4-add-to-cont-list): Abolished.
8700         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8701         instead of elmo-imap4-add-to-cont-list.
8702
8703         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8704         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8705
8706         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8707
8708 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8709
8710         * elmo-util.el (elmo-condition-parse-search-value):
8711         Fixed date parsing.
8712
8713 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8714
8715         * elmo-util.el (elmo-condition-find-key-internal): New function.
8716         (elmo-condition-find-key): Ditto.
8717
8718         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8719         (elmo-msgdb-search-internal): Ditto.
8720         (elmo-msgdb-search): Ditto.
8721
8722 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8723
8724         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8725         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8726
8727         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8728         (elmo-nntp-search-primitive): Fixed problem when condition is
8729         'unmatch'.
8730
8731         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8732
8733         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8734         (elmo-nntp-xhdr-p): New macro.
8735         (elmo-nntp-set-xhdr): Ditto.
8736         (elmo-nntp-parse-xhdr-response): New function.
8737         (elmo-nntp-retrieve-field): Ditto.
8738         (elmo-nntp-search-primitive): Ditto.
8739         (elmo-nntp-search): Implemented.
8740
8741         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8742
8743         * elmo-archive.el (elmo-archive-search): Set all number list to
8744         `elmo-archive-field-condition-match'
8745
8746         * elmo-localdir.el (elmo-localdir-search): Likewise.
8747
8748         * elmo-maildir.el (elmo-maildir-search): Likewise.
8749
8750 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8751
8752         * elmo-msgdb.el (elmo-living-messages): New function.
8753         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8754         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8755         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8756         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8757         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8758         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8759         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8760         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8761         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8762         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8763         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8764
8765 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8766
8767         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8768
8769         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8770
8771         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8772
8773         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8774         arguments for `SEARCH' command.
8775         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8776         All other related portions are changed.
8777
8778         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8779
8780         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8781         (elmo-list-folder-unread): Rewrite.
8782         (elmo-list-folder-important): Ditto.
8783
8784         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8785         (elmo-condition-parse-error): New inline function.
8786         (elmo-read-search-condition): New function.
8787         (elmo-read-search-condition-internal): Ditto.
8788         (elmo-parse-search-condition): Rewrite.
8789         (elmo-condition-parse): New function.
8790         (elmo-condition-parse-or-expr): Ditto.
8791         (elmo-condition-parse-and-expr): Ditto.
8792         (elmo-condition-parse-primitive): Ditto.
8793         (elmo-condition-parse-search-value): Ditto.
8794         (elmo-buffer-field-primitive-condition-match): Ditto.
8795         (elmo-buffer-field-condition-match): Rewrite.
8796         (elmo-file-field-condition-match): Ditto.
8797
8798         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8799         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8800
8801         * elmo-internal.el (elmo-internal-search): Set `number' and
8802         `number-list' argument of `elmo-file-field-condition-match'.
8803
8804         * elmo-maildir.el (elmo-maildir-search): Ditto.
8805
8806         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8807         `msgdb' as argument instead of `mark-alist'.
8808         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8809         `overview'.
8810
8811         * elmo-multi.el: Likewise.
8812
8813         * elmo-pipe.el: Likewise.
8814
8815         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8816         (elmo-imap4-search-internal): Rewrite.
8817         (elmo-imap4-search): Ditto.
8818
8819         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8820         (elmo-filter-list-folder-unread): Ditto.
8821         (elmo-filter-list-folder-important): Ditto.
8822         (elmo-filter-search): Rewrite.
8823
8824         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8825         `number-list' argument of `elmo-file-field-condition-match'.
8826         (elmo-cache-search): Ditto.
8827
8828         * elmo-localdir.el: Likewise.
8829
8830         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8831         number-list and pass it to `elmo-buffer-field-condition-match'.
8832         (elmo-archive-field-condition-match): Pass `number-list' to
8833         `elmo-archive-field-condition-match'
8834
8835 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8836
8837         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8838         `listgroup'.
8839
8840         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8841         (elmo-folder-diff-async-callback-data): Ditto.
8842         (elmo-folder-diff-async): New function.
8843
8844         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8845         (elmo-network-session-cache-key): Use it as a prefix of the session
8846         name.
8847         (elmo-network-open-session): Ditto.
8848
8849         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8850         (elmo-imap4-status-callback-data): Ditto.
8851         (elmo-imap4-server-diff-async-callback): New variable.
8852         (elmo-imap4-server-diff-async-callback-data): Ditto.
8853         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8854         `elmo-imap4-status-callback-data'.
8855         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8856         `elmo-imap4-status-callback-data' as nil.
8857         (elmo-imap4-server-diff): Ditto.
8858         (elmo-imap4-server-diff-async-callback-1): New function.
8859         (elmo-imap4-server-diff-async): Ditto.
8860         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8861
8862 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8863
8864         * elmo-util.el (elmo-list-delete): Doc fix.
8865         (elmo-delete-lists): Abolish.
8866         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8867         instead of `elmo-delete-lists'.
8868
8869 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8870
8871         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8872         before `sort'.
8873
8874 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8875
8876         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8877         `elmo-imap4-literal-subr'.
8878         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8879         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8880
8881 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8882
8883         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8884         (elmo-archive-list-folder): Fix.
8885         (elmo-archive-max-of-folder): Fix.
8886
8887 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8888
8889         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8890          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8891         (elmo-localdir-append-msg): Ditto.
8892         (elmo-localdir-list-folder): Fix for `nonsort'.
8893         (elmo-localdir-list-folder-subr): Fix for `killed'.
8894         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8895         (elmo-maildir-list-folder-subr): Ditto.
8896         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8897         (elmo-archive-list-folder-subr): Ditto.
8898         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8899         (elmo-internal-list-folder-subr): Ditto.
8900
8901 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8902
8903         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8904
8905 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8906
8907         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8908
8909 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8910
8911         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8912         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8913
8914         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8915         before greeting.
8916         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8917         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8918
8919 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8920
8921         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8922
8923         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8924         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8925         before STORE command.
8926
8927 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8928
8929         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8930
8931         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8932         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8933         of `response'.
8934         (elmo-imap4-list-folders): Removed unused local variable.
8935         (elmo-network-initialize-session): Ditto.
8936         (elmo-imap4-delete-msg-by-id): Ditto.
8937         (elmo-imap4-parse-fetch): Ditto.
8938         (elmo-imap4-copy-msgs): Ditto.
8939         Use `dst-spec' instead of `dst-folder'.
8940         (elmo-network-authenticate-session): Check authenticate type `plain'.
8941
8942 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8943
8944         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8945         garbage checking.
8946         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8947         `elmo-imap4-response-value'.
8948         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8949
8950 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8951
8952         * elmo-imap4.el (elmo-imap4-send-command):
8953         Cause elmo-imap4-bye-error when current response is BYE.
8954         (elmo-imap4-arrival-filter): Changed greeting response value.
8955
8956         * elmo2.el (elmo-imap4-bye-error): Define.
8957
8958         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8959         (elmo-imap4-server-diff): Ditto.
8960         (elmo-imap4-response-bye-p): New macro.
8961         (elmo-imap4-response-error-text): Get text from BYE response.
8962         (elmo-imap4-read-response): Return if BYE response.
8963         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8964         (elmo-imap4-folder-exists-p): Ditto.
8965         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8966         (elmo-imap4-parse-bye): New function.
8967         (elmo-imap4-parse-response): Remove needless let.
8968         Call `elmo-imap4-parse-bye'.
8969
8970 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8971
8972         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8973         the mailbox does not exist.
8974         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8975
8976 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8977
8978         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8979
8980 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8981
8982         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8983
8984         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8985         (elmo-network-initialize-session-buffer): Defined.
8986
8987         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8988         Abolished.
8989         (mmelmo-imap4-get-mime-entity): Rewrite.
8990
8991         * elmo2.el (elmo-error): Capitalize error message.
8992
8993         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8994         (elmo-network-session-buffer): New macro.
8995         (elmo-network-open-session): Use it.
8996
8997         * elmo-imap4.el: Rewrite.
8998
8999 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9000
9001         * elmo-nntp.el (Toplevel): Require 'elmo-net.
9002
9003 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
9004
9005         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9006         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9007         (elmo-imap4-create-msgdb-from-overview-string): Use
9008         `elmo-msgdb-create-overview-from-buffer'.
9009
9010 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
9011
9012         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9013         (elmo-imap4-default-hierarchy-delimiter): New variable.
9014         (elmo-imap4-list-folders): Use it.
9015
9016 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
9017
9018         * elmo-net.el (elmo-network-open-session): Add user and
9019         stream-type for process-buffer name.
9020
9021         * elmo-pop3.el (elmo-network-initialize-session): Call
9022         buffer-disable-undo.
9023
9024         * elmo-imap4.el (elmo-network-initialize-session):
9025         Set current-buffer as an argument for `buffer-disable-undo'.
9026
9027         * elmo-pop3.el (elmo-network-close-session): Don't use
9028         `process-live-p'.
9029
9030         * elmo-vars.el (elmo-default-pop3-authenticate-type):
9031         Set default as 'user.
9032
9033         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9034
9035         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9036         and `elmo-imap4-flush-connection'.
9037
9038         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9039         (elmo-pop3-get-spec): Assume auth as symbol.
9040         (elmo-open-network-stream): Moved to `elmo-net'.
9041
9042         * elmo-pop3.el (toplevel): Require 'elmo-net.
9043         Define `sasl-cram-md5' to silence byte compilier.
9044         (elmo-pop3-connection-cache) Abolished.
9045         (elmo-pop3-authenticator-alist) New variable.
9046         (elmo-pop3-session): Define.
9047         (elmo-pop3-connection-get-process): Abolished.
9048         (elmo-pop3-connection-get-buffer): Ditto.
9049         (elmo-pop3-close-connection): Ditto.
9050         (elmo-pop3-flush-connection): Ditto.
9051         (elmo-pop3-get-connection): Ditto.
9052         (elmo-pop3-get-session): New function.
9053         (Replacement for `elmo-pop3-get-connection').
9054         All other related modules are changed.
9055         (elmo-network-close-session): Define.
9056         (elmo-pop3-send-command): Abolished argument `buffer'.
9057         All other related modules are changed.
9058         (elmo-pop3-read-response): Likewise.
9059         (elmo-pop3-open-connection): Abolished.
9060         (elmo-pop3-auth-user): New function.
9061         (elmo-pop3-auth-apop): Ditto.
9062         (elmo-pop3-auth-cram-md5): Ditto.
9063         (elmo-pop3-auth-scram-md5): Ditto.
9064         (elmo-pop3-auth-digest-md5): Ditto.
9065         (elmo-network-initialize-session): Define.
9066         (elmo-network-authenticate-session): Ditto.
9067         (elmo-network-setup-session): Ditto.
9068
9069         * elmo-imap4.el (toplevel): Require 'elmo-net.
9070         (elmo-imap4-session): Define.
9071         (elmo-imap4-connection-cache): Abolished.
9072         (elmo-imap4-password-key): Ditto.
9073         (elmo-imap4-flush-connection): Ditto.
9074         (elmo-imap4-get-connection): Ditto.
9075         All other related modules are changed.
9076         (elmo-imap4-get-session): New function
9077         (Replacement for `elmo-imap4-get-connection').
9078         (elmo-imap4-read-response): Abolished argument `buffer'.
9079         All other related modules are changed.
9080         (elmo-imap4-send-command): Likewise.
9081         (elmo-imap4-select-folder): Abolished.
9082         All other related modules are changed.
9083         (elmo-imap4-select-mailbox): New function.
9084         (Replacement for `elmo-imap4-select-folder').
9085         (elmo-imap4-auth-login): Simplify.
9086         (Assume current buffer as process buffer)
9087         (elmo-imap4-auth-cram-md5): Ditto.
9088         (elmo-imap4-auth-digest-md5): Ditto.
9089         (elmo-imap4-login): Ditto.
9090         (elmo-imap4-open-connection): Abolished.
9091         (elmo-imap4-open-connection-1): Abolished.
9092         (elmo-network-initialize-sessoin): Define.
9093         (elmo-network-authenticate-session): Ditto.
9094         (elmo-network-setup-session): Ditto.
9095
9096         * elmo-net.el: New module.
9097
9098 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9099
9100         * elmo-util.el (elmo-define-error): New function.
9101
9102         * elmo2.el (elmo-error): Define.
9103         (elmo-open-error): Define.
9104         (elmo-authenticate-error): Define.
9105
9106         * elmo-imap4.el (elmo-imap4-error): Abolish.
9107         (elmo-imap4-error-type): Abolish.
9108         (elmo-imap4-error-process): Abolish.
9109         (elmo-imap4-error-message): Abolish
9110         (elmo-imap4-list-folders): Don't quote lambda.
9111         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9112         (elmo-imap4-parse-namespace): Ditto.
9113         (elmo-imap4-open-connection): Rewrite.
9114         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9115         (elmo-imap4-get-connection): Abolish local variable `result'.
9116
9117 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9118
9119         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9120         wrong-type-argument error when auth is nil.
9121
9122 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9123
9124         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9125         (elmo-default-nntp-stream-type): Ditto.
9126         (elmo-default-pop3-stream-type): Ditto.
9127         (elmo-network-stream-type-alist): Ditto.
9128         (elmo-default-imap4-ssl): Abolished.
9129         (elmo-default-nntp-ssl): Ditto.
9130         (elmo-default-pop3-ssl): Ditto.
9131
9132         * elmo-util.el: (toplevel): Removed needless requires.
9133         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9134         (elmo-open-network-stream): Open network stream according to
9135         the value of `elmo-network-stream-type-alist'.
9136         (elmo-get-network-stream-type): New function.
9137         (elmo-network-stream-type-spec-string): New macro.
9138         (elmo-network-stream-type-symbol): Ditto.
9139         (elmo-network-stream-type-function): Ditto.
9140
9141         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9142         network-stream-type. All other related portions are changed.
9143         (elmo-pop3-open-connection): Ditto.
9144
9145         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9146         network-stream-type. All other related portions are changed.
9147
9148         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9149         network-stream-type.All other related portions are changed.
9150         (elmo-imap4-error): New macro.
9151         (elmo-imap4-error-type): Ditto.
9152         (elmo-imap4-error-process): Ditto.
9153         (elmo-imap4-error-message): Ditto.
9154         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9155         (elmo-imap4-auth-cram-md5): Ditto.
9156         (elmo-imap4-auth-digest-md5): Ditto.
9157         (elmo-imap4-login): Ditto.
9158         (elmo-imap4-open-connection): Remove password entry if authentication
9159         was in vain.
9160         (elmo-imap4-user-at-host): Abolished.
9161         (elmo-imap4-password-key): New buffer local variable.
9162         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9163         using protocol, port, auth and stream-type.
9164
9165         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9166
9167 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9168
9169         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9170
9171         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9172
9173         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9174         (elmo-imap4-authenticator-alist): New variable.
9175         (elmo-imap4-open-connection-1): Rename from
9176         elmo-imap4-open-connection.
9177         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9178         only wraps elmo-imap4-open-connection-1.
9179         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9180         user-at-host.
9181         (elmo-imap4-auth-login): New function.
9182         (elmo-imap4-auth-cram-md5): New function.
9183         (elmo-imap4-auth-digest-md5): New function.
9184         (elmo-imap4-login): New function.
9185
9186 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9187
9188         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9189         function `error'.
9190
9191 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9192
9193         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9194
9195 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9196
9197         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9198
9199 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9200
9201         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9202         for server responses, quote `*' regardless of where it appears.
9203
9204 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9205
9206         * elmo-maildir.el (elmo-maildir-commit): New alias.
9207
9208 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9209
9210         * elmo-util.el (elmo-display-progress):
9211                 Use `progress-feedback-with-label'.
9212
9213 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9214
9215         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9216         (elmo-imap4-non-atom-char-regex): Ditto.
9217         (elmo-imap4-non-text-char-regex): Ditto.
9218         (elmo-imap4-literal-threshold): Ditto.
9219         (elmo-imap4-atom-p): New function.
9220         (elmo-imap4-quotable-p): Ditto.
9221         (elmo-imap4-nil): Ditto.
9222         (elmo-imap4-atom): Ditto.
9223         (elmo-imap4-quoted): Ditto.
9224         (elmo-imap4-literal-subr): Ditto.
9225         (elmo-imap4-literal): Ditto.
9226         (elmo-imap4-buffer-literal): Ditto.
9227         (elmo-imap4-string-subr): Ditto.
9228         (elmo-imap4-string): Ditto.
9229         (elmo-imap4-buffer-string): Ditto.
9230         (elmo-imap4-astring-subr): Ditto.
9231         (elmo-imap4-astring): Ditto.
9232         (elmo-imap4-buffer-astring): Ditto.
9233         (elmo-imap4-nstring): Ditto.
9234         (elmo-imap4-buffer-nstring): Ditto.
9235         (elmo-imap4-mailbox): New alias.
9236         (elmo-imap4-field-body): Ditto.
9237         (elmo-imap4-userid): Ditto.
9238         (elmo-imap4-password): Ditto.
9239         (elmo-imap4-format-quoted): New function.
9240         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9241         arguments and handle "atom", "quoted" and "literal" string here.
9242         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9243         `elmo-imap4-send-command'.
9244         (elmo-imap4-folder-exists-p): Likewise.
9245         (elmo-imap4-create-folder): Likewise.
9246         (elmo-imap4-delete-folder): Likewise.
9247         (elmo-imap4-rename-folder): Likewise.
9248         (elmo-imap4-max-of-folder): Likewise.
9249         (elmo-imap4-check-validity): Likewise.
9250         (elmo-imap4-sync-validity): Likewise.
9251         (elmo-imap4-server-diff): Likewise.
9252         (elmo-imap4-select-folder): Likewise.
9253         (elmo-imap4-copy-msgs): Likewise.
9254         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9255         (elmo-imap4-mark-set-on-msgs): Likewise.
9256         (elmo-imap4-read-part): Likewise.
9257         (elmo-imap4-read-msg): Likewise.
9258         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9259         `elmo-imap4-password' for `elmo-imap4-send-command'.
9260         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9261         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9262         `elmo-imap4-buffer-literal'.
9263         (elmo-imap4-append-msg): Likewise.
9264
9265         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9266         `delete' for removing dead connection from the connection cache.
9267         Move deletion of the process buffer after that.
9268         (elmo-imap4-list): Change `defsubst' to `defun'.
9269         (elmo-imap4-commit): Make error message verbose.
9270         (elmo-imap4-search): Ditto.
9271         (elmo-imap4-list): Ditto.
9272         (elmo-imap4-select-folder): Ditto.
9273         (elmo-imap4-copy-msgs): Ditto.
9274         (elmo-imap4-delete-msg-by-id): Ditto.
9275         (elmo-imap4-append-msg-by-id): Ditto.
9276         (elmo-imap4-append-msg): Ditto.
9277
9278 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9279
9280         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9281         when dired is used on XEmacs.
9282
9283 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9284
9285         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9286         instead of `append'.
9287         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9288         `elmo-plugged-p' directly.
9289         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9290         of `elmo-plugged-p' directly.
9291
9292         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9293         Eliminate unused variable.  Use `memq' for checking a process status.
9294         Use `cons' instead of `append' for updating the connection cache.
9295         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9296         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9297
9298 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9299
9300         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9301         `elmo-imap4-read-point' exactly.
9302
9303         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9304         the local variable `folder' to `mailbox'.
9305         Rename the argument `fld' to `folder'.
9306
9307 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9308
9309         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9310         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9311
9312 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9313
9314         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9315         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9316         (elmo-pop3-uidl-number-hash): Ditto.
9317         (elmo-pop3-size-hash): Ditto.
9318         (elmo-pop3-uidl-done): Ditto.
9319         (elmo-pop3-list-done): Ditto.
9320         (elmo-pop3-connection-get-process): New defmacro.
9321         (elmo-pop3-connection-get-buffer): Ditto.
9322         (elmo-pop3-close-connection): Delete buffer and process.
9323         (elmo-pop3-flush-connection): Don't delete buffer and process.
9324         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9325         Setup UIDL and size hash.
9326         (elmo-pop3-send-command-no-erase): Deleted
9327         (elmo-pop3-send-command): Added optional argument `no-erase'.
9328         (elmo-pop3-parse-uidl-response): New function.
9329         (elmo-pop3-parse-list-response): Set size hash.
9330         (elmo-pop3-list-location): New function.
9331         (elmo-pop3-list-by-uidl-subr): Ditto.
9332         (elmo-pop3-list-by-list): Ditto.
9333         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9334         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9335         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9336         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9337         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9338         Use uidl.
9339         (elmo-pop3-uidl-to-number): New function.
9340         (elmo-pop3-number-to-uidl): Ditto.
9341         (elmo-pop3-number-to-size): Ditto.
9342         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9343         Set number by use of uidl.
9344         (elmo-pop3-msgdb-create-message): Likewise.
9345         Set size, loc-alist in msgdb.
9346         (elmo-pop3-read-msg): Set number by use of uidl.
9347         Added optional argument `msgdb'.
9348         (elmo-pop3-delete-msg): Ditto.
9349         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9350         (elmo-pop3-commit): Close connection.
9351
9352         * elmo-pipe.el (elmo-pipe-max-of-folder):
9353         Bind `elmo-pop3-use-uidl' as nil.
9354         (elmo-pipe-drain): Ditto.
9355         Call `elmo-commit'.
9356
9357         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9358         (elmo-msgdb-overview-entity-set-size): New defsubst.
9359
9360 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9361
9362         * elmo-vars.el (elmo-use-killed-list): New variable
9363         (Renamed from `elmo-nntp-use-killed-list').
9364         (elmo-nntp-use-killed-list): Eliminated.
9365
9366         * elmo-msgdb.el (elmo-msgdb-expand-path):
9367         Changed expanding msgdb path for elmo-multi.
9368
9369         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9370         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9371         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9372         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9373         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9374         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9375         (toplevel): Deleted time-stamp line.
9376
9377         * elmo2.el (elmo-clear-killed ): Defined as function
9378         (Abolished defining as a backend function).
9379         All other related modules are changed.
9380
9381 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9382
9383         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9384
9385 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9386
9387         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9388
9389 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9390
9391         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9392
9393 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9394
9395         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9396         asynchronous folder check.
9397
9398         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9399
9400         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9401         `elmo-nntp-use-killed-list'.
9402         (elmo-nntp-list-folder): Use killed list.
9403         (elmo-nntp-max-of-folder): Ditto.
9404         (elmo-nntp-msgdb-create): Set killed list.
9405
9406         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9407
9408         * elmo2.el (elmo-clear-killed): New backend function.
9409         All other related modules are changed.
9410
9411 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9412
9413         * elmo-util.el (elmo-imap4-spec-folder): Use
9414         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9415         All callers changed.
9416
9417 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9418
9419         * mmelmo-2.el (initialize-instance):
9420         Use `mime-buffer-entity-buffer-internal' instead of
9421         `mime-entity-buffer'.
9422
9423         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9424         (mime-entity-body): Implemented.
9425         (mime-goto-header-start-point): Deleted.
9426         (mime-goto-body-end-point): Ditto.
9427         (mime-entity-point-min): Ditto.
9428         (mime-entity-point-max): Ditto.
9429         (mime-entity-children): Ditto.
9430         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9431         instead of `mime-entity-buffer'.
9432         (mime-entity-header-buffer): Ditto.
9433         (mime-entity-body-buffer): Ditto.
9434         (mime-write-entity-content): Ditto.
9435
9436         * pldap.el (ldap-static-if): New macro.
9437         (toplevel): Use it instead of `static-if'.
9438
9439 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9440
9441         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9442         included in `attrs' argument.
9443
9444 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9445
9446         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9447
9448         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9449         (ldap-ldif-safe-init-char-regexp): Ditto.
9450         (ldap-ldif-safe-string-regexp): Ditto.
9451         (ldap/ldif-safe-string-p): New macro.
9452         (ldap/ldif-insert-field): Ditto.
9453         (ldap-modify): Use it.
9454         (ldap-add): Ditto.
9455         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9456         (ldap-decode-attribute): Decode only when `attr' is consp.
9457         (ldap-delete): Bind `ret'.
9458         (toplevel): Require 'cl at compile time.
9459         Removed (require 'poe) and (require 'std11).
9460         (pldap-version): Eliminated.
9461         (ldap-search-basic): Removed auth and dn binding.
9462         (ldap-ldif-field-name-regexp): New constant.
9463         (ldap-ldif-field-head-regexp): Ditto.
9464         (ldap-ldif-next-field-head-regexp): Ditto.
9465         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9466         (ldap/field-end): New function.
9467         (ldap/field-body): Use it.
9468         (ldap/collect-field): Ditto.
9469         (ldap-search-basic): Use `ldap/field-body'.
9470
9471 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9472
9473         * pldap.el (ldap-default-attribute-encoder): New user option.
9474         (ldap/field-body): Decode base64 string.
9475         (ldap/collect-field): Ditto.
9476         (ldap-encode-attribute): New function.
9477         (ldap-add-entries): Use it.
9478         (ldap-modify-entries): Ditto.
9479         (ldap-search-entries): Enclosed decoding function with
9480         `with-temp-buffer' and set as unibyte.
9481         (ldap-search-basic): Set process buffer as unibyte.
9482
9483         * elmo-util.el (elmo-folder-identical-system-p):
9484         Eliminated name space checking.
9485
9486         * pldap.el: New module.
9487         toplevel: Changed condition to detect built-in ldap feature.
9488         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9489         (ldap-add): Added error handling.
9490         (ldap-modify): Ditto.
9491         (ldap-delete): Ditto.
9492
9493 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9494
9495         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9496         Initialize local variables with `let'.  Inline a temporary
9497         variable for the progress percentage.  Sort `setq' to reduce
9498         function call in the while-loop.
9499
9500         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9501         into the conditional branch.
9502
9503 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9504
9505         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9506         Move a conditional out of the while-loop.
9507
9508 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9509
9510         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9511         elmo-msgdb-overview-get-entity-by-number.
9512         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9513         throw.
9514
9515 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9516
9517         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9518         the local variable for a packed number self descriptively.
9519
9520 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9521
9522         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9523         * elmo-localdir.el (elmo-localdir-pack-number): Use
9524         `elmo-msgdb-overview-get-entity' instead of
9525         `elmo-msgdb-overview-get-entity-by-number'.
9526         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9527         (elmo-msgdb-search-overview-entity): Removed.
9528         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9529         by message-id or number.
9530         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9531         instead of `elmo-msgdb-overview-get-entity-by-number'.
9532
9533 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9534
9535         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9536         non-nil, use hash table for overview.
9537         (elmo-hash-maximum-size): New variable.
9538         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9539         (elmo-msgdb-make-overview-hashtb): New function.
9540         (elmo-msgdb-clear-overview-hashtb): New function.
9541         (elmo-clear-hash-val): New macro.
9542         All other related modules are changed.
9543
9544 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9545
9546         * elmo2.el (elmo-move-msgs): If there's other message with
9547         same message-id, don't use cache.
9548
9549 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9550
9551         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9552         number is already packed.
9553
9554 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9555
9556         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9557
9558 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9559
9560         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9561         All other related modules are changed.
9562
9563 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9564
9565         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9566         of refiling failure on Maildir.
9567
9568 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9569
9570         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9571         decoded mime-charset with cache.
9572         (elmo-msgdb-overview-entity-get-from): Ditto.
9573         (elmo-msgdb-overview-entity-get-subject): Ditto.
9574         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9575
9576 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9577
9578         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9579         (elmo-remove-passwd): Fill password with 0 before erase.
9580         * elmo-vars.el (elmo-passwd-life-time): New variable.
9581
9582 \f
9583 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9584
9585         * elmo-cache.el (elmo-buffer-cache-add):
9586         Set message cache buffer as unibyte.
9587
9588 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9589
9590         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9591         become nil.
9592
9593 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9594
9595         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9596         when display is finished.
9597         (elmo-nntp-msgdb-create): Ditto.
9598         (elmo-nntp-groups-read-response): Ditto.
9599         (elmo-nntp-retrieve-headers): Ditto.
9600         (elmo-nntp-msgdb-create-message): Ditto.
9601         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9602         (elmo-pop3-msgdb-create-message): Ditto.
9603
9604 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9605
9606         * elmo-maildir.el (elmo-maildir-msgdb-create):
9607         Use `elmo-msgdb-sort-by-date'.
9608
9609 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9610
9611         * elmo2.el (elmo-read-msg-no-cache):
9612         Eliminated arguments after `outbuf'.
9613         Don't use cache even if it exists.
9614         (elmo-read-msg): Don't pass arguments after `outbuf' to
9615         `elmo-read-msg-no-cache'.
9616
9617 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9618
9619         * elmo-archive.el (elmo-archive-list-folders):
9620         Use `file-name-directory' if base folder does not exist.
9621
9622 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9623
9624         * elmo-archive.el (elmo-archive-list-folders): Don't use
9625         `file-name-directory'.
9626
9627 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9628
9629         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9630         If `force' is non-nil, try flushing all operation queues.
9631
9632 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9633
9634         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9635         as-binary-process.
9636
9637 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9638
9639         * elmo-util.el (elmo-display-progress): Fixed.
9640
9641 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9642
9643         * elmo-util.el (elmo-display-progress): New function.
9644         All other related modules are changed.